Missing path in init command prevents Desktop session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
/etc/X11/
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
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
NonfreeKernelMo
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
UpstartRunningS
UpstartRunningS
UpstartRunningS
upstart.
BTW, if that problem occurs, the session immediately aborts right after logging in.