| Summary: | rlService* will stop execution with less(1) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alois Mahdal <amahdal> |
| Component: | beakerlib | Assignee: | Dalibor Pospíšil <dapospis> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | amahdal, azelinka, bblaskov, dapospis, jprokes, jscotka, mkyral, muller |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | beakerlib-1.13-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-16 08:47:24 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
Alois Mahdal
2016-10-10 11:49:44 UTC
Just creating new test and adding
rlServiceStart httpd
(and installing httpd on the machine) reproduced this, although I think it did not happen on *first* run. I guess this (i.e. the ability of systemctl to false-detect interactive session) could be related to way how tests are exactly started.
By the way I'm running this roughly as
urxvt -e "1minutetip ..."
Adding
export PAGER=
to the test can be used as workaround (tested).
(Thx Brano for suggestion.)
I'm not able to reproduce it, is it tight to urxvt only? Is there also another solution of this? (In reply to Dalibor Pospíšil from comment #3) > I'm not able to reproduce it, is it tight to urxvt only? Also with xfce4-terminal, with that one it even happens on first run (unlime urxvt, where it happens on the second and later runs). BTW I just upgraded my workstation to F24 (and qa-tools-workstation from 3.10-143 to from 3.10-144). It seems like the proper solution would be to call systemctl with --no-pager option but as we still use 'service' for handling services, the simplest solution would be to use environment variable PAGER as suggested in the workaround. At least until we migrate to systemctl for RHEL>=7 completely. fixed by https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=78edc02f617eb89dc822863852a26043ca52807a *** Bug 1395622 has been marked as a duplicate of this bug. *** Recently I found out that some services, e.g. audit, cannot by handled correctly by systemctl. So I need to revert to service and therefor I will use PAGER variable for this. |