← Back to team overview

desktop-packages team mailing list archive

[Bug 883313] [NEW] /var/log/lightdm permissions incorrect i386 & amd64

 

Public bug reported:

$ ls -ld /var/log/lightdm
drwxr-xr-x 2 root root 4096 2011-10-28 21:19 /var/log/lightdm
$

probably should be chmod 1770; chgrp lightdm; like /var/log/gdm

current permissions preclude creation of
/var/log/lightdm/x-0-greeter.log when lightdm runs the greeter as can be
seen from /var/log/lightdm/lightdm.log:

[+0.66s] DEBUG: Starting greeter session
[+0.73s] DEBUG: pam_start("lightdm-autologin", "lightdm") -> (0x8ed34f0, 0)
[+0.73s] DEBUG: Starting session unity-greeter as user lightdm logging to /var/log/lightdm/x-0-greeter.log
[+0.73s] DEBUG: pam_authenticate(0x8ed34f0, 0) -> 0 (Success)
[+0.73s] DEBUG: pam_acct_mgmt(0x8ed34f0, 0) -> 0 (Success)
[+0.73s] DEBUG: Launching session
[+0.74s] DEBUG: pam_set_item(0x8ed34f0, 3, ":0") -> 0 (Success)
[+0.90s] DEBUG: pam_open_session(0x8ed34f0, 0) -> 0 (Success)
[+1.02s] DEBUG: Opened ConsoleKit session 596cf1ab9d446625cc96e42e00000011-1319841851.966609-1354326764
[+1.02s] DEBUG: Dropping privileges to uid 116
[+1.02s] DEBUG: Adding session authority to /var/lib/lightdm/.Xauthority
[+1.09s] DEBUG: Restoring privileges
[+1.09s] DEBUG: Launching process 1229: /usr/lib/lightdm/lightdm-greeter-session 'unity-greeter'
[+1.09s] WARNING: Failed to open log file /var/log/lightdm/x-0-greeter.log: Permission denied
[+1.09s] DEBUG: pam_setcred(0x8ed34f0, PAM_ESTABLISH_CRED) -> 0 (Success)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 1.0.1-0ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 29 10:05:04 2011
ProcEnviron:
 LC_TIME=en_AU.UTF-8
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to oneiric on 2011-10-28 (0 days ago)

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


** Tags: amd64 apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/883313

Title:
  /var/log/lightdm permissions incorrect i386 & amd64

Status in “lightdm” package in Ubuntu:
  New

Bug description:
  $ ls -ld /var/log/lightdm
  drwxr-xr-x 2 root root 4096 2011-10-28 21:19 /var/log/lightdm
  $

  probably should be chmod 1770; chgrp lightdm; like /var/log/gdm

  current permissions preclude creation of
  /var/log/lightdm/x-0-greeter.log when lightdm runs the greeter as can
  be seen from /var/log/lightdm/lightdm.log:

  [+0.66s] DEBUG: Starting greeter session
  [+0.73s] DEBUG: pam_start("lightdm-autologin", "lightdm") -> (0x8ed34f0, 0)
  [+0.73s] DEBUG: Starting session unity-greeter as user lightdm logging to /var/log/lightdm/x-0-greeter.log
  [+0.73s] DEBUG: pam_authenticate(0x8ed34f0, 0) -> 0 (Success)
  [+0.73s] DEBUG: pam_acct_mgmt(0x8ed34f0, 0) -> 0 (Success)
  [+0.73s] DEBUG: Launching session
  [+0.74s] DEBUG: pam_set_item(0x8ed34f0, 3, ":0") -> 0 (Success)
  [+0.90s] DEBUG: pam_open_session(0x8ed34f0, 0) -> 0 (Success)
  [+1.02s] DEBUG: Opened ConsoleKit session 596cf1ab9d446625cc96e42e00000011-1319841851.966609-1354326764
  [+1.02s] DEBUG: Dropping privileges to uid 116
  [+1.02s] DEBUG: Adding session authority to /var/lib/lightdm/.Xauthority
  [+1.09s] DEBUG: Restoring privileges
  [+1.09s] DEBUG: Launching process 1229: /usr/lib/lightdm/lightdm-greeter-session 'unity-greeter'
  [+1.09s] WARNING: Failed to open log file /var/log/lightdm/x-0-greeter.log: Permission denied
  [+1.09s] DEBUG: pam_setcred(0x8ed34f0, PAM_ESTABLISH_CRED) -> 0 (Success)

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: lightdm 1.0.1-0ubuntu6
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Sat Oct 29 10:05:04 2011
  ProcEnviron:
   LC_TIME=en_AU.UTF-8
   PATH=(custom, no user)
   LANG=C
   SHELL=/bin/bash
  SourcePackage: lightdm
  UpgradeStatus: Upgraded to oneiric on 2011-10-28 (0 days ago)

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


Follow ups

References