Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
On a fresh Raspberry Pi OS Bullseye install isc-dhcp-server with "sudo apt install isc-dhcp-server".
* What exactly did you do (or not do) that was effective (or
ineffective)?
Nothing as the error is reported immediately after installation.
* What was the outcome of this action?
The installation log reports the following error:
pi@raspberrypi:~ $ sudo apt install isc-dhcp-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
...
Setting up isc-dhcp-server (4.4.1-2.3) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating /etc/default/isc-dhcp-server...
Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Tue 2022-03-29 08:32:17 BST; 49ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4048 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
CPU: 80ms
Mar 29 08:32:15 raspberrypi dhcpd[4063]: before submitting a bug. These pages explain the proper
Mar 29 08:32:15 raspberrypi dhcpd[4063]: process and the information we find helpful for debugging.
Mar 29 08:32:15 raspberrypi dhcpd[4063]:
Mar 29 08:32:15 raspberrypi dhcpd[4063]: exiting.
Mar 29 08:32:17 raspberrypi isc-dhcp-server[4048]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ...
Mar 29 08:32:17 raspberrypi isc-dhcp-server[4068]: failed!
...
* What outcome did you expect instead?
I expected it either:
- to have a valid auto-generated configuration after installation
- the service to not be launched immediately after installation
-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf
Kernel: Linux 5.15.32-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages isc-dhcp-server depends on:
ii debconf [debconf-2.0] 1.5.77
ii debianutils 4.11.2
ii libc6 2.31-13+rpt2+rpi1+deb11u2
ii libdns-export1110 1:9.11.19+dfsg-2.1
ii libirs-export161 1:9.11.19+dfsg-2.1
ii libisc-export1105 1:9.11.19+dfsg-2.1
ii lsb-base 11.1.0
Versions of packages isc-dhcp-server recommends:
ii isc-dhcp-common 4.4.1-2.3
ii policycoreutils 3.1-3
Versions of packages isc-dhcp-server suggests:
pn isc-dhcp-server-ldap <none>
ii policykit-1 0.105-31+rpt1+deb11u1
-- debconf information:
isc-dhcp-server/interfaces: