[Server-devel] /etc/xs-sigchecks-enabled

Martin Langhoff martin.langhoff at gmail.com
Wed Nov 5 21:16:47 EST 2008


On Wed, Nov 5, 2008 at 8:56 PM, Douglas Bagnall <douglas at paradise.net.nz> wrote:
> Yes, a rename and clarification of semantics is quite doable, and
> sooner is better.  I might be able to do it tonight or tomorrow.

That'd be _fantastic_.

> By default, the xs-check script errors if the flag is not there; you
> need to use the --tolerate-nosigs option to get the 'you can do
> anything' behaviour.

I had to read up on xs-check - it's just a simpler friend of xs-sum .
Would it not be easier and less suprising if both tools had the same
behaviour? We can define that the general concept is that

  if -e /etc/xs-security-on or "--strict" is passed then be strict,
  otherwise just check consistency if relevant (xs-sum)

which means that xs-check can just shortcut to exit 0 in some cases.
But it simplifies our callers significantly.

does that sound good?


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list