[arch-dev-public] Cyclic dependencies between systemd and util-linux
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
On Mon, Feb 24, 2014 at 07:56:56PM +0100, 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]).
Do you run a huge SAP install? I don't run a huge SAP install. I'm not sure why anyone who doesn't run a huge SAP install cares about uuidd, but I understand your concern.
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.
Is this really necessary just to avoid minor problems in chroots? We used to have a libsystemd package, and subsequently ditched it. I don't see anything critical here. But hey, for some good news, there's already/still packages which depend on libsystemd.
Am 24.02.2014 20:18, schrieb Dave Reisner:
On Mon, Feb 24, 2014 at 07:56:56PM +0100, 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]).
Do you run a huge SAP install? I don't run a huge SAP install. I'm not sure why anyone who doesn't run a huge SAP install cares about uuidd, but I understand your concern.
I think my sarcasm-detector is broken, there's a red light flashing that wasn't there before.
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.
Is this really necessary just to avoid minor problems in chroots? We used to have a libsystemd package, and subsequently ditched it. I don't see anything critical here.
It's probably the right thing to do (better than some fishy optdepend). And since I am extremely fond of findmnt, it would make me incredibly happy.
But hey, for some good news, there's already/still packages which depend on libsystemd.
Great stuff!
Am 24.02.2014 23:05, schrieb Thomas Bächler:
Am 24.02.2014 20:18, schrieb Dave Reisner:
On Mon, Feb 24, 2014 at 07:56:56PM +0100, 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]).
Do you run a huge SAP install? I don't run a huge SAP install. I'm not sure why anyone who doesn't run a huge SAP install cares about uuidd, but I understand your concern.
I think my sarcasm-detector is broken, there's a red light flashing that wasn't there before.
And now it's lsblk, too. We could get a sane dependency chain without circles now - or wait until all of util-linux is broken.
On Mar 9, 2014 9:31 AM, "Thomas Bächler" <thomas@archlinux.org> wrote:
Am 24.02.2014 23:05, schrieb Thomas Bächler:
Am 24.02.2014 20:18, schrieb Dave Reisner:
On Mon, Feb 24, 2014 at 07:56:56PM +0100, 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]).
Do you run a huge SAP install? I don't run a huge SAP install. I'm not sure why anyone who doesn't run a huge SAP install cares about uuidd, but I understand your concern.
I think my sarcasm-detector is broken, there's a red light flashing that wasn't there before.
And now it's lsblk, too. We could get a sane dependency chain without circles now - or wait until all of util-linux is broken.
Sigh. I probably have time to fix this today.
On Sun, Mar 09, 2014 at 09:36:39AM -0400, Dave Reisner wrote:
On Mar 9, 2014 9:31 AM, "Thomas Bächler" <thomas@archlinux.org> wrote:
Am 24.02.2014 23:05, schrieb Thomas Bächler:
Am 24.02.2014 20:18, schrieb Dave Reisner:
On Mon, Feb 24, 2014 at 07:56:56PM +0100, 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]).
Do you run a huge SAP install? I don't run a huge SAP install. I'm not sure why anyone who doesn't run a huge SAP install cares about uuidd, but I understand your concern.
I think my sarcasm-detector is broken, there's a red light flashing that wasn't there before.
And now it's lsblk, too. We could get a sane dependency chain without circles now - or wait until all of util-linux is broken.
Sigh. I probably have time to fix this today.
Sadly, I didn't get to this yesterday and I spent most of today flying cross-country. Because we never ditched the libsystemd provide on systemd, we can do this piecemeal. I'm pushing a split of util-linux into testing tonight, and I'll handle the libsystemd/systemd split tomorrow or Wednesday when systemd 211 is released. As discussed on IRC, this is only going to be a runtime split. libutil-linux will only contain the dynamic libs for libuuid, libblkid, and libmount. Similar for systemd -- libsystemd, libudev, and the compat libs.
On Mon, Mar 10, 2014 at 10:44:12PM -0400, Dave Reisner wrote:
On Sun, Mar 09, 2014 at 09:36:39AM -0400, Dave Reisner wrote:
On Mar 9, 2014 9:31 AM, "Thomas Bächler" <thomas@archlinux.org> wrote:
Am 24.02.2014 23:05, schrieb Thomas Bächler:
Am 24.02.2014 20:18, schrieb Dave Reisner:
On Mon, Feb 24, 2014 at 07:56:56PM +0100, 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]).
Do you run a huge SAP install? I don't run a huge SAP install. I'm not sure why anyone who doesn't run a huge SAP install cares about uuidd, but I understand your concern.
I think my sarcasm-detector is broken, there's a red light flashing that wasn't there before.
And now it's lsblk, too. We could get a sane dependency chain without circles now - or wait until all of util-linux is broken.
Sigh. I probably have time to fix this today.
Sadly, I didn't get to this yesterday and I spent most of today flying cross-country. Because we never ditched the libsystemd provide on systemd, we can do this piecemeal. I'm pushing a split of util-linux into testing tonight, and I'll handle the libsystemd/systemd split tomorrow or Wednesday when systemd 211 is released.
As discussed on IRC, this is only going to be a runtime split. libutil-linux will only contain the dynamic libs for libuuid, libblkid, and libmount. Similar for systemd -- libsystemd, libudev, and the compat libs.
Much to my dismay, this is now done.
Am 12.03.2014 04:07, schrieb Dave Reisner:
As discussed on IRC, this is only going to be a runtime split. libutil-linux will only contain the dynamic libs for libuuid, libblkid, and libmount. Similar for systemd -- libsystemd, libudev, and the compat libs.
Much to my dismay, this is now done.
If you need any moral support, feel free to contact me.
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 -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
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. greetings tpowa -- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tpowa@archlinux.org
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.
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.
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
This was e2fsprogs' fault, it should now be fixed in testing.
On 03/13/2014 08:21 PM, Thomas Bächler wrote:
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
This was e2fsprogs' fault, it should now be fixed in testing.
Nice. Confirmed. Thanks :) -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
participants (4)
-
Dave Reisner
-
Gerardo Exequiel Pozzi
-
Thomas Bächler
-
Tobias Powalowski