Your message dated Fri, 15 Mar 2019 20:47:17 +0000 with message-id <[email protected]> and subject line Bug#923881: fixed in systemd 241-2 has caused the Debian Bug report #923881, regarding systemd: user session fails when home directory contains /./ to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 923881: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923881 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: systemd Version: 241-1 Severity: normal Tags: patch upstream Dear Maintainer, At work, users (in LDAP) have home directories set as /export/./home/username. The /./ is used for instance by vsftpd to indicate the location where the users are chrooted into (not relevant to this bug other than it gives some context as to why there's a /./ in there). With those home directories however, user login sessions don't work properly, with for instance lxpolkit complaining about a missing session, or network manager complaining about insufficient rights. systemd-cgls doesn't show "user" control groups. When using gdm3 and gnome, it's impossible to login (log back out straight after authentication). The auth logs have: systemd-logind[1386]: Failed to start session scope session-17.scope: Failed to add required mount "/export/./home/stephane": Success Turns out systemd doesn't like that /./. Looking at the code, it fails because the path is not "normalized". I'm not sure when it stopped working (Ubuntu's 237-3ubuntu10.13 package doesn't have the problem, 240-2 already had the problem, my auth.log doesn't go further back). The patch below fixes the problem for me. We call path_simplify with a "kill_dots" argument of "true" instead of "false". --- systemd-241/src/core/unit.c~ 2019-03-06 16:53:30.910741632 +0000 +++ systemd-241/src/core/unit.c 2019-03-06 16:26:00.018550897 +0000 @@ -4598,7 +4598,7 @@ int unit_require_mounts_for(Unit *u, con if (!p) return -ENOMEM; - path = path_simplify(p, false); + path = path_simplify(p, true); if (!path_is_normalized(path)) return -EPERM; -- Package-specific info: -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages systemd depends on: ii adduser 3.118 ii libacl1 2.2.52-5 ii libapparmor1 2.13.2-7 ii libaudit1 1:2.8.4-2 ii libblkid1 2.33.1-0.1 ii libc6 2.28-7 ii libcap2 1:2.25-2 ii libcryptsetup12 2:2.1.0-1 ii libgcrypt20 1.8.4-5 ii libgnutls30 3.6.6-2 ii libgpg-error0 1.35-1 ii libidn11 1.33-2.2 ii libip4tc0 1.8.2-3 ii libkmod2 26-1 ii liblz4-1 1.8.3-1 ii liblzma5 5.2.4-1 ii libmount1 2.33.1-0.1 ii libpam0g 1.3.1-5 ii libseccomp2 2.3.3-4 ii libselinux1 2.8-1+b1 ii libsystemd0 241-1 ii mount 2.33.1-0.1 ii util-linux 2.33.1-0.1 Versions of packages systemd recommends: ii dbus 1.12.12-1 ii libpam-systemd 241-1 Versions of packages systemd suggests: ii policykit-1 0.105-25 pn systemd-container <none> Versions of packages systemd is related to: pn dracut <none> ii initramfs-tools 0.133 ii udev 241-1 -- debconf-show failed
--- End Message ---
--- Begin Message ---Source: systemd Source-Version: 241-2 We believe that the bug you reported is fixed in the latest version of systemd, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Biebl <[email protected]> (supplier of updated systemd package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 15 Mar 2019 18:33:54 +0100 Source: systemd Architecture: source Version: 241-2 Distribution: unstable Urgency: medium Maintainer: Debian systemd Maintainers <[email protected]> Changed-By: Michael Biebl <[email protected]> Closes: 908796 921280 923081 923881 924199 924539 Changes: systemd (241-2) unstable; urgency=medium . [ Martin Pitt ] * debian/tests/boot-smoke: Create journal and udevdb artifacts on all failures * autopkgtests: Replace obsolete $ADT_* variables * networkd-test: Ignore failures of test_route_only_dns* in containers. This test exposes a race condition when running in LXC, see issue #11848 for details. Until that is understood and fixed, skip the test as it's not a recent regression. (Closes: #924539) * Bump Standards-Version to 4.3.0. No changes necessary. * debian/tests/boot-smoke: Only check current boot for connection timeouts. Otherwise we'll catch some Failed to resolve group 'render': Connection timed out messages that happen in earlier boots during VM setup, before the "render" group is created. Fixes https://github.com/systemd/systemd/issues/11875 * timedated: Fix emitted value when ntp client is enabled/disabled. Fixes a regression introduced in 241. * debian/tests/timedated: Check enabling/disabling NTP. Assert that `timedatectl set-ntp` correctly controls the service, sets the `org.freedesktop.timedate1 NTP` property, and sends the right `PropertiesChanged` signal. This reproduces <https://github.com/systemd/systemd/issues/11944> and also the earlier <https://github.com/systemd/systemd/issues/9672>. . [ Michael Biebl ] * Disable fallback DNS servers in resolved (Closes: #923081) * cgtop: Fix processing of controllers other than CPU (Closes: #921280) * udev: Restore debug level when logging a failure in the external prog called by IMPORT{program} (Closes: #924199) * core: Remove "." path components from required mount paths. Fixes mount related failures when a user's home directory contains "/./" (Closes: #923881) * udev.init: Use new s-s-d --notify-await to start udev daemon. Fixes a race condition during startup under SysV init. Add versioned dependency on dpkg (>= 1.19.3) to ensure that a version of start-stop-daemon which supports --notify-await is installed. (Closes: #908796) * Make /dev/dri/renderD* accessible to group "render" Follow upstream and make render nodes available to a dedicated system group "render" instead of "video". Keep the uaccess tag for local, active users. Checksums-Sha1: f56f1dfc55dfab6de44c11504605513988a6a5e2 4905 systemd_241-2.dsc c44901e575adf3ffb7aea9fd440af110f4c0ef80 148152 systemd_241-2.debian.tar.xz d7fba34eeb70159abe26685b49cc93271d48ed22 9059 systemd_241-2_source.buildinfo Checksums-Sha256: 20d218fcbbdbab9c4d7140a1d1666d004e6f940d4538488793d73f7374f98779 4905 systemd_241-2.dsc a1ee3c2023d79790fe8f558e93bfa60af3a395191333e94f19708f6124e516f1 148152 systemd_241-2.debian.tar.xz 15d289907262e44c8026ed1115d3ac3ee7e8d1d9ac8acfac368dafed8c7e993f 9059 systemd_241-2_source.buildinfo Files: d24c9e0172d5e8169838fa4f92127402 4905 admin optional systemd_241-2.dsc 3bec68194d1bb80946e98b746bd43b15 148152 admin optional systemd_241-2.debian.tar.xz 5faea0bc3c58ec598132a5efd9511302 9059 admin optional systemd_241-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAlyL/2IACgkQauHfDWCP ItyuHg//Y5OW5G01ZwNO+oQ5EdEPrS0j+oRzH4s8nXyLlVh7fqIFG482dg1QO8Bc u1t9oxSaiqDAab2QxN6pzzEfLhyi30JCgtp10gNNuyrMztXwetNMRspGqCXRjdKC Sqmw8Ovek/XcufRJAKqGNI1q/Js8PyegN8MSCwP/oy7+T3Z7ko0GWPsLLpvADzSM 5BE9+NS5dZqbiGFDynBBZkzQUaNyxCoX7DVZRn4Fdbf31SaqOPGi96DxKovQ2IlQ 6hekMzlTh3R03D8+pMBCn1VuC0fiWIQvWd4jljv3KbTLuDZ1tkUV7LppiCqE6a3e XR9kbjiuRolicF0cjghLPJBF4eTrHibkBb4lP4BEzJwiuZCpHTBAE7Av7CgP7TiC +ry2+f+wKpk/NnQzkmUogHfbeZUUSJUg41ceUHgTzaQ1gWZ6AR2uWrOzhVuhlTUz DtsecAafiYVmS9Wo86TYIH2nrPTre9mZ1mewXb9skLI5IoLh0nOSe4WjE9Kzv+5/ b9U6qYWO03zyaWspgOmY6aL5slkG2NMrD1jc/o3m8PNd2KvJ6Daofw1GfeQsQ1hy sBZciOkboMYwQMq+aBqUGHPzzdfSns1Z9EroTcUnCb1epjqYbdQAgMrxNzNXcR18 r5Wr/eDm4djC61IBdwddm4lAofMZ1etzy3w7GzqwoqlvpFYifNc= =ms4X -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
