Bug#753589: systemd: Missing dependency on glibc?

Ansgar Burchardt ansgar at debian.org
Thu Jul 3 13:26:28 BST 2014


On 07/03/2014 14:15, Michael Biebl wrote:
> Am 03.07.2014 13:55, schrieb Sven Joachim:
>> It probably needs to use Pre-Depends to ensure that it's working during
>> upgrades.  Note that the same holds also for sysvinit-core, although it
>> is currently less likely to hit the bug (it has "Priority: required" and
>> does not exist in wheezy).
>>
>> See also #702524 for a similar issue in gawk.
> 
> That means, as soon as we make systemd the default and switch the
> priorities with sysvinit-core, this issue would likely show up there.
> 
> Having a hard-coded list of shlibs dependencies in Pre-Depends doesn't
> sound too compelling.
> And just moving ${shlibs:Depends} from Depends to Pre-Depends doesn't
> sound right either.

Most essential packages should have this problem. I checked bash and it
indeed has

  Pre-Depends: dash (>= 0.5.5.1-2.2), libc6 (>= 2.15), libtinfo5

which comes from

  Pre-Depends: dash (>= 0.5.5.1-2.2), ${shlibs:Pre-Depends}, ${misc:Depends}

which made me find out that dpkg-shlibdeps can be asked to add
dependencies to Pre-Depends as well. It can even add library
dependencies for only some executables to Pre-Depends and others to
Depends by using the -d and -e options.

Ansgar




More information about the Pkg-systemd-maintainers mailing list