Code review comment for ~mitchdz/ubuntu/+source/checksecurity:merge-lp2040370-noble

Revision history for this message
Mitchell Dzurick (mitchdz) wrote (last edit ):

Did some testing of the package. Fresh install seems fine, but upgrading to the package doesn't work correctly.

## Fresh Noble Install

$ lxc launch ubuntu-daily:noble n
$ lxc shell n
# add-apt-repository ppa:mitchdz/merge-lp2040370-noble -y
# apt update -y
# apt install -y checksecurity
# dpkg -s checksecurity | grep Version
Version: 2.0.16+nmu4ubuntu1~noble1
# checksecurity
...
# echo $?
0

## Noble Install while upgrading existing package

$ lxc launch ubuntu-daily:noble n
$ lxc shell n
# apt update -y
# apt install -y checksecurity
# dpkg -s checksecurity | grep Version
Version: 2.0.16+nmu3ubuntu1
# checksecurity
...
# echo $?
0
# add-apt-repository ppa:mitchdz/merge-lp2040370-noble -y
# apt update -y
# apt install -y checksecurity
# dpkg -s checksecurity | grep Version
Version: 2.0.16+nmu4ubuntu1~noble1
# checksecurity
find: ‘/dev/.lxd-mounts’: Permission denied
# echo $?
0

At this point, trying to use checksecurity will result in the Permission denied. Purging the package then installing again fixes this.

« Back to merge proposal