Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550226

Summary: dev-lang/php-5.5.25 -systemd still installs systemd profile.
Product: Gentoo Linux Reporter: Nico Baggus <mlspamcb>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nico Baggus 2015-05-23 11:54:12 UTC
Although -systemd has been specified the systemd startup is still provided.


Reproducible: Always

Actual Results:  
[I] dev-lang/php
     Available versions:  
     (5.4)  5.4.39 5.4.40 5.4.41
     (5.5)  5.5.22 5.5.23 5.5.24 5.5.25
     (5.6)  ~5.6.7 ~5.6.8 ~5.6.9
       {apache2 bcmath berkdb bzip2 calendar cdb cgi cjk +cli crypt +ctype curl curlwrappers debug embed enchant exif +fileinfo +filter firebird flatfile fpm frontbase ftp gd gdbm gmp +hash +iconv imap inifile intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libmysqlclient mhash mssql mysql mysqli mysqlnd nls oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm readline recode selinux +session sharedmem +simplexml snmp soap sockets spell sqlite ssl sybase-ct systemd sysvipc threads tidy +tokenizer truetype unicode vpx wddx +xml xmlreader xmlrpc xmlwriter xpm xslt zip zlib}
     Installed versions:  5.5.25(5.5)(09:56:30 PM 05/22/2015)(apache2 berkdb bzip2 calendar cgi cli crypt ctype curl exif fileinfo filter flatfile fpm ftp gd gdbm gmp hash iconv imap inifile ipv6 json kerberos ldap mhash mysql mysqli nls odbc opcache pdo phar posix readline session sharedmem simplexml snmp soap sockets spell sqlite ssl tidy tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xpm xslt zip zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -frontbase -intl -iodbc -ldap-sasl -libedit -libmysqlclient -mssql -oci8-instant-client -pcntl -postgres -qdbm -recode -selinux -sybase-ct -systemd -sysvipc -threads -vpx -wddx)
     Homepage:            http://php.net/
     Description:         The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs

# ls -l /usr/lib/systemd/system/php-fpm@5.5.service
-rw-r--r-- 1 root root 316 May 22 21:56 /usr/lib/systemd/system/php-fpm@5.5.service



Expected Results:  
no systemd profile.
Comment 1 Markus Knetschke 2015-05-24 20:19:27 UTC
As written in https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy unit file installation is unconditional.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2015-05-24 21:06:55 UTC
Comment 1 is correct service files, init scripts, and small text files are always installed.

The USE flag is meant for additional functionality such as linking to a systemd library.