Your message dated Mon, 23 Sep 2024 09:43:32 +0200
with message-id <[email protected]>
and subject line Re: Bug#1082436: Better default value for localstatedir in 
Meson debhelper script
has caused the Debian Bug report #1082436,
regarding Better default value for localstatedir in Meson debhelper script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1082436: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082436
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 13.20
Severity: wishlistDear maintainers,
I have been using the Meson module for debhelper and noticed something that to 
me seems like a non-ideal default build system parameter. Namely this line in 
meson.pm. push @opts, "--localstatedir=/var";

https://sources.debian.org/src/debhelper/13.20/lib/Debian/Debhelper/Buildsystem/meson.pm/

 Arguably, --localstatedir=/var/lib is a better default, as per the FHS 
definition for variable state information. 
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varlibVariableStateInformation

It can be confirmed in a current unstable or Bookworm system that practically 
all programs put their local state files into /var/lib rather than /var …
Would you consider changing the default in the debhelper script?
Sincerely,
Daniel Markstedt

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Daniel Markstedt:
Package: debhelper
Version: 13.20
Severity: wishlistDear maintainers,
I have been using the Meson module for debhelper and noticed something that to me seems 
like a non-ideal default build system parameter. Namely this line in meson.pm. push 
@opts, "--localstatedir=/var";

https://sources.debian.org/src/debhelper/13.20/lib/Debian/Debhelper/Buildsystem/meson.pm/

  Arguably, --localstatedir=/var/lib is a better default, as per the FHS 
definition for variable state information. 
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varlibVariableStateInformation

It can be confirmed in a current unstable or Bookworm system that practically 
all programs put their local state files into /var/lib rather than /var …
Would you consider changing the default in the debhelper script?
Sincerely,
Daniel Markstedt


Hi Daniel

Thanks for the suggestion.

The --localstatedir follows the conventions of https://www.gnu.org/prep/standards/html_node/Directory-Variables.html meaning that the value represents the root of the locale state (`/var`) rather than the subdir (`/var/lib`), which you linked to.

Accordingly, we will not be performing this change.

Best regards,
Niels

PS: Some of these naming conventions are confusing and you would not be the first to be surprised by them (cross-build terminology is another very confusing rabbit hole).
--- End Message ---

Reply via email to