Bug 1210488

Summary: systemd/machinectl/journald support for RegisterName. [RFE]
Product: Red Hat Enterprise Linux 7 Reporter: Daniel Walsh <dwalsh>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Branislav Blaškovič <bblaskov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: bblaskov, jscotka, lnykryn, msekleta, systemd-maint-list
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-219-1.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 15:00:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Walsh 2015-04-09 20:45:42 UTC
In docker I am working on a patch to support registering docker containers as machines in systemd, the main benefit was to get journal data from inside the container to be viewable on the host.  

Problem is this does not work with the systemd that is shipped in RHEL7.1

Is it possible to back port this support to rhel7

Comment 2 Michal Sekletar 2015-04-10 08:28:18 UTC
We will rebase systemd in RHEL-7.2.

Comment 3 Lukáš Nykrýn 2015-04-21 13:51:10 UTC
This should be now fixed with the rebase.

Comment 5 Branislav Blaškovič 2015-09-09 12:48:13 UTC
# rpm -q systemd
systemd-219-10.el7.x86_64

# cat /etc/sysconfig/docker:
..
OPTIONS='--selinux-enabled --log-driver=journald'
..

# systemctl start docker

# docker run fedora echo testing

# journalctl -r --no-pager | grep testing
Sep 09 14:46:19 bblaskov.brq.redhat.com docker[4263]: testing

=> VERIFIED

Comment 6 errata-xmlrpc 2015-11-19 15:00:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2092.html