Bug 12440

Summary: quagga system is built without libcap support
Product: Sisyphus Reporter: Dmitry V. Levin <ldv>
Component: quaggaAssignee: Sergey Y. Afonin <asy>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P2 CC: asy, rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Dmitry V. Levin 2007-08-01 20:18:25 MSD
"On systems which have the 'libcap' capabilities manipulation library (currently
only linux), the quagga system will retain only minimal capabilities required,
further it will only raise these capabilities for brief periods. On systems
without libcap, quagga will run as the user specified and only raise its uid
back to uid 0 for brief periods."

See
$ info quagga installation configure least
for details.
Comment 1 Sergey Y. Afonin 2007-08-02 11:08:33 MSD
Есть проблема. С libcap не собирается без
export LDFLAGS="$LDFLAGS -Wl,--no-as-needed"

Стоит так собрать 0.99.8-alt1 ? Боюсь, я долго с as-needed проковыряюсь в 
данном случае.
Comment 2 Dmitry V. Levin 2007-08-02 12:19:04 MSD
OK, соберите сначала без libcap.
Comment 3 Sergey Y. Afonin 2007-08-02 14:19:20 MSD
в смысле с --no-as-needed ? Без libcap оно и сейчас собрано.
Comment 4 Dmitry V. Levin 2007-08-02 14:23:13 MSD
С --no-as-needed собирать не надо.
Не стоит откладывать сборку новой версии.
Comment 5 Sergey Y. Afonin 2007-08-07 11:28:56 MSD
Что-то я сразу не подумал. Ещё просто export LIBS="-lcap" помогает. То, что
-lcap присутствует в вызовах дважды кое-где, думаю, не страшно ?
Comment 6 Sergey Y. Afonin 2007-08-08 12:45:14 MSD
пересобрано с export LIBS="-lcap"