Public bug reported:

I have a fresh install of Ubuntu 15.04 and am attempting to install
autofs.

$ sudo apt-get install autofs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  autofs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/307 kB of archives.
After this operation, 1,826 kB of additional disk space will be used.
Selecting previously unselected package autofs.
(Reading database ... 216390 files and directories currently installed.)
Preparing to unpack .../autofs_5.0.8-1ubuntu3.2_amd64.deb ...
Unpacking autofs (5.0.8-1ubuntu3.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up autofs (5.0.8-1ubuntu3.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults

$ sudo cp /home/auto.* /etc/

$ ls -l /etc/auto.*
-rw-r--r-- 1 root root  865 Jul 19 09:54 /etc/auto.master
-rw-r--r-- 1 root root  524 Jul  8 10:14 /etc/auto.misc
-rwxr-xr-x 1 root root 1397 Jul  8 10:14 /etc/auto.net
-rw-r--r-- 1 root root  287 Jul 19 09:54 /etc/auto.nfs
-rwxr-xr-x 1 root root 2191 Jul  8 10:14 /etc/auto.smb

$ sudo reload autofs
reload: Unable to connect to Upstart: Failed to connect to socket 
/com/ubuntu/upstart: Connection refused

Note that the config files mentioned above (auto.master and auto.nfs)
work just fine on a separate computer running Ubuntu 14.10. They were
generated using these instructions:
https://help.ubuntu.com/community/Autofs

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

** Description changed:

  I have a fresh install of Ubuntu 15.04 and am attempting to install
  autofs.
  
- $ sudo apt-get remove autofs
+ $ sudo apt-get install autofs
  Reading package lists... Done
- Building dependency tree       
- Reading state information... Done
- The following packages will be REMOVED:
-   autofs
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- After this operation, 1,826 kB disk space will be freed.
- Do you want to continue? [Y/n] 
- (Reading database ... 216437 files and directories currently installed.)
- Removing autofs (5.0.8-1ubuntu3.2) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- nate@neredium:~$ sudo apt-get install autofs
- Reading package lists... Done
- Building dependency tree       
+ Building dependency tree
  Reading state information... Done
  The following NEW packages will be installed:
-   autofs
+   autofs
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/307 kB of archives.
  After this operation, 1,826 kB of additional disk space will be used.
  Selecting previously unselected package autofs.
  (Reading database ... 216390 files and directories currently installed.)
  Preparing to unpack .../autofs_5.0.8-1ubuntu3.2_amd64.deb ...
  Unpacking autofs (5.0.8-1ubuntu3.2) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  ureadahead will be reprofiled on next reboot
  Processing triggers for systemd (219-7ubuntu6) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Setting up autofs (5.0.8-1ubuntu3.2) ...
  update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
  
  $ sudo cp /home/auto.* /etc/
  
  $ ls -l /etc/auto.*
  -rw-r--r-- 1 root root  865 Jul 19 09:54 /etc/auto.master
  -rw-r--r-- 1 root root  524 Jul  8 10:14 /etc/auto.misc
  -rwxr-xr-x 1 root root 1397 Jul  8 10:14 /etc/auto.net
  -rw-r--r-- 1 root root  287 Jul 19 09:54 /etc/auto.nfs
  -rwxr-xr-x 1 root root 2191 Jul  8 10:14 /etc/auto.smb
  
  $ sudo reload autofs
  reload: Unable to connect to Upstart: Failed to connect to socket 
/com/ubuntu/upstart: Connection refused
  
  Note that the config files mentioned above (auto.master and auto.nfs)
  work just fine on a separate computer running Ubuntu 14.10. They were
  generated using these instructions:
  https://help.ubuntu.com/community/Autofs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1475990

Title:
  autofs service fails to connect to upstart

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

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

Reply via email to