Re: Summary: Using the LSB Bootscripts

2011-05-18 Thread DJ Lucas
On 05/17/2011 11:34 PM, Bryan Kadzban wrote: > Few nits related to the shell. In the network script: > >> # Process individual configuration files >> for file in `ls "${dir}"`; do > Ew. :-) How about: > > for file in "${dir}"/* ; do > ONBOOT=`grep "ONBOOT" "${file}

Re: udevadm --settle

2011-05-18 Thread DJ Lucas
On 05/16/2011 12:59 AM, Bryan Kadzban wrote: > DJ Lucas wrote: >> > I see some traffic on linux-hotplug about this as well, so it looks like > it's not LFS-specific, at least. (Arch and Debian have both had bugs > reported about this.) The messages from Kay so far seem encouraging, as > well. >

Re: Changes to contrib bootscripts

2011-05-18 Thread DJ Lucas
On 05/14/2011 11:12 PM, DJ Lucas wrote: > Attached patch is pretty invasive, 33 KB uncompressed. :-) I wasn't > sure whether to leave inittab in the book where it is currently, but I > am thinking from a packaging POV that it should remain as is and be > removed from the bootscripts tarball now.

Re: Changes to contrib bootscripts

2011-05-18 Thread Bruce Dubbs
DJ Lucas wrote: > On 05/14/2011 11:12 PM, DJ Lucas wrote: >> Attached patch is pretty invasive, 33 KB uncompressed. :-) I wasn't >> sure whether to leave inittab in the book where it is currently, but I >> am thinking from a packaging POV that it should remain as is and be >> removed from the bo

Re: Changes to contrib bootscripts

2011-05-18 Thread Jeremy Huntwork
On 5/18/11 1:16 PM, DJ Lucas wrote: > Alright, with last commit to lsb-bootscripts, I think we are ready to > go. Bruce, Matt, you guys get a chance to review the patch? I've been looking over the scripts, they look good, nice job! There are a couple of things that I think I'd still prefer to see

Re: Summary: Using the LSB Bootscripts

2011-05-18 Thread Jeremy Huntwork
On 5/18/11 12:28 AM, Bryan Kadzban wrote: > Anybody know how other distros do it? I can't figure out what Debian's > ifdown binary is supposed to do (its source is *extremely* obfuscated, > being built from a texinfo file, and containing a file parser)... Fedora does a much more elaborate version

Re: Summary: Using the LSB Bootscripts

2011-05-18 Thread Jeremy Huntwork
On 5/15/11 3:25 AM, DJ Lucas wrote: > wanted anyway). Problem with dhclient is that the value of DHCP_STOP > will always be empty...all interfaces using dhclient will go. If you do > 'service network stop' then no big deal. OTOH, if you execute ifdown > ethn, and you have dhclient configured on mul

Re: Changes to contrib bootscripts

2011-05-18 Thread DJ Lucas
On 05/18/2011 01:58 PM, Jeremy Huntwork wrote: > On 5/18/11 1:16 PM, DJ Lucas wrote: >> Alright, with last commit to lsb-bootscripts, I think we are ready to >> go. Bruce, Matt, you guys get a chance to review the patch? > I've been looking over the scripts, they look good, nice job! > > There are

Re: Changes to contrib bootscripts

2011-05-18 Thread Jeremy Huntwork
On 5/18/11 1:16 PM, DJ Lucas wrote: > On 05/14/2011 11:12 PM, DJ Lucas wrote: >> Attached patch is pretty invasive, 33 KB uncompressed. :-) I wasn't >> sure whether to leave inittab in the book where it is currently, but I >> am thinking from a packaging POV that it should remain as is and be >> re

Re: Changes to contrib bootscripts

2011-05-18 Thread DJ Lucas
On 05/18/2011 05:50 PM, Jeremy Huntwork wrote: > On 5/18/11 1:16 PM, DJ Lucas wrote: >> On 05/14/2011 11:12 PM, DJ Lucas wrote: >>> Attached patch is pretty invasive, 33 KB uncompressed. :-) I wasn't >>> sure whether to leave inittab in the book where it is currently, but I >>> am thinking from a p

Re: Changes to contrib bootscripts

2011-05-18 Thread DJ Lucas
On 05/18/2011 05:50 PM, Jeremy Huntwork wrote: > On 5/18/11 1:16 PM, DJ Lucas wrote: >> On 05/14/2011 11:12 PM, DJ Lucas wrote: >>> Attached patch is pretty invasive, 33 KB uncompressed. :-) I wasn't >>> sure whether to leave inittab in the book where it is currently, but I >>> am thinking from a p

Re: Changes to contrib bootscripts

2011-05-18 Thread Jeremy Huntwork
On 5/18/11 9:26 PM, DJ Lucas wrote: > Results of a bad sed? I hadn't noticed that, only fixing the misspelling > in the dependencies. Prior to that commit it was "kernel" when it was > mountkernfs. Fixing. > > Thanks. Ha ha, the ones in the parentheses got me, it looked intentional. I actually go

Re: udevadm --settle

2011-05-18 Thread Bryan Kadzban
DJ Lucas wrote: > On 05/16/2011 12:59 AM, Bryan Kadzban wrote: >> DJ Lucas wrote: >>> >> I see some traffic on linux-hotplug about this as well, so it looks like >> it's not LFS-specific, at least. (Arch and Debian have both had bugs >> reported about this.) The messages from Kay so far seem enc

Re: Summary: Using the LSB Bootscripts

2011-05-18 Thread Bryan Kadzban
Bryan Kadzban wrote: > DJ Lucas wrote: >> * the path for the setclock script in 55-lfs.rules needs to be >> changed > > So... yeah. > > Why was this whole tree moved in the LSB scripts, again? :-) > > I really really hate systems where I can't reasonably tab-complete > the bootscript filenames