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

Dave Reisner d at falconindy.com
Wed Mar 12 14:24:09 EDT 2014


On Wed, Mar 12, 2014 at 07:16:18PM +0100, Thomas Bächler wrote:
> 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.
> 
> 

Fixed in SVN.


More information about the arch-dev-public mailing list