On Fri, Sep 05, 2014 at 11:48:04PM +0100, Ben Hutchings wrote: > On Fri, 2014-09-05 at 13:52 -0400, Zack Weinberg wrote: > > Steve Langasek wrote:
> > > No, that's not the true package relationship. There's no reason that > > > you should always get this added service by default when you install > > > a system with non-systemd init that doesn't need logind. Making this > > > a recommends would be a workaround for bad metadata in the > > > libpam-systemd package; we should fix that problem at its source the > > > right way. > > I filed bug #746578 against libpam-systemd back in May; I believe the > > proposed change (depend on systemd-shim | systemd-sysv rather than the > > other way around) addresses most if not all of this class of issues. It > > is currently WONTFIXed. > [...] > It's a bit counter-intuitive to have the default init system second, but > now that I think about it, I can see that it will do the right thing on > a jessie installation. > Upgrades from wheezy are the problem. Currently, upgrading sysvinit > should result in installing init and, unless upstart or sysvinit-core is > already installed, systemd-sysv. But if sysvinit and some rdep of > libpam-systemd are upgraded at the same time, and the order of > libpam-systemd's dependencies is switched, APT (or other package > manager) might consider it preferable to install sysvinit-core and > systemd-shim. Has this been tested? systemd-shim expresses no preference for init system, and is completely coinstallable with systemd-sysv - and should be a no-op when booting under systemd because the dbus name is already taken. So the worst case is that you get an extra, inert systemd-shim package installed on upgrade. It's not going to cause a different init system to be selected. Michael, is it clear to you why this change is needed, and can you un-wontfix this bug please, to list systemd-shim as the first ORed dependency as I've asked previously? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature