I just upgraded a container from Lenny to Squeeze.
I knew there were issues with dependency based boot , but figured I'd try it.
after migrating to dependency based boot , the followig occured:
1- I could from proxmox host do 'vzctl restart VMID'
2- from within container 'init 6' does not work. container ends up hung, mounted but not started.
to fix the issue I had to: [our container id = 2101 ]
The container did not restart after init 6 .
I still had to do 'vzctl start 2101'
so this is not all solved. but file-rc works better than sysv-rc
I think the real fix is to make S00vzreboot and K00vzreboot compatible with dependency based boot.
In the mean time I suggest that before upgrading Lenny to Squeeze that you do this:
I knew there were issues with dependency based boot , but figured I'd try it.
after migrating to dependency based boot , the followig occured:
1- I could from proxmox host do 'vzctl restart VMID'
2- from within container 'init 6' does not work. container ends up hung, mounted but not started.
to fix the issue I had to: [our container id = 2101 ]
Code:
cd /var/lib/vz/private/2101/etc/rc6.d
rm S00vzreboot K00vzreboot
cd # i do not think the container will start if you are in private/2101
vzctl start 2101
vzctl enter 2101
aptitude install file-rc
init 6 # test that it restarts
The container did not restart after init 6 .
I still had to do 'vzctl start 2101'
so this is not all solved. but file-rc works better than sysv-rc
I think the real fix is to make S00vzreboot and K00vzreboot compatible with dependency based boot.
In the mean time I suggest that before upgrading Lenny to Squeeze that you do this:
Code:
aptitude install file-rc