create /var/run/dtach at pvedaemon startup
Previos code creates the directory on the wrong node!
This commit is contained in:
parent
f9d4fc64e2
commit
a2d331848d
@ -864,7 +864,6 @@ __PACKAGE__->register_method ({
|
||||
my $remcmd = $remip ?
|
||||
['/usr/bin/ssh', '-c', 'blowfish-cbc', '-t', $remip] : [];
|
||||
|
||||
mkdir "/var/run/dtach";
|
||||
my $shcmd = [ '/usr/bin/dtach', '-A',
|
||||
"/var/run/dtach/vzctlconsole$vmid",
|
||||
'-r', 'winch', '-z',
|
||||
|
@ -33,6 +33,9 @@ $0 = "pvedaemon";
|
||||
|
||||
PVE::APIDaemon::enable_debug() if $opt_debug;
|
||||
|
||||
# create dir for dtach sockets
|
||||
mkdir "/var/run/dtach";
|
||||
|
||||
my $cpid;
|
||||
my $daemon;
|
||||
eval {
|
||||
|
6
debian/changelog.Debian
vendored
6
debian/changelog.Debian
vendored
@ -1,3 +1,9 @@
|
||||
pve-manager (2.2-21) unstable; urgency=low
|
||||
|
||||
* openvz console fix: create /var/run/dtach at pvedaemon startup
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Tue, 02 Oct 2012 10:10:55 +0200
|
||||
|
||||
pve-manager (2.2-20) unstable; urgency=low
|
||||
|
||||
* openvz: use real console instead of 'vzctl enter'
|
||||
|
@ -2,7 +2,7 @@ RELEASE=2.2
|
||||
|
||||
VERSION=2.2
|
||||
PACKAGE=pve-manager
|
||||
PACKAGERELEASE=20
|
||||
PACKAGERELEASE=21
|
||||
|
||||
BINDIR=${DESTDIR}/usr/bin
|
||||
PERLLIBDIR=${DESTDIR}/usr/share/perl5
|
||||
|
Loading…
Reference in New Issue
Block a user