Skip to content

systemd-logind's IP sandbox breaks nss-nis and suchlike #7074

@jojoax

Description

@jojoax

Submission type: Bug report

After System upgrading (2017-10-12) systemd-235.0-1-x86_64.pkg.tar.xz on Arch Linux, no user X11 Usersession login was possible.

Plasma, XFCE4, Gnome failed, by thorwing a copnnect problem to dbus.
"Could not sync environment to dbus"

systemd version the issue has been seen with: systemd-235.0-1-x86_64.pkg.tar.xz

Used distribution: Arch Linux (Rolling Release)

In case of bug report: Expected behaviour you didn't see

Graphical Login with mostly all GUI systems does not work dur connection problem to dbus.

In case of bug report: Unexpected behaviour you saw

Login in GUI Session took a long time, afterwards it crashed with "dbus connect timeout".

In case of bug report: Steps to reproduce the problem

Steps to reproduce:

  1. Get Home from company server (here a Debian V9 exporting /home the classical, refer arch wiki)

server:/home /home nfs nofail,_netdev,x-systemd.requires=network-online.target,x-systemd.device-timeout=1 0 0
server:/srv/pkg /var/cache/pacman/pkg nfs nofail,_netdev,x-systemd.requires=network-online.target,x-systemd.device-timeout=1 0 0

  1. mount User special directories like (this was done due performance issues with kde and thunderbird)
    LABEL=pc6root /home/jojo/.config btrfs _netdev,subvol=jojo/config,rw,relatime,space_cache,ssd_spread,ssd,discard,compress=lzo,x-systemd.requires=remote-fs.target 0 0
    LABEL=pc6root /home/jojo/.local btrfs _netdev,subvol=jojo/local,rw,relatime,space_cache,discard,ssd,ssd_spread,compress=lzo,x-systemd.requires=remote-fs.target 0 0
    LABEL=pc6root /home/jojo/.cache btrfs _netdev,subvol=jojo/cache,rw,relatime,space_cache,ssd,ssd_spread,discard,compress=lzo,x-systemd.requires=remote-fs.target 0 0
    LABEL=pc6root /home/jojo/.kde btrfs _netdev,subvol=jojo/kde,rw,relatime,space_cache,ssd,ssd_spread,discard,compress=lzo,x-systemd.requires=remote-fs.target 0 0
    LABEL=pc6root /home/jojo/.kde4 btrfs _netdev,subvol=jojo/kde4,rw,relatime,space_cache,ssd,ssd_spread,discard,compress=lzo,x-systemd.requires=remote-fs.target 0 0
    LABEL=pc6root /home/jojo/.thunderbird btrfs _netdev,subvol=jojo/email,rw,relatime,space_cache,ssd,ssd_spread,discard,compress=lzo,x-systemd.requires=remote-fs.target 0 0

3- Install NIS Environment to get user auth via nis (refer arch wiki)

  • use lightdm and try to login with any user with a standard user session, which is using dbus like plasma, xfce, gnome

... creating the session fails here at 3 sattelite systems.

After downgrading to v234
root@pc6:/var/cache/pacman/pkg# pacman -U systemd-234.11-9-x86_64.pkg.tar.xz systemd-sysvcompat-234.11-9-x86_64.pkg.tar.xz

Everything was working again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions