16 Aug
2017
16 Aug
'17
5:42 a.m.
On Aug 15, 2017, at 19:59, Abhilash Raj <maxking@asynchronous.in> wrote:
@Barry: Is is wrong for the [paths.fhs] to set the
bin_dir
? No other paths configuration does this.
All the other path configs calculate their bin_dir based on sys.executable. In config.py:
default_bin_dir = os.path.abspath(os.path.dirname(sys.executable))
…
substitutions = dict(
…
argv=default_bin_dir,
and from schema.cfg:
# This is the directory containing the Mailman 'runner' and 'master' commands # if set to the string '$argv', it will be taken as the directory containing # the 'mailman' command. bin_dir: $argv
However, I think for paths.fhs, it is correct to hardcode bin_dir to /sbin (although perhaps it should be /usr/sbin now).
http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES
paths.fhs very specifically expects things to be laid out according to the FHS.
-Barry