On Wed, 01 Nov 2023 22:46:56 +0100, Geert Stappers
wrote:
Please add logging of the install ( "apt" ) stop of isc-dhcp-client (
either journalctl or /var/log/ ) and start of udhcpc ( journalctl or log
Afaik, isc-dhcp-client and udhcpc are no services, so they cannot be
started/stopped. Also, I didn't find anything useful in /var/log (grepped
the whole directory).
This is all I get (disabled automatic run of needrestart by apt for this
test):
# apt purge isc-dhcp-client udhcpc+
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
isc-dhcp-client*
The following NEW packages will be installed:
udhcpc
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 6,284 B of archives.
After this operation, 2,903 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 https://ftp-stud.hs-esslingen.de/debian bookworm/main amd64 udhcpc
amd64 1:1.35.0-4+b3 [6,284 B]
Fetched 6,284 B in 0s (23.7 kB/s)
(Reading database ... 140514 files and directories currently installed.)
Removing isc-dhcp-client (4.4.3-P1-2) ...
Selecting previously unselected package udhcpc:amd64.
(Reading database ... 140500 files and directories currently installed.)
Preparing to unpack .../udhcpc_1%3a1.35.0-4+b3_amd64.deb ...
Unpacking udhcpc:amd64 (1:1.35.0-4+b3) ...
Setting up udhcpc:amd64 (1:1.35.0-4+b3) ...
Processing triggers for man-db (2.11.2-2) ...
(Reading database ... 140507 files and directories currently installed.)
Purging configuration files for isc-dhcp-client (4.4.3-P1-2) ...
# needrestart -r l
Scanning processes...
Scanning candidates...
Services to be restarted:
systemctl restart ifup@eth0.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Best regards,
Lars