[Touch-packages] [Bug 1758438] Re: systemd can't be removed from a chroot
This bug was fixed in the package systemd - 237-3ubuntu6 --- systemd (237-3ubuntu6) bionic; urgency=medium * Adjust the new dropin test, for v237 systemd. * Refresh the keyring patch, to the one merged. -- Dimitri John LedkovTue, 27 Mar 2018 13:40:09 +0100 ** Changed in: systemd (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1758438 Title: systemd can't be removed from a chroot Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: Fix Released Bug description: The systemd package has the following code in its prerm: if [ "$1" = "remove" ] && [ -d /run/systemd/system ]; then echo "systemd is the active init system, please switch to another before removing systemd." exit 1 fi However, /run/systemd/system will exist even in a chroot, and an init system is not needed in a chroot. The maintainer script should include a check for whether we're running in a chroot, to allow systemd to be removed when it's not needed and there is no harm. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1758438/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1758438] Re: systemd can't be removed from a chroot
** Tags added: id-5ab94347925723c2b2bf3943 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1758438 Title: systemd can't be removed from a chroot Status in systemd package in Ubuntu: Fix Committed Status in systemd source package in Bionic: Fix Committed Bug description: The systemd package has the following code in its prerm: if [ "$1" = "remove" ] && [ -d /run/systemd/system ]; then echo "systemd is the active init system, please switch to another before removing systemd." exit 1 fi However, /run/systemd/system will exist even in a chroot, and an init system is not needed in a chroot. The maintainer script should include a check for whether we're running in a chroot, to allow systemd to be removed when it's not needed and there is no harm. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1758438/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1758438] Re: systemd can't be removed from a chroot
** Changed in: systemd (Ubuntu Bionic) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1758438 Title: systemd can't be removed from a chroot Status in systemd package in Ubuntu: Fix Committed Status in systemd source package in Bionic: Fix Committed Bug description: The systemd package has the following code in its prerm: if [ "$1" = "remove" ] && [ -d /run/systemd/system ]; then echo "systemd is the active init system, please switch to another before removing systemd." exit 1 fi However, /run/systemd/system will exist even in a chroot, and an init system is not needed in a chroot. The maintainer script should include a check for whether we're running in a chroot, to allow systemd to be removed when it's not needed and there is no harm. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1758438/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1758438] Re: systemd can't be removed from a chroot
I guess this is also preventing upgrades in Windows WSL. ** Also affects: systemd (Ubuntu Bionic) Importance: Medium Status: Triaged ** Changed in: systemd (Ubuntu Bionic) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Changed in: systemd (Ubuntu Bionic) Milestone: None => ubuntu-18.03 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1758438 Title: systemd can't be removed from a chroot Status in systemd package in Ubuntu: Triaged Status in systemd source package in Bionic: Triaged Bug description: The systemd package has the following code in its prerm: if [ "$1" = "remove" ] && [ -d /run/systemd/system ]; then echo "systemd is the active init system, please switch to another before removing systemd." exit 1 fi However, /run/systemd/system will exist even in a chroot, and an init system is not needed in a chroot. The maintainer script should include a check for whether we're running in a chroot, to allow systemd to be removed when it's not needed and there is no harm. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1758438/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp