On Sat, Feb 17, 2018 at 08:46:49AM +0100, Thomas Trepl wrote:
> Hi,
> 
> the url to lfs-bootscripts is invalid:
> http://www.linuxfromscratch.org/lfs/downloads/8.2.rc1/lfs-bootscripts-2
> 0170626.tar.bz2
> should be
> http://www.linuxfromscratch.org/lfs/downloads/8.2-rc1/lfs-bootscripts-2
> 0170626.tar.bz2
> (note the dot instead a dash in 8.2.rc1)
> 
> The md5 checksum of the bootscript package has changed but name is
> still the same. Even a diff shows no difference. I assume that the
> package has been recreated and some bytes in the bz2 itself did change.
> I'd recomment to not recreated the tarball (if that is the reason for
> chksum change) when creating a tag - recreate the bz2 only when changes
> has been made in the scripts.
> 

Somebody raised this a few weeks ago: apparently the bootscripts
have been regenerated daily (if I remember correctly) for quite a
long time - with only one complaint, he wasn't motivated to change
things.

> Apropos bootscripts. Recenty i sent over a patch to not kill mdmon
> process when shutdown. Does this still has no chance to get into the
> package?  In case one is using fakeraid, the surrent bootscripts will
> leave the array dirty every time system shuts down (causing recovery
> the next time system boots) because mdmon gets killed to early...
> 
> --
> Thomas

> diff -Naur lfs-bootscripts-20170626.orig/lfs/init.d/mountfs 
> lfs-bootscripts-20170626/lfs/init.d/mountfs
> --- lfs-bootscripts-20170626.orig/lfs/init.d/mountfs  2017-08-18 
> 20:41:57.000000000 +0200
> +++ lfs-bootscripts-20170626/lfs/init.d/mountfs       2017-11-26 
> 05:48:08.618518870 +0100
> @@ -64,6 +64,13 @@
>        # Make all LVM volume groups unavailable, if appropriate
>        # This fails if swap or / are on an LVM partition
>        #if [ -x /sbin/vgchange ]; then /sbin/vgchange -an > /dev/null; fi
> +
> +      if [ -n "$(pidof mdmon)" ]; then
> +          # No longer possible to write to bootlog. Use "echo".
> +          echo -n "  Wait for clean array ... "
> +          /sbin/mdadm --wait-clean --scan
> +          echo "rc=$?"
> +      fi
>        ;;
>  
>     *)
> diff -Naur lfs-bootscripts-20170626.orig/lfs/init.d/sendsignals 
> lfs-bootscripts-20170626/lfs/init.d/sendsignals
> --- lfs-bootscripts-20170626.orig/lfs/init.d/sendsignals      2017-08-18 
> 20:41:57.000000000 +0200
> +++ lfs-bootscripts-20170626/lfs/init.d/sendsignals   2017-11-26 
> 05:48:08.671852575 +0100
> @@ -29,8 +29,11 @@
>  
>  case "${1}" in
>     stop)
> +      omit=$(pidof mdmon)
> +      [ -n "$omit" ] && omit="-o $omit"
> +
>        log_info_msg "Sending all processes the TERM signal..."
> -      killall5 -15
> +      killall5 -15 $omit
>        error_value=${?}
>  
>        sleep ${KILLDELAY}
> @@ -42,7 +45,7 @@
>        fi
>  
>        log_info_msg "Sending all processes the KILL signal..."
> -      killall5 -9
> +      killall5 -9 $omit
>        error_value=${?}
>  
>        sleep ${KILLDELAY}

I think fakeraid, whatever that may be (I haven't searched for it) is
uncommon (raid itself is not exactly common among LFS/BLFS users).

I'm sure it's worth your time to press this if people commonly use
it.

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to