Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ufw does not reenable after reboot. Fix is provided.
@ 2021-09-01 16:19 JohnTill123
  2021-09-01 17:42 ` paper42
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: JohnTill123 @ 2021-09-01 16:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

New issue by JohnTill123 on void-packages repository

https://github.com/void-linux/void-packages/issues/32795

Description:
### System
* xuname:  Void 5.13.13_1 x86_64 GenuineIntel/VM uptodate rFF
* package:  ufw-0.36_4

### Expected behavior
After installing ufw and enabling it, it will be "active" and remain "active" after a reboot.

### Actual behavior
ufw is only active until a reboot, then it is "inactive" until it is manually enabled by the user.

### Steps to reproduce the behavior
Install  ufw as follows:
#xbps-install ufw
#xbps-reconfigure ufw
#ufw enable
#reboot 

#ufw status returns "inactive"

### FIX:  
$cd /etc/runit/runsvdir
$sudo ln -s /etc/sv/ufw ufw
This creates a symbolic link in the "/etc/runit/runsvdir" pointing to the "/etc/sf/ufw" directory where is the "run" file.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ufw does not reenable after reboot. Fix is provided.
  2021-09-01 16:19 [ISSUE] ufw does not reenable after reboot. Fix is provided JohnTill123
@ 2021-09-01 17:42 ` paper42
  2021-09-01 18:42 ` ericonr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paper42 @ 2021-09-01 17:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/32795#issuecomment-910508667

Comment:
> ### Expected behavior
> After installing ufw and enabling it, it will be "active" and remain "active" after a reboot.

Is this the default behavior on other Linux distributions? Ubuntu also uses a oneshot service to start ufw on boot, but in contrast to Void they seem to auto-enable it.

> ```  
> $ cd /etc/runit/runsvdir
> $ sudo ln -s /etc/sv/ufw ufw
> ```

Is there a reason why you are not using /var/service/ to enable services?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ufw does not reenable after reboot. Fix is provided.
  2021-09-01 16:19 [ISSUE] ufw does not reenable after reboot. Fix is provided JohnTill123
  2021-09-01 17:42 ` paper42
@ 2021-09-01 18:42 ` ericonr
  2021-09-01 21:46 ` ericonr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-09-01 18:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/32795#issuecomment-910563137

Comment:
Maybe we should document this need in docs, but we have a clear policy of not making runtime changes to user's systems; that includes auto enabling services like firewall, same way we don't restart sshd after updates.

We can consider documenting this in void-docs or a `README.voidlinux` file for the package.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ufw does not reenable after reboot. Fix is provided.
  2021-09-01 16:19 [ISSUE] ufw does not reenable after reboot. Fix is provided JohnTill123
  2021-09-01 17:42 ` paper42
  2021-09-01 18:42 ` ericonr
@ 2021-09-01 21:46 ` ericonr
  2021-09-01 22:31 ` q66
  2021-09-01 22:31 ` [ISSUE] [CLOSED] " q66
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-09-01 21:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/32795#issuecomment-910798460

Comment:
(or patching ufw to link the service)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ufw does not reenable after reboot. Fix is provided.
  2021-09-01 16:19 [ISSUE] ufw does not reenable after reboot. Fix is provided JohnTill123
                   ` (2 preceding siblings ...)
  2021-09-01 21:46 ` ericonr
@ 2021-09-01 22:31 ` q66
  2021-09-01 22:31 ` [ISSUE] [CLOSED] " q66
  4 siblings, 0 replies; 6+ messages in thread
From: q66 @ 2021-09-01 22:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/32795#issuecomment-910840632

Comment:
intended behavior, you are expected to enable your services yourself

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] ufw does not reenable after reboot. Fix is provided.
  2021-09-01 16:19 [ISSUE] ufw does not reenable after reboot. Fix is provided JohnTill123
                   ` (3 preceding siblings ...)
  2021-09-01 22:31 ` q66
@ 2021-09-01 22:31 ` q66
  4 siblings, 0 replies; 6+ messages in thread
From: q66 @ 2021-09-01 22:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

Closed issue by JohnTill123 on void-packages repository

https://github.com/void-linux/void-packages/issues/32795

Description:
### System
* xuname:  Void 5.13.13_1 x86_64 GenuineIntel/VM uptodate rFF
* package:  ufw-0.36_4

### Expected behavior
After installing ufw and enabling it, it will be "active" and remain "active" after a reboot.

### Actual behavior
ufw is only active until a reboot, then it is "inactive" until it is manually enabled by the user.

### Steps to reproduce the behavior
Install  ufw as follows:
#xbps-install ufw
#xbps-reconfigure ufw
#ufw enable
#reboot 

#ufw status returns "inactive"

### FIX:  
$cd /etc/runit/runsvdir
$sudo ln -s /etc/sv/ufw ufw
This creates a symbolic link in the "/etc/runit/runsvdir" pointing to the "/etc/sf/ufw" directory where is the "run" file.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-01 22:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 16:19 [ISSUE] ufw does not reenable after reboot. Fix is provided JohnTill123
2021-09-01 17:42 ` paper42
2021-09-01 18:42 ` ericonr
2021-09-01 21:46 ` ericonr
2021-09-01 22:31 ` q66
2021-09-01 22:31 ` [ISSUE] [CLOSED] " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).