On Sun, Jan 12, 2025 at 10:21:12PM +0100, Agustin Martin wrote: > On Fri, Jan 10, 2025 at 05:04:58PM -0700, Soren Stoutner wrote: > > Package: dictionaries-common-dev > > Version: 1.30.3 > > Severity: normal > > Control: affects -1 libqt5webengine-data > > Control: affects -1 libqt6webengine6-data > > Control: affects -1 scowl > > > > I have been informed that the method we used when resolving #1020387 to set > > the > > Qt WebEngine binary dictionary location environment variable only works when > > Systemd is the init system.
> > Hi, Soren, > > Using /etc/environment.d seemed to me so reasonable that I thought it was a > Debian choice for all init systems. I now notice that this is not true and > other non systemd init systems may not support it. > > I think that the ideal way to handle this in the general case is by making > other init systems support /etc/environment.d together with /etc/environment > as systemd does. sysvinit is still in the archive > (https://tracker.debian.org/pkg/sysvinit), with upstream home page > (https://github.com/slicer69/sysvinit). I see something named finit-sysv, > but I do not know whether it supports /etc/environment.d. upstart seems gone > from the archive. For the records, seems that finit-sysv uses an ad-hoc `set' directive for that purpose in a .conf file under its /etc/finit.d dir, https://github.com/troglobit/finit/blob/master/doc/config.md#environment-variables At a first glance I would not expect different environment settings for different init systems, but who knows. If so, an specific .d dir might be useful. -- Agustin