Bug#1072389: patches to make cruft-ng work without locate

2024-06-03 Thread Jochen Sprickerhof
* Alexandre Detiste [2024-06-03 22:01]: Le lun. 3 juin 2024 à 21:32, Jochen Sprickerhof a écrit : >The scripts in explain/ ought to be run inside the chroot. Good point. You could actually use unshare to make it work without root but I would also prefer option 2. What do you think of a slow a

Bug#1072389: patches to make cruft-ng work without locate

2024-06-03 Thread Alexandre Detiste
Le lun. 3 juin 2024 à 21:32, Jochen Sprickerhof a écrit : > >The scripts in explain/ ought to be run inside the chroot. > > Good point. You could actually use unshare to make it work without root > but I would also prefer option 2. > What do you think of a slow adoption as in explain.cc > set's th

Bug#1072389: patches to make cruft-ng work without locate

2024-06-03 Thread Jochen Sprickerhof
Hi Alexandre, * Alexandre Detiste [2024-06-03 10:04]: The scripts in explain/ ought to be run inside the chroot. The systemd script for example was already adapted to work without a running init. This could be done with chroot() and a bind mount of /usr/libexec/cruft or alternatively modifyin

Bug#1072389: patches to make cruft-ng work without locate

2024-06-03 Thread Alexandre Detiste
Hi, The scripts in explain/ ought to be run inside the chroot. The systemd script for example was already adapted to work without a running init. This could be done with chroot() and a bind mount of /usr/libexec/cruft or alternatively modifying every script to support DPKG_ROOT. I think option

Bug#1072389: patches to make cruft-ng work without locate

2024-06-02 Thread Jochen Sprickerhof
* Alexandre Detiste [2024-06-02 12:54]: I'm impressed ! This will get merged. \o/ I have also implemented a --root option to check chroot, see the attached patch. I guess you might be interested into providing tiny improvement for the "rules/" too depending on your taste of packages insta

Bug#1072389: patches to make cruft-ng work without locate

2024-06-02 Thread Alexandre Detiste
PS: this new behaviour could also automagically be used when plocate is not installed.

Bug#1072389: patches to make cruft-ng work without locate

2024-06-02 Thread Alexandre Detiste
Hi, I'm impressed ! This will get merged. I guess you might be interested into providing tiny improvement for the "rules/" too depending on your taste of packages installed on your systems. (or just the raw cruft report and I can figure out myself which package own which file) I have to test bac

Bug#1072389: patches to make cruft-ng work without locate

2024-06-02 Thread Jochen Sprickerhof
Source: cruft-ng Version: 0.9.62 Severity: wishlist Tags: patch Hi Alexandre, I would like to use cruft-ng on systems without having a locate installed as it is fast enough without it on my SSD. Please find two patches attached to implement this. Thanks for maintaining cruft-ng! Cheers Jochen