chfn times out on fedora

Bug #1315709 reported by John Regan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mugshot
Fix Released
High
Unassigned

Bug Description

I tried installing Mugshot on Fedora 20, and when I go to save my user information, I see a warning: "Timeout reached, password was likely incorrect."

From a quick glance of the code, it looks like Mugshot is using Expect to spawn and run chfn in interactive mode, and is expecting chfn to prompt for the password immediately. On my install of Fedora 20, it doesn't prompt for the password until it's finished running in interactive mode.

I'm not sure if chfn is different on Ubuntu, but in the man page it looks like you can just specify everything on the command line, which would simplify things a bit.

Revision history for this message
Sean Davis (bluesabre) wrote :

That's really embarrassing that I missed the non-interactive mode. Yes, this will greatly simplify things. I'll add this next and include it into the next release.

Changed in mugshot:
status: New → Triaged
importance: Undecided → High
Sean Davis (bluesabre)
Changed in mugshot:
status: Triaged → Fix Committed
Sean Davis (bluesabre)
Changed in mugshot:
milestone: none → 0.2.4
Sean Davis (bluesabre)
Changed in mugshot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.