Univention Bugzilla – Full Text Bug Listing |
Summary: | Listener hangs due to saml restart in UCS 4.3 setup | ||
---|---|---|---|
Product: | UCS | Reporter: | Stefan Gohmann <gohmann> |
Component: | SAML | Assignee: | Stefan Gohmann <gohmann> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | best, brodersen |
Version: | UCS 4.3 | Keywords: | interim-1 |
Target Milestone: | UCS 4.3 | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=43486 | ||
What kind of report is it?: | Development Internal | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 46212 | ||
Attachments: |
autotest-091-master-s4.log.bz2
journalctl.lst syslog daemon.log system-stats.log |
Description
Stefan Gohmann
2017-12-28 07:25:49 CET
Created attachment 9331 [details]
autotest-091-master-s4.log.bz2
Created attachment 9332 [details]
journalctl.lst
Created attachment 9333 [details]
syslog
Created attachment 9334 [details]
daemon.log
Created attachment 9335 [details]
system-stats.log
It is reproducible in this way: root@master093:~# /etc/init.d/memcached start univention_saml [ ok ] Starting memcached (via systemctl): memcached.service. root@master093:~# /etc/init.d/stunnel4 start [ ok ] Starting stunnel4 (via systemctl): stunnel4.service. root@master093:~# /etc/init.d/memcached stop univention_saml [ ok ] Stopping memcached (via systemctl): memcached.service. root@master093:~# /etc/init.d/stunnel4 stop [ ok ] Stopping stunnel4 (via systemctl): stunnel4.service. root@master093:~# /etc/init.d/memcached start univention_saml [ ok ] Starting memcached (via systemctl): memcached.service. root@master093:~# /etc/init.d/stunnel4 start [ ok ] Starting stunnel4 (via systemctl): stunnel4.service. root@master093:~# /etc/init.d/univention-saml stop [....] Stopping univention-saml (via systemctl): univention-saml.service → hangs Looks like Bug #43486 is one problem. *** Bug 43486 has been marked as a duplicate of this bug. *** I've added a systemd script for univention_saml memcache: https://git.knut.univention.de/univention/ucs/commit/f5b4726b78e725cab2d2ab404a5be2cf390baecf The stunnel init script now also creates the piddir /var/run/univention-saml. SVN r17918 - r17923. Changelog: https://git.knut.univention.de/univention/ucs/commit/fc07c302286df558da7d291e8fac2e906f4becd8 Is there a reason you didn't delete the init file? The service file replaces the init file. If possible please delete it or replace it by a file that just calls: ''' # Inject systemd . /lib/lsb/init-functions ''' to make that more clear :) Afaik systemd stops processing an init file if a service file under the same name exists and starts the service instead. (In reply to Jürn Brodersen from comment #10) > Is there a reason you didn't delete the init file? Yes, I saw code like 'test -x /etc/init.d/unviention-saml && service restart univention-saml' > The service file replaces the init file. If possible please delete it or > replace it by a file that just calls: > ''' > # Inject systemd > . /lib/lsb/init-functions > ''' > to make that more clear :) > Afaik systemd stops processing an init file if a service file under the same > name exists and starts the service instead. Yes, I removed the code from the univention saml init file: https://git.knut.univention.de/univention/ucs/commit/5419472c08fa6703e2d97138f4e3a33782d6204a *** Bug 45925 has been marked as a duplicate of this bug. *** Looks good now :) What I tested: Installation -> OK systemctl status univention-saml -> OK systemctl status univention-directory-listener -> OK -> Verified UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug". |