Public bug reported:

On riscv64 board I have created a virtual machine. Inside the virtual
machine I want to build deb packages with sbuild.

sbuild -d resolute *.dsc
fails both in unshare and in schroot mail due to inability to upgrade packages.

Journalctl inside the VM shows:

Mar 10 14:01:10 vm64 kernel: audit: type=1400 audit(1773151270.164:782): 
apparmor="DENIED" operation="file_perm" class="net" profile="sbuild" pid=13190 
comm="http" laddr=192.168.122.199 lport=48298 faddr=91.189.92.21 fport=80 
family="inet" sock_type="stream" protocol=6 requested="send" denied="send"
--- 
ProblemType: Bug
ApportVersion: 2.33.1-0ubuntu3
Architecture: riscv64
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 26.04
InstallationDate: Installed on 2026-03-10 (0 days ago)
InstallationMedia: Ubuntu-Server 26.04 LTS "Resolute Raccoon" - Daily riscv64 
(20260308)
Package: sbuild 0.91.2ubuntu3
PackageArchitecture: all
ProcVersionSignature: Ubuntu 6.17.0-5.5.1-generic 6.17.0-rc7
Tags: resolute
Uname: Linux 6.17.0-5-generic riscv64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip plugdev sbuild sudo users
_MarkForUpload: True

** Affects: sbuild (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected resolute

** Tags added: apport-collected resolute

** Description changed:

  On riscv64 board I have created a virtual machine. Inside the virtual
  machine I want to build deb packages with sbuild.
  
  sbuild -d resolute *.dsc
  fails both in unshare and in schroot mail due to inability to upgrade 
packages.
  
  Journalctl inside the VM shows:
  
- Mar 10 14:01:10 vm64 kernel: audit: type=1400 audit(1773151270.164:782):
- apparmor="DENIED" operation="file_perm" class="net" profile="sbuild"
- pid=13190 comm="http" laddr=192.168.122.199 lport=48298
- faddr=91.189.92.21 fport=80 family="inet" sock_type="stream" protocol=6
- requested="send" denied="send"
+ Mar 10 14:01:10 vm64 kernel: audit: type=1400 audit(1773151270.164:782): 
apparmor="DENIED" operation="file_perm" class="net" profile="sbuild" pid=13190 
comm="http" laddr=192.168.122.199 lport=48298 faddr=91.189.92.21 fport=80 
family="inet" sock_type="stream" protocol=6 requested="send" denied="send"
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.33.1-0ubuntu3
+ Architecture: riscv64
+ CasperMD5CheckResult: pass
+ DistroRelease: Ubuntu 26.04
+ InstallationDate: Installed on 2026-03-10 (0 days ago)
+ InstallationMedia: Ubuntu-Server 26.04 LTS "Resolute Raccoon" - Daily riscv64 
(20260308)
+ Package: sbuild 0.91.2ubuntu3
+ PackageArchitecture: all
+ ProcVersionSignature: Ubuntu 6.17.0-5.5.1-generic 6.17.0-rc7
+ Tags: resolute
+ Uname: Linux 6.17.0-5-generic riscv64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip plugdev sbuild sudo users
+ _MarkForUpload: True

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143838

Title:
  sbuild fails due to apparmor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/2143838/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to