nOX
2008-Nov-17 13:28 UTC
[Puppet Users] Could not write crontab for root: Invalid user: root
Hi, On one of my solaris zones I have this problem when I''m setting a cron entry : debug: Executing ''crontab /tmp/puppet20081117-2533-ux0mj0-0'' err: Could not apply complete catalog: Could not write crontab for root: Invalid user: root After puppet finish execution, all my users seem absent, for example : # zlogin MyZone Login failed: unknown user ''root''. (same with ssh and other user) Without the cron instruction, my puppet config works fine. The same cron instruction works fine on another server and another zone. Any ideas ? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Bruno B
2008-Nov-17 13:35 UTC
[Puppet Users] Re: Could not write crontab for root: Invalid user: root
I''m not using LDAP or NIS. The users are managed with /etc/passwd file. On 17 nov, 14:28, nOX <bruno.bro...@gmail.com> wrote:> Hi, > > On one of my solaris zones I have this problem when I''m setting a cron > entry : > > debug: Executing ''crontab /tmp/puppet20081117-2533-ux0mj0-0'' > err: Could not apply complete catalog: Could not write crontab for > root: Invalid user: root > > After puppet finish execution, all my users seem absent, for > example : > # zlogin MyZone > Login failed: unknown user ''root''. > (same with ssh and other user) > > Without the cron instruction, my puppet config works fine. > > The same cron instruction works fine on another server and another > zone. > > Any ideas ? > Thanks.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
martin
2008-Nov-18 16:43 UTC
[Puppet Users] Re: Could not write crontab for root: Invalid user: root
A couple of questions: 1) what does passwd look like before and after puppet 2) what does pam.conf look like before and after puppet? (in the zone) cheers, /Martin On Nov 17, 2:35 pm, Bruno B <bruno.bro...@gmail.com> wrote:> I''m not using LDAP or NIS. The users are managed with /etc/passwd > file. > > On 17 nov, 14:28, nOX <bruno.bro...@gmail.com> wrote: > > > Hi, > > > On one of my solaris zones I have this problem when I''m setting a cron > > entry : > > > debug: Executing ''crontab /tmp/puppet20081117-2533-ux0mj0-0'' > > err: Could not apply complete catalog: Could not write crontab for > > root: Invalid user: root > > > After puppet finish execution, all my users seem absent, for > > example : > > # zlogin MyZone > > Login failed: unknown user ''root''. > > (same with ssh and other user) > > > Without the cron instruction, my puppet config works fine. > > > The same cron instruction works fine on another server and another > > zone. > > > Any ideas ? > > Thanks.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Bruno B
2008-Nov-19 07:27 UTC
[Puppet Users] Re: Could not write crontab for root: Invalid user: root
Those files are exactly the same before and after puppet. Same time, same checksum. I tried to run puppet just with cron instruction, same problem. On 18 nov, 17:43, martin <martin.engl...@sun.com> wrote:> A couple of questions: > 1) what does passwd look like before and after puppet > 2) what does pam.conf look like before and after puppet? > (in the zone) > > cheers, > /Martin > > On Nov 17, 2:35 pm, Bruno B <bruno.bro...@gmail.com> wrote: > > > I''m not using LDAP or NIS. The users are managed with /etc/passwd > > file. > > > On 17 nov, 14:28, nOX <bruno.bro...@gmail.com> wrote: > > > > Hi, > > > > On one of my solaris zones I have this problem when I''m setting a cron > > > entry : > > > > debug: Executing ''crontab /tmp/puppet20081117-2533-ux0mj0-0'' > > > err: Could not apply complete catalog: Could not write crontab for > > > root: Invalid user: root > > > > After puppet finish execution, all my users seem absent, for > > > example : > > > # zlogin MyZone > > > Login failed: unknown user ''root''. > > > (same with ssh and other user) > > > > Without the cron instruction, my puppet config works fine. > > > > The same cron instruction works fine on another server and another > > > zone. > > > > Any ideas ? > > > Thanks. > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Bruno B
2008-Nov-25 10:51 UTC
[Puppet Users] Re: Could not write crontab for root: Invalid user: root
After restarting this zone it finally works. It''s a bit scary... On 19 nov, 08:27, Bruno B <bruno.bro...@gmail.com> wrote:> Those files are exactly the same before and after puppet. Same time, > same checksum. > > I tried to run puppet just with cron instruction, same problem. > > On 18 nov, 17:43, martin <martin.engl...@sun.com> wrote: > > > A couple of questions: > > 1) what does passwd look like before and after puppet > > 2) what does pam.conf look like before and after puppet? > > (in the zone) > > > cheers, > > /Martin > > > On Nov 17, 2:35 pm, Bruno B <bruno.bro...@gmail.com> wrote: > > > > I''m not using LDAP or NIS. The users are managed with /etc/passwd > > > file. > > > > On 17 nov, 14:28, nOX <bruno.bro...@gmail.com> wrote: > > > > > Hi, > > > > > On one of my solaris zones I have this problem when I''m setting a cron > > > > entry : > > > > > debug: Executing ''crontab /tmp/puppet20081117-2533-ux0mj0-0'' > > > > err: Could not apply complete catalog: Could not write crontab for > > > > root: Invalid user: root > > > > > After puppet finish execution, all my users seem absent, for > > > > example : > > > > # zlogin MyZone > > > > Login failed: unknown user ''root''. > > > > (same with ssh and other user) > > > > > Without the cron instruction, my puppet config works fine. > > > > > The same cron instruction works fine on another server and another > > > > zone. > > > > > Any ideas ? > > > > Thanks. > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Marcin Owsiany
2008-Nov-25 15:22 UTC
[Puppet Users] Re: Could not write crontab for root: Invalid user: root
On Tue, Nov 25, 2008 at 02:51:51AM -0800, Bruno B wrote:> > After restarting this zone it finally works.Maybe nscd got hosed? -- Marcin Owsiany <marcin@owsiany.pl> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every program in development at MIT expands until it can read mail." -- Unknown --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Nigel Kersten
2008-Nov-25 15:54 UTC
[Puppet Users] Re: Could not write crontab for root: Invalid user: root
On Tue, Nov 25, 2008 at 7:22 AM, Marcin Owsiany <marcin@owsiany.pl> wrote:> > On Tue, Nov 25, 2008 at 02:51:51AM -0800, Bruno B wrote: >> >> After restarting this zone it finally works. > > Maybe nscd got hosed?say it''s not true! That never happens :) -- Nigel Kersten Systems Administrator Tech Lead - MacOps --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---