Missing path in init command prevents Desktop session

Bug #1354540 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

/etc/X11/Xsession.d/99upstart

contains the line

    STARTUP="init --user"

which can prevent the user from logging in.

Usually, and conforming to Unix standards, /sbin and /usr/sbin contain system related programs to be used by root. non-root users usually do and can not use programs found here, and therefore should not have /sbin /usr/sbin /usr/local/sbin in their PATH variable.

But if they have a PATH variable without /sbin (which is perfectly correct for non-root users), the STARTUP value defined above will not work, since the should does not find init.

Therefore, and to be independent from PATH variables, this should be /sbin/init instead of init.

regards

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: upstart 1.12.1-0ubuntu4.2
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Aug 8 19:31:32 2014
SourcePackage: upstart
UpgradeStatus: Upgraded to trusty on 2014-04-19 (111 days ago)
UpstartBugCategory: Session
UpstartRunningSessionCount: 2
UpstartRunningSessionVersion: init (upstart 1.12.1)
UpstartRunningSystemVersion: init (upstart 1.12.1)
upstart.logrotate.log: /proc/self/fd/9: 27: /proc/self/fd/9: logrotate: not found

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Hadmut Danisch (hadmut) wrote :

BTW, if that problem occurs, the session immediately aborts right after logging in.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.