Gregory (Grisha) Trubetskoy wrote:
>
> Sorry if this was already asked - I searched and couldn't find anything.
> Recently I went from 2.6.12.4-vs2.0 to 2.6.17-vs2.0.2-rc24 on one of the
> machines (needed 2.6.17 because of a hardware issue).
>
> Inside a vserver:
>
> with 2.6.12.4-vs2.0:
>
> # hostname blah
> # hostname
> blah
>
> with 2.6.17-vs2.0.2-rc24:
>
> # hostname blah
> hostname: you must be root to change the host name
>
> The configurations are identical:
>
> # cat bcapabilities
> ^29
> ^30
> # cat ccapabilities
> mount
>
> Obviously I don't want to give the CAP_SYS_ADMIN capability. Any advice
> would be very much appreciated!!
What you want is the utsname ccapability, although that is given by
default to guests (at least by util-vserver 0.30.210). Did you happen to
change tools as well? What does grep CCap /proc/virtual/<xid>/status on
the host say?
-- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Fri Jul 7 21:09:41 2006