[lxc-devel] [PATCH 0/7] Last minute signal stuff (now in separate mails)
Ferenc Wagner
wferi at niif.hu
Mon Jun 7 10:37:26 UTC 2010
Daniel Lezcano <daniel.lezcano at free.fr> writes:
> On 06/06/2010 11:07 PM, Ferenc Wagner wrote:
>
>> The first part is some tinkering to make lxc compile under Debian Lenny.
>>
>> The "dangerous" part is the signal forwarding and the process group
>> business I was playing with recently. It contains Greg's idea about
>> setting the foreground process group and also inverts the signal
>> selection logic.
>>
>> Which means it's only slightly tested in its present form, but I
>> wanted to get this out of the door ASAP, so you can get an idea what
>> I'm up to. I'll continue testing it tomorrow and will followup with
>> the results.
>>
>> Ferenc Wagner (7):
>> conditional use of new capabilities
>> uint32_t is defined in stdint.h
>> .gitignore new components
>> start child in its own process group, and put it into the foreground
>> lxc-start isn't in the foreground anymore, so TTY signals don't reach it
>> forward signals to the container init
>> generalize the name of the signal handler
>
> I will take the fixes not related to the signal forwarding:
>
> - [PATCH 1/7] conditional use of new capabilities
> - [PATCH 2/7] uint32_t is defined in stdint.h
> - [PATCH 3/7] .gitignore new components
Ok, that's the uncontroversial part. Patch 4 has a whitespace error,
and patch 5 lost an #endif, so I'll resend them anyway. I wonder how
the latter didn't surface on my home machine... But there's another
failure I get on my work machine (with my original patchset with the
above errors corrected):
gcc -I../../src -g -O2 -g -Wall -O2 -Wall -Wl,-E -Wl,-rpath -Wl,/usr/lib/lxc -o lxc-attach lxc_attach.o liblxc.so
liblxc.so: undefined reference to `lxc_sync_init'
liblxc.so: undefined reference to `lxc_sync_fini_parent'
liblxc.so: undefined reference to `lxc_sync_barrier_parent'
liblxc.so: undefined reference to `lxc_sync_fini_child'
liblxc.so: undefined reference to `lxc_sync_wake_parent'
liblxc.so: undefined reference to `lxc_sync_wait_child'
liblxc.so: undefined reference to `lxc_sync_fini'
liblxc.so: undefined reference to `lxc_sync_barrier_child'
collect2: ld returned 1 exit status
Have you got an idea what may be wrong here? I'll continue
investigation after lunch.
--
Thanks,
Feri.
More information about the lxc-devel
mailing list