The following manifest is causing an error/warning and permissions are not set. i do not understanding why: file { "/diskless/swaps": ensure => directory, owner => nfsnobody, group => nfsnobody, mode => 1777; } The error is: Fri Sep 21 14:53:05 EST 2007 //default/remote1/boot-server/File[/diskless/swaps]/owner (:warning): current state is silly: 4294967294 Fri Sep 21 14:53:05 EST 2007 //default/remote1/boot-server/File[/diskless/swaps]/owner (:notice): user 4294967294 does not exist The user and group do exist: # grep nfsnobody /etc/passwd nfsnobody:x:4294967294:4294967294:Anonymous NFS User:/var/lib/nfs:/sbin/nologin # grep nfsnobody /etc/group nfsnobody:x:4294967294: Any idea? Ben.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 27 September 2007, Ben wrote:> The following manifest is causing an error/warning and permissions are > not set. i do not understanding why: > > file { "/diskless/swaps": > ensure => directory, > owner => nfsnobody, > group => nfsnobody, > mode => 1777; > } > > The error is: > > Fri Sep 21 14:53:05 EST 2007 > //default/remote1/boot-server/File[/diskless/swaps]/owner (:warning): > current state is silly: 4294967294 > Fri Sep 21 14:53:05 EST 2007 > //default/remote1/boot-server/File[/diskless/swaps]/owner (:notice): > user 4294967294 does not exist > > The user and group do exist: > > # grep nfsnobody /etc/passwd > nfsnobody:x:4294967294:4294967294:Anonymous NFS > User:/var/lib/nfs:/sbin/nologin > > # grep nfsnobody /etc/group > nfsnobody:x:4294967294: > > Any idea?See #804: checks for maximum uid need to be removed (http://reductivelabs.com/trac/puppet/ticket/804) Regards, David - -- The primary freedom of open source is not the freedom from cost, but the free- dom to shape software to do what you want. This freedom is /never/ exercised without cost, but is available /at all/ only by accepting the very different costs associated with open source, costs not in money, but in time and effort. - -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG+3oV/Pp1N6Uzh0URAsgRAJ9N/8KuHohrmuyGxeiWQm3J1pjMTACdG05Z ifsdoll4yWnxDkJMOPsZq2A=CT9N -----END PGP SIGNATURE-----
David Schmitt wrote:>> The following manifest is causing an error/warning and permissions are >> not set. i do not understanding why: >> >> file { "/diskless/swaps": >> ensure => directory, >> owner => nfsnobody, >> group => nfsnobody, >> mode => 1777; >> } >> >> The error is: >> >> Fri Sep 21 14:53:05 EST 2007 >> //default/remote1/boot-server/File[/diskless/swaps]/owner (:warning): >> current state is silly: 4294967294 >> Fri Sep 21 14:53:05 EST 2007 >> //default/remote1/boot-server/File[/diskless/swaps]/owner (:notice): >> user 4294967294 does not exist >> >> The user and group do exist: >> >> # grep nfsnobody /etc/passwd >> nfsnobody:x:4294967294:4294967294:Anonymous NFS >> User:/var/lib/nfs:/sbin/nologin >> >> # grep nfsnobody /etc/group >> nfsnobody:x:4294967294: >> > See #804: checks for maximum uid need to be removed > (http://reductivelabs.com/trac/puppet/ticket/804) > >The above problem was seen on a CentOS 5 x86_64. The odd thing is that the very same manifest behaves as expected on a CentOS 5 i386 system. No complaints logged and permissions and mode are set correctly. Both using puppet-0.23.2-1.el5 Ben
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 28 September 2007, Ben wrote:> The above problem was seen on a CentOS 5 x86_64. > > The odd thing is that the very same manifest behaves as expected on a > CentOS 5 i386 system. No complaints logged and permissions and mode are > set correctly. > > Both using puppet-0.23.2-1.el5I added the information to the bug report. Could you please check which real UID and GID those resources have on i386? Regards, David - -- The primary freedom of open source is not the freedom from cost, but the free- dom to shape software to do what you want. This freedom is /never/ exercised without cost, but is available /at all/ only by accepting the very different costs associated with open source, costs not in money, but in time and effort. - -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/Lt//Pp1N6Uzh0URAlyAAKCMHM9hYgcanzznZl9mdQdpAmUn3QCghF8a zRWylIeuVGFJCzFgAWOeYL8=yuUs -----END PGP SIGNATURE-----
David Schmitt wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Friday 28 September 2007, Ben wrote: > >> The above problem was seen on a CentOS 5 x86_64. >> >> The odd thing is that the very same manifest behaves as expected on a >> CentOS 5 i386 system. No complaints logged and permissions and mode are >> set correctly. >> >> Both using puppet-0.23.2-1.el5 >> > > I added the information to the bug report. Could you please check which real > UID and GID those resources have on i386? > >Good catch. Check this out from the i386. # grep nfsnobody /etc/passwd nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin # grep nfsnobody /etc/group nfsnobody:x:65534: Ben