I recently performed an overdue Ubuntu 24.04 upgrade on a few machines and as with past upgrades, I had to fix a few things after the fact.
As usual, I keep any backports of packages I make for myself in my noble PPA.
AppArmor fix for Brave Beta & Nightly
I had to modify the brave AppArmor profile in /etc/apparmor.d/brave in
order to enable proper sandboxing in Brave Beta &
Nightly.
Network problems
Surprisingly, .local resolution is still broken and I had to use my
work-around from the Ubuntu bionic
days.
I put the following in /etc/NetworkManager/conf.d/mdns.conf:
[connection]
connection.mdns=1
and in /etc/systemd/resolved.conf.d/local.conf:
[Resolve]
MulticastDNS=resolve
ssh agent problems
I also had to keep my ssh-agent fix from Ubuntu
focal
in ~/.bashrc:
eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK)
export SSH_AUTH_SOCK
export SSH_ASKPASS=/usr/bin/ssh-askpass
I modified my existing bash alias:
alias ssh-add='ssh-add -c -t 14h'
to remove the -c option since ssh-add -c is currently broken, possibly
due to a missing DISPLAY when the agent
starts.