[Bug 2070095] Re: apt_news.py download forced unsandboxed

2025-03-11 Thread Renan Rodrigo
** Description changed: [ Impact ] - Users running `pro refresh` on a Noble machine will see a warning, saying that user `_apt` does not have access to the apt-news json. + Users running `pro refresh` on a Noble (or later) machine will see a warning, saying that user `_apt` does not have ac

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2025-02-25 Thread Renan Rodrigo
** Changed in: ubuntu-pro Status: New => Invalid -- 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 g

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2025-02-25 Thread Renan Rodrigo
** Description changed: + [ Impact ] + + Users running `pro refresh` on a Noble machine will see a warning, saying that user `_apt` does not have access to the apt-news json. + This does not affect functionality, but it is undesired for potential security reasons. + This warning is fixed by put

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-12-04 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Triaged => Fix Committed -- 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

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-06 Thread Andreas Hasenack
Upstream bug: https://github.com/canonical/ubuntu-pro-client/issues/3209 -- 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

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-06 Thread Andreas Hasenack
Yeah, so Pro is using apt_pkg.Acquire() to download the aptnews json file and store it in /run/ubuntu-advantage, where only root can write to. It tries to do that as an unprivileged user first ("_apt"), and if that fails, it switches to root and issues that warning. There are multiple ways to fix

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-06 Thread Andreas Hasenack
Ah, got it, I had apt_news set to disabled -- 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:/

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-06 Thread Dominic Raferd
@Andreas: `pro version` shows `32.3.1~24.04`. I ran `pro collect-logs` and attach the tarball. I still see the error message regularly in /var/log/syslog, specifically at these datetimes: 2024-07-02 07:27:27 2024-07-03 16:12:53 2024-07-05 06:09:08 2024-07-08 00:59:56 2024-07-09 09:25:09 2024-07-

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-05 Thread Fabius
@Andreas Hasenack (ahasenack) this is the output of the commands. ubuntu@ubuntu:~$ pro version 32.3.1~24.04 ubuntu@ubuntu:~$ dpkg -l ubuntu-pro-client Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-req

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-05 Thread Andreas Hasenack
I ask because the latest version of pro available in noble updates is 32.3.1, and I don't see this error there: ubuntu@n-pro-2070095-vm:~$ pro version 32.3.1~24.04 ubuntu@n-pro-2070095-vm:~$ sudo pro refresh Successfully processed your pro configuration. This machine is not attached to an Ubuntu

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-05 Thread Andreas Hasenack
Hello Dominic, > # pro collect-logs That command should also have generated a tarball with the logs we would like to inspect. Could you please attach it to this bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.laun

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-05 Thread Andreas Hasenack
Hello Fabius, > This happens when i use "pro refresh" command on a recently installed Ubuntu Server 24.04 LTS. Which version of pro is that? Could you please run: pro version dpkg -l ubuntu-pro-client -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-05 Thread Andreas Hasenack
Hello JJ, > I have the exact same issue, Which version of pro is that? Could you please run: pro version dpkg -l ubuntu-pro-client -- 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:

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-02 Thread JJ
I have the exact same issue, As Dominic Raferd 's issue is the same, I will forego pasting output of the same commands, as they have the same output as Dominic's ** Also affects: ubuntu-pro Importance: Undecided Status: New -- You received this bug notification because you are a member

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-08-01 Thread Fabius
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

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-07-18 Thread Lucas Albuquerque Medeiros de Moura
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Triaged -- 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 notificat

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-07-04 Thread Dominic Raferd
# pro collect-logs [info] A new version is available: 32.3.1~24.04 Please run: sudo apt install ubuntu-pro-client to get the latest bug fixes and new features. # ls -hal /run/ubuntu-advantage/ total 8.0K drwxr-xr-x 3 root root 100 Jul 4 12:28 . drwxr-xr-x 36 root root 1.2K Jul 4 12:27 ..

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-07-01 Thread Alberto Contreras
Hello, Dominic. Thanks for reporting this. To be able to better assess the root of the problem, could you please collect and share the output of `sudo pro collect-logs`? Please, make sure that no sensitive information (as the pro token) is attached, or making this issue private. Could you also run

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-06-22 Thread Dominic Raferd
I now think this relates to ubuntu-advantage-tools and/or ubuntu pro- client. I do not have ubuntu-advantage-tools installed but I do have ubuntu-pro-client and I have directory /etc/ubuntu-advantage which contains uaclient.conf. ** Package changed: ubuntu => ubuntu-advantage-tools (Ubuntu) -- Y

[Bug 2070095] Re: apt_news.py download forced unsandboxed

2024-06-22 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people