[Pkg-systemd-maintainers] Bug#719444: Bug#719444: systemd: incompatibility between systemd 204 and libsystemd-login0 44

Michael Biebl biebl at debian.org
Sun Aug 11 22:38:25 BST 2013


Am 11.08.2013 22:59, schrieb Sven Joachim:
> Package: systemd
> Version: 204-2
> Severity: normal
> 
> Since systemd 203, user sessions are placed in cgroups suffixed with
> ".session" (e.g. my current session is under
> /sys/fs/cgroup/systemd/user/1000.user/c1.session).  Unfortunately,
> libsystemd-login0 from unstable is not prepared for that, and the
> following more or less plausible code breaks with it:
> 
> 
> 
> 
> With libsystemd-login0 44-12, this program prints:
> 
> ,----
> | err=0
> | session=c1.session
> | sd_session_is_active=-2
> | sd_session_get_seat=-2
> `----
> 
> where -2 indicates ENOENT.  With libsystemd-login0 204-2, the output is
> better:
> 
> ,----
> | err=0
> | session=c1
> | sd_session_is_active=1
> | sd_session_get_seat=0
> `----
> 
> A real-world package where this incompatibility causes problems is
> weston: the weston-launch wrapper failed for me until I upgraded
> libsystemd-login0 to the version in experimental.
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (101, 'experimental')
> Architecture: i386 (x86_64)
> 
> Kernel: Linux 3.11.0-rc4-nouveau (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages systemd depends on:
> ii  initscripts          2.88dsf-43
> ii  libacl1              2.2.52-1
> ii  libaudit0            1:1.7.18-1.1
> ii  libc6                2.17-92
> ii  libcap2              1:2.22-1.2
> ii  libcryptsetup4       2:1.6.1-1
> ii  libdbus-1-3          1.6.12-1
> ii  libgcrypt11          1.5.3-1
> ii  libkmod2             9-3
> ii  liblzma5             5.1.1alpha+20120614-2
> ii  libpam0g             1.1.3-9
> ii  libselinux1          2.1.13-2
> ii  libsystemd-daemon0   44-12
> ii  libsystemd-journal0  204-2


afaics we have 3 possibilities, neither of them is very compelling:
a/ Make systemd 204 break libsystemd-login0 < 204 and make
libsystemd-login0 204 break systemd < 204
b/ Add an artificial libsystemd-login0 (= ${binary:Version}) depends to
systemd, so when both packages are installed they are always in sync
(udev already uses the same hack, i.e. udev depends on libudev1 of the
same version even though udev does not actually depend on libudev1)
c/ do nothing

Opinions?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130811/818a6c30/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list