ebuild should include --without-capabilities for kernel 2.6 for ./configure call (econf).
Steps to Reproduce:
1. emerge pure-ftpd on kernel 2.6.x
non working pure-ftpd
hyperhsw pure-ftpd # uname -a
Linux hyperhsw 2.6.5-gentoo-r1 #1 SMP Tue Apr 27 21:50:04 CDT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux
hyperhsw pure-ftpd # emerge -pv pure-ftpd
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-ftp/pure-ftpd-1.0.18 +ldap +mysql +pam -postgres +ssl 0 kB
I don't have any problems with the ebuild as it is. It compiles and appears to run just fine on my test system. Can you give me a little bit more info on the problem you are experiencing. What doesn't work, specifically? Do you have any log messages that might help?
it reports that kernel does not have capabilities enabled or sth like that.
during pure-ftpd compilation, you can do:
./configure --with-capabilities <blablabla>
and "with" does not work on my 2.6.5-mm6 (mm-sources) kernel, although i configured it by hand. i didnt check gentoo-sources though.
looks like its strictly tied to capabilities.
The configure script attempts to detect whether Linux capabilities should be enabled or not. This is a reasonable default. Also there are no use flags that would apply to this configure option. Most likely since you are using a special/pre-release kernel, you are experiencing problems.
I am going to mark this as can't fix as there appears to be no specific problem with a stable 2.6 kernel and the configure script detection should generally take care of what it needs to.
If you find more details which can conclusively state that Linux capabilities should be disable for all 2.6 kernels, please re-open this bug.
plain vanilla 2.6.7
emerge -v pure-ftpd
421 Unable to switch capabilities : Operacja niedozwolona [ !! ]
what i think is that default should be WITHOUT capabilities, and enable it only
for kernels with capabilities support.
what You think?