[pve-devel] [PATCH 01/01] pve-container debian hooks

hackru hackru at gmail.com
Tue Oct 13 19:15:31 CEST 2015


> On 13 Oct 2015, at 18:17, Dietmar Maurer <dietmar at proxmox.com> wrote:
> 
> 
>> We're using debian package runit which adds a couple of lines to system
>> inittab. 
> 
> Please can you post such file, so that we see what you want to do?
> 
We have about 70 machines we trying to move inside PVE containers, all running debian 6.
i do apt-get install runit, then i get:

# git diff inittab
diff --git a/inittab b/inittab
index 6ecdbe9..143f6f1 100644
--- a/inittab
+++ b/inittab
@@ -41,3 +41,6 @@ p0::powerfail:/sbin/init 0
 #
 1:2345:respawn:/sbin/getty -L 38400 tty1
 2:23:respawn:/sbin/getty -L 38400 tty2
+#-- runit begin
+SV:123456:respawn:/usr/sbin/runsvdir-start
+#-- runit end

Anyways, i think it's not good when you cannot change system files. Until this moment i believed this was by error and provided patch should fix this.


More information about the pve-devel mailing list