systemd support
Bug #1524755 reported by
Jeffery Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gksu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
gnome-terminal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
we need support for systemd because both sudo and su are broken
systemd sets a XDG_RUNTIME_DIR for /run/user/<UID>
when doing su or sudo XDG_RUNTIME_DIR does not get set and /run/user/0 does not get created
please see the github pull request I opened on github
https:/
information type: | Private Security → Public |
no longer affects: | systemd (Ubuntu) |
To post a comment you must log in.
jefferyw@xubuntu:~$ sudo gnome-terminal Terminal: /org/gnome/ Terminal/ Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error: org.freedesktop .DBus.Error. Spawn.ChildExit ed: Process org.gnome.Terminal exited with status 10 DATA_DIR= /var/lib/ lightdm- data/jefferyw PREFIX= xfce- PATH=/org/ freedesktop/ DisplayManager/ Session0 PATH=/org/ freedesktop/ DisplayManager/ Seat0 DIRS=/etc/ xdg/xdg- xfce:/usr/ share/upstart/ xdg:/etc/ xdg:/etc/ xdg TYPE=x11 DESKTOP= xfce DIRS=/usr/ share/xfce: /usr/share/ xfce4:/ usr/local/ share/: /usr/share/ :/usr/share DIR=/run/ user/1000 DESKTOP= XFCE
Error constructing proxy for org.gnome.
jefferyw@xubuntu:~$ env | grep XDG
XDG_VTNR=7
XDG_SESSION_ID=c5
XDG_GREETER_
XDG_MENU_
XDG_SESSION_
XDG_SEAT_
XDG_CONFIG_
XDG_SESSION_
XDG_SEAT=seat0
XDG_SESSION_
XDG_DATA_
XDG_RUNTIME_
XDG_CURRENT_
jefferyw@xubuntu:~$ su -
Password:
root@xubuntu:~# env | grep XDG
root@xubuntu:~# exit
logout
jefferyw@xubuntu:~$ sudo bash
root@xubuntu:~# env | grep XDG
root@xubuntu:~# exit
exit
jefferyw@xubuntu:~$