Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 713109 Details for
Bug 923633
virt-sandbox-service: /var/log/journal/UUID should be a directory
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
var_log_journal_UUID-as-directory.patch
var_log_journal_UUID-as-directory.patch (text/plain), 1.17 KB, created by
Monson Shao
on 2013-03-20 08:57:39 UTC
(
hide
)
Description:
var_log_journal_UUID-as-directory.patch
Filename:
MIME Type:
Creator:
Monson Shao
Created:
2013-03-20 08:57:39 UTC
Size:
1.17 KB
patch
obsolete
>commit cc9d070e8001eb67c175722a13d8233f0bfea5a0 >Author: Monson Shao <jshao@redhat.com> >Date: Wed Mar 20 16:47:02 2013 +0800 > > Make /var/log/journal/UUID as a directory > > Signed-off-by: Monson Shao <jshao@redhat.com> > >diff --git a/bin/virt-sandbox-service b/bin/virt-sandbox-service >index d96e79f..9c303c1 100755 >--- a/bin/virt-sandbox-service >+++ b/bin/virt-sandbox-service >@@ -324,13 +324,11 @@ WantedBy=%(TARGET)s > # Link /var/log/journal within the container to /var/log/journal/UUID > # on host. This will allow the hosts journalctl to easily read > # containers journal information. >- if not os.path.exists(self.dest + "/var/log/journal"): >- os.makedirs(self.dest + "/var/log/journal") >+ journaldir = "/var/log/journal/" + uuid >+ if not os.path.exists(self.dest + journaldir): >+ os.makedirs(self.dest + journaldir, 0755) > >- journalfile = "/var/log/journal/" + uuid >- fd=open(self.dest + journalfile, "w") >- fd.close() >- os.symlink(self.dest + journalfile, journalfile) >+ os.symlink(self.dest + journaldir, journaldir) > > def __gen_filesystems(self): > if self.use_image:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 923633
: 713109