https://bugzilla.novell.com/show_bug.cgi?id=813767 https://bugzilla.novell.com/show_bug.cgi?id=813767#c0 Summary: Systemd does not work with LSB scripts for Open-Xchange 6.22 Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: 64bit OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rm@anracon.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 About 2 weeks ago I successfully upgraded from Open-Xchange 6.20.7 to 6.22.0 and further to 6.22.1. All on an Opensuse 12.2 (x86_64) system - no problems with activating the open-xchange-daemon by using systemd (systemctl) there. Now, I have in addition upgraded the system to Opensuse 12.3. While this was a surprisingly smooth transition for almost all server components, there is real trouble with systemd and OX 6.22. There is no chance to start OX 6.22 with systemd on Opensuse 12.3. At least not on my system and at least not after the last updates (of systemd). (It may have been different on the freshly installed OS 12.3 but I am not 100% sure about that). The situation right now is the following: After starting OX by "systemctl start open-xchange" the status of the open-xchange LSB service is displayed as follows: mysystem:/etc/init.d # systemctl status open-xchange.service open-xchange.service – LSB: Open Xchange Daemon Loaded: loaded (/etc/init.d/open-xchange) Active: inactive (dead) since Wed, 2013-03-27 12:30:19 CET; 5min ago Process: 13365 ExecStop=/etc/init.d/open-xchange stop (code=exited, status=0/SUCCESS) Process: 13349 ExecStart=/etc/init.d/open-xchange start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/open-xchange.service Mar 27 12:30:19 mysystem.mydomain.de systemd[1]: Starting LSB: Open Xchange Daemon… Mar 27 12:30:19 mysystem.mydomain.de open-xchange[13349]: Starting open-xchange ..done Mar 27 12:30:19 mysystem.mydomain.de systemd[1]: Started LSB: Open Xchange Daemon. Mar 27 12:30:19 mysystem.mydomain.de su[13360]: (to open-xchange) root on none Mar 27 12:30:19 mysystem.mydomain.de open-xchange[13365]: Shutting down open-xchange ..done The service is dead, according to systemd. The start was directly followed by a stop of the service. However, starting OX manually by the script "/etc/init.d/open-xchange start" works perfectly, if you are in the directory /etc/init.d : mysystem:/etc/init.d # ./open-xchange start redirecting to systemctl start Starting open-xchange done mysystem:/etc/init.d # ./open-xchange status Checking for service open-xchange running Checking for service open-xchange running But systemd does not take notice of this success : mysystem:/etc/init.d # systemctl status open-xchange open-xchange.service – LSB: Open Xchange Daemon Loaded: loaded (/etc/init.d/open-xchange) Active: inactive (dead) since Wed, 2013-03-27 12:57:05 CET; 1min 39s ago So, it seems that there is no communication between systend and open-xchange - neither when using systemctl to start OX nor when using systemctl to ask for the status. Consistently, activating open-xchange by using the "runlevel editor" of YaST does not work either. Furthermore, a strange thing is the following: Even an "rcopen-xchange start" (stop, status) does not work. And "rcopen-xchange" is just a link to "/etc/init.d/open-xchange". The only way for me to start OX is via changing (as root) to the directory "/etc/init.d" and use "./open-xchange start" there. Things do not work in case I am in a different directory and use "/etc/init.d/open-xchange start". Where does this dependency on the directory come from ? For the time being it looks as if I must start OX manually under Opensuse 12.3 after booting - a situation, which I do not like. Any ideas why systemd in contrast to OS 12.2 is not working with OX 6.22 under OS 12.3 ? Reproducible: Always Steps to Reproduce: 1. Install Open-Xchange 6.22 with the corresponding LSB start/stop-scripts 2. Try starting open-xchange by systemctl 3. Actual Results: The service is never started or maybe started and directly afterwards stopped Expected Results: The result of systemctl should be the same as when using ./open-xchange start in /etc/init.d - namely a running open-xchange service -- 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.