Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50458 - pure-ftpd ebuild results in non working pure-ftpd on kernel 2.6.x
Summary: pure-ftpd ebuild results in non working pure-ftpd on kernel 2.6.x
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-08 08:09 UTC by Radoslaw Stachowiak (RETIRED)
Modified: 2004-06-16 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-05-08 08:09:00 UTC
ebuild should include --without-capabilities for kernel 2.6 for ./configure call (econf).

Reproducible: Always
Steps to Reproduce:
1. emerge pure-ftpd on kernel 2.6.x
2.
3.

Actual Results:  
non working pure-ftpd
Comment 1 Nick Hadaway 2004-05-20 16:19:45 UTC
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?
Comment 2 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-05-21 00:53:39 UTC
it reports that kernel does not have capabilities enabled or sth like that.
during pure-ftpd compilation, you can do:
./configure --with-capabilities <blablabla>
or
./configure --without-capabilities

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.
Comment 3 Nick Hadaway 2004-06-07 22:48:57 UTC
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.
Comment 4 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-06-16 06:23:35 UTC
new data:
plain vanilla 2.6.7
emerge -v pure-ftpd
/etc/init.d/pure-ftpd start
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?