So, a quick question then. I ran a very verbose strace on puppet while it was going through this change. What I see is this.
Augeas libs successfully opens and reads in the target file: 26971 access("/etc/security/limits.conf", R_OK) = 0 26971 open("/etc/security/limits.conf", O_RDONLY) = 6 26971 fstat(6, {st_mode=S_IFREG|0640, st_size=2912, ...}) = 0 26971 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2a97621000 26971 read(6, "# $Id: $\n#\n# DEV & QA User Resource Limits\n#\n#Each line describes a limit for a user in the for ... 8192) = 2912 ... It then opens up a backup file I'm assuming it will write its changes to: 26971 read(6, "", 4096) = 0 26971 close(6) = 0 26971 munmap(0x2a97621000, 4096) = 0 26971 open("/etc/security/limits.conf.augnew", O_WRONLY|O_CREAT| O_TRUNC, 0666) = 6 ... It then writes the contents of the old limits.conf to that file (the file length of 2912 is the same in the read above and the write): 26971 lstat("/etc/security/limits.conf", {st_mode=S_IFREG|0640, st_size=2912, ...}) = 0 26971 lchown("/etc/security/limits.conf.augnew", 0, 4) = 0 26971 chmod("/etc/security/limits.conf.augnew", 0100640) = 0 26971 fstat(6, {st_mode=S_IFREG|0640, st_size=0, ...}) = 0 26971 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2a97621000 26971 write(6, "# $Id: $\n#\n# DEV & QA User Resource Limits\n#\n#Each line describes a limit for a user in the form ... 2912 <unfinished ...> But then it goes into some sleep, resumes the write, but never adds anything. 27015 <... nanosleep resumed> {0, 208251453512}) = 0 27015 nanosleep({0, 10000000}, <unfinished ...> 26971 <... write resumed> ) = 2912 26971 fsync(6) = 0 26971 close(6) = 0 26971 munmap(0x2a97621000, 4096) = 0 26971 unlink("/etc/security/limits.conf.augnew") = 0 So I'm not sure what's happening in that nanosleep, but it appears to be failing and is just returning nothing. On Jun 3, 3:25 pm, Rob McBroom <mailingli...@skurfer.com> wrote: > On 2009-Jun-3, at 3:56 PM, Gajillion wrote: > > > Fails: wombat::setup/Augeas[memlock]/returns: change from need_to_run > > to 0 failed: Save failed with return code fals > > This is the same error I just said I wasn't able to reproduce in > another thread. What OS is this? Try installing Augeas itself (not > just the libs and ruby bindings) and see if the error goes away. > > -- > Rob McBroom > <http://www.skurfer.com/> > > Don't try to tell me a thing is important to you if the whole of your > "support" entails forcing other to spend time and money on it. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---