On 02/15/2012 03:45 PM, "Jóhann B. Guðmundsson" wrote:<snip> I propose the following script in /etc/init.d/iptables #!/bin/sh # Please use systemctl to manage the iptables service # The old initscript is in /usr/libexec/iptables.init case "$1" in panic|save) [ -c /dev/stderr ] && \ echo "This is no longer supported with systemd. \ Please use /usr/libexec/iptables.init $1" >/dev/stderr exit 2 ;; *) [ -c /dev/stderr ] && echo $"Redirecting to \ /bin/systemctl $@ iptables.service" >/dev/stderr exec /bin/systemctl $@ iptables.service ;; esacThe behavior of this script is the exactly the same as the current situation, except that the error message is much more userfriendly. The packaging guidelines say this " If present, the SysV initscript(s) must go into an optional subpackage, so as not to confuse sysadmins" at http://fedoraproject.org/wiki/Packaging:Systemd Can wrapper scripts such as the above be made into an exception for this rule? I am happy Fedora can move forward as fast as it does, but the users have to move forward with us. Providing helpful error messages for deprecated behavior, that point in the right direction, could be a big help to make the transitions as easy as possible for our users. |
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel