Bug 54714 - cups-printer.py listener doesn't reload smbd service
cups-printer.py listener doesn't reload smbd service
Status: NEW
Product: UCS
Classification: Unclassified
Component: Printserver
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-05-05 13:59 CEST by Julia Bremer
Modified: 2022-05-05 14:10 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julia Bremer univentionstaff 2022-05-05 13:59:08 CEST
After each deletion or addition of a samba printer, the smbd service is supposed to be reloaded by the listener module cups-printer.py 

The listener module does this by calling /etc/init.d/samba reload, 
which calls /etc/init.d/smbd reload. 

This reload is not executed, because the smbd service is usually masked. 

+++ service=smbd.service
++++ systemctl -p LoadState --value show smbd.service
+++ state=masked
+++ '[' masked = masked ']'
+++ exit 0

The reloading of smbd should be done by using smbcontrol smbd reload-config or reload-printers (maybe even both?)