mainSystem V style init programs - Support: sr #108700, The "service" script...

 
 

sr #108700: The "service" script passes on PATH, but service(8) says it doesn't

Submitter:  Per Cederqvist <ceder>
Submitted:  Tue 09 Dec 2014 01:31:00 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Need Info
Privacy:  Public Assigned to:  newguy
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 09 Jan 2018 03:22:04 AM UTC, comment #1: 

I could be mistaken, but isn't the service script maintained by downstream distributions, such as Debian and Fedora?

Jesse <newguy>
Group administrator
Tue 09 Dec 2014 01:31:00 PM UTC, original submission:  

The service(8) documentation says:

> ENVIRONMENT
>        LANG, TERM
>               The only environment variables passed to the init scripts.



However, the /usr/sbin/service script seems to pass along PATH as well.  If possible, it should instead use the same value for PATH as is used when the start scripts run during system boot.  If that isn't possible, the documentation should be updated.

I'm using version 2.88dsf-41+deb7u1 on Debian 7.7 (wheezy).

Per Cederqvist <ceder>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by newguy (Posted a comment)
  • -email is unavailable- added by ceder (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-22 newguy Open/ClosedOpen Closed
    2018-04-04 newguy Assigned toNone newguy
    2018-01-09 newguy StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code