Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336220 - net-misc/quagga-0.99.17-r1: can't find /etc/pam.d/quagga and can't run vtysh command.
Summary: net-misc/quagga-0.99.17-r1: can't find /etc/pam.d/quagga and can't run vtysh ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
: 336222 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-06 13:53 UTC by Kazunori Kojima
Modified: 2010-09-06 14:19 UTC (History)
1 user (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 Kazunori Kojima 2010-09-06 13:53:30 UTC
I can't run "vtysh" command.
quagga-0.99.17-r1.ebuild is install "quagga.pam" to "/etc/pam.d/Quagga".
But vtysh use "/etc/pam.d/quagga".

worked with follow fix.

-       use readline && newpamd "${FILESDIR}/quagga.pam" Quagga
+       use readline && newpamd "${FILESDIR}/quagga.pam" quagga


Reproducible: Always

Steps to Reproduce:
1. emerge =net-misc/quagga-0.99.17-r1
2. run vtysh
3.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-06 14:12:55 UTC
*** Bug 336222 has been marked as a duplicate of this bug. ***
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-06 14:13:43 UTC
Hm so I have a problem here; I assumed quagga was right, but the source code would suggest me it's looking for Quagga (capital Q).

I _really_ need to fix that frigging build system.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-06 14:19:14 UTC
Fun! Linux-PAM lowercases the service name on pam_start but _does not document it anywhere_.

Thanks guys, it's fixed in -r2 and sorry for the trouble!