$ vtysh Hello, this is Quagga (version 0.99.9). Copyright 1996-2005 Kunihiro Ishiguro, et al. localhost# show start Can't open configuration file [(null)] This is because rpm creates /etc/quagga/vtysh.conf with wrong perms. Workaround is to chown quagga:quaggavt vtysh.conf just like the vtysh.conf.sample already is. Proper fix is probably something like the *as-yet-untested* specfile patch attached. Thanks!
Created attachment 281631 [details] seed proper perms on vtysh.conf
Hi, I'm using default settings and when executing vtysh as root I don't see this problem. When I try using my regular (wheel) user, vtysh just quietly quit. Then I uncommented this line in /etc/pam.d/quagga: auth sufficient pam_wheel.so trust use_uid And now vtysh claims it cannot connect to any daemons. strace revealed that: connect(3, {sa_family=AF_FILE, path="/var/run/quagga/zebra.vty"}, 27) = -1 EACCES (Permission denied) Just to make it short, your fix is simple and reasonable, but I would like to know, what is the standard way to configure quagga so that a regular user can use vtysh? I need this so I can reproduce this bug and verify the fix. Your help would be much appreciated. Thanks.
Make that user *both* a member of wheel and quaggavt.
Thank you for your quick response, I can now reproduce this. I'll fix this shortly.
Fixed in rawhide: quagga-0.99.9-6.fc9 Thanks for reporting this and for patch.