Bug ID 971327
Summary Ufw not booting during startup (no /etc/init.d/ufw)
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware x86-64
OS openSUSE 42.1
Status NEW
Severity Normal
Priority P5 - None
Component Security
Assignee security-team@suse.de
Reporter rafleal@gmx.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

systemd cannot start ufw. It is possible to start it via "# ufw enable", but it
doesn't start at boot (although it theoretically should).

/usr/lib/systemd/system/ufw.service points to:

[Service]
ExecStart=/etc/init.d/ufw start
ExecStop=/etc/init.d/ufw stop

but there is no /etc/init.d/ufw, so it fails.

I tried changing the ExecStart to /usr/sbin/ufw and alternatively copying
/lib/ufw/ufw-init to /etc/init.d/ufw, but it does not get started:

linux-wzdx:/home/<user> # systemctl status ufw
ufw.service - /etc/init.d/ufw Compatibility
   Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled)
   Active: inactive (dead) since Tue 2016-03-15 08:23:24 EET; 25s ago
  Process: 2295 ExecStop=/etc/init.d/ufw stop (code=exited, status=0/SUCCESS)
  Process: 2162 ExecStart=/etc/init.d/ufw start (code=exited, status=0/SUCCESS)
 Main PID: 2162 (code=exited, status=0/SUCCESS)

linux-wzdx:/home/<user> # systemctl start ufw 
linux-wzdx:/home/<user> # systemctl status ufw
ufw.service - /etc/init.d/ufw Compatibility
   Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled)
   Active: inactive (dead) since Tue 2016-03-15 08:23:54 EET; 1s ago
  Process: 2802 ExecStop=/etc/init.d/ufw stop (code=exited, status=0/SUCCESS)
  Process: 2595 ExecStart=/etc/init.d/ufw start (code=exited, status=0/SUCCESS)
 Main PID: 2595 (code=exited, status=0/SUCCESS)

My ufw version is 0.34 from the 'security' repo, but the same problem occurs
with the version in the standard Leap repos.

Reference:
https://forums.opensuse.org/showthread.php/514283-Ufw-not-booting-during-startup-%28no-etc-init-d-ufw%29


You are receiving this mail because: