php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52476 php-fpm is installed in /usr/sbin
Submitted: 2010-07-28 23:47 UTC Modified: 2010-07-30 00:07 UTC
From: geissert@php.net Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: 5.3.3 OS: Irrelevant
Private report: No CVE-ID: None
 [2010-07-28 23:47 UTC] geissert@php.net
Description:
------------
The php-fpm binary is installed in /usr/sbin when the man page is section 1.
I don't see any reason (other than multi-user support and the like) that makes it 
fit better in sbin instead of just bin.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-29 01:07 UTC] fat@php.net
-Assigned To: +Assigned To: fat
 [2010-07-29 01:07 UTC] fat@php.net
php-fpm binary is a daemon not a standard command. As man hier described 
/usr/bin and /usr/sbin directory, php-fpm place is under /usr/sbin.

/usr/bin
This is the primary directory for executable programs. Most programs executed by 
normal users which are not needed for booting or for repairing the system and 
which are not installed locally should be placed in this directory.

/usr/sbin
This directory contains program binaries for system administration which are not 
essential for the boot process, for mounting /usr, or for system repair.

Saying that, you're right that the man file is not at the right place. It should 
be placed in section 8 and not in section 1. As man(7) says:

1 Commands
Those commands that can be executed by the user from within a shell.

8 System management commands
Commands like mount(8), many of which only root can execute.

I'll move the man page from section 1 to section 8.
 [2010-07-30 00:07 UTC] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=301705
Log: - Fixed bug #52476 (move php-fpm man page from section 1 to section 8)
 [2010-07-30 00:07 UTC] fat@php.net
-Status: Assigned +Status: Closed
 [2010-07-30 00:07 UTC] fat@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 13:01:27 2024 UTC