Carlos E. R. wrote:
Please change the subject line so that it doesn't say "systemd", or the automatic mail filters vetoes the post :-(
On 2015-08-21 12:59, Bjoern Voigt wrote:
Carlos E. R. wrote: # 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.
I'm unsure, but maybe you have to change directory to /etc/init.d
Wait. There is no firewall script there. That's the problem. Must be another name. No, there isn't any SuSEfirewall2 script in /etc/init.d. systemctl seems to search /etc/init.d first and continues with /usr/lib/systemd/system. /usr/local/lib/systemd/system/SuSEfirewall2.service exists.
Here is an ltrace-excerpt: # ltrace -s 1000 -A 1000 systemctl enable SuSEfirewall2 [...] strlen("/etc/init.d") = 11 malloc(12) = 0x2249400 stpcpy(0x2249400, "/etc/init.d") = 0x224940b free(0x2249400) = <void> strlen("\n\t") = 2 strlen("/etc/init.d") = 11 malloc(12) = 0x2249400 stpcpy(0x2249400, "/etc/init.d") = 0x224940b free(0x2249400) = <void> strlen("SuSEfirewall2.service") = 21 strlen(".service") = 8 memcmp(0x22436dd, 0x4699ea, 8, 2538) = 0 __asprintf_chk(0x7ffcbbcb0408, 1, 0x468228, 0x2245300) = 41 access("/etc/systemd/system/SuSEfirewall2.service", 0) = -1 free(0x22452a0) = <void> __asprintf_chk(0x7ffcbbcb0408, 1, 0x468228, 0x2247320) = 41 access("/run/systemd/system/SuSEfirewall2.service", 0) = -1 free(0x22452a0) = <void> __asprintf_chk(0x7ffcbbcb0408, 1, 0x468228, 0x2245270) = 51 access("/usr/local/lib/systemd/system/SuSEfirewall2.service", 0) = -1 free(0x2249340) = <void> __asprintf_chk(0x7ffcbbcb0408, 1, 0x468228, 0x2248330) = 45 access("/usr/lib/systemd/system/SuSEfirewall2.service", 0) = 0 [...] memchr("ybnqiuxtdsogh", 's', 13) = 0x47952a memchr("org.freedesktop.DBus.Error.InvalidArgs", '\0', 38) = nil [...] memchr("ybnqiuxtdsogh", 's', 13) = 0x47952a memchr("Invalid argument", '\0', 16) = nil memmove(0x2245530, "", 0) = 0x2245530 __strdup("org.freedesktop.DBus.Error.InvalidArgs") = 0x2245580 __strdup("Invalid argument") = 0x2245c00 strlen("org.freedesktop.DBus.Error.InvalidArgs") = 38 strcmp("rg.freedesktop.DBus.Error.InvalidArgs", "rg.freedesktop.DBus.Error.InvalidArgs") = 0 Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org