Bug#1042760: create RUNDIR
On Mon, Jul 31, 2023 at 03:50:47PM +0200, Matus UHLAR - fantomas wrote: > the bug#390154 was reintroduced in 1.4.14-13 by not creating $RUNDIR > > I'm attaching patch that fixes this behaviour, modified to use "$RUNDIR" > variable. > > In addition, start-stop-daemon now uses "$CONFFILE" intead of hardcoded file > name Thanks for your patch, applied in git. I am rather surprised that ippl still has users. It is dead-upstream for more than a decade, it doesn't do IPv6, and its job can easily be replaced by iptables/nft rules. Hm. Easily. I am still using it myself. I should have migrated away a decade ago. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
Bug#1042760: create RUNDIR
Package: ippl Version: 1.4.14-13 Hello, the bug#390154 was reintroduced in 1.4.14-13 by not creating $RUNDIR I'm attaching patch that fixes this behaviour, modified to use "$RUNDIR" variable. In addition, start-stop-daemon now uses "$CONFFILE" intead of hardcoded file name -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Chernobyl was an Windows 95 beta test site. --- /etc/init.d/ippl.orig 2021-12-23 13:41:09.0 +0100 +++ /etc/init.d/ippl 2023-07-31 15:37:26.775493992 +0200 @@ -150,7 +150,7 @@ start () { if ! check_started; then - start_daemon -p $PIDFILE $DAEMON -c /run/ippl/ippl.conf + start_daemon -p $PIDFILE $DAEMON -c "$CONFFILE" ret=$? else log_failure_msg "already running!" @@ -181,6 +181,8 @@ fi } +[ -e "$RUNDIR" ] || \ + install -d -oDebian-ippl -gDebian-ippl -m755 "$RUNDIR" case "$1" in start)