(gutsy) package installation doesn't honour service settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
pam (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I have the samba (folder sharing) service installed on my machine, but have it turned off in System > Administration > Services. (I only want it on in rare controlled occassions).
I just did an update which caused pam to be updated which decided to restart all services using pam and in the process it restarted samba. However samba was not running at the time, nor is it enabled in the gui tool or in any /etc/rc?.d directory.
Package installation should really be obeying the service settings rather than just blindly restarting everything potentially affected. Additionally it should look to see if the service is already running. If it isn't then there is no need to restart it!
This affects pam upgrades and likely other packages as well. Additionally it is a minor security problem because the administrator can have deliberately disabled services yet they can still end up running.
The pam upgrade opened a debconf window for me asking which services I wanted restarted. Didn't you get such a question?