FS#30958 - cifs-utils tries to use /bin/systemd-ask-password

Attached to Project: Arch Linux
Opened by Ben Woodward (Sacro) - Wednesday, 01 August 2012, 12:37 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 06 August 2012, 16:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm trying to mount a passworded Samba share, I'm guessing it's trying to pop up a dialog box to ask for the password but as the binary has a hardcoded path it's unable to find it.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 06 August 2012, 16:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.6-2
Comment by Dave Reisner (falconindy) - Wednesday, 01 August 2012, 12:53 GMT
Yeah... cifs-utils is using an entirely broken implementation of a password agent

http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents

Regardless, systemd-ask-password was _never_ in /bin.
Comment by Tobias Powalowski (tpowa) - Wednesday, 01 August 2012, 14:05 GMT
So what to do now?
Comment by Dave Reisner (falconindy) - Wednesday, 01 August 2012, 14:11 GMT
My vote: file a bug upstream and disable building with systemd support in cifs-utils for now. grep'ing through the codebase, this is the only thing that building with systemd support provides.
Comment by Ben Woodward (Sacro) - Wednesday, 01 August 2012, 14:18 GMT
That and possibly sed the correct path?
Comment by Dave Reisner (falconindy) - Wednesday, 01 August 2012, 14:19 GMT
No, the point would be that disabling systemd support removes the ability to use systemd-ask-password and it simply falls back on the old getpass(3) method.

Loading...