gfbsd xxx # rc-service apache2 start * This init script works only with openrc (baselayout-2). * If you still need baselayout-1.x, please, use * apache2.initd-baselayout-1 from /usr/share/doc/apache2-*/ * Starting apache2 ... [Fri Feb 01 13:22:25 2013] [warn] (2)No such file or directory: Failed to enable the 'dataready' Accept Filter [ ok ] gfbsd xxx # emerge -vp baselayout openrc apache These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-servers/apache-2.2.23:2 USE="ssl threads -debug -doc -ldap (-selinux) -static -suexec" 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" 0 kB [ebuild R ] sys-apps/baselayout-2.2 USE="-build" 0 kB [ebuild R ] sys-apps/openrc-0.11.8 USE="ncurses unicode -debug -newnet (-pam) (-prefix) (-selinux) -static-libs" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB gfbsd xxx # uname -a FreeBSD gfbsd 9.1-Gentoo FreeBSD Gentoo 9.1 #0: Thu Jan 31 13:22:19 MSK 2013 root@gfbsd:/usr/src/sys/amd64/compile/vm amd64 gfbsd xxx #
Created attachment 337580 [details, diff] sample patch for /etc/init.d/apache2 File /etc/init.d/sysfs does not exist on FreeBSD. Changed to check file on only Linux.
Created attachment 337582 [details, diff] sample patch for eclass/apache-2.eclass Fix the following warning. [warn] (2)No such file or directory: Failed to enable the 'dataready' Accept Filter
I've no error with this patches. Thanks.
(In reply to comment #1) > Created attachment 337580 [details, diff] [details, diff] > sample patch for /etc/init.d/apache2 > > File /etc/init.d/sysfs does not exist on FreeBSD. > Changed to check file on only Linux. "$(uname -s)" should be "$RC_UNAME" instead. Anyway, I'll add the patch in a few days.
I found the init script is only touched by patrick. Could you take a look at the patche please?
@Patrick could you take a look at the patch please?
is this still valid with 2.4.29?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9415811b77a1e4759fd653fab89d272f724d01 commit 6c9415811b77a1e4759fd653fab89d272f724d01 Author: Yuta SATOH <nigoro.dev@gmail.com> AuthorDate: 2019-04-20 13:40:36 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-04-20 13:43:00 +0000 Improved elog message for userland_BSD systems so users don't see this warning: [warn] (2)No such file or directory: Failed to enable the 'dataready' Accept Filter Closes: https://bugs.gentoo.org/454970 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> eclass/apache-2.eclass | 3 +++ 1 file changed, 3 insertions(+)