It looks like you are using the snap version of konsole - which seems to
have strict confinement in place so its not surprising you are seeing
such issues.

I see there is a version with classic confinement in the candidate
channel - can you please try the following and see if it fixes the
issue:

sudo snap refresh konsole --candidate --classic

(Note you will have to do this from a different terminal application
than konsole since it will be blocked from running that itself).

I suggest you report this issue to the maintainers of the konsole snap
as per the contact info listed at https://snapcraft.io/konsole

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2075246

Title:
  Apparmor is preventing konsole from running many commands

Status in apparmor package in Ubuntu:
  Invalid

Bug description:
  When using konsole I can no longer sudo in a terminal window nor can I
  run w or who.  It also doesn't appear to run logon scripts because the
  environment isn't set correctly any more.

  2024-07-30T12:38:10.211624-04:00 lin-cr kernel: audit: type=1400 
audit(1722357490.209:358): apparmor="DENIED" operation="exec" class="file" 
profile="snap.konsole.konsole" name="/usr/bin/sudo" pid=11565 comm="bash" 
requested_mask="x" denied_mask="x" fsuid=1002 ouid=0
  2024-07-30T12:38:10.211667-04:00 lin-cr kernel: audit: type=1400 
audit(1722357490.209:359): apparmor="DENIED" operation="open" class="file" 
profile="snap.konsole.konsole" name="/usr/bin/sudo" pid=11565 comm="bash" 
requested_mask="r" denied_mask="r" fsuid=1002 ouid=0

  2024-07-30T12:38:10.211624-04:00 lin-cr kernel: audit: type=1400 
audit(1722357490.209:358): apparmor="DENIED" operation="exec" class="file" 
profile="snap.konsole.konsole" name="/usr/bin/sudo" pid=11565 comm="bash" 
requested_mask="x" denied_mask="x" fsuid=1002 ouid=0
  2024-07-30T12:38:10.211667-04:00 lin-cr kernel: audit: type=1400 
audit(1722357490.209:359): apparmor="DENIED" operation="open" class="file" 
profile="snap.konsole.konsole" name="/usr/bin/sudo" pid=11565 comm="bash" 
requested_mask="r" denied_mask="r" fsuid=1002 ouid=0

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to