Bug 978841
Summary: | RFE: add comment 'export SYSTEMD_PAGER="' line to /etc/skel/.bash_profile | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Petr Sklenar <psklenar> |
Component: | bash | Assignee: | Ondrej Oprala <ooprala> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Iveta Wiedermann <isenfeld> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | harald, isenfeld, lnykryn, ovasik, psklenar, systemd-maint-list |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | bash-4.2.45-2.el7 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-18 13:21:12 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: | |||
Bug Depends On: | |||
Bug Blocks: | 959971 |
Description
Petr Sklenar
2013-06-27 08:12:50 UTC
(In reply to Petr Sklenar from comment #0) > Expected results: > add directive SYSTEMD_PAGER to visible file you mean in /etc/skel/.bashrc or /etc/skel/.bash_profile or /etc/bashrc?? $ rpm -qf /etc/skel/.bashrc bash-4.2.45-1.fc19.x86_64 $ rpm -qf /etc/bashrc setup-2.8.71-1.fc19.noarch (In reply to Harald Hoyer from comment #2) > (In reply to Petr Sklenar from comment #0) > > Expected results: > > add directive SYSTEMD_PAGER to visible file > > you mean in /etc/skel/.bashrc or /etc/skel/.bash_profile or /etc/bashrc?? > > $ rpm -qf /etc/skel/.bashrc > bash-4.2.45-1.fc19.x86_64 > $ rpm -qf /etc/bashrc > setup-2.8.71-1.fc19.noarch I was about /etc/bashrc or maybe better ~/.bash_profile (so /etc/skel/.bash_profile). But don't know what's the better/more visible place (the both :) ) fyi once we talked to systemd developers and its in their todo list: http://cgit.freedesktop.org/systemd/systemd/commit/?id=3679d1126bae52e02f6cd60fca196f616b9e660d This really sounds like something to reassign to the bash package. Bash folks, can we convince you to add the (commented!) lines # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER='' to /etc/skel/.bash_profile? That way, people who really hate the git-style auto-paging systemctl does can easily discover how to turn it off. Hmm, I don't know. Currently there isn't any suggestions. Do we really need to start it with SYSTEMD_PAGER? Ah, but ok, it will not hurt anyone. (In reply to Lennart Poettering from comment #5) > This really sounds like something to reassign to the bash package. yep > > Bash folks, can we convince you to add the (commented!) lines yep > > # Uncomment the following line if you don't like systemctl's auto-paging > feature: > # export SYSTEMD_PAGER='' > > to /etc/skel/.bash_profile? I think .bashrc is better - Usually I'm editing bashrc, which is executed when bash is not run as login shell. > > That way, people who really hate the git-style auto-paging systemctl does > can easily discover how to turn it off. Hmm, really easily? I will not be trying to find anything about systemd configuration in bashrc. Anyway, some configuration options is ok to have in bashrc. I think people will like such suggestions. Fixed in bash-4.2.45-2.el7 Users should see suggestion in ~/.bashrc |