Igor, can you comment on that?
Ola, runlevel 4 does not have any special meaning in Red Hat. To me this
is just a bug.
Ola Lundqvist wrote:
Hi Kir and others
I have got this bug report for Debian. However I need to know the details
why this is so. I can understand that runlevel 4 have some special meaning
in redhad, but why isn't vzctl stopped in runlevel 0 1 and 6?
Best regards,
// Ola
On Fri, Aug 01, 2008 at 12:51:40PM +0300, Teodor wrote:
Package: vzctl
Version: 3.0.22-9
Severity: normal
Tags: patch
The startup script /etc/init.d/vz is not executed in runlevel 4. It is a
common practice on Debian to start the services in runlevels 2345 and
stop it in runlevels 016. This patch should be enough:
piti:~# diff /etc/init.d/vz /etc/init.d/vz_orig
30,31c30,31
< # Default-Start: 2 3 4 5
< # Default-Stop: 0 1 6
---
# Default-Start: 2 3 5
# Default-Stop:
These are the startup links created automatically:
piti:~# ls -g /etc/rc?.d/*vz
lrwxrwxrwx 1 root 12 2008-08-01 01:41 /etc/rc0.d/K20vz -> ../init.d/vz
lrwxrwxrwx 1 root 12 2008-08-01 01:41 /etc/rc1.d/K20vz -> ../init.d/vz
lrwxrwxrwx 1 root 12 2008-08-01 01:41 /etc/rc2.d/S20vz -> ../init.d/vz
lrwxrwxrwx 1 root 12 2008-08-01 01:41 /etc/rc3.d/S20vz -> ../init.d/vz
lrwxrwxrwx 1 root 12 2008-08-01 01:41 /etc/rc5.d/S20vz -> ../init.d/vz
lrwxrwxrwx 1 root 12 2008-08-01 01:41 /etc/rc6.d/K20vz -> ../init.d/vz
As you can see only for rc4.d the link is missing.
Thanks
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vzctl depends on:
ii iproute 20080417-1 networking and traffic control too
ii libc6 2.7-10 GNU C Library: Shared libraries
ii vzquota 3.0.11-1 server virtualization solution - q
Versions of packages vzctl recommends:
ii rsync 3.0.3-1 fast remote file copy program (lik
Versions of packages vzctl suggests:
pn linux-patch-openvz <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]