Bug 12440 - quagga system is built without libcap support
Summary: quagga system is built without libcap support
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: quagga (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Sergey Y. Afonin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 20:18 MSD by Dmitry V. Levin
Modified: 2007-08-08 12:45 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"