Bug#866643: jessie-pu: package init-select/1.20140921+deb8u1

Cyril Brulebois kibi at debian.org
Sat Jul 1 00:32:27 UTC 2017


Control: tag -1 moreinfo

Andreas Beckmann <anbe at debian.org> (2017-06-30):
> init-select contains a grub config snippet that unconditionally runs a
> command, which will cause failures (in update-grub and friends) if
> init-select was removed but not purged.
> This was noticed on jessie->stretch upgrades of coreboot where
> init-select was installed in jessie (but gets removed during the upgrade
> to stretch).
> 
> I verified the bug and fix in a jessie chroot with
> 
> * apt-get install init-select
> * apt-get remove init-select
> * apt-get install grub-coreboot
> 
> init-select is not in stretch and has now been removed from sid as well.

I accidentally noticed a thread on debian-ctte@ about this. It would be
helpful to have a summary of what was agreed on there, and to make sure
grub people are in the loop.

(Adding pkg-grub-devel at lists.alioth.debian.org to cc.)

> Andreas

> diff -Nru init-select-1.20140921/debian/changelog init-select-1.20140921+deb8u1/debian/changelog
> --- init-select-1.20140921/debian/changelog	2014-09-21 04:50:18.000000000 +0200
> +++ init-select-1.20140921+deb8u1/debian/changelog	2017-06-30 17:31:16.000000000 +0200
> @@ -1,3 +1,12 @@
> +init-select (1.20140921+deb8u1) jessie; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * /etc/default/grub.d/init-select.cfg: Check for
> +    /usr/lib/init-select/get-init before calling it.
> +    The package may have been removed, but not purged.  (Closes: #858528)
> +
> + -- Andreas Beckmann <anbe at debian.org>  Fri, 30 Jun 2017 17:31:16 +0200
> +
>  init-select (1.20140921) unstable; urgency=medium
>  
>    * Default to systemd.
> diff -Nru init-select-1.20140921/init-select.cfg init-select-1.20140921+deb8u1/init-select.cfg
> --- init-select-1.20140921/init-select.cfg	2014-09-21 04:37:11.000000000 +0200
> +++ init-select-1.20140921+deb8u1/init-select.cfg	2017-06-30 17:19:30.000000000 +0200
> @@ -1 +1 @@
> -GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $(/usr/lib/init-select/get-init)"
> +GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $(if [ -x /usr/lib/init-select/get-init ]; then /usr/lib/init-select/get-init; fi)"


KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20170701/536522ba/attachment.sig>


More information about the Pkg-grub-devel mailing list