On Sun, May 01, 2011 at 11:16:51AM +1000, Kel Modderman wrote: > Hi Niall and Roger, > > On Sun, 1 May 2011 05:39:55 AM Niall Walsh wrote: > > Sorry but I'm not subscribed so I can't reply to the relevant mail, but > > this mail is about the ifupdown initscript issue(s) with /run. > > > > As best I can tell, the problem(s) with the ifupdown script boil down to > > the fact that it's myreadlink() cannot handle nested symlinks. However > > the attached simple patch seems to fix this by having myreadlink restart > > it's main loop again if it discovers such a nested symlink. > > > > I decided not to post it to either of the possibly relevant existing bugs > > in the BTS for now (623076 & 623523) as the descriptions of both make me > > wonder if they refer to other problems. > > > > I hope this helps. > > It makes sense to me, Roger (may already know about this issue) what do you > make of it?
I hadn't pinned down the cause of the issue because I /was/ seeing the /etc/network/run directory pointed to by the symlink created successfully, but it may have still been causing problems--I ultimately just symlinked it to /run/network. I'm not totally familiar with the logic of myreadlink, but if it's causing it to run the top level while loop again to repeat the readlink, which is what it appears to be doing, then I think that's fine. I can test it later on today. Niall, I would suggest filing a bug report against ifupdown with the patch; if it's a duplicate, it's not a big deal. I would also recommend sending it to "Andrew O. Shadoura <[email protected]>", who is working on an updated version of ifupdown (which will use /run directly). Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature
_______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

