← Back to team overview

touch-packages team mailing list archive

[Bug 1354540] [NEW] Missing path in init command prevents Desktop session

 

Public bug reported:

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

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1354540

Title:
  Missing path in init command prevents Desktop session

Status in “upstart” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1354540/+subscriptions


Follow ups

References