[Bug 1930103] Re: isc-dhcp-server overwrites /etc/default/isc-dhcp-server during update
Seth Arnold
1930103 at bugs.launchpad.net
Fri May 28 23:06:50 UTC 2021
Hello Milan, I just tested an upgrade:
Unpacking isc-dhcp-server (4.4.1-2.1ubuntu5.20.04.2) over
(4.4.1-2.1ubuntu5) ...
and my /etc/default/isc-dhcp-server modifications had been left in
place.
The maintainer scripts will create a new one if the file cannot be read:
https://sources.debian.org/src/isc-dhcp/4.4.1-2.2/debian/isc-dhcp-server.postinst/#L33
(Debian sources, but Ubuntu's are very similar.)
Is it possible your old /etc/default/isc-dhcp-server could not be read?
Thanks
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1930103
Title:
isc-dhcp-server overwrites /etc/default/isc-dhcp-server during update
Status in isc-dhcp package in Ubuntu:
New
Bug description:
Today unattended upgrade of ISC DHCPD overwrite config file
/etc/default/isc-dhcp-server and set wrong interface where daemon have
to listen (eno2 instead of br0 as was set before update).
I see no backup file of original config file so I had to investigate
where the problem was.
Update have to never overwrite config file and throw away previous
version.
/var/log/apt/history.log:
Start-Date: 2021-05-28 06:17:41
Commandline: /usr/bin/unattended-upgrade
Upgrade: isc-dhcp-server:amd64 (4.4.1-2.1ubuntu5, 4.4.1-2.1ubuntu5.20.04.2)
End-Date: 2021-05-28 06:17:47
root at linux:~# ls -l /etc/default/isc-dhcp-server
-rw-r--r-- 1 root root 629 May 28 06:17 /etc/default/isc-dhcp-server
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1930103/+subscriptions
More information about the foundations-bugs
mailing list