Bug 47805 - ucs-school-user-logonscript-deamon not restarted after server password change
ucs-school-user-logonscript-deamon not restarted after server password change
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Netlogon scripts
unspecified
Other Linux
: P5 normal (vote)
: UCS@school 4.3 v6-errata
Assigned To: Jürn Brodersen
Ole Schwiegert
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-12 17:16 CEST by Nico Gulden
Modified: 2019-02-26 12:37 CET (History)
4 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?: 5: Will affect all installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.571
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018090621000276
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments
fehlermeldung (2.37 MB, image/jpeg)
2018-10-24 11:28 CEST, Michel Smidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2018-09-12 17:16:50 CEST
After /usr/lib/univention-server/server_password_change is executed, the ucs-school-user-logonscript-deamon is not restarted automatically and causes a bunch of rejects.

All other services are started accordingly.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2018-10-08 13:23:07 CEST
Raising pain; every 21 days, the daemon stops working
Comment 2 Michel Smidt 2018-10-24 10:39:34 CEST
Customer reported major problem with exam mode. Probably due to this bug.
Comment 3 Michel Smidt 2018-10-24 11:28:15 CEST
Created attachment 9710 [details]
fehlermeldung
Comment 4 Michel Smidt 2018-10-24 11:29:33 CEST
(In reply to Michel Smidt from comment #2)
> Customer reported major problem with exam mode. Probably due to this bug.

Restart of the service worked and created all netlogon scripts correctly.
Comment 5 Jürn Brodersen univentionstaff 2018-10-29 18:16:04 CET
[4.3 7eff7e35d] Bug #47805: Add server password change script to restart daemon
[4.3 331739754] Bug #47805: YAML
Comment 6 Jürn Brodersen univentionstaff 2018-10-29 18:17:53 CET
This might be a good package to test the school errata release.
Comment 7 Sönke Schwardt-Krummrich univentionstaff 2018-11-01 10:38:18 CET
REOPEN → the YAML refers to bug 47895 instead of 47805.
Comment 8 Jürn Brodersen univentionstaff 2018-11-05 10:18:27 CET
(In reply to Sönke Schwardt-Krummrich from comment #7)
> REOPEN → the YAML refers to bug 47895 instead of 47805.

[4.3 36f0e345d] Bug #47805: YAML
Comment 9 Ole Schwiegert univentionstaff 2018-11-06 09:10:31 CET
Advisory & Changelog: OK
Package installs: OK

Script gets copied to correct directory and is executed if /usr/lib/univention-server/password_change is invoked. Service is restarted:

systemctl status ucs-school-netlogon-user-logonscripts.service 
● ucs-school-netlogon-user-logonscripts.service - UCS@school netlogon script daemon
   Loaded: loaded (/lib/systemd/system/ucs-school-netlogon-user-logonscripts.service; enabled; vendor pre
   Active: active (running) since Tue 2018-11-06 09:07:10 CET; 19s ago
 Main PID: 27811 (ucs-school-user)
    Tasks: 1 (limit: 4915)
   Memory: 11.7M
      CPU: 64ms
   CGroup: /system.slice/ucs-school-netlogon-user-logonscripts.service
           └─27811 /usr/bin/python2.7 /usr/share/ucs-school-netlogon-user-logonscripts/ucs-school-user-lo

Nov 06 09:07:10 dc0 systemd[1]: Stopped UCS@school netlogon script daemon.
Nov 06 09:07:10 dc0 systemd[1]: Started UCS@school netlogon script daemon.
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2018-11-16 11:48:10 CET
UCS@school 4.3 v6 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.3v6-de.html

If this error occurs again, please clone this bug.