HELP ! HELP ! HELP ! Cgroup2 related issue on ubuntu jammy with mullvad and PrivateInternetAccess VPN

Note in the above How-To about fixing the NET_CLS problem there were a couple problems I found!

The command to mount “cgroup” was incorrect as it used to say:
$ sudo mount -t cgroup -o net_cls none /tmp/net-cls-v1

Note: /tmp is obviously not a good place if you want the change to survive reboots.

The mount command has been corrected in the above post to now say:
$ sudo mount -t cgroup -o net_cls net_cls /opt/net-cls-v1

The second problem was that the edit of the previous command

$ sudo systemctl edit mullvad-daemon.service

and saving saving it did not update the actual Mullvad Unit file [Service].
So the instructions were changed above to first:

$ cd /lib/systemd/system
then

edit the mullvad-daemon.service file and then add the following to the [Service] section:

Environment=“TALPID_NET_CLS_MOUNT_DIR=/opt/net-cls-v1/”

then restart the Mullvad daemon and “net_cls” should be remounted & it will survive reboots.

The original instructions have all been updated w/corrected information

1 Like