Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 42041 - printconf-gui should call /sbin/service
printconf-gui should call /sbin/service
Product: Red Hat Linux
Classification: Retired
Component: printconf (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
Depends On:
  Show dependency treegraph
Reported: 2001-05-23 19:29 EDT by Pavel Roskin
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-23 19:29:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pavel Roskin 2001-05-23 19:29:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.4-ac15 i686; en-US; 0.7)

Description of problem:
printconf-gui wrongly assumes that /sbin/service is in the PATH and calls
it just as "service" when "restart lpd" is requested.

How reproducible:

Steps to Reproduce:
3.File->Restart lpd

Actual Results:  A window appears: "Cannot restart lpd"

Expected Results:  lpd should be restarted

Additional info:

Please don't ever assume that /sbin and /usr/sbin are in $PATH for root.
PATH is inherited from the user's environment if su is used.
Ideally, no programs running as root should ever rely on the PATH unless
it's explicitly set.
Comment 1 Crutcher Dunnavant 2001-07-30 15:44:31 EDT
wow. That was dumb of me. fixed.

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