🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3540

Bug#1153245: plocate database not generated in chroots

#3540
From: Benjamin Drung
Date: Fri, 06 Nov 2026 19:20
23 lines
3244 bytes
On Fri, 2026-11-06 at 20:04 +0100, Steinar H. Gunderson wrote:
> On Fri, Nov 06, 2026 at 07:56:31PM +0100, Benjamin Drung wrote:
> > > Can you elaborate what the problem is? Why does running background jobs not
> > > work correctly in the container system you are using?
> > Some containers (e.g. schroot) do not have an init system running. So
> > the systemd service is never started.
> 
> This sounds like something that is outside what each individual package
> should be dealing with? How do they deal with other packages that want
> to run timers?

Timers are not run. Some other package update their DB in postinst or
work without a db, but plocate complains:

$ schroot -c unstable -u root
$ apt install -y plocate
$ plocate man
/var/lib/plocate/plocate.db: No such file or directory

-- 
Benjamin Drung
Debian & Ubuntu Developer
Technical Details
Message-ID: <NWxDH-afsF-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NWweB-aeCI-3@gated-at.bofh.it> <NWwRj-af1t-23@gated-at.bofh.it> <NWxaF-af8n-1@gated-at.bofh.it> <NWxkl-afbW-7@gated-at.bofh.it> <NWxkl-afbW-5@gated-at.bofh.it> <NWxu1-afoP-5@gated-at.bofh.it> <NWweB-aeCI-3@gated-at.bofh.it> <NWxu1-afoP-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Benjamin Drung <bdrung@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153245: plocate database not generated in chroots
Date: Fri, 06 Nov 2026 20:20:01 +0100
Message-ID: <NWxDH-afsF-7@gated-at.bofh.it>
References: <NWweB-aeCI-3@gated-at.bofh.it> <NWwRj-af1t-23@gated-at.bofh.it> <NWxaF-af8n-1@gated-at.bofh.it> <NWxkl-afbW-7@gated-at.bofh.it> <NWxkl-afbW-5@gated-at.bofh.it> <NWxu1-afoP-5@gated-at.bofh.it> <NWweB-aeCI-3@gated-at.bofh.it> <NWxu1-afoP-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov  6 19:11:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Benjamin Drung <bdrung@debian.org>, 1153245@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sesse@debian.org
X-Debian-Pr-Message: followup 1153245
X-Debian-Pr-Package: plocate
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: plocate
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-9 
MIME-Version: 1.0
X-Debian-User: bdrung
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001114
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 23
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1153245@bugs.debian.org
X-Original-Date: Fri, 06 Nov 2026 20:08:37 +0100
X-Original-Message-ID: <93719b51b52f0cd3e896ebefc75d3c474f8fbbab.camel@debian.org>
X-Original-References: <179398682670.41926.6937255915626023779.reportbug@curves>  <bwudooknuq7juk66cztztxlzrp5e4ankwyfdqw2i475hlyh4ca@fglwgophl2h5>  <0b4214586b8041ba8bb9badc8521243a9433efb5.camel@debian.org>  <iggxc64n5nj6lcl5rpsd2hydb3hl5vzhydduwfrq6ggxwdtsam@jwriea7iyd55>  <bca79703ab9fa0cd61f8de174b71f9d19c9440cf.camel@debian.org>  <ichvfl6xi26cak7aztlfwljizpjwy3umer4o3fowyqcxoa45fr@rurz27dhbn45> <179398682670.41926.6937255915626023779.reportbug@curves> <ichvfl6xi26cak7aztlfwljizpjwy3umer4o3fowyqcxoa45fr@rurz27dhbn45>