[Touch-packages] [Bug 1750586] Re: package python-minimal 2.7.12-1~16.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-02-22 Thread Stephen Pape
The post installation file /var/lib/dpkg/info/python-minimal.postinst runs the following command: python2.7 -m compileall /usr/share/python/ >/dev/null Running the command manually (without the /dev/null redirect) produces the following error for me: Compiling

[Touch-packages] [Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-11-12 Thread Stephen Pape
Even after fixing the above problem, AppArmor seems to prevent a PID file from being written. I'm not very familiar with it, but I added: capability dac_override, to /etc/apparmor.d/usr.sbin.dhcpd near the other capabilities, restarted the service, and now I have a PID file. -- You received

[Touch-packages] [Bug 1515007] [NEW] isc-dhcp-server-ldap doesn't wait for the local slapd to start on boot

2015-11-10 Thread Stephen Pape
Public bug reported: When using a local ldap server to manage dhcp, the slapd server is not ready before the dhcp server tries to launch. The result is that the service does not start on boot: Nov 10 13:53:27 oldgateway1 dhcpd: Error: Cannot login into ldap server localhost:389: Can't contact

[Touch-packages] [Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-11-10 Thread Stephen Pape
It looks like the line in /lib/systemd/system/isc-dhcp-server.service: exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp- server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES' is hardcoded and ignores the DHCPD_PID variable from /etc/default/isc- dhcp-server. I think it should be: