Restricting ptrace breaks XFCE 4 sessions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Using kernel.
The .xsession-errors tells me:
upstart: Échec de la génération du processus upstart-udev-bridge main : impossible de régler la trace : Opération non permise
upstart: Échec de la génération du processus dbus main : impossible de régler la trace : Opération non permise
Which translates to:
upstart: Failed to create the main upstart-udev-bridge process: unable to set trace: Operation not permitted
upstart: Failed to create the main dbus process: unable to set trace: Operation not permitted
Setting kernel.
Starting XFCE 4 manually works perfectly (startxfce4).
I would like to restrict PTRACE usage to the admin user, but this bug makes it impossible.
Upstart relies on ptrace fundamentally for its process supervision. This bug will never be fixed. The resolution for xfce is to migrate from upstart sessions to systemd sessions, which use newer kernel interfaces instead of relying on ptrace.