OpenVZ Forum


Home » General » Support » init process has other than root group ID
Re: init gid is not root [message #39331 is a reply to message #39327] Mon, 05 April 2010 14:32 Go to previous messageGo to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

on a test template i can reproduce this behaviour :

1)
Set sticky bit change group to not existant group 666

$ chmod g+s /sbin/init
$ chown :666 /sbin/init

2) reboot
after a ct (re)start and top
---8<...
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ GROUP COMMAND
1 root 15 0 1980 684 592 S 0 0.3 0:00.02 666 init
3875 root 15 0 33136 1220 936 S 0 0.5 0:00.00 666 rsyslogd
3884 root 23 0 5276 1000 648 S 0 0.4 0:00.00 666 sshd
3899 root 15 0 2036 792 640 S 0 0.3 0:00.00 666 cron
---8<...

seems this prob occures on a "bug" on creating the OS template
check on a "fresh" OS template:

$ ls -la /
(...)
$ ls -la /sbin/init
-rwxr-xr-x 1 root root (...)

are in your template any sticky bits set, like

-rwxr-sr-x 1 root <anynumbergroup> (...)

Bye,
Thorsten

[Updated on: Mon, 05 April 2010 14:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Afanasyev faced problem with iptable_nat
Next Topic: limiting cpu core number
Goto Forum:
  


Current Time: Mon Nov 03 18:19:17 GMT 2025

Total time taken to generate the page: 0.11077 seconds