Bug 1162049

Summary: syslog.target depenancy
Product: Red Hat Enterprise Linux 7 Reporter: Anatoly Litovsky <tlitovsk>
Component: virt-whoAssignee: Radek Novacek <rnovacek>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: fdeutsch, ovasik, shihliu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-who-0.11-4.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 10:23:54 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 Anatoly Litovsky 2014-11-10 06:36:13 UTC
Description of problem:

in virt-who.service: 
virt-who is dependant on syslog.target , in systemd with rsyslog the dependncy shpould be be syslog.socket
http://www.freedesktop.org/wiki/Software/systemd/syslog/

Please change to syslog.socket

Comment 2 Radek Novacek 2014-11-10 08:37:49 UTC
In fact, the whole syslog dependency should go away, virt-who on RHEL-7 has an ability to log to the journal directly so syslog is not used at all.

I'll remove the dependency completely.

Comment 3 Radek Novacek 2014-11-13 11:26:59 UTC
Fixed in virt-who-0.11-4.el7.

Comment 5 Liushihui 2014-11-24 07:10:23 UTC
As the latest RHEL7.1 build with virt-who-0.11-3.el7.noarch, so I need to wait for a new rhel7.1 build with virt-who-0.11-4.el7 to verify this bug.

Comment 6 Liushihui 2014-11-28 08:14:00 UTC
Verified it on virt-who-0.11-4.el7.noarch.

Version-Release number of selected component (if applicable):
subscription-manager-1.13.9-1.el7.x86_64
python-rhsm-1.13.8-1.el7.x86_64
virt-who-0.11-4.el7.noarch
katello-headpin-1.4.3.28-1.el6sam_splice.noarch
candlepin-0.9.6.5-1.el6sam.noarch

Verified process:
1 Check the /usr/lib/systemd/system/virt-who.service, it hasn't include any syslog configure, therefore, verify it.
# cat /usr/lib/systemd/system/virt-who.service
[Unit]
Description=Daemon for reporting virtual guest IDs to subscription-manager
After=libvirtd.service network.target

[Service]
Type=simple
PIDFile=/var/run/virt-who.pid
ExecStart=/usr/bin/virt-who
EnvironmentFile=-/etc/sysconfig/virt-who

[Install]
WantedBy=multi-user.target

Comment 8 errata-xmlrpc 2015-03-05 10:23:54 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/RHSA-2015-0430.html