| Summary: | systemctl preset prints extraneous message | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Michal Sekletar <msekleta> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | fdeutsch, fsumsal, ovasik, systemd-maint-list |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-219-30.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 00:56:45 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: | |
|
Description
Michal Sekletar
2016-09-07 13:51:51 UTC
fix merged to upstream staging branch -> https://github.com/lnykryn/systemd-rhel/commit/f96f6b6ee9fbe41ee411cb428256bd085cbef4f8 https://github.com/lnykryn/systemd-rhel/commit/5f273838f41f27e0045395c1677272d9dd12496c -> post Verified with systemd-219-30.el7. Old package: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: systemctl preset without [Install] section :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ BEGIN ] :: Running 'systemctl daemon-reload' :: [ PASS ] :: Command 'systemctl daemon-reload' (Expected 0, got 0) :: [ BEGIN ] :: Running 'systemctl preset rsyncd.service' The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). :: [ PASS ] :: Command 'systemctl preset rsyncd.service' (Expected 0, got 0) :: [ BEGIN ] :: Running '[[ -r /var/tmp/tmp.MFt51eAMlo && ! -s /var/tmp/tmp.MFt51eAMlo ]]' :: [ FAIL ] :: Command '[[ -r /var/tmp/tmp.MFt51eAMlo && ! -s /var/tmp/tmp.MFt51eAMlo ]]' (Expected 0, got 1) New package: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: systemctl preset without [Install] section :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ BEGIN ] :: Running 'systemctl daemon-reload' :: [ PASS ] :: Command 'systemctl daemon-reload' (Expected 0, got 0) :: [ BEGIN ] :: Running 'systemctl preset rsyncd.service' :: [ PASS ] :: Command 'systemctl preset rsyncd.service' (Expected 0, got 0) :: [ BEGIN ] :: Running '[[ -r /var/tmp/tmp.jizxInWtIb && ! -s /var/tmp/tmp.jizxInWtIb ]]' :: [ PASS ] :: Command '[[ -r /var/tmp/tmp.jizxInWtIb && ! -s /var/tmp/tmp.jizxInWtIb ]]' (Expected 0, got 0) 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-2016-2216.html |