Yamaban wrote:
Just to make sure it is not a'trivial' error, what is the output of "rpm --verify SuSEfirewall2" ? Only one line is OK, and that is for the '/etc/sysconfig/SuSEfirewall2' file, e.g.: [output] S.5....T. c /etc/sysconfig/SuSEfirewall2 [/output] Same for me:
# rpm --verify SuSEfirewall2 S.5....T. c /etc/sysconfig/SuSEfirewall2
the service files should be in '/usr/lib/systemd/system/': /usr/lib/systemd/system/SuSEfirewall2.service /usr/lib/systemd/system/SuSEfirewall2_init.service Yes, files are correct.
when 'enabled', there are links to these files in '/etc/systemd/' /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service
Good point. These files are zero length files on my system, not links: # ls -l /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service ---------- 1 root root 0 Aug 16 23:57 /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service ---------- 1 root root 0 Aug 16 23:57 /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service After deleting the files, I can enable SuSEfirewall2 again: # rm /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service ---------- 1 root root 0 Aug 16 23:57 /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service ---------- 1 root root 0 Aug 16 23:57 /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service # systemctl disable SuSEfirewall2 # systemctl enable SuSEfirewall2 # ls -l /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service lrwxrwxrwx 1 root root 45 Aug 24 09:20 /etc/systemd/system/multi-user.target.wants/SuSEfirewall2.service -> /usr/lib/systemd/system/SuSEfirewall2.service lrwxrwxrwx 1 root root 50 Aug 24 09:20 /etc/systemd/system/multi-user.target.wants/SuSEfirewall2_init.service -> /usr/lib/systemd/system/SuSEfirewall2_init.service Thanks for the hint. The problem with the zero length files was probably caused by a failed restore from tar-backup operation. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org