Bug 45889 - bind9 named not running after update to UCS 4.3 pre-alpha packages
bind9 named not running after update to UCS 4.3 pre-alpha packages
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: General
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-18 18:22 CET by Arvid Requate
Modified: 2021-05-14 16:34 CEST (History)
0 users

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2017-12-18 18:22:00 CET
After the update to the current pre-alpha status of UCS 4.3 the bind9 named isn't running any more:

================================================================================
root@master10:~# ps ax | grep name
 2679 pts/1    S+     0:00 grep name
root@master10:~# service bind9 start
root@master10:~# ps ax | grep name
 2662 pts/1    S+     0:00 grep name
root@master10:~# systemctl start bind9
root@master10:~# ps ax | grep name
root@master10:~# systemctl status bind9
● bind9.service - LSB: bind9 Domain Name Server (DNS)
   Loaded: loaded (/etc/init.d/bind9; generated; vendor preset: enabled)
   Active: active (exited) since Sun 2016-01-31 17:12:40 CET; 1 years 6 months ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/bind9.service

Jan 31 17:12:40 master10 systemd[1]: Starting LSB: bind9 Domain Name Server (DNS)...
Jan 31 17:12:40 master10 bind9[28664]: Starting bind9 Domain Name Server (DNS): samba4.
Jan 31 17:12:40 master10 systemd[1]: Started LSB: bind9 Domain Name Server (DNS).
================================================================================

Looks like systemd has lost track of the status. A bind9 restart fixes the issue:

================================================================================
root@master10:~# service bind9 stop
root@master10:~# service bind9 start
root@master10:~# ps ax | grep name
 2948 ?        Sl     0:00 /usr/sbin/named -c /etc/bind/named.conf.samba4 -f -d 0
 2960 pts/1    S+     0:00 grep name
root@master10:~# systemctl status bind9
● bind9.service - LSB: bind9 Domain Name Server (DNS)
   Loaded: loaded (/etc/init.d/bind9; generated; vendor preset: enabled)
   Active: active (exited) since Thu 2017-08-24 19:39:55 CEST; 35s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2894 ExecStop=/etc/init.d/bind9 stop (code=exited, status=0/SUCCESS)
  Process: 2939 ExecStart=/etc/init.d/bind9 start (code=exited, status=0/SUCCESS)
      CPU: 244ms

Aug 24 19:39:55 master10 systemd[1]: Starting LSB: bind9 Domain Name Server (DNS)...
Aug 24 19:39:55 master10 bind9[2939]: Starting bind9 Domain Name Server (DNS): samba4.
Aug 24 19:39:55 master10 systemd[1]: Started LSB: bind9 Domain Name Server (DNS).
================================================================================


Maybe it's related to this passage in the updater.log

================================================================================
bind9 (1:9.10.3.dfsg.P4-12.3+deb9u3A~4.3.0.201711271754) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/apparmor.d/usr.sbin.named wird installiert ...
Neue Version der Konfigurationsdatei /etc/bind/bind.keys wird installiert ...
Neue Version der Konfigurationsdatei /etc/bind/db.root wird installiert ...
Neue Version der Konfigurationsdatei /etc/init.d/bind9.debian wird installiert ...
Failed to preset unit: Unit /run/systemd/generator.late/bind9.service is transient or generated.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on bind9.service: No such file or directory
================================================================================
Comment 1 Ingo Steuwer univentionstaff 2021-05-14 15:43:01 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.