Bug#992747: qgis-providers: upgrade to 3.16.10+dfsg-1: crssync created file in root dir: /.config/Unknown Organization/crssync.conf

Paul Wise pabs at debian.org
Mon Aug 23 06:02:31 BST 2021


On Mon, 2021-08-23 at 06:54 +0200, Sebastiaan Couwenberg wrote:

> Yes:
> 
> # find /root/.config/ -name crssync.conf
> /root/.config/Unknown Organization/crssync.conf

OK, so you were affected too, but probably because of your HOME env var
the file was created in /root while probably I had no HOME env var set,
on my system it defaulted to the empty string, making it use the / dir.

I've asked about this on the #debian-dpkg and #debian-apt IRC channels:

<pabs> any opinions, is #992747 a bug in dpkg, apt, unattended-upgrades
or qgis? HOME seems to be unset in unattended-upgrades, causing qgis
maintscripts to create files in /.config instead of /root/.config or
elsewhere. if HOME is set (root login for eg), qgis mainscripts create
files in /root/.config
<pabs> I think I'm leaning towards wanting dpkg to set HOME to a dir
that nothing can write to, not even root. maintscripts shouldn't touch
/root either

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210823/f18ad697/attachment-0001.sig>


More information about the Pkg-grass-devel mailing list