Stefano Zamboni
2017-04-02 09:16:31 UTC
hi @all
please, take a look at bugs 10100, 10190, 10201
On SME9 we can have some issues wen we upgrade a rpm with a service we
run with supervise..
I found that ntp and dhcp show the same symtoms: once updated, the
%postun section will try to restart the service invoking the script in
/etc/rc.d/init.d
this will first stop the service, then start it.. in the same time,
supervise try to start the service itself, but find another istance of
it and logs are filled with
Apr 2 00:13:16 test dhcpd: Sending on LPF/eth0/08:00:27:08:5e:ed/192.168.10.0/24
Apr 2 00:13:16 test dhcpd: Sending on Socket/fallback/fallback-net
Apr 2 00:13:16 test dhcpd: There's already a DHCP server running.
Apr 2 00:13:16 test dhcpd:
Apr 2 00:13:16 test dhcpd: This version of ISC DHCP is based on the release available
Apr 2 00:13:16 test dhcpd: on ftp.isc.org. Features have been added and other changes
Apr 2 00:13:16 test dhcpd: have been made to the base software release in order to make
Apr 2 00:13:16 test dhcpd: it work better with this distribution.
Apr 2 00:13:16 test dhcpd:
Apr 2 00:13:16 test dhcpd: Please report for this software via the CentOS Bugs Database:
Apr 2 00:13:16 test dhcpd: http://bugs.centos.org/
Apr 2 00:13:16 test dhcpd:
Apr 2 00:13:16 test dhcpd: exiting.
Apr 2 00:13:16 test ntpd[15630]: ntpd ***@1.2349-o Mon Feb 6 07:22:46 UTC 2017 (1)
Apr 2 00:13:16 test ntpd[15630]: logging to file /dev/stdout
Apr 2 00:13:17 test dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Apr 2 00:13:17 test dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Apr 2 00:13:17 test dhcpd: All rights reserved.
Apr 2 00:13:17 test dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Apr 2 00:13:17 test dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Apr 2 00:13:17 test dhcpd: Wrote 0 leases to leases file.
Apr 2 00:13:17 test dhcpd: Listening on LPF/eth0/08:00:27:08:5e:ed/192.168.10.0/24
Apr 2 00:13:17 test dhcpd: Sending on LPF/eth0/08:00:27:08:5e:ed/192.168.10.0/24
Apr 2 00:13:17 test dhcpd: Sending on Socket/fallback/fallback-net
Apr 2 00:13:17 test dhcpd: There's already a DHCP server running.
Apr 2 00:13:17 test dhcpd:
Apr 2 00:13:17 test dhcpd: This version of ISC DHCP is based on the release available
Apr 2 00:13:17 test dhcpd: on ftp.isc.org. Features have been added and other changes
Apr 2 00:13:17 test dhcpd: have been made to the base software release in order to make
Apr 2 00:13:17 test dhcpd: it work better with this distribution.
Apr 2 00:13:17 test dhcpd:
Apr 2 00:13:17 test dhcpd: Please report for this software via the CentOS Bugs Database:
Apr 2 00:13:17 test dhcpd: http://bugs.centos.org/
Apr 2 00:13:17 test dhcpd:
Apr 2 00:13:17 test dhcpd: exiting.
Apr 2 00:13:17 test ntpd[15639]: ntpd ***@1.2349-o Mon Feb 6 07:22:46 UTC 2017 (1)
Apr 2 00:13:17 test ntpd[15639]: logging to file /dev/stdout
this can be avoided with yum-plugin-post-transaction-actions (see bugs
above mentioned)
BTW, we'd be in the same situation with all the services..
should we add a post action for all supervised services?
any hint?
this seems an issue only on SME9.. on SME10, with systemd, we set as
disabled the supervised services' systemd part and so they aren't
restarted after/during rpm transaction
S.
_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/
please, take a look at bugs 10100, 10190, 10201
On SME9 we can have some issues wen we upgrade a rpm with a service we
run with supervise..
I found that ntp and dhcp show the same symtoms: once updated, the
%postun section will try to restart the service invoking the script in
/etc/rc.d/init.d
this will first stop the service, then start it.. in the same time,
supervise try to start the service itself, but find another istance of
it and logs are filled with
Apr 2 00:13:16 test dhcpd: Sending on LPF/eth0/08:00:27:08:5e:ed/192.168.10.0/24
Apr 2 00:13:16 test dhcpd: Sending on Socket/fallback/fallback-net
Apr 2 00:13:16 test dhcpd: There's already a DHCP server running.
Apr 2 00:13:16 test dhcpd:
Apr 2 00:13:16 test dhcpd: This version of ISC DHCP is based on the release available
Apr 2 00:13:16 test dhcpd: on ftp.isc.org. Features have been added and other changes
Apr 2 00:13:16 test dhcpd: have been made to the base software release in order to make
Apr 2 00:13:16 test dhcpd: it work better with this distribution.
Apr 2 00:13:16 test dhcpd:
Apr 2 00:13:16 test dhcpd: Please report for this software via the CentOS Bugs Database:
Apr 2 00:13:16 test dhcpd: http://bugs.centos.org/
Apr 2 00:13:16 test dhcpd:
Apr 2 00:13:16 test dhcpd: exiting.
Apr 2 00:13:16 test ntpd[15630]: ntpd ***@1.2349-o Mon Feb 6 07:22:46 UTC 2017 (1)
Apr 2 00:13:16 test ntpd[15630]: logging to file /dev/stdout
Apr 2 00:13:17 test dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Apr 2 00:13:17 test dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Apr 2 00:13:17 test dhcpd: All rights reserved.
Apr 2 00:13:17 test dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Apr 2 00:13:17 test dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Apr 2 00:13:17 test dhcpd: Wrote 0 leases to leases file.
Apr 2 00:13:17 test dhcpd: Listening on LPF/eth0/08:00:27:08:5e:ed/192.168.10.0/24
Apr 2 00:13:17 test dhcpd: Sending on LPF/eth0/08:00:27:08:5e:ed/192.168.10.0/24
Apr 2 00:13:17 test dhcpd: Sending on Socket/fallback/fallback-net
Apr 2 00:13:17 test dhcpd: There's already a DHCP server running.
Apr 2 00:13:17 test dhcpd:
Apr 2 00:13:17 test dhcpd: This version of ISC DHCP is based on the release available
Apr 2 00:13:17 test dhcpd: on ftp.isc.org. Features have been added and other changes
Apr 2 00:13:17 test dhcpd: have been made to the base software release in order to make
Apr 2 00:13:17 test dhcpd: it work better with this distribution.
Apr 2 00:13:17 test dhcpd:
Apr 2 00:13:17 test dhcpd: Please report for this software via the CentOS Bugs Database:
Apr 2 00:13:17 test dhcpd: http://bugs.centos.org/
Apr 2 00:13:17 test dhcpd:
Apr 2 00:13:17 test dhcpd: exiting.
Apr 2 00:13:17 test ntpd[15639]: ntpd ***@1.2349-o Mon Feb 6 07:22:46 UTC 2017 (1)
Apr 2 00:13:17 test ntpd[15639]: logging to file /dev/stdout
this can be avoided with yum-plugin-post-transaction-actions (see bugs
above mentioned)
BTW, we'd be in the same situation with all the services..
should we add a post action for all supervised services?
any hint?
this seems an issue only on SME9.. on SME10, with systemd, we set as
disabled the supervised services' systemd part and so they aren't
restarted after/during rpm transaction
S.
_______________________________________________
Server Development Discussion
To unsubscribe, e-mail devinfo-***@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/devinfo/