Bug 50483 - RFE: systemd does not handle invalid PAGER gracefully
Summary: RFE: systemd does not handle invalid PAGER gracefully
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-29 21:12 UTC by Michał Górny
Modified: 2013-03-07 11:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michał Górny 2012-05-29 21:12:57 UTC
If $PAGER refers to a broken pager (i.e. just removed one), most of systemd tools fail to run:

sh: /usr/bin/less: No such file or directory

Maybe the fallback code should be executed in that case as well...
Comment 1 Lennart Poettering 2013-03-07 11:37:29 UTC
Since a while now there's some "null pager" thingy in the paging logic that is used as fallback if no pager can be started.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.