[Pkg-xfce-devel] Bug#886241: Bug#886241: config file directories hidden in /usr/share/lightdm

Yves-Alexis Perez corsac at debian.org
Fri Jan 5 14:00:22 UTC 2018


On Fri, 2018-01-05 at 14:29 +0100, Harald Dunkel wrote:
> The man pages don't mention these config files in /usr, i.e. you get
> weird effects due to some undocumented config files.

What do you mean by “weird effect”?
> 
> Its unexpected (esp. since /etc/lightdm/ can be found in the usual
> directory) and it doesn't follow the policy. The policy is very strict
> in this case:

What is unexpected? 

In any case, you can just override anything you want with your own
configuration in /etc, and it'll preserved.
> 
> 
> Any configuration files created or used by your package must reside in
> /etc. If there are several, consider creating a subdirectory of /etc
> named after your package.

Configuration file here means something you can modify and hope to keep
accross package upgrade. It's common for packages to have default
configuration (distribution-default) in /usr, overridable by the local admin
with file in /etc. See the whole Xfce stack, systemd, whatever.
> 
> If your package creates or uses configuration files outside of /etc,
> and it is not feasible to modify the package to use /etc directly, put
> the files in /etc and create symbolic links to those files from the
> location that the package requires.

> 
> Is this unreasonable or invalid in this case?

Your reading is invalid.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20180105/570d03b9/attachment.sig>


More information about the Pkg-xfce-devel mailing list