Bug 728104

Summary: systemd arbitrarily disables services
Product: [openSUSE] openSUSE 12.1 Reporter: Jiri Slaby <jslaby>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bruno, fcrozat
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Slaby 2011-11-03 16:33:26 UTC
This is the second time in the past 7 days that I have to run:
# systemctl enable apache2.service

and it indeed wrote this:
ln -s '/lib/systemd/system/apache2.service' '/etc/systemd/system/multi-user.target.wants/apache2.service'

Apache is not started automatically otherwise of course. Is there something what arbitrarily disables services?

I must say that I didn't see anything else than apache being disabled for sure. But I remember I had to enable ntp on my notebook several times.
Comment 1 Bruno Friedmann 2011-11-04 06:44:10 UTC
I've seen that with the big bunch of last updates, I'm staying on factory.
I've apache2,mysql,postgresql and others enable and running before the update.

After the reboot, apache2 is marked as disabled ? 

systemctl enable apache2.service && systemctl start 
solve the case. 
But on a future remote server, this can be annoying.
Comment 2 Frederic Crozat 2011-11-04 09:31:27 UTC
looks like presets are overriding default/user config, when upgrading package.

I need to discuss with upstream about what is the "excepted" behaviour.
Comment 3 Frederic Crozat 2011-11-04 16:43:29 UTC
fixed in Base/System / systemd and pushed in Factory (and 12.1).

packages providing systemd .service and using systemd rpm macros will need to be rebuild to use the fixed macros.
Comment 4 Bernhard Wiedemann 2011-11-04 17:00:07 UTC
This is an autogenerated message for OBS integration:
This bug (728104) was mentioned in
https://build.opensuse.org/request/show/90129 Factory / systemd