Re: [Vserver] kill: (1) - No such process
Hi. 1. vserver not running: no defunct processes. 2. start vserver: still no defunct processes. 3. stop vserver: every application closed becomes defunct. 4. impossible to start the vserver again: vcontext: vc_create_context(): File exists. And init is hung (have to reset the computer). Ideas? well, next step is to trace the entire vserver startup with --debug and strace -fF to figure ... a) what is started and/or executed b) what might reach the init on the host it might also pose useful to turn on the linux-vserver debugging (especially the syscall command switch) What I did: - Recompile the kernel, enabling vserver debugging. [I didn't touch anything else in the config.] - Run strace as you suggested above (but note that I didn't find a --syscall switch in the vserver script). [I had attached a file with the output but it was refused by Mailman because it is 87 kB in size. So I now sent it to you (Herbert).] *But* I couldn't reproduce the previous behaviour. Now the vserver script seems to hang before the actual server is started (/proc/virtual/ contains no reference to new context 99), in function clone (cf. last line of strace output). Does this give you some hints as to what is going on? Best, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
Hi Herbert. Still struggling with a ghost init and a horde of zombies... I forgot to tell (on IRC) that I couldn't reboot: init doesn't answer anymore! So I had to push the button :-{ [No alternative, I assume?] The behaviour is still the same unfortunately. I've let the computer do some work for a while (mutt, evolution, emacs, mozilla) No defunct processes. I've started (and stopped) the vserver *once*, now I can't start it anymore, the error is as before: - vcontext: vc_create_context(): File exists An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. - And zombies are starting to crawl again. The first one to appear is [lockfile], followed by another of the same species 10 minutes later. [If that rings a bell for you.] Gilles P.S. I have to leave now, but I'll be back later in the evening, on IRC, if you're willing to investigate what's going on. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On Wed, Apr 27, 2005 at 07:12:21PM +0200, Gilles wrote: Hi Herbert. Still struggling with a ghost init and a horde of zombies... I forgot to tell (on IRC) that I couldn't reboot: init doesn't answer anymore! So I had to push the button :-{ [No alternative, I assume?] The behaviour is still the same unfortunately. I've let the computer do some work for a while (mutt, evolution, emacs, mozilla) No defunct processes. I've started (and stopped) the vserver *once*, now I can't start it anymore, the error is as before: - vcontext: vc_create_context(): File exists unusual .. but I would conclude that 'somehow' your vserver does something with the init on your host so I would suggest to look for things like ... - devices inside the vserver which should not be there - pipes/fifos leading out of the vserver 99% of such strange issues are caused by bad vserver guest setups ... An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. - And zombies are starting to crawl again. The first one to appear is [lockfile], followed by another of the same species 10 minutes later. [If that rings a bell for you.] which is the result of the 'hanging' host init ... best, Herbert PS: let's continue investigations when you return ... Gilles P.S. I have to leave now, but I'll be back later in the evening, on IRC, if you're willing to investigate what's going on. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On Thu, Apr 28, 2005 at 12:15:04AM +0200, Gilles wrote: Hello. I've started (and stopped) the vserver *once*, now I can't start it anymore, the error is as before: - vcontext: vc_create_context(): File exists unusual .. but I would conclude that 'somehow' your vserver does something with the init on your host so I would suggest to look for things like ... - devices inside the vserver which should not be there - pipes/fifos leading out of the vserver # ls -al /var/lib/vservers/phony/dev total 1 drwxr-xr-x 3 root root 264 Apr 26 11:46 . drwxr-xr-x 20 root root 504 Apr 26 11:46 .. crw-rw-rw- 1 root root 1, 7 Apr 20 18:46 full prw--- 1 root root0 Apr 27 18:54 initctl crw-rw-rw- 1 root root 1, 3 Apr 20 18:46 null crw-rw-rw- 1 root root 5, 2 Apr 20 18:46 ptmx drwxr-xr-x 2 root root 48 Apr 20 18:46 pts crw-r--r-- 1 root root 1, 8 Apr 20 18:46 random crw-rw-rw- 1 root root 5, 0 Apr 20 18:46 tty crw-r--r-- 1 root root 1, 9 Apr 27 18:53 urandom crw-rw-rw- 1 root root 1, 5 Apr 20 18:46 zero Something wrong with that? Indeed there is one pipe; should it be there or not? How does one know whether it leads to some forbidden place? well, just for a test, I'd remove the initctl ... it should be auto created inside the vserver by init 99% of such strange issues are caused by bad vserver guest setups ... The vserver was built with the debootstrap method; after which I deleted quite some supposedly not indispensable packages. I'm in fact trying to get the cleanest possible setup so that I can use vserver-copy to clone it afterwards. [There used to be a link, somewhere on the vserver pages, to a repository of ready-to-use vservers but it was a dangling link. It would be interesting (?) to have such a repository with general-purpose setups...] well, they come and go, probably because of the amount of data transferred for a single image ... best, Herbert Best regards, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
# ls -al /var/lib/vservers/phony/dev total 1 drwxr-xr-x 3 root root 264 Apr 26 11:46 . drwxr-xr-x 20 root root 504 Apr 26 11:46 .. crw-rw-rw- 1 root root 1, 7 Apr 20 18:46 full prw--- 1 root root0 Apr 27 18:54 initctl crw-rw-rw- 1 root root 1, 3 Apr 20 18:46 null crw-rw-rw- 1 root root 5, 2 Apr 20 18:46 ptmx drwxr-xr-x 2 root root 48 Apr 20 18:46 pts crw-r--r-- 1 root root 1, 8 Apr 20 18:46 random crw-rw-rw- 1 root root 5, 0 Apr 20 18:46 tty crw-r--r-- 1 root root 1, 9 Apr 27 18:53 urandom crw-rw-rw- 1 root root 1, 5 Apr 20 18:46 zero Something wrong with that? Indeed there is one pipe; should it be there or not? How does one know whether it leads to some forbidden place? well, just for a test, I'd remove the initctl ... it should be auto created inside the vserver by init Yes, it was created anew. Same behaviour: 1. vserver not running: no defunct processes. 2. start vserver: still no defunct processes. 3. stop vserver: every application closed becomes defunct. 4. impossible to start the vserver again: vcontext: vc_create_context(): File exists. And init is hung (have to reset the computer). Ideas? Thanks and best regards. Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On Thu, Apr 28, 2005 at 02:53:29AM +0200, Gilles wrote: # ls -al /var/lib/vservers/phony/dev total 1 drwxr-xr-x 3 root root 264 Apr 26 11:46 . drwxr-xr-x 20 root root 504 Apr 26 11:46 .. crw-rw-rw- 1 root root 1, 7 Apr 20 18:46 full prw--- 1 root root0 Apr 27 18:54 initctl crw-rw-rw- 1 root root 1, 3 Apr 20 18:46 null crw-rw-rw- 1 root root 5, 2 Apr 20 18:46 ptmx drwxr-xr-x 2 root root 48 Apr 20 18:46 pts crw-r--r-- 1 root root 1, 8 Apr 20 18:46 random crw-rw-rw- 1 root root 5, 0 Apr 20 18:46 tty crw-r--r-- 1 root root 1, 9 Apr 27 18:53 urandom crw-rw-rw- 1 root root 1, 5 Apr 20 18:46 zero Something wrong with that? Indeed there is one pipe; should it be there or not? How does one know whether it leads to some forbidden place? well, just for a test, I'd remove the initctl ... it should be auto created inside the vserver by init Yes, it was created anew. Same behaviour: 1. vserver not running: no defunct processes. 2. start vserver: still no defunct processes. 3. stop vserver: every application closed becomes defunct. 4. impossible to start the vserver again: vcontext: vc_create_context(): File exists. And init is hung (have to reset the computer). Ideas? well, next step is to trace the entire vserver startup with --debug and strace -fF to figure ... a) what is started and/or executed b) what might reach the init on the host it might also pose useful to turn on the linux-vserver debugging (especially the syscall command switch) best, Herbert Thanks and best regards. Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
Hi. You have to specify --initstyle plain when building the vserver or have /etc/vservers/vserver/apps/init/style contain plain. Thanks, that's the piece I was missing. So it worked, *once* :-{ After that on the next trials to start the vserver: # vserver phony start vcontext: vc_create_context(): File exists An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. Failed to start vserver 'phony' Why would 'init' work once and then fail? Although I'm using Debian within the guest too, I tried the suggestion indicated (appending true in /etc/init.d/rc) anyway, but it didn't help. How should I proceed from here? Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On 2005.04.26 12:02:11 +0200, Gilles wrote: Hi. You have to specify --initstyle plain when building the vserver or have /etc/vservers/vserver/apps/init/style contain plain. Thanks, that's the piece I was missing. So it worked, *once* :-{ After that on the next trials to start the vserver: # vserver phony start vcontext: vc_create_context(): File exists Take a look at vserver-stat output. The init process is still running. Somewhere between 1.9.5 and 2.0pre1 we enhanced the fakeinit support. This included session group virtualization, but also init protection, i.e. you can't get rid of init without kernel support. What you need to do is sending the kill signal via vkill: vkill --xid xid -s 9 -- 1 The tools don't do that yet, thus init will keep running. Sorry that I didn't think of that when writing my last mail. HTH Björn ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
Hello. # vserver phony start vcontext: vc_create_context(): File exists Take a look at vserver-stat output. # vserver-stat CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME 0 115 0.9G 146.3K 38m18s83 1h40m52 21h55m35 root server The init process is still running. Doesn't seem so (?) Somewhere between 1.9.5 and 2.0pre1 we enhanced the fakeinit support. This included session group virtualization, but also init protection, i.e. you can't get rid of init without kernel support. What you need to do is sending the kill signal via vkill: vkill --xid xid -s 9 -- 1 The tools don't do that yet, thus init will keep running. Sorry that I didn't think of that when writing my last mail. # cat phony/context 99 # vkill --xid 99 -s 9 -- 1 vkill: vc_ctx_kill(): No such process :-( # vserver phony start vcontext: vc_create_context(): File exists An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. Failed to start vserver 'phony' :-(( Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On 2005.04.26 12:58:04 +0200, Gilles wrote: Hello. # vserver phony start vcontext: vc_create_context(): File exists Take a look at vserver-stat output. # vserver-stat CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME 0 115 0.9G 146.3K 38m18s83 1h40m52 21h55m35 root server The init process is still running. Doesn't seem so (?) Somewhere between 1.9.5 and 2.0pre1 we enhanced the fakeinit support. This included session group virtualization, but also init protection, i.e. you can't get rid of init without kernel support. What you need to do is sending the kill signal via vkill: vkill --xid xid -s 9 -- 1 The tools don't do that yet, thus init will keep running. Sorry that I didn't think of that when writing my last mail. # cat phony/context 99 # vkill --xid 99 -s 9 -- 1 vkill: vc_ctx_kill(): No such process :-( Hm, strange... A socket hanging around should be gone by now... What does /proc/virtual/99/status say? Or maybe the good old proc keeps my context annoyance is back? mount -o remount /proc should help in this case. Björn ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
# vkill --xid 99 -s 9 -- 1 vkill: vc_ctx_kill(): No such process :-( Hm, strange... A socket hanging around should be gone by now... What does /proc/virtual/99/status say? # cat /proc/virtual/99/status UseCnt: 3 Tasks: 0 Flags: 0210 BCaps: d44c04ff CCaps: 0101 Ticks: 0 Also, there is an ever-growing number of defunct processes: # ps ax | grep defunct | grep -v grep | wc -l 83 And also: # ps ax | grep init 1 ?D 0:00 init [2] ^^^ ^ Is this normal? And also: # telinit 1 Whatever the argument, telinit returns happily without doing anything. And finally: # reboot Broadcast message from root (pts/1) (Tue Apr 26 19:17:44 2005): The system is going down for reboot NOW! [... Time passes ...] Still there (i.e. no reboot) to send that mail! [Shall I have to hard-reset?] Or maybe the good old proc keeps my context annoyance is back? mount -o remount /proc should help in this case. It didn't. What's happening? Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
Hi. Also, there is an ever-growing number of defunct processes: # ps ax | grep defunct | grep -v grep | wc -l 83 The defunct count is raising: # ps ax | grep defunct | grep -v grep | wc -l 173 Help would be appreciated, first to get back to normal on the host, then to be able to start a vserver with a chosen program as init. Thanks, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On Wed, Apr 27, 2005 at 01:16:56AM +0200, [EMAIL PROTECTED] wrote: [Sorry if this a double post, the first one didn't seem to get through.] Hi. Also, there is an ever-growing number of defunct processes: # ps ax | grep defunct | grep -v grep | wc -l 83 The defunct count is raising: # ps ax | grep defunct | grep -v grep | wc -l 200 any chance to pay a visit to che irc channel? Help would be appreciated, first to get back to normal on the host, then to be able to start a vserver with a chosen program as init. Thanks, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
Hello. should work fine with a real init running inside the vserver and might work with just the fake blend through too ... PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) Euh, no: 2.6.11-vs1.9.5-rc1 Should I upgrade before expecting it to work? So, I did upgrade just in case. Now: util-vserver (Debian package) version: 0.30.206-3 (vanilla) kernel 2.6.11.7-vs2.0-pre2+g1 vserver phony was build with the command: vserver phony build -m debootstrap --hostname phony.harfang.homelinux.org --netdev dummy0 --interface 192.168.83.99/24 -- -d sarge -m ftp://ftp.belnet.be/debian/ -- --exclude=pciutils,fdutils,ipchains,makedev,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,console-common,console-data,console-tools,klogd,sysklogd,nvi,base-config,telnet,iptables,syslinux,pcmcia-cs,e2fsprogs,e2fslibs,libgnutls10 --include=less,ssh # ls /etc/vservers phony util-vserver-vars # ls /etc/vservers/phony/ apps context flags fstab interfaces name run uts vdir # cat /etc/vservers/phony/flags fakeinit phony:~# ps ax PID TTY STAT TIME COMMAND 13561 ?S 0:00 /usr/sbin/nullmailer-send -d 13567 ?Ss 0:00 /usr/sbin/sshd 13576 ?Rs 0:00 sshd: [EMAIL PROTECTED]/3 13581 pts/3Ss 0:00 -bash 13585 pts/3R+ 0:00 ps ax No init process :-( What am I doing wrong? Thanks end best regards. Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On 2005.04.26 00:38:48 +0200, Gilles wrote: Hello. should work fine with a real init running inside the vserver and might work with just the fake blend through too ... PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) Euh, no: 2.6.11-vs1.9.5-rc1 Should I upgrade before expecting it to work? So, I did upgrade just in case. Now: util-vserver (Debian package) version: 0.30.206-3 (vanilla) kernel 2.6.11.7-vs2.0-pre2+g1 vserver phony was build with the command: vserver phony build -m debootstrap --hostname phony.harfang.homelinux.org --netdev dummy0 --interface 192.168.83.99/24 -- -d sarge -m ftp://ftp.belnet.be/debian/ -- --exclude=pciutils,fdutils,ipchains,makedev,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,console-common,console-data,console-tools,klogd,sysklogd,nvi,base-config,telnet,iptables,syslinux,pcmcia-cs,e2fsprogs,e2fslibs,libgnutls10 --include=less,ssh [...] phony:~# ps ax PID TTY STAT TIME COMMAND 13561 ?S 0:00 /usr/sbin/nullmailer-send -d 13567 ?Ss 0:00 /usr/sbin/sshd 13576 ?Rs 0:00 sshd: [EMAIL PROTECTED]/3 13581 pts/3Ss 0:00 -bash 13585 pts/3R+ 0:00 ps ax No init process :-( What am I doing wrong? As you did not specify an initstyle, sysv is used. That means that to start a vserver /etc/init.d/rc runlevel (3 by default IIRC) is called. If you want your vserver to be started with an own init process, use plain initstyle instead. You have to specify --initstyle plain when building the vserver or have /etc/vservers/vserver/apps/init/style contain plain. For the fake blend through that Bertl mentioned, I've seen such code when having a look at 2.4.20-vs1.2.10 today, but don't remember seeing anything like that with 2.6 kernels. But maybe I just didn't look at the right places yet... ;) HTH Björn ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
I'm trying to install a package in a Debian vserver, but the configuration script ends with kill -s HUP 1 runit does that, this used to put this package in 'uninstallable' state, because author assumed that kill -HUP 1 always succeeds. This is a mistake on packager's side. You can play with fakeinit to solve the situation, but in general software author should be educated. (and it's not like it's vserver-only issue, there are other legitimate reasons why 'kill 1' would fail). Free software used to be about quality, and if you raised such issue to software author she used to happily fix it... not always the case now. -- Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9 We're giving you a new chance in life, and an opportunity to screw it up in a new, original way. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
You did restart the vserver after adding the flag, yes? Yes. Enter the vserver and check if there's a process called init with a pid of 1 (use ps xa). # ps ax PID TTY STAT TIME COMMAND 1088 ?S 0:00 /usr/sbin/nullmailer-send -d 1094 ?Ss 0:00 /usr/sbin/sshd 1103 ?Ss 0:00 sshd: [EMAIL PROTECTED]/8 1107 pts/8Ss 0:00 -bash 5636 pts/8R+ 0:00 ps ax It isn't there :-{ You are using the new vserver utils? # uname -a Linux dawn 2.6.11-vs1.9.5-rc1+g1 #1 Tue Mar 8 16:51:29 CET 2005 i686 GNU/Linux with Debian util-vserver package Version: 0.30.206-3 But maybe I'm using a wrong syntax (file name and/or contents)? # cat /etc/vservers/phony/flags fakeinit Thanks. Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
I'm trying to install a package in a Debian vserver, but the configuration script ends with kill -s HUP 1 runit does that, this used to put this package in 'uninstallable' state, That's the one indeed. because author assumed that kill -HUP 1 always succeeds. This is a mistake on packager's side. You can play with fakeinit to solve the situation, but in general software author should be educated. Actually, I sent a bug report on March 12 about that script's behaviour. But I didn't get any reaction. I also sent a mail to their mailing list a few days ago... (and it's not like it's vserver-only issue, there are other legitimate reasons why 'kill 1' would fail). That's why I hadn't asked here: At first I didn't notice the kill failure because it happens only when /etc/inittab is unmodified; every time afterwards, when dpkg tries to configure, it's another error that shows up. [It seems that the idempotency rule (from the Debian Policy) isn't followed here.] Then I thought about making the script happy anyway, with fakeinit. Free software used to be about quality, and if you raised such issue to software author she used to happily fix it... not always the case now. I just hope that it doesn't tell about the quality of runit itself... I think that service supervision is a nice idea that fits well with vserver (robustness and security). Best regards, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] kill: (1) - No such process
Hello. I'm trying to install a package in a Debian vserver, but the configuration script ends with kill -s HUP 1 (because the package modifies /etc/inittab). Hence the script aborts, and the package management system marks the package as Not fully installed. Is there a way to make that installation script happy; I mean: not doing anything on the host but nevertheless returning success from the above command? I've read something about fakeinit, which sounds like that should be it, but although I've added a flags file in /etc/vservers/name containing that word, it didn't change the script's behaviour. How can I achieve that result? Thanks. Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
should work fine with a real init running inside the vserver and might work with just the fake blend through too ... HTH, Herbert PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) Euh, no: 2.6.11-vs1.9.5-rc1 Should I upgrade before expecting it to work? Best, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
On Sat, Apr 23, 2005 at 01:23:09AM +0200, Gilles wrote: should work fine with a real init running inside the vserver and might work with just the fake blend through too ... HTH, Herbert PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) Euh, no: 2.6.11-vs1.9.5-rc1 Should I upgrade before expecting it to work? hmm, no, but I just assume the best of all folks who do not mention distro, tools or kernel ;) best, Herbert Best, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kill: (1) - No such process
Hmm... this command works for me with fakeinit on although, it should really be calling init q, but that's just me being picky. You did restart the vserver after adding the flag, yes? Enter the vserver and check if there's a process called init with a pid of 1 (use ps xa). You are using the new vserver utils? I'm using kernel 2.6.10 + vs 1.9.4 with the box I tested on. Cheers, Liam On Friday 22 April 2005 16:01, Gilles wrote: Hello. I'm trying to install a package in a Debian vserver, but the configuration script ends with kill -s HUP 1 (because the package modifies /etc/inittab). Hence the script aborts, and the package management system marks the package as Not fully installed. Is there a way to make that installation script happy; I mean: not doing anything on the host but nevertheless returning success from the above command? I've read something about fakeinit, which sounds like that should be it, but although I've added a flags file in /etc/vservers/name containing that word, it didn't change the script's behaviour. How can I achieve that result? Thanks. Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver