bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] inconsistency in $localstatedir and $runstatedir


From: Alfred M. Szmidt
Subject: Re: [BUG] inconsistency in $localstatedir and $runstatedir
Date: Mon, 18 Jul 2022 05:17:21 -0400

   Oh, there _is_ a bug.  Compare what the documentation says, with a bit 
   of variable expansion that I did to show the bug (between parentheses):

   Documentation says:

      $prefix
          Should normally be */usr/local*

      $localstatedir
          Should normally be */usr/local/var*
          But write it as *$prefix/var* (= /usr/local/var; OK)

      $runstatedir
          Should normally be */var/run*
          But write it as *$localstatedir/run* (=  $prefix/var/run)
                                               (=  /usr/local/var/run)
                                               (!= /var/run; NOK)

   Do you realize the bug now?

This is intended and not a bug, "should normally" doesn't mean that it
is, or must be.  *You* are _supposed_ to pass the right thing for your
system, the defaults are (i.e. localstatedir = runstatedir) is to make
it easy for people just doing a "default" install, but if your system
has someting else, you need to modify it (i,e., the 'should be').

So not a bug, but intended behaivour.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]