Reproduction mechanism:
❯ cd /tmp && mkdir aa-test && cd aa-test
❯ aa-exec -p sbuild -- perl -e 'my $d = "x" x 200; foreach (1..52) {
mkdir($d,0700) && chdir $d or die "level $_: $!\n" }'
level 41: File name too long
❯ rm -rf
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
❯ sudo vim /etc/apparmor.d/sbuild
# Updating profile...
❯ sudo apparmor_parser -r /etc/apparmor.d/sbuild
❯ aa-exec -p sbuild -- perl -e 'my $d = "x" x 200; foreach (1..52) {
mkdir($d,0700) && chdir $d or die "level $_: $!\n" }'
❯ (went well)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161302
Title:
sbuild profile is not equivalent to unconfined
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2161302/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs