Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338188 - net-misc/bird incorrect working of init-script
Summary: net-misc/bird incorrect working of init-script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 12:23 UTC by Azamat H. Hackimov
Modified: 2011-03-31 09:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
initd-v4-bird-1.2.4.diff (initd-v4-bird-1.2.4.diff,423 bytes, patch)
2010-09-20 12:23 UTC, Azamat H. Hackimov
Details | Diff
initd-v4-bird-1.2.4 (bird,935 bytes, text/plain)
2010-09-20 13:12 UTC, Azamat H. Hackimov
Details
bird (bird,938 bytes, text/plain)
2010-09-21 04:35 UTC, Azamat H. Hackimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Azamat H. Hackimov 2010-09-20 12:23:13 UTC
Currently init-script cannot correct shutdown bird server. It can't track socket /var/run/bird.ctl (this file not regular file but socket, so there should be -S check instead -f), additionly path for birdc is wrong - it should be /usr/bin/birdc, not /usr/sbin/birdc.

Attached diff for init IPv4 1.2.4. For IPv6 same patch should be applied.
Comment 1 Azamat H. Hackimov 2010-09-20 12:23:48 UTC
Created attachment 248155 [details, diff]
initd-v4-bird-1.2.4.diff
Comment 2 Azamat H. Hackimov 2010-09-20 13:12:55 UTC
Created attachment 248162 [details]
initd-v4-bird-1.2.4

Additionly since 1.2.4 bird support reloading function, full init-script for IPv4 (with fix for stopping) included.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-20 20:18:18 UTC
Please replace '&> ...' with '> ... 2>&1' as with OpenRC the init.d scripts are supposed to be POSIX-compliant.
Comment 4 Azamat H. Hackimov 2010-09-21 04:35:27 UTC
Created attachment 248245 [details]
bird

Rewritten initscript for bird, now it uses start-stop-daemon.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2011-03-31 09:48:47 UTC
+*bird-1.3.0 (31 Mar 2011)
+
+  31 Mar 2011; Tony Vroon <chainsaw@gentoo.org> +files/1.3.0-v4-v6-build.patch,
+  -bird-1.2.3-r1.ebuild, +files/initd-v4-bird-1.3.0,
+  +files/initd-v6-bird-1.3.0, +bird-1.3.0.ebuild:
+  New upstream release, adds iBGP, multipath support, layer 2 link state
+  detection, IPv6 RAs and many bugfixes. OSPF now supports point-to-multipoint
+  interfaces. Azamat H. Hackimov has provided completely new initscripts and
+  important socket path fixes, closes bugs #338118 and #338188.

Your contribution to Gentoo Linux is highly appreciated!