Bug 12440 - quagga system is built without libcap support
: quagga system is built without libcap support
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/quagga)
: unstable
: all Linux
: P2 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-08-01 20:18 by
Modified: 2007-08-08 12:45 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-08-01 20:18:25
"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 From 2007-08-02 11:08:33 -------
Есть проблема. С libcap не собирается без
export LDFLAGS="$LDFLAGS -Wl,--no-as-needed"

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