Public bug reported:

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@linux:~# ls -l /etc/default/isc-dhcp-server
-rw-r--r-- 1 root root 629 May 28 06:17 /etc/default/isc-dhcp-server

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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@linux:~# ls -l /etc/default/isc-dhcp-server
+ -rw-r--r-- 1 root root 629 May 28 06:17 /etc/default/isc-dhcp-server

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930103

Title:
  isc-dhcp-server overwrites /etc/default/isc-dhcp-server during update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1930103/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to