Re: delete switchd(8)'s unix control socket on shutdown

2018-08-02 Thread Ricardo Mestre
Please find below a better version and not so intrusive based on httpd(8) Index: control.c === RCS file: /cvs/src/usr.sbin/switchd/control.c,v retrieving revision 1.8 diff -u -p -u -r1.8 control.c --- control.c 17 Jan 2017 22:10:56

delete switchd(8)'s unix control socket on shutdown

2018-08-02 Thread Ricardo Mestre
Hi, It seems that switchd(8) suffers from the same issue I reported yesterday about eigrpd(8), the daemon when it's shutdown never deletes the unix control socket because that is being done from a chrooted process. This one nevertheless took a little bit more effort since I had to disentangle 2 s