Public bug reported:
I am not sure which package this relates to, but after a recent upgrade
from Ubuntu 22.04 to 24.04 LTS I have started seeing messages in syslog
like this:
17:29:03 python3[777789]:
/usr/lib/python3/dist-packages/uaclient/apt_news.py:207: Warning: W:Download is
performed unsandboxed as root as file '/run/ubuntu-advantage/aptnews.json'
couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
17:29:03 python3[777789]: acq.run()
It seems to me that user _apt lacks write permission for anything in
/run, hence the problem. I realise the script is getting round the
problem by running unsandboxed instead but this message is ugly.
What I have installed that might be related (I do not have
ubuntu-advantage-tools):
# dpkg-query --list|grep -E "^.i.*(news|-pro-|apt).*(amd64|all)"
ii apt 2.7.14build2
amd64 commandline package manager
ii apt-utils 2.7.14build2
amd64 package management related utility programs
ii libapt-pkg6.0t64:amd64 2.7.14build2
amd64 package management runtime library
ii motd-news-config 13ubuntu10
all Configuration for motd-news shipped in base-files
ii python-apt-common 2.7.7ubuntu1
all Python interface to libapt-pkg (locales)
ii python3-apt 2.7.7ubuntu1
amd64 Python 3 interface to libapt-pkg
ii ubuntu-pro-client 32.3~24.04
amd64 Management tools for Ubuntu Pro
ii ubuntu-pro-client-l10n 32.3~24.04
amd64 Translations for Ubuntu Pro Client
** Affects: ubuntu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070095
Title:
apt_news.py download forced unsandboxed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2070095/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs