named won't start when compiled with USE=threads: * Starting named ... named: -u with Linux threads not supported: no capabilities support or capabilities disabled at build time [ !! ] Reproducible: Always Steps to Reproduce: (as root) 1. USE='berkdb -bind-mysql -caps -dlz -doc -idn ipv6 -ldap mysql -odbc postgres -selinux ssl threads' emerge bind 2. /etc/init.d/named start Actual Results: * Starting named ... named: -u with Linux threads not supported: no capabilities support or capabilities disabled at build time [ !! ] Expected Results: * Starting named ... [ ok ] Removing "-u named" from /etc/init.d/named allows named to start.
Neglected to mention that this is bind-9.2.5-r1 (which is ~x86).
Just a suggestion - try with USE="caps"
Thanks! That did the trick.
so closing as invalid. :-)
Konstantin, should not it be impossible to specify USE="threads -caps" if bind does not work then? I cannot verify that threads require caps (no SMP machine handy now). Or maybe some ewarn that this combination of flags might not work.
Jakub: yes, threads will require caps on smp machine. you're right, i'm reopening this bug i'm going to drop "caps" use flag and automatically enable capabilities when "threads" is used.
fixed in 9.2.5-r2 and 9.3.1-r1
This should be reopened, your fix is just wrong. It should be possible to compile with --enable-linux-caps --disable-threads.