Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
8f343d5a
Commit
8f343d5a
authored
Oct 02, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create /var/run/dtach at pvedaemon startup
Previos code creates the directory on the wrong node!
parent
2a1379b7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
OpenVZ.pm
PVE/API2/OpenVZ.pm
+0
-1
pvedaemon
bin/pvedaemon
+3
-0
changelog.Debian
debian/changelog.Debian
+6
-0
defines.mk
defines.mk
+1
-1
No files found.
PVE/API2/OpenVZ.pm
View file @
8f343d5a
...
...
@@ -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
',
...
...
bin/pvedaemon
View file @
8f343d5a
...
...
@@ -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
{
...
...
debian/changelog.Debian
View file @
8f343d5a
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'
...
...
defines.mk
View file @
8f343d5a
...
...
@@ -2,7 +2,7 @@ RELEASE=2.2
VERSION=2.2
PACKAGE=pve-manager
PACKAGERELEASE=2
0
PACKAGERELEASE=2
1
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment