Comment 40 for bug 1486731

Revision history for this message
In , Zoltan (zoltan-redhat-bugs) wrote :

Description of problem:

After upgrading to HPLIP 3.15.7-1, scanning on my LaserJet Pro 200 color MFP M276mw ceased to work, as usual, the plugins must be updated.

Now, when running "sudo hp-plugin -i" I am greeted with:

error: hp-plugin should not be run as root/superuser

OK, tried again with my user but I don't know how it will install the plugins system-wide. Now, "hp-plugin -i" seems to work, until after it properly downloaded hplip-3.15.7-plugin.run. Then it just spins its progress indicator and "pstree -pl" shows this:

|-bash(7573)---hp-plugin(10319)---sh(10356)---hplip-plugin-in(10414)---python3(10417)---su(10443)

Apparently, "su" is run but no root password prompt is shown and neither any GUI helper shows up in X11. Ctrl-C obviously stops "su" and hp-plugin reports the keyboard stopping, the result is that no plugin is installed.

"dnf downgrade hplip hplip-gui hpijs hplip-compat-libs libsane-hpaio hplip-libs hplip-common" downgraded to 3.15.2 but "sudo hp-plugin -i" shows the same error as the last comment in #1196237 :

error: /root/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered

Version-Release number of selected component (if applicable):

3.15.7-1.fc22

How reproducible:

Always.

Steps to Reproduce:
1. Run "hp-plugin -i"
2.
3.

Actual results:

As described above.

Expected results:

"hp-plugin -i" should be able to run as root as it always did. After all, machines can be upgraded remotely and setting them up should also be able to be done by the administrator.

Additional info:

Running "hp-plugin" without "-i" does the same, but with the wizard window shown up. The download progress is shown but after pressing the Next button makes it stall, too. The "su" command is also there in pstree.