[Bug 777418] New: ldap.service file missing
https://bugzilla.novell.com/show_bug.cgi?id=777418 https://bugzilla.novell.com/show_bug.cgi?id=777418#c0 Summary: ldap.service file missing Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: x86 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jkuittinen293482@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1226.0 Safari/537.4 SUSE/22.0.1226.0 The openldap2 server package is missing a .service file or is failing to generate one. In addition, the old startup script redirects to the currently systemd control method. Reproducible: Always Steps to Reproduce: 1. install ldap server 2. enable and configure ldap server in yast2 or use systemctl start ldap.service 3. Actual Results: Failed to issue method call: Unit ldap.service failed to load: No such file or directory. See system logs and 'systemctl status ldap.service' for details. Also missing in 12.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c1
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c2
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c3
Michel Veltman
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c4
--- Comment #4 from Michel Veltman
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c5
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c6
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c7
--- Comment #7 from Frederic Crozat
Removing NEEDINFO flag, as the comment#3 provided the requested info.
@frederic: So what's the right way to handle this? Is there a macro I have to call in %post that does the required systemctl daemon-reload? I always thought the %service_add_post stuff is only required for services that actually ship with systemd unit files.
as I wrote in another bug report, we have an issue with the "initscript" macros not calling systemd daemon-reload when package is just installed. And fixing those macros is too late for 12.2, since it won't fix packages already shipping with those macros built-in. So, an interim solution would be to call systemd daemon-reload in %post of those package (or have file triggers in rpm, but it is not here yet). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c8
Ralf Haferkamp
as I wrote in another bug report, we have an issue with the "initscript" macros not calling systemd daemon-reload when package is just installed. And fixing those macros is too late for 12.2, since it won't fix packages already shipping with those macros built-in. It seems it's not even fixed in Factory currently. At least with the Milestone1 it fails exactly as on 12.2 (hence moving this bug to factory).
The only (non-systemd) rpm-macro that calls systemctl daemon-reload currently is %restart_on_update, but that's usually called in %postun which of course is not executed when installing a new package. I'd expect the %insserv macros to handle this (or even /sbin/insserv itself). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c9
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c10
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c11
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c12
--- Comment #12 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c13
--- Comment #13 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c14
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c15
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c16
--- Comment #16 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c17
--- Comment #17 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c18
Peter Varkoly
https://bugzilla.novell.com/show_bug.cgi?id=777418
https://bugzilla.novell.com/show_bug.cgi?id=777418#c
Frederic Crozat
participants (1)
-
bugzilla_noreply@novell.com