Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 252081 Details for
Bug 342813
net-dns/bind-9.7.1_p2: init script hangs when stopping or restarting when CONFIG_SWAP is not set in kernel config because fuser needs it.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to check for SWAP support in the kernel
bind-9.7.1_p2.patch (text/plain), 1.30 KB, created by
William Cooke
on 2010-10-26 19:07:19 UTC
(
hide
)
Description:
Patch to check for SWAP support in the kernel
Filename:
MIME Type:
Creator:
William Cooke
Created:
2010-10-26 19:07:19 UTC
Size:
1.30 KB
patch
obsolete
>--- /usr/portage/net-dns/bind/bind-9.7.1_p2.ebuild 2010-09-23 08:37:10.000000000 -0400 >+++ bind-9.7.1_p2.ebuild 2010-10-26 14:37:53.752258680 -0400 >@@ -4,7 +4,7 @@ > > EAPI="3" > >-inherit eutils autotools toolchain-funcs flag-o-matic >+inherit eutils autotools toolchain-funcs flag-o-matic linux-info > > MY_PV="${PV/_p/-P}" > MY_P="${PN}-${MY_PV}" >@@ -27,7 +27,7 @@ > SLOT="0" > KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" > IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads >- resolvconf urandom sdb-ldap xml geoip gssapi" >+ resolvconf urandom sdb-ldap xml geoip gssapi chroot" > > DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g ) > mysql? ( >=virtual/mysql-4.0 ) >@@ -55,6 +55,22 @@ > ewarn > } > >+ if use chroot; then >+ linux_config_exists || die "Your kernel sources are unconfigured" >+ linux-info_pkg_setup >+ >+ if ! linux_chkconfig_present swap; then >+ eerror "BIND init script needs CONFIG_SWAP built into your kernel" >+ eerror "for chroot support." >+ eerror "Please enable SWAP in your kernel, found at:" >+ eerror >+ eerror " General setup" >+ eerror " Support for paging of anonymous memory (swap)" >+ eerror >+ die "SWAP support not detected" >+ fi >+ fi >+ > ebegin "Creating named group and user" > enewgroup named 40 > enewuser named 40 -1 /etc/bind named
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 342813
:
252081
|
252085