Re: Is there a generic canonical way for a package script to check network connectivity?

2023-10-09 Thread Thomas Goirand
On 10/9/23 07:20, Simon Richter wrote: Hi, On 09.10.23 11:49, Jonathan Kamens wrote: I need to be able to tell from one of my package scripts whether the host has networking connectivity. 無. There is no such thing as "networking connectivity." There is "has access to a particular service, a

Re: /usr-merge and DEP17 update: what happens next and how you can help

2023-10-09 Thread Andrea Bolognani
On Sun, Oct 08, 2023 at 10:25:44PM +0200, Helmut Grohne wrote: > * For many other cases, I propose leaving the upstream install layout >as is and performing the conversion using a new debhelper component >that will be called dh_movetousr > [...] > > * movetousr.ddlist lists packages tha

Re: What licenses should be included in /usr/share/common-licenses?

2023-10-09 Thread Sean Whitton
Hello Russ, Thank you for working on this. On Sat 09 Sep 2023 at 08:35pm -07, Russ Allbery wrote: > In order to structure the discussion and prod people into thinking about > the implications, I will make the following straw man proposal. This is > what I would do if the decision was entirely u

Re: /usr-merge and DEP17 update: what happens next and how you can help

2023-10-09 Thread Sven Joachim
On 2023-10-09 14:10 +0200, Andrea Bolognani wrote: > For libvirt, the upstream build system actually installs systemd > units under /usr/lib, and we move things around in debian/rules so > that they end up under /lib in the Debian package: > > SRV_MONOLITHIC = libvirt-guests virtlogd virtlockd \

Re: /usr-merge and DEP17 update: what happens next and how you can help

2023-10-09 Thread Helmut Grohne
Hi Andrea, On Mon, Oct 09, 2023 at 02:10:27PM +0200, Andrea Bolognani wrote: > For libvirt, the upstream build system actually installs systemd > units under /usr/lib, and we move things around in debian/rules so > that they end up under /lib in the Debian package: > > SRV_MONOLITHIC = libvirt-

Re: Is there a generic canonical way for a package script to check network connectivity?

2023-10-09 Thread IOhannes m zmölnig
Am 9. Oktober 2023 09:17:07 MESZ schrieb Thomas Goirand : >After many wrong designs, I ended up having a process that pings the service I >need to access to, Unless of course there is some paranoid firewall that considers ICMP malicious and therefore blocks pings. (We had that at university her

Re: Is there a generic canonical way for a package script to check network connectivity?

2023-10-09 Thread Jonathan Kamens
Thanks to everyone for the useful feedback. Some additional info and comments: I'm well aware that this is a hard problem and that just calling nmcli is not an adequate solution. I was asking whether the problem has already been solved in a Debian-canonical way, since there are lots of other

Re: Is there a generic canonical way for a package script to check network connectivity?

2023-10-09 Thread Russ Allbery
Jonathan Kamens writes: > Regarding what I'm trying to accomplish, as part of the revamp of > apt-listchanges I need to rebuild the database that apt-listchanges uses > to determine which changelog and NEWS entries it has already shown to the > user. This can mostly be done from files installed o

Re: Is there a generic canonical way for a package script to check network connectivity?

2023-10-09 Thread Jonathan Kamens
I would be delighted to punt the network changelog fetching functionality from apt-listchanges entirely, but I want to make 100% certain there's no context in which it's needed before I do that. Here's the NEWS entry from when this functionality was added in 2017: apt-listchanges (3.14) unstab

apt-listchanges: appropriate heuristic for ignoring sub-packages with symlinked /usr/share/doc directories

2023-10-09 Thread Jonathan Kamens
As Russ noted in his recent message, it may be safe to optimize apt-listchanges by having it ignore packages which don't install any actual files in /usr/share/doc and which create a /usr/share/doc symlink pointing at another package. I am therefore am considering adding the following heuristi

Re: /usr-merge and DEP17 update: what happens next and how you can help

2023-10-09 Thread Andrea Bolognani
On Mon, Oct 09, 2023 at 08:16:32PM +0200, Helmut Grohne wrote: > On Mon, Oct 09, 2023 at 02:10:27PM +0200, Andrea Bolognani wrote: > > Am I missing something? > > Yes, you are and what you are missing really is not obvious, so thanks > for asking! > > For one thing, dh_installsystemd generates ma

QDMR on Raspberry Pi OS?

2023-10-09 Thread Dan Tallant
Like the subject says, curious about bringing the QDMR cps software for Linux to the Raspberry Pi os (specifically 64 bit running on the Pi4 w/8gb RAM) Dan Tallant "The tree of liberty must be refreshed from time to time with the blood of patriots and tyrants..." - Thomas Jefferson

Re: QDMR on Raspberry Pi OS?

2023-10-09 Thread Carsten Schoenert
Hello Dan, Am 10.10.23 um 03:28 schrieb Dan Tallant: Like the subject says, curious about bringing the QDMR cps software for Linux to the Raspberry Pi os (specifically 64 bit running on the Pi4 w/8gb RAM) like this one? $ apt search qdmr Sorting... Done Full Text Search... Done qdmr/testing

Re: /usr-merge and DEP17 update: what happens next and how you can help

2023-10-09 Thread Simon Richter
Hi, On 10/10/23 03:16, Helmut Grohne wrote: For one thing, dh_installsystemd generates maintainer scripts for restarting services. Before version 13.11.6, it did not recognize the /usr location. If you were to backport such a package, bookworm's debhelper would not generate the relevant maintai

Re: apt-listchanges: appropriate heuristic for ignoring sub-packages with symlinked /usr/share/doc directories

2023-10-09 Thread Simon Richter
Hi, On 10/10/23 06:24, Jonathan Kamens wrote: * binary package name different from source name * deb contains no changelog or NEWS files in /usr/share/doc * creates a symlink in /usr/share/doc with the binary package name as its name, pointing at another directory in /usr/share/doc

Re: QDMR on Raspberry Pi OS?

2023-10-09 Thread Paul Wise
On Tue, 2023-10-10 at 01:28 +, Dan Tallant wrote: > curious about bringing the QDMR cps software for Linux to the > Raspberry Pi os (specifically 64 bit running on the Pi4 w/8gb RAM) As mentioned by Carsten on the list, qdmr is already available in Debian for arm64 since the bookworm release,