Red Hat Bugzilla – Bug 498302
Last modified: 2009-08-27 18:56:07 EDT
Description of problem:
/usr/share/smolt/client/os_detect.py:103: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
child_stdin, child_stdout = os.popen2(command)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
No deprecation warning..
Minor nuance does not stop to eat babies..
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
Fixed upstream, will be released with the version we're shipping in a week or two.
Has this update been abandoned? It is two months since comment #2 !
smolt-1.3-1.fc11 has been submitted as an update for Fedora 11.
Closing this bug was perhaps premature.
Trying the new build smolt-1.3-1.fc11
[mike@samsung2 ~]$ smoltSendProfile
Unable to save UUID, continuing...
Your UUID file could not be created: [Errno 13] Permission denied: '/etc/smolt/hw-uuid'
The file referenced does not exist in the /etc/smolt directory.
... that has nothing to do with the bug you reported. I'll fix it in a bit though.
Oh wait, this is from you not running smolt as root. It doesn't have permission to write there.
But I have never had to run smolt as root before F11? Has policy changed?
In F10 I can run smoltSendProfile as a normal user and there is no hw-uuid created in /etc/smolt/
Confirmed that the new version does work as root but not as user - which is more secure and probably better than previous versions.
The comments I added above refer to running on a Samsung NC10 with smolt data
However strangely I tried the original smolt running in F11 on a Dell Dimension 2400 which allowed me to run smoltSendProfile as a normal user though with the originally reported bug symptoms. However it did generate the profile correctly and produced it in
Then I updated from smolt-1.2-4.2.fc11 to smolt-1.3-1.fc11
Then it gives the same behaviour as in comments #9 and #10
So it seems that the need to run as root is new behaviour - which I do endorse!
You can still run smoltSendProfile as a non-root user. The error you are seeing is a non-fatal error. It just indicates that normal users can't write to /etc/ because they can't :)
smolt-1.3-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.