public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Question about bird init script
@ 2019-03-04 10:33 Alarig Le Lay
  2019-03-04 14:05 ` Michael Orlitzky
  0 siblings, 1 reply; 8+ messages in thread
From: Alarig Le Lay @ 2019-03-04 10:33 UTC (permalink / raw
  To: gentoo-user

Hi again,

On another box, I’m trying to update to bird 2.0.4. I just copied the
ebuild and changed the version. If you want to have a look, it’s here:
https://git.grifon.fr/alarig/SwordArMor-gentoo-overlay/src/branch/master/net-misc/bird

It compiles well, but I have a weird behaviour on the service if I want
to stop it.
judicael-ovpn2 ~ # rc-service bird stop
 * Stopping BIRD ...
 * start-stop-daemon: 1 process refused to stop
 * Failed to stop BIRD                                                    [ !! ]
 * ERROR: bird failed to stop

But the process is actually killed and the service marked as crashed.
judicael-ovpn2 ~ # ps aux | grep bird
root     16679  0.0  0.1  10860  2152 pts/1    R+   10:48   0:00 grep --colour=auto bird
judicael-ovpn2 ~ # rc-service bird status
 * status: crashed


Otherwise, if I restart it, it works well.
judicael-ovpn2 ~ # rc-service bird zap
 * Manually resetting bird to stopped state
judicael-ovpn2 ~ # rc-service bird restart
 * Starting BIRD ...                                                      [ ok ]
judicael-ovpn2 ~ # ps aux | grep bird
root     16951 50.1  1.7  40304 35128 ?        Rs   10:49   0:03 /usr/sbin/bird -c /etc/bird.conf -s /var/run/bird.ctl
root     17063  0.0  0.1  10860  2168 pts/1    S+   10:49   0:00 grep --colour=auto bird
judicael-ovpn2 ~ # birdc 'sh pr'
BIRD 2.0.4 ready.
Name       Proto      Table      State  Since         Info
device1    Device     ---        up     10:49:03.725
direct1    Direct     ---        up     10:49:03.725
kernel_ipv4 Kernel     master4    up     10:49:03.725
kernel_ipv6 Kernel     master6    up     10:49:03.725
ibgp_nominoe_ipv4 BGP        ---        up     10:49:05.942  Established
ibgp_nominoe_ipv6 BGP        ---        up     10:49:05.942  Established
ibgp_budic_ipv4 BGP        ---        up     10:49:07.189  Established
ibgp_budic_ipv6 BGP        ---        up     10:49:07.656  Established
ospf_ipv4  OSPF       master4    up     10:49:03.725  Running
ospf_ipv6  OSPF       master6    up     10:49:03.725  Running


I looked at the init script (in the files dir of the ebuild), but I
didn’t see what could fail.

Thanks,
-- 
Alarig


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-05 20:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 10:33 [gentoo-user] Question about bird init script Alarig Le Lay
2019-03-04 14:05 ` Michael Orlitzky
2019-03-05 11:03   ` Alarig Le Lay
2019-03-05 15:01     ` Michael Orlitzky
2019-03-05 16:24       ` Alarig Le Lay
2019-03-05 19:45         ` Michael Orlitzky
2019-03-06  9:54           ` Alarig Le Lay
2019-04-05 20:55       ` Alarig Le Lay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox