
https://bugzilla.novell.com/show_bug.cgi?id=725942 https://bugzilla.novell.com/show_bug.cgi?id=725942#c0 Summary: rcapache2 graceful not working with systemd Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: cobexer@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 systemd makes custom operations of init scripts impossible to use: ------------------------------ christoph-game:~ # rcapache2 Usage: /usr/sbin/rcapache2 <command> <server flags> where <command> is one of: start - start httpd startssl - start httpd with -DSSL stop - stop httpd (sending SIGTERM to parent) try-restart - stop httpd and if this succeeds (i.e. if it was running before), start it again. status - check whether httpd is running restart - stop httpd if running; start httpd restart-graceful - stop httpd gracefully if running; start httpd reload|graceful - do a graceful restart by sending a SIGUSR1, or start if not running stop-graceful - stop httpd (sending SIGWINCH to parent) configtest - do a configuration syntax test extreme-configtest - try to run httpd as nobody (detects more errors by actually loading the configuration, but cannot read SSL certificates) probe - probe for the necessity of a reload, give out the argument which is required for a reload. (by comparing conf files with pidfile timestamp) full-server-status - dump a full status screen; requires lynx or w3m and mod_status enabled server-status - dump a short status screen; requires lynx or w3m and mod_status enabled help - this screen optional server flags are passed through to httpd. ------------------------------------------------------ most of them fail as systemd does not know them, i suppose <server flags> would not reach the apache init script either but haven't tested that. Reproducible: Always Steps to Reproduce: 1. run rcapache2 graceful 2. 3. Actual Results: Unknown operation graceful Expected Results: christoph-game:~ # /tmp/fu-systemd/apache2 graceful Reload httpd2 (graceful restart) done making a symlink in /tmp as per my above sample does provide access to functionality unknown by systemd. systemd must pass any unknown operations down to the original init script + any unknown parameters -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.