[Linux-ha-dev] Call for testers: 2.1.3
Andrew Beekhof
beekhof at gmail.com
Mon Dec 17 01:42:05 MST 2007
On Dec 14, 2007, at 5:30 PM, David Lee wrote:
> On Thu, 13 Dec 2007, David Lee wrote:
>
>> Just a quick, mostly good status report. The 'dev' tree, as of this
>> morning (Thurs 13th Dec) GMT, almost builds and does a basic tun on
>> Solaris-10.
>>
>> The one problem, serious but fixable, is in the relatively new code
>> "lib/clplumbing/cl_reboot.c" which fails to compile at all on OSes
>> whose
>> "reboot" system call takes two arguments. (When I fudged that, it
>> then
>> built and ran a basic heartbeat.)
>>
>> See bugzilla 1762.
>
> Follow-up. I've produced a clean patch:
>
> 1. 'configure.in' does some 'AC_TRY_COMPILE()'s to determine number of
> arguments, then does an 'AC_DEFINE' of a C pre-processor symbol to
> that
> number.
>
> 2. 'lib/clplumbing/cl_reboot.c' uses that number in an '#if' sequence.
>
>
> This is all on a fresh 'hg pull -u', checked with 'hg outgoing -p'
> etc.
>
>
> BUT...
>
> ...when I try 'hg push' I get:
>
> searching for changes
> remote: Not trusting file dev/.hg/hgrc from untrusted user cvs,
> group hacvs
> remote: adding changesets
> remote: adding manifests
> remote: adding file changes
> remote: abort: Permission denied: dev/.hg/data/lib/clplumbing/
> cl_reboot.c.i
> remote: transaction abort!
> remote: rollback completed
>
>
> What's going on. (It's even from two different Hg installations,
> one on
> Linux the other on Solaris.) Why I can't I push the patch?
Because you and (more importantly in this case) Alan haven't added the
following to ~/.hgrc (on hg.linux-ha.org)
[trusted]
users = andrew,cvs
Which is needed to allow the script (which sets the proper file
permissions) to run.
I've repaired the permissions now so you should be able to push.
>
>
> This patch is important for non-Linux. Because I'm going to be
> mostly out
> of contact, I attach the patch here; so if we can't resolve my 'hg
> push'
> issue, could someone apply the patch, please?
>
> Best wishes, and happy Christmas.
>
> --
>
> : David Lee I.T. Service :
> : Senior Systems Programmer Computer Centre :
> : UNIX Team Leader Durham University :
> : South Road :
> : http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE :
> : Phone: +44 191 334 2752
> U
> .K
> . :<
> reboot.patch>_______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
More information about the Linux-HA-Dev
mailing list