Bug#1010485: plocate PRUNE_BIND_MOUNTS incompatible with btrfs subvolumes

2022-05-04 Thread Julian Andres Klode
On Tue, May 03, 2022 at 08:59:31PM +0200, Steinar H. Gunderson wrote: > On Tue, May 03, 2022 at 07:59:48PM +0200, Julian Andres Klode wrote: > > I fail to see how naming it @root instead of @, or @screwedup for that > > matter makes a difference. > > Try it. :-) I tried something else... > > >

Bug#1010485: plocate PRUNE_BIND_MOUNTS incompatible with btrfs subvolumes

2022-05-03 Thread Steinar H. Gunderson
On Tue, May 03, 2022 at 07:59:48PM +0200, Julian Andres Klode wrote: > I fail to see how naming it @root instead of @, or @screwedup for that > matter makes a difference. Try it. :-) > This is a significant regression for users coming from mlocate. They had > working locate No, did they not.

Bug#1010485: plocate PRUNE_BIND_MOUNTS incompatible with btrfs subvolumes

2022-05-03 Thread Julian Andres Klode
On Mon, May 02, 2022 at 07:02:14PM +0200, Steinar H. Gunderson wrote: > On Mon, May 02, 2022 at 06:47:46PM +0200, Julian Andres Klode wrote: > > It says to make / as subvolume as well, which seems incomplete, as > > mounted at / is the subvolume @ (that's the standard Ubuntu layout); > > That

Bug#1010485: plocate PRUNE_BIND_MOUNTS incompatible with btrfs subvolumes

2022-05-02 Thread Steinar H. Gunderson
On Mon, May 02, 2022 at 06:47:46PM +0200, Julian Andres Klode wrote: > It says to make / as subvolume as well, which seems incomplete, as > mounted at / is the subvolume @ (that's the standard Ubuntu layout); That would be to make it at @root or similar. > updatedb needs to parse /proc/mounts,

Bug#1010485: plocate PRUNE_BIND_MOUNTS incompatible with btrfs subvolumes

2022-05-02 Thread Julian Andres Klode
On Mon, May 02, 2022 at 05:46:42PM +0200, Steinar H. Gunderson wrote: > On Mon, May 02, 2022 at 05:23:08PM +0200, Julian Andres Klode wrote: > > plocate considers all mount points of a btrfs as bind mounts, > > so when I have a somewhat usual case of subvolumes, e.g. > > Hi, > > It considers

Bug#1010485: plocate PRUNE_BIND_MOUNTS incompatible with btrfs subvolumes

2022-05-02 Thread Julian Andres Klode
Package: plocate Version: 1.1.15-1 Severity: normal X-Debbugs-Cc: juli...@ubuntu.com plocate considers all mount points of a btrfs as bind mounts, so when I have a somewhat usual case of subvolumes, e.g. /dev/mapper/ubuntu--vg-root / btrfs defaults,compress=zstd,subvol=@ 0 1