Bug 674184
Summary: | mkpasswd fails randomly | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bombshell | ||||
Component: | expect | Assignee: | Vitezslav Crhonek <vcrhonek> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 14 | CC: | vcrhonek | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | expect-5.44.1.15-2.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-03-24 19:29:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
bombshell
2011-01-31 21:49:00 UTC
I tested mkpasswd utility - running it few days non-stop - without fail. I'm unable to reproduce it. Closing... please feel free to reopen the bug once you get reproducer or at least error message. As promise, I reopen this bugs ": must be -i, -h, -s, -null, -0, -raw, -break, or -- while executing "send "$password\r"" invoked from within "expect { "assword*:" { # some systems say "Password (again):" send "$password\r" exp_continue } }" invoked from within "if {[info exists user]} { if {!$verbose} { log_user 0 } spawn $prog $user expect { "assword*:" { # some systems say "Password (again):" ..." (file "/usr/bin/mkpasswd" line 191) This even well it fails at. I should mention, when I said randomly, I meant, it's random or rare but here it is =] Thanks, I'm able to reproduce the problem now. You didn't mentioned before, that you execute the command with user name argument... Created attachment 485733 [details]
proposed patch
Fail occurs when the new randomly generated password contains dash, respectively, when it begins with dash. Patch above resolves the issue.
New expect package will be available in testing soon, please test it and let me know, how does it work.
expect-5.44.1.15-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/expect-5.44.1.15-2.fc14 expect-5.45-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/expect-5.45-3.fc15 I would have mention it if you have had asked but I am glad that it is fixed. Thanks. expect-5.45-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. expect-5.44.1.15-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |