Created by Trevor Gamblin and last modified
Get this branch:
bzr branch lp:~tgamblin/ufw/distutils-to-setuptools
Only Trevor Gamblin can upload to this branch. If you are Trevor Gamblin please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Trevor Gamblin

Recent revisions

1140. By Trevor Gamblin

Change setup.py to use setuptools replacements for distutils

1139. By Jamie Strandboge

doc/*.8: update dates

1138. By Jamie Strandboge

doc/ufw.8: consistently use whitespace

1137. By Jamie Strandboge

doc/ufw.8: delete/insert/prepend are exclusive. Thanks Greg Atkinson

- https://bugs.launchpad.net/ufw/+bug/1946084

1136. By Jamie Strandboge

systemd.example: add DefaultDependencies=no; use Wants/After local-fs.target

Add back DefaultDependencies=no and instead add Wants/After
local-fs.target. This will avoid a dependency on sysinit while ensuring
that filesystems (including cryptsetup) are ready (the reason for
removing DefaultDependencies=no in the first place). LP: #1950039

1135. By Jamie Strandboge

tests/check-requirements: show we are performing the other fw check

1134. By Jamie Strandboge

systemd.example: remove DefaultDependencies=no

The systemd unit has historically always used DefaultDependencies=no.
When only Before=network.target was used, the dependencies (as seen with
'systemctl list-dependencies ufw.service') were:


When Before=network.target was changed to Before=network-pre.target and
Wants=network-pre.target, this became:


Removing DefaultDependencies=no (DefaultDependencies defaults to 'yes')
pulls in the sysinit.target which changes this to (on a Debian 11


While ufw is meant to come up before networking, there is no reason why
it shouldn't come up after 'basic system initialization is
completed'[1]. This should help make ufw startup more robust on systems
that need something from sysinit.


1133. By Jamie Strandboge

systemd.example: add Conflicts on various firewall software

Problems with ufw start most often have to do with other firewall
software getting in the way. Take a page from firewalld's systemd unit
and add a Conflicts on iptables, ip6tables, nftables and firewalld

1132. By Jamie Strandboge

systemd.example: add Documentation and put Before before Wants (cosmetic)

1131. By Jamie Strandboge

src/ufw-init-functions: add another default policy comment

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.