[pkg-dhcp-devel] Bug#758882: isc-dhcp-client: dhclient prevents remounting / in read-only when jessie booted in recovery mode

Olivier Berger olivier.berger at telecom-sudparis.eu
Fri Aug 22 11:59:49 UTC 2014


Package: isc-dhcp-client
Version: 4.3.1-1
Severity: important

Dear Maintainer,

I'm not sure this really belongs to isc-dhcp-client, and may deserve attention from other maintainers, but I couldn't find a better place for reportbug.

If a debian jessie system is rebooted with grub's default "recovery mode", and if there's no separate /var partition, the / partition cannot be remunted read-only, because there's a lease file used by dhclient inside /var.

mount -n -o remount,ro will report : mount: / is busy

Indeed /var/lib/dhcp/dhclient.eth0.leases is reported as opened in w mode by lsof.

I believed it may not be ideal to keep dhclient running when in recovery mode, although I'm not qualified enough to know whether it's systemd's duty to stop it for instance.

In any case, killall dhclient is a workaround that allows remounting / read-only.

Hope this helps.

Thanks in advance.

Best regards,


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-client depends on:
ii  debianutils      4.4
ii  iproute2         3.16.0-1
ii  isc-dhcp-common  4.3.1-1
ii  libc6            2.19-9

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
ii  avahi-autoipd  0.6.31-4
ii  resolvconf     1.75

-- debconf-show failed



More information about the pkg-dhcp-devel mailing list