This happens when i use "pro refresh" command on a recently installed
Ubuntu Server 24.04 LTS.

ubuntu@ubuntu:~$ sudo pro refresh
Successfully processed your pro configuration.
Successfully refreshed your subscription.
/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)
  acq.run()
Successfully updated Ubuntu Pro related APT and MOTD messages.

I tried with:
sudo chown _apt:root /run/ubuntu-advantage/aptnews.json
And also with:
sudo chmod 777 /run/ubuntu-advantage/aptnews.json

But every time "pro refresh" command in run, the file owner/group and
permissions get reset, so the error appears again.

-- 
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/+source/ubuntu-advantage-tools/+bug/2070095/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to