Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1186952 - systemctl cat command ignores --host option
Summary: systemctl cat command ignores --host option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-28 23:21 UTC by Vladislav Grigoryev
Modified: 2015-02-15 03:05 UTC (History)
9 users (show)

Fixed In Version: systemd-216-20.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-15 03:05:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vladislav Grigoryev 2015-01-28 23:21:57 UTC
Description of problem:
systemctl status accepts --host option:
> $ systemctl --host=root.kola.fad.ru status samba.service
> * samba.service - Samba Active Directory Domain Controller
>    Loaded: loaded (/etc/systemd/system/samba.service; enabled)
>    Active: active (running) since Чт 2015-01-29 01:55:03 MSK; 22min ago
>   Process: 4703 ExecStart=/usr/local/samba/sbin/samba (code=exited, status=0/SUCCESS)
>  Main PID: 4704
>    CGroup: /system.slice/samba.service

systemctl cat command ignores --host option:
> $ systemctl --host=root.kola.fad.ru cat samba.service
> Failed to cat /etc/systemd/system/samba.service: No such file or directory
> # /etc/systemd/system/samba.service

Version-Release number of selected component (if applicable):
systemd-216-17.fc21.x86_64

How reproducible:
Always.

Comment 1 Lennart Poettering 2015-02-04 19:33:52 UTC
Fixed in systemd git in 3e495a6651609d0a45b62aab5c3ed5a3b40e11ab. (well, more specifically, it will not work, but will get a clean error back).

Comment 2 Fedora Update System 2015-02-05 20:53:32 UTC
systemd-216-20.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/systemd-216-20.fc21

Comment 3 Fedora Update System 2015-02-07 03:57:38 UTC
Package systemd-216-20.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-216-20.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1793/systemd-216-20.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-02-15 03:05:43 UTC
systemd-216-20.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.