Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330893 - Missing strings command for pptpsetup
Summary: Missing strings command for pptpsetup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: All ISO (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 19:02 UTC by Nicholas Fiorentini
Modified: 2012-05-28 17:12 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 Nicholas Fiorentini 2010-08-02 19:02:57 UTC
Hi,
I'm running the minimal x86 2010 install CD and I have to connect using pptpsetup. The command fail due to a missing "strings" command. This command is called in the pptpsetup script in order to check MMPE.

Workaround: comments the lines where the "strings" command is called (and make sure the function returns 1, MPPE is correct loaded by the minimal gentoo).

Reproducible: Always

Steps to Reproduce:
1. run pptpconfig on a network with MMPE authentication.

Actual Results:  
Program failure with the error:
"sh: strings command not found
pptpsetup couldn't find MPPE support in pppd."

Expected Results:  
Correct execution of the command and connection.
Comment 1 Nicholas Fiorentini 2010-08-02 19:04:23 UTC
(In reply to comment #0)
> Steps to Reproduce:
> pptpsetup couldn't find MPPE support in pppd."

isn't pptpsetup but pptpconfig ;)
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-05-13 21:27:19 UTC
This seems to be a missing dep.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-10-24 16:45:49 UTC
@net-dialup:

Can you please comment on this bug?
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2011-10-24 17:10:41 UTC
Jorge actually I'm unsure how to fix this and I'm open to suggestions. Yes, pptpsetup has 
strings `which pppd`|grep -i mppe|wc --lines
command and thus uses strings. But strings comes from binutils and thus normally it exits on user systems:

tablet ~ # qfile strings
sys-devel/binutils (/usr/x86_64-pc-linux-gnu/binutils-bin/2.21.1/strings)
tablet ~ # ls -la /usr/bin/strings
lrwxrwxrwx 1 root root 27 Сен 29 16:38 /usr/bin/strings -> x86_64-pc-linux-gnu-strings

I can put DEPEND on binutils, but I remember catalyst somehow cleans binutils. Am I correct? Will RDEPEND on binutils fix this issue? Or ... may be livecd should create strings symlink and use strings from busybox?
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-10-24 18:01:36 UTC
Thanks to Peter's pointer, I was able to trace the issue to the specs dropping the strings symlink[1] (line 298) and the binutils symlinks (line 301).

 [1] - http://sources.gentoo.org/cgi-bin/viewvc.cgi/releng/trunk/releases/weekly/specs/amd64/installcd-stage2-minimal.spec?revision=796&view=markup

Unless someone can present a good reason not to, I'd suggest we stop dropping the symlinks.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-11-07 01:02:07 UTC
This should now be fixed after updating the specs to stop dropping binutils. Please test the new CDs that will be built this week or test the latest admincd[1].

 [1] - http://www.jmbsvicetto.name/releases/amd64/hardened/20111106/admincd-amd64-20111106.iso
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-05-28 17:12:41 UTC
I've confirmed strings is present in the last CDs.