Bug 55957 - systemctl restart univention-directory-notifier: start-stop-daemon: invalid option -- 'f'
systemctl restart univention-directory-notifier: start-stop-daemon: invalid ...
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-3-errata
Assigned To: Arvid Requate
Nikola Radovanovic
Depends on:
  Show dependency treegraph
Reported: 2023-04-12 12:26 CEST by Arvid Requate
Modified: 2023-05-03 15:40 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Regression
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2023-04-12 12:26:44 CEST
Regression of Bug #54986:

systemctl restart univention-directory-notifier.service produces

start-stop-daemon: invalid option -- 'f'
Try 'start-stop-daemon --help' for more information.
23.03.23 12:26:16.042  DEBUG_INIT
Comment 1 Philipp Hahn univentionstaff 2023-04-12 13:27:11 CEST
UDN is managed by /lib/systemd/system/univention-directory-notifier.service, which does NOT use 'start-stop-daemon' anywhere, which is mostly used by SysV-init-scripts.

I cannot reproduce your error on UCS 5.0-3+642 → WORKS-FOR-ME / INVALID
Comment 2 chris.g 2023-04-12 14:13:48 CEST
This is simply wrong and instead of "Works for me" you should look into it.

/lib/systemd/system/univention-directory-notifier.service has an ExecStartPre which calls /usr/share/univention-directory-notifier/import_translog.sh and import_translog.sh uses start-stop-daemon!
Comment 3 Arvid Requate univentionstaff 2023-04-12 15:26:09 CEST
See merge request, it's tracked in Gitlab.
Comment 5 Arvid Requate univentionstaff 2023-04-18 21:26:05 CEST
99c812648c | Fix start-stop-daemon option handling
52f4930ede | Advisory update

Package: univention-directory-notifier
Version: 14.0.6-5A~
Branch: ucs_5.0-0
Scope: errata5.0-3
Comment 6 Nikola Radovanovic univentionstaff 2023-04-19 10:41:59 CEST
OK - package 14.0.6-5A~ build in errata5.0-3
OK - installed
OK - yaml