According to https://bugs.gentoo.org/show_bug.cgi?id=573846 the "runscript is deprecated; please use openrc-run instead." issue is supposed to be fixed. However, today I emerged a new system and found that /etc/init.d/net.lo and may other init scripts still use runscript. I have: sys-apps/openrc-0.19.1::gentoo was built with the following: USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs -tools" These are the init scripts still using runscript on my system: apache2:#!/sbin/runscript c-icap:#!/sbin/runscript conntrackd:#!/sbin/runscript cronie:#!/sbin/runscript darkstat:#!/sbin/runscript dcc:#!/sbin/runscript device-mapper:#!/sbin/runscript dhcpd:#!/sbin/runscript dhcrelay:#!/sbin/runscript dhcrelay6:#!/sbin/runscript dmeventd:#!/sbin/runscript hylafaxplus:#!/sbin/runscript in.tftpd:#!/sbin/runscript lvm:#!/sbin/runscript lvm-monitoring:#!/sbin/runscript lvmetad:#!/sbin/runscript mdadm:#!/sbin/runscript mdraid:#!/sbin/runscript mimedefang:#!/sbin/runscript mysql:#!/sbin/runscript net.lo:#!/sbin/runscript nfs:#!/sbin/runscript nfsclient:#!/sbin/runscript nfsmount:#!/sbin/runscript nut.powerfail:#!/sbin/runscript pwcheck:#!/sbin/runscript rpc.gssd:#!/sbin/runscript rpc.idmapd:#!/sbin/runscript rpc.pipefs:#!/sbin/runscript rpc.statd:#!/sbin/runscript rpc.svcgssd:#!/sbin/runscript rpcbind:#!/sbin/runscript saslauthd:#!/sbin/runscript slapd:#!/sbin/runscript udev:#!/sbin/runscript upsd:#!/sbin/runscript upsdrv:#!/sbin/runscript upslog:#!/sbin/runscript upsmon:#!/sbin/runscript vsftpd:#!/sbin/runscript I don't know if the previous bug report should be re-opened. Also, I really hope it's not required to file a bug for EACH of the above packages.
Please run emerge -1av $(qfile -Cq $(grep -HFr "/sbin/runscript" /etc/init.d/ | cut -d : -f 1)) Before you report bugs against any init script. The qfile executable can be found in the app-portage/portage-utils package.
# emerge -1av $(qfile -Cq $(grep -HFr "/sbin/runscript" /etc/init.d/ | cut -d : -f 1)) These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-analyzer/darkstat-3.0.718::gentoo 114 KiB [ebuild R ] net-misc/netifrc-0.2.2::gentoo 60 KiB [ebuild R ] dev-db/mysql-init-scripts-2.0-r1::gentoo 0 KiB [ebuild R ] sys-process/cronie-1.5.0::gentoo USE="inotify pam -anacron (-selinux)" 237 KiB [ebuild R ] net-firewall/conntrack-tools-1.4.2::gentoo USE="-doc" 462 KiB [ebuild R ] net-ftp/tftp-hpa-5.2-r1::gentoo USE="ipv6 readline tcpd (-selinux)" 88 KiB [ebuild R ] net-ftp/vsftpd-3.0.2-r1::gentoo USE="pam ssl tcpd -caps (-selinux) -xinetd" 189 KiB [ebuild R ] dev-libs/cyrus-sasl-2.1.26-r9:2::gentoo USE="gdbm kerberos pam ssl urandom -authdaemond (-berkdb) -java -ldapdb -mysql -openldap -postgres -sample (-selinux) -sqlite -srp -static-libs" 5098 KiB [ebuild R ~] mail-filter/mimedefang-2.75::gentoo USE="clamav poll" 356 KiB [ebuild R ] mail-filter/dcc-1.3.140-r1::gentoo USE="ipv6 -cgi -milter -rrdtool" 1643 KiB [ebuild R ] net-nds/openldap-2.4.38-r2::gentoo USE="berkdb crypt ipv6 kerberos odbc samba sasl ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -minimal -overlays -perl (-selinux) -slp -smbkrb5passwd" 5390 KiB [ebuild R ] net-nds/rpcbind-0.2.3-r1::gentoo USE="tcpd -debug (-selinux) -systemd -warmstarts" 119 KiB [ebuild R ] net-proxy/c-icap-0.3.5::CustomOverlay USE="berkdb ipv6 ldap" 0 KiB [ebuild R ] net-misc/dhcp-4.3.3_p1::gentoo USE="client ipv6 ldap server ssl (-libressl) (-selinux) -vim-syntax" 8989 KiB [ebuild R ] net-fs/nfs-utils-1.3.1-r5::gentoo USE="ipv6 kerberos libmount nfsidmap nfsv4 tcpd uuid -caps -nfsdcld -nfsv41 (-selinux)" 768 KiB [ebuild R ] sys-fs/mdadm-3.3.1-r2::gentoo USE="-static" 524 KiB [ebuild R ~] net-proxy/squidclamav-6.13::CustomOverlay 0 KiB [ebuild R ] dev-db/mariadb-10.0.26:0/18::gentoo USE="odbc openssl pam perl server -bindist -debug -embedded -extraengine -jemalloc -latin1 (-libressl) -oqgraph -profiling (-selinux) -sphinx -static -static-libs -systemtap -tcmalloc {-test} (-tokudb) -xml -yassl" 0 KiB [ebuild U ] app-admin/apache-tools-2.4.23::gentoo [2.2.31::gentoo] USE="ssl (-libressl)" 0 KiB [ebuild R ] www-servers/apache-2.2.31:2::gentoo USE="ldap ssl -debug -doc (-libressl) (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 5542 KiB [ebuild U ] www-servers/apache-2.4.23:2::gentoo [2.2.31:2::gentoo] USE="ldap ssl -debug -doc (-libressl) (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core%* authn_dbm authn_file authz_core%* authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb%* speling status unique_id unixd%* userdir usertrack vhost_alias -access_compat% -asis -auth_digest -authn_dbd -authz_dbd% -cache_disk% -cern_meta -charset_lite -dbd -dumpio -http2% -ident -imagemap -lbmethod_bybusyness% -lbmethod_byrequests% -lbmethod_bytraffic% -lbmethod_heartbeat% -log_forensic -macro% -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi% -proxy_ftp -proxy_html% -proxy_http -proxy_scgi -proxy_wstunnel% -ratelimit% -remoteip% -reqtimeout -slotmem_shm% -substitute -version (-authn_default%*) (-authz_default%*) (-disk_cache%*) (-mem_cache%*)" APACHE2_MPMS="-event -prefork -worker (-itk%) (-peruser%)" 0 KiB [ebuild R ~] net-misc/hylafaxplus-5.5.5::gentoo USE="jbig ldap pam -html -mgetty" 1322 KiB [ebuild R ] www-apache/mod_auth_kerb-5.4-r2::gentoo 91 KiB [ebuild R ] app-eselect/eselect-php-0.9.1::gentoo USE="apache2 -fpm" 0 KiB [ebuild R ] www-apache/mod_perl-2.0.8:1::gentoo USE="-debug" 0 KiB [ebuild R ] sys-fs/eudev-3.1.5::gentoo USE="hwdb kmod -introspection -rule-generator (-selinux) -static-libs {-test}" 1705 KiB [ebuild R ] sys-fs/udev-init-scripts-27::gentoo 0 KiB [ebuild R ~] sys-power/nut-2.7.3::gentoo USE="cgi ssl tcpd ups_drivers_al175 ups_drivers_apcsmart ups_drivers_apcsmart-old ups_drivers_apcupsd-ups ups_drivers_bcmxcp ups_drivers_bcmxcp_usb ups_drivers_belkin ups_drivers_belkinunv ups_drivers_bestfcom ups_drivers_bestfortress ups_drivers_bestuferrups ups_drivers_bestups ups_drivers_blazer_ser ups_drivers_blazer_usb ups_drivers_clone ups_drivers_clone-outlet ups_drivers_dummy-ups ups_drivers_etapro ups_drivers_everups ups_drivers_gamatronic ups_drivers_genericups ups_drivers_isbmex ups_drivers_ivtscd ups_drivers_liebert ups_drivers_liebert-esp2 ups_drivers_masterguard ups_drivers_metasys ups_drivers_mge-shut ups_drivers_mge-utalk ups_drivers_microdowell ups_drivers_nutdrv_qx ups_drivers_oldmge-shut ups_drivers_oneac ups_drivers_optiups ups_drivers_powercom ups_drivers_powerpanel ups_drivers_rhino ups_drivers_richcomm_usb ups_drivers_riello_ser ups_drivers_riello_usb ups_drivers_safenet ups_drivers_solis ups_drivers_tripplite ups_drivers_tripplite_usb ups_drivers_tripplitesu ups_drivers_upscode2 ups_drivers_usbhid-ups ups_drivers_victronups usb -avahi -ipmi (-selinux) -snmp -ups_drivers_netxml-ups -ups_drivers_nut-ipmipsu -ups_drivers_snmp-ups -xml" 2264 KiB [ebuild R ] sys-fs/lvm2-2.02.116::gentoo USE="readline thin udev (-clvm) (-cman) -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) -static -static-libs -systemd" 1503 KiB Total: 29 packages (2 upgrades, 27 reinstalls), Size of downloads: 36452 KiB !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: www-servers/apache:2 (www-servers/apache-2.4.23:2/2::gentoo, ebuild scheduled for merge) pulled in by >=www-servers/apache-2.4[apache2_modules_unixd,threads=] required by (dev-lang/php-5.6.24:5.6/5.6::gentoo, installed) ^^ ^^^ (www-servers/apache-2.2.31:2/2::gentoo, ebuild scheduled for merge) pulled in by <www-servers/apache-2.4 required by (www-apache/mod_perl-2.0.8:1/1::gentoo, ebuild scheduled for merge) ^ ^^^ app-admin/apache-tools:0 (app-admin/apache-tools-2.2.31:0/0::gentoo, installed) pulled in by ~app-admin/apache-tools-2.2.31 required by (www-servers/apache-2.2.31:2/2::gentoo, ebuild scheduled for merge) ^ ^^^^^^ (app-admin/apache-tools-2.4.23:0/0::gentoo, ebuild scheduled for merge) pulled in by ~app-admin/apache-tools-2.4.23 required by (www-servers/apache-2.4.23:2/2::gentoo, ebuild scheduled for merge) ^ ^^^^^^ BTW I mentioned net.lo in my previous comment because it's Gentoo-brewed (not "upstream" - see comments in bug 573846): # equery belongs /etc/init.d/net.lo * Searching for /etc/init.d/net.lo ... net-misc/netifrc-0.2.2 (/etc/init.d/net.lo) # grep HOMEPAGE /usr/portage/net-misc/netifrc/netifrc-0.2.2.ebuild HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
Perhaps I was a bit unprecise. I don't want the output of that command I posted but I want you to fully run the command and only after the command has finished report any remaining init script still having /sbin/runscript in shebang.
I don't know if I understand your request. It seems to me that bug 573846 tried to replace all instances of "runscript". Somehow many packages haven't seen that change, including net-misc/netifrc which is a Gentoo-made package. You don't expect end-users to run that command each time they install a new system, do you? IF you only want to see which packages still have "runscript", can't the Gentoo devs run that command on their x86 test systems? As a side note and as you can notice in comnent 2, that commnand fails because the latest mod_perl ebuild is not marked stable on x86. I could use the unstable version and run your command but that would require rebuilding Apache and I can't do that right now. It's not that I don't want to help (I've been happily doing so since I first started using Gentoo back in 2003) but I think that this (maybe trivial) issue should be (or should have been) addressed by the Gentoo release team. I know it's hard to ask all package maintainers to update but... net-misc/netifrc? It is after all Gentoo's network stack. Anyway, maybe in a week or two I can run that command but I really think someone should take care of this. Of course it's not critical but it's rather "ugly".
=net-misc/netifrc-0.4.0 has the issue fixed. It just isn't makred as stable yet. Yes I expect people filing bugs about packages still having /sbin/runscript in their init script to first check it re-installation of the package fixes the issue.
# emerge-webrsync Fetching most recent snapshot ... Trying to retrieve 20160904 snapshot [...] # emerge --quiet y --quiet-build y --usepkg --getbinpkg --buildpkg-exclude virtual/* --buildpkg-exclude sys-kernel/*-sources --buildpkg-exclude dev-libs/openssl --ask --update --deep @system # emerge --quiet y --quiet-build y --usepkg --getbinpkg --buildpkg-exclude virtual/* --buildpkg-exclude sys-kernel/*-sources --buildpkg-exclude dev-libs/openssl --ask --update --deep @world # perl-cleaner --all # emerge -1av $(qfile -Cq $(grep -HFr "/sbin/runscript" /etc/init.d/ | cut -d : -f 1)) These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] mail-filter/mimedefang-2.75::gentoo USE="clamav poll" 356 KiB [ebuild R ] mail-filter/dcc-1.3.140-r1::gentoo USE="ipv6 -cgi -milter -rrdtool" 1643 KiB [ebuild R ] net-analyzer/darkstat-3.0.718::gentoo 114 KiB [ebuild R ] dev-libs/cyrus-sasl-2.1.26-r9:2::gentoo USE="gdbm kerberos pam ssl urandom -authdaemond (-berkdb) -java -ldapdb -mysql -openldap -postgres -sample (-selinux) -sqlite -srp -static-libs" 5098 KiB [ebuild R ] dev-db/mysql-init-scripts-2.0-r1::gentoo 0 KiB [ebuild R ] net-nds/rpcbind-0.2.3-r1::gentoo USE="tcpd -debug (-selinux) -systemd -warmstarts" 119 KiB [ebuild R ] sys-process/cronie-1.5.0::gentoo USE="inotify pam -anacron (-selinux)" 237 KiB [ebuild R ] net-firewall/conntrack-tools-1.4.2::gentoo USE="-doc" 462 KiB [ebuild R ] net-misc/netifrc-0.2.2::gentoo 60 KiB [ebuild R ] net-ftp/tftp-hpa-5.2-r1::gentoo USE="ipv6 readline tcpd (-selinux)" 88 KiB [ebuild R ] net-ftp/vsftpd-3.0.2-r1::gentoo USE="pam ssl tcpd -caps (-selinux) -xinetd" 189 KiB [ebuild R ] sys-fs/mdadm-3.3.1-r2::gentoo USE="-static" 524 KiB [ebuild R ] net-nds/openldap-2.4.38-r2::gentoo USE="berkdb crypt ipv6 kerberos odbc samba sasl ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -minimal -overlays -perl (-selinux) -slp -smbkrb5passwd" 5390 KiB [ebuild R ] net-fs/nfs-utils-1.3.1-r5::gentoo USE="ipv6 kerberos libmount nfsidmap nfsv4 tcpd uuid -caps -nfsdcld -nfsv41 (-selinux)" 768 KiB [ebuild R ] net-proxy/c-icap-0.3.5::CustomOverlay USE="berkdb ipv6 ldap" 0 KiB [ebuild R ~] net-misc/hylafaxplus-5.5.5::gentoo USE="jbig ldap pam -html -mgetty" 1322 KiB [ebuild R ] net-misc/dhcp-4.3.3_p1::gentoo USE="client ipv6 ldap server ssl (-libressl) (-selinux) -vim-syntax" 8989 KiB [ebuild R ~] net-proxy/squidclamav-6.13::CustomOverlay 0 KiB [ebuild R ] dev-db/mariadb-10.0.26:0/18::gentoo USE="odbc openssl pam perl server -bindist -debug -embedded -extraengine -jemalloc -latin1 (-libressl) -oqgraph -profiling (-selinux) -sphinx -static -static-libs -systemtap -tcmalloc {-test} (-tokudb) -xml -yassl" 0 KiB [ebuild R ] sys-fs/eudev-3.1.5::gentoo USE="hwdb kmod -introspection -rule-generator (-selinux) -static-libs {-test}" 1705 KiB [ebuild R ] sys-fs/udev-init-scripts-27::gentoo 0 KiB [ebuild R ~] sys-power/nut-2.7.3::gentoo USE="cgi ssl tcpd ups_drivers_al175 ups_drivers_apcsmart ups_drivers_apcsmart-old ups_drivers_apcupsd-ups ups_drivers_bcmxcp ups_drivers_bcmxcp_usb ups_drivers_belkin ups_drivers_belkinunv ups_drivers_bestfcom ups_drivers_bestfortress ups_drivers_bestuferrups ups_drivers_bestups ups_drivers_blazer_ser ups_drivers_blazer_usb ups_drivers_clone ups_drivers_clone-outlet ups_drivers_dummy-ups ups_drivers_etapro ups_drivers_everups ups_drivers_gamatronic ups_drivers_genericups ups_drivers_isbmex ups_drivers_ivtscd ups_drivers_liebert ups_drivers_liebert-esp2 ups_drivers_masterguard ups_drivers_metasys ups_drivers_mge-shut ups_drivers_mge-utalk ups_drivers_microdowell ups_drivers_nutdrv_qx ups_drivers_oldmge-shut ups_drivers_oneac ups_drivers_optiups ups_drivers_powercom ups_drivers_powerpanel ups_drivers_rhino ups_drivers_richcomm_usb ups_drivers_riello_ser ups_drivers_riello_usb ups_drivers_safenet ups_drivers_solis ups_drivers_tripplite ups_drivers_tripplite_usb ups_drivers_tripplitesu ups_drivers_upscode2 ups_drivers_usbhid-ups ups_drivers_victronups usb -avahi -ipmi (-selinux) -snmp -ups_drivers_netxml-ups -ups_drivers_nut-ipmipsu -ups_drivers_snmp-ups -xml" 2264 KiB [ebuild R ] sys-fs/lvm2-2.02.116::gentoo USE="readline thin udev (-clvm) (-cman) -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) -static -static-libs -systemd" 1503 KiB Total: 23 packages (23 reinstalls), Size of downloads: 30820 KiB [...] # grep "/sbin/runscript" /etc/init.d/* /etc/init.d/c-icap:#!/sbin/runscript /etc/init.d/net.enp0s25:#!/sbin/runscript /etc/init.d/net.lo:#!/sbin/runscript /etc/init.d/udev:#!/sbin/runscript I guess =net-misc/netifrc-0.4.0 should have been stabilized at the same time as openrc. So on my system I now only have c-icap and udev pending as well as netifrc on hold.
Can reproduce on amd64, still not fixed. packages.gentoo.org still shows 0.2.2 as newest stable except for alpha and arm. (And even then the issue would still exist with version 0.2.2...). And no, reinstalling doesn't fix it, even if this is not a newly installed system...
nuno: bug 591826 has the stablereq for the fixed version.