Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Mathias Gibbens
Control: tags -1 + confirmed Hi Alastair and Steinar, The root cause of this issue was found to be a bug in apparmor that was fixed in kernel 6.2, but not yet backported to the 6.1 LTS tree for bookworm. Lots of details are in bug #1050256. For now I won't reassign this to src:linux, so

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Alastair Sherringham
I'll sort it out. The debian bug system seems a bit arcane compared with what I'm used to but I'll manage it. Thanks for your help. Alastair On Tue, 26 Sep 2023, at 6:02 PM, Steinar H. Gunderson wrote: > On Tue, Sep 26, 2023 at 05:57:03PM +0100, Alastair Sherringham wrote: >> Is a

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Steinar H. Gunderson
On Tue, Sep 26, 2023 at 05:57:03PM +0100, Alastair Sherringham wrote: > Is a re-assignment to LXC something you do, or I do? Anyone can do it; you probably know better than me what the package name is. /* Steinar */ -- Homepage: https://www.sesse.net/

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Alastair Sherringham
Thanks, that's fine. Is a re-assignment to LXC something you do, or I do? Cheers, Alastair On Tue, 26 Sep 2023, at 5:05 PM, Steinar H. Gunderson wrote: > On Tue, Sep 26, 2023 at 04:11:12PM +0100, Alastair Sherringham wrote: >> Yes, probably something somewhere else. Maybe a library plocate

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Steinar H. Gunderson
On Tue, Sep 26, 2023 at 04:11:12PM +0100, Alastair Sherringham wrote: > Yes, probably something somewhere else. Maybe a library plocate uses breaks > with "PrivateNetwork" on. I do not know enough about the internals of > containers, namespaces or systemd to know. No, my point is; I don't see

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Alastair Sherringham
Thanks Steinar. Yes, probably something somewhere else. Maybe a library plocate uses breaks with "PrivateNetwork" on. I do not know enough about the internals of containers, namespaces or systemd to know. I am not sure what to do but thought it worth adding to the system. I think it is

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Steinar H. Gunderson
On Tue, Sep 26, 2023 at 02:45:43PM +0100, Alastair Sherringham wrote: > So there seems to be a problem with the systemd "PrivateNetwork" and > plocate inside an LXC container - which might not surprise due to LXC > using namespace magic as well. Hi, Thanks for tracking this down. To me, this

Bug#1052934: plocate: Error running inside LXC container using systemd service (timer) with PrivateNetwork=true set

2023-09-26 Thread Alastair Sherringham
Package: plocate Version: 1.1.18-1 Severity: normal Tags: upstream Dear Maintainer, I have an LXC container with plocate installed. Both host and container run Debian 12 Bookworm. The LXC container was created using basic LXC and the root filesystem using Debian "mmdebstrap". Plocate runs on a