Package autofs does not include autofs.service file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs |
Fix Released
|
Unknown
|
|||
autofs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Package autofs in Ubuntu 16.04 includes SysV startup script (/etc/init.
It appears that on the installation that I tested, systemd starts LSB services well after sssd is started, so the issue does not cause any visible problems, but this startup sequence is accidental. Given the number of other issues related to autofs startup in Xenial, requiring users to get their hands dirty just to have autofs run properly after boot, I think it would be advantageous to fix this simple oversight. (See bug 1566508, bug 1584818, bug 1588915)
I attach an example service file for autofs that fixes this problem. In addition to sssd.service, this unit could also list nslcd.service, slapd.service and ypbind.
$lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
$apt-cache policy autofs
autofs:
Installed: 5.1.1-1ubuntu3
Candidate: 5.1.1-1ubuntu3
Changed in autofs: | |
status: | Unknown → New |
Changed in autofs: | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.