[arch-dev-public] Cyclic dependencies between systemd and util-linux

Thomas Bächler thomas at archlinux.org
Wed Mar 12 14:16:18 EDT 2014


Am 12.03.2014 17:21, schrieb Tobias Powalowski:
> Am 12.03.2014 06:32, schrieb Gerardo Exequiel Pozzi:
>> On 02/24/2014 03:56 PM, Thomas Bächler wrote:
>>> Right now, we have a problem with cyclic dependencies in core: systemd
>>> requires libblkid and libuuid (systemd-udevd) and util-linux requires
>>> libudev (findmnt, and soon uuidd [1]).
>>>
>>> I don't like this situation and currently it is revoled by adding
>>> systemd as optdepend to util-linux. This has the side effect that in a
>>> chroot with only certain packages installed, one has to explicitly
>>> install systemd to get findmnt working. Since I've run into this
>>> situation and cyclic deps are bad, I propose the following:
>>>
>>> Split both util-linux and systemd into libutil-linux/util-linux and
>>> libsystemd/systemd. Then we could have both util-linux and systemd
>>> depend on both libsystemd and libutil-linux.
>>>
>>> [1] http://www.spinics.net/lists/util-linux-ng/msg08699.html
>>>
>> We also have another set when installing {base} group:
>>
>> warning: util-linux will be installed before its coreutils dependency
>> warning: util-linux will be installed before its pam dependency
>> warning: shadow will be installed before its pam dependency
>>
>>
> New depends introduce error during base installation,
> libutil-linux needs coreutils first else no install is found.
> 
> I cannot get coreutils installed before util-linux so this is really
> annoying.

That's a packaging mistake: the install= should only be in util-linux,
not libutil-linux.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20140312/67384bc9/attachment.asc>


More information about the arch-dev-public mailing list