[pkg-dhcp-devel] Bug#813348: isc-dhcp-server: drop_privileges during config test fails in some cases

Ben Hildred 42656e at gmail.com
Sun Jan 31 22:00:58 UTC 2016

Package: isc-dhcp-server
Version: 4.3.3-5
Severity: minor

As part of a move to continuous integration, I am looking to add dhcpd.conf
syntax checks to our testing. as I am using travis-ci.org a quick install of
isc-dhcp-server and a quick run of `/usr/sbin/dhcpd -t -cf ./dhcpd.conf` looked
to be the easiest solution. It works fine locally but fails on Travis with
`drop_privileges: could not set group id: Operation not permitted`. Any help
would be appreciated.

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages isc-dhcp-server depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  debianutils            4.5.1
ii  libc6                  2.21-6
ii  libdns-export100       1:9.9.5.dfsg-12.1
ii  libirs-export91        1:9.9.5.dfsg-12.1
ii  libisc-export95        1:9.9.5.dfsg-12.1
ii  lsb-base               9.20160110

Versions of packages isc-dhcp-server recommends:
ii  isc-dhcp-common  4.3.3-5
ii  policycoreutils  2.4-3

Versions of packages isc-dhcp-server suggests:
pn  isc-dhcp-server-ldap  <none>

-- Configuration Files:
/etc/dhcp/dhcpd.conf changed [not included]
/etc/logcheck/ignore.d.server/isc-dhcp-server [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/isc-dhcp-server'

-- debconf information excluded

More information about the pkg-dhcp-devel mailing list