You have been subscribed to a public bug:

After running update today (on Ubuntu 15.10) and rebooting the OS
lightdm would not start. After some debugging I noticed that /dev/null
(and some other /dev files) do not have adequate permissions (compared
to another Ubuntu box I have) - e.g. 'others' could not read nor write
/dev/null.

After 'chmod a+rw' offending files, lightdm started up. Of course this
is not reboot persistent so I need to put this in some /etc/rc.* to make
it stick - which I do not want to!

To fix this problem after reboots I added /etc/init.d/fix-dev.sh script
with contents, and symlink to /etc/rcS.d/S14fix-dev.sh (last entry):

chmod a+rw /dev/null /dev/random /dev/urandom /dev/ptmx /dev/tty
/dev/zero /dev/full /dev/fuse /dev/net/tun

My system now starts the lightdm as it did before.

$ lsb_release -rd
Description:    Ubuntu 15.10
Release:        15.10

apt-cache policy udev
udev:
  Installed: 225-1ubuntu9
  Candidate: 225-1ubuntu9
  Version table:
 *** 225-1ubuntu9 0
        500 http://se.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: bot-comment xubuntu
-- 
Wrong /dev/null permissions after boot
https://bugs.launchpad.net/bugs/1522313
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to systemd in Ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to