Jan H Eringa wrote:
> Package: util-vserver
> Version: 0.30.213-1
> Severity: important
>
> Use of /etc/vservers/<vserver name>/sched/.... causes vsched to blow up
> |my-server# vsched --xid 40000 --dir /etc/vservers/test-1/sched
> |vsched: readdir(): Bad address
>
>
> Which I suspect is the cause of....
> |my-server# /etc/init.d/util-vserver start
> |Fixing visibility of /proc entries for Linux-VServer guests...readdir():
> Bad
>  address
> |readdir(): Bad address
[...]

This is due to dietlibc not properly aligning the buffer it's handing to
sys_readdir. Check your dmesg output, and it should say something like
Kernel unaligned access at TPC[4b7268] filldir64+0x70/0x134

http://people.linux-vserver.org/~dhozac/p/m/delta-dietdirent-fix01.diff
fixes it, but you'll have to rebuild util-vserver as well after applying
that patch to dietlibc.

-- 
Daniel Hokka Zakrisson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to