isc-dhcp-server overwrites /etc/default/isc-dhcp-server during update
Bug #1930103 reported by
Milan Kerslager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Today unattended upgrade of ISC DHCPD overwrite config file /etc/default/
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/
Start-Date: 2021-05-28 06:17:41
Commandline: /usr/bin/
Upgrade: isc-dhcp-
End-Date: 2021-05-28 06:17:47
root@linux:~# ls -l /etc/default/
-rw-r--r-- 1 root root 629 May 28 06:17 /etc/default/
description: | updated |
To post a comment you must log in.
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: /sources. debian. org/src/ isc-dhcp/ 4.4.1-2. 2/debian/ isc-dhcp- server. postinst/ #L33
https:/
(Debian sources, but Ubuntu's are very similar.)
Is it possible your old /etc/default/ isc-dhcp- server could not be read?
Thanks