On 2015-08-19 00:24, Bjoern Voigt wrote:
systemctl enable SuSEfirewall2.service Failed to execute operation: Invalid argument
Do it with chkconfig. It will also fail, but it will tell you the syntax to attempt with insserv, and this one you can correct. It is a bug somewhere, I think chkconfig is using the wrong syntax. Thanks for the hint. I still can't enable SuSEfirewall2. I also
Carlos E. R. wrote: tried to deactivate SuSEfirewall2.service first. # systemctl enable SuSEfirewall2.service Failed to execute operation: Invalid argument # chkconfig --add SuSEfirewall2 SuSEfirewall2: unknown service Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'. # insserv SuSEfirewall2 Warning: /etc/init.d/SuSEfirewall2 is masked by /usr/lib/systemd/system/SuSEfirewall2.service. Try 'chkconfig SuSEfirewall2 on' instead can't open SuSEfirewall2: No such file or directory at /usr/sbin/insserv line 80. # chkconfig SuSEfirewall2 on Failed to execute operation: Invalid argument # systemctl disable SuSEfirewall2 # systemctl status SuSEfirewall2 SuSEfirewall2.service - SuSEfirewall2 phase 2 Loaded: loaded (/usr/lib/systemd/system/SuSEfirewall2.service; disabled) Active: active (exited) since Thu 2015-08-20 00:02:40 CEST; 1 day 12h ago Main PID: 9298 (code=exited, status=0/SUCCESS) CGroup: /system.slice/SuSEfirewall2.service # systemctl enable SuSEfirewall2 Failed to execute operation: Invalid argument Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org