Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642108 - net-misc/olsrd-0.9.6.1 config file naming inconsistencies
Summary: net-misc/olsrd-0.9.6.1 config file naming inconsistencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-23 13:03 UTC by Nico Baggus
Modified: 2018-11-23 17:19 UTC (History)
2 users (show)

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 Nico Baggus 2017-12-23 13:03:56 UTC
Config file is placed in /etc/olsrd/oslrd.conf
init script requires configfile in /etc/oslrd.conf (hard coded).

As shown in attempt to start after editing /etc/olsrd/olsrd.conf

 * You need a /etc/olsrd.conf file to run olsrd
 * There is sample file in /usr/share/doc/olsrd-version/
 * ERROR: olsrd failed to start

the directory /usr/share/doc/olsrd-version/ does not exist but is named:

# ls -l  /usr/share/doc/olsrd-0.9.6.1                           
total 120
-rw-r--r-- 1 root root 46255 Dec 23 13:46 CHANGELOG.bz2
-rw-r--r-- 1 root root   527 Dec 23 13:46 README_ARPREFRESH.bz2
-rw-r--r-- 1 root root 10169 Dec 23 13:46 README_BMF.bz2
-rw-r--r-- 1 root root   695 Dec 23 13:46 README_DOT_DRAW.bz2
-rw-r--r-- 1 root root  2445 Dec 23 13:46 README_DYN_GW.bz2
-rw-r--r-- 1 root root   379 Dec 23 13:46 README_DYN_GW_PLAIN.bz2
-rw-r--r-- 1 root root  1117 Dec 23 13:46 README_HTTPINFO.bz2
-rw-r--r-- 1 root root   447 Dec 23 13:46 README_MINI.bz2
-rw-r--r-- 1 root root  2809 Dec 23 13:46 README_NAMESERVICE.bz2
-rw-r--r-- 1 root root  1380 Dec 23 13:46 README_PGRAPH.bz2
-rw-r--r-- 1 root root  1114 Dec 23 13:46 README_QUAGGA.bz2
-rw-r--r-- 1 root root   893 Dec 23 13:46 README_SECURE.bz2
-rw-r--r-- 1 root root   660 Dec 23 13:46 README_TXTINFO.bz2
-rw-r--r-- 1 root root   431 Dec 23 13:46 README_WATCHDOG.bz2
-rw-r--r-- 1 root root   192 Dec 23 13:46 olsrd.conf.default.lq.bz2
-rw-r--r-- 1 root root   228 Dec 23 13:46 olsrd.conf.default.rfc.bz2
-rw-r--r-- 1 root root   714 Dec 23 13:46 valgrind-howto.txt.bz2

For now i solved the crytical part with a symlink of /etc/oslrd.conf -> oslrd/oslrd.conf
Comment 1 Nico Baggus 2017-12-23 13:16:57 UTC
the various documents point to /etc/olsrd/olsrd.conf as the correct config file, so the init stript needs a change.
Comment 2 Nico Baggus 2018-01-07 18:17:48 UTC
oslrd is a tool i will use in the near future, so low/no prio for me.
Comment 3 Larry the Git Cow gentoo-dev 2018-11-18 01:18:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a5ba525fbef8709e1972830b31ade6744e0208

commit 28a5ba525fbef8709e1972830b31ade6744e0208
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-11-18 00:52:36 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-11-18 01:17:57 +0000

    net-misc/olsrd: bump to v0.9.6.2
    
    - EAPI bumped to EAPI=7
    
    - New run script [Bug 642108]
    
    Closes: https://bugs.gentoo.org/642108
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-misc/olsrd/Manifest             |   1 +
 net-misc/olsrd/files/olsrd-r1.initd |   4 ++
 net-misc/olsrd/olsrd-0.9.6.2.ebuild | 108 ++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2018-11-23 16:52:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2336e0d0c0b0fd2709f637618275cedd67bfeef1

commit 2336e0d0c0b0fd2709f637618275cedd67bfeef1
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-11-23 16:47:24 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-11-23 16:52:17 +0000

    Revert "net-misc/olsrd: bump to v0.9.6.2"
    
    Official releases can be found at http://www.olsr.org/releases/
    0.9.6.2 is not an official release and does not even work properly.
    
    This reverts commit 28a5ba525fbef8709e1972830b31ade6744e0208.
    
    Bug: https://bugs.gentoo.org/642108
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-misc/olsrd/Manifest             |   1 -
 net-misc/olsrd/files/olsrd-r1.initd |   4 --
 net-misc/olsrd/olsrd-0.9.6.2.ebuild | 108 ------------------------------------
 3 files changed, 113 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2018-11-23 17:19:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d66bf7c10aa06b920a15612965ba3695e460f4

commit 28d66bf7c10aa06b920a15612965ba3695e460f4
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-11-23 17:19:15 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-11-23 17:19:27 +0000

    net-misc/olsrd: Fix configuration warning in init script
    
    While there, decompress manual pages, too.
    
    Fixes: https://bugs.gentoo.org/642108
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-misc/olsrd/files/olsrd             |   4 +-
 net-misc/olsrd/olsrd-0.9.6.1-r1.ebuild | 101 +++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+), 2 deletions(-)