Summary: | net-firewall/shorewall-4.6.5.2 systemd service files use invalid paths | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Reuben Martin <reuben.m> |
Component: | Current packages | Assignee: | Thomas Deutschmann (RETIRED) <whissi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlec, netmon, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 534232 | ||
Bug Blocks: |
Description
Reuben Martin
2014-12-31 04:20:35 UTC
Hi, seems like you don't use net-firewall/shorewall::gentoo. We don't have a file like "shorewall.service6". Also, our service files are OK, see: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-firewall/shorewall/files/4.6/shorewall.systemd?view=markup http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-firewall/shorewall/files/4.6/shorewall6.systemd?view=markup Oops. Brain dead typo. Should obviously be shorewall6.service. Is there perhaps something in shorewall's build process that appends the $PREFIX value to ExecStart and ExecStop within the service files? Think I found the problem. From a sed regex found in install.sh: [ ${SBINDIR} != /sbin ] && eval sed -i \'s\|/sbin/\|${SBINDIR}/\|\' ${DESTDIR}${SERVICEDIR}/$PRODUCT.service was written assuming the existing service file uses "/sbin/..." for the path rather than "/usr/sbin/..." Thank you. Now I see the problem. Shorewall's install.sh has a feature to update paths based on the values from the "shorewallrc" file. This feature requires default values to work. Because we ship service files with a different value, the logic will break our service files... To fix this problem, we'll need to change our service files back to the default value, i.e. "Exec{Start,Stop}=/sbin...". I'll fill a new bug shortly (bump to shorewall v4.6.5.3) which will include these changes. Thanks! +*shorewall-4.6.5.3 (04 Jan 2015) + + 04 Jan 2015; Justin Lecher <jlec@gentoo.org> -shorewall-4.6.5.2.ebuild, + +shorewall-4.6.5.3.ebuild, files/4.6/shorewall.initd, + files/4.6/shorewall.systemd, files/4.6/shorewall-init.initd, + files/4.6/shorewall-init.systemd, files/4.6/shorewall-lite.initd, + files/4.6/shorewall-lite.systemd, files/4.6/shorewall6-lite.initd, + files/4.6/shorewall6-lite.systemd, files/4.6/shorewall6.initd, + files/4.6/shorewall6.systemd, files/4.6/shorewallrc, + -files/4.6/shorewallrc-r1, metadata.xml: + Version Bump, #534232, Thanks Thomas D. for the patch; fixes bugs, #530704, + #534062 + |