Bug 235129
| Summary: | gparted needs to use new hal-lock(1) tool | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Zeuthen <davidz> |
| Component: | gparted | Assignee: | Deji Akingunola <dakingun> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | mclasen |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gparted-0.3.3-10.fc7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-04-19 18:06:35 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 150226, 234082, 236601 | ||
|
Description
David Zeuthen
2007-04-03 20:59:09 UTC
Hi David, You're so reading my mind, I just did this last night (see the commit mail @ https://www.redhat.com/archives/fedora-extras-commits/2007-April/msg00297.html, and a follow up https://www.redhat.com/archives/fedora-extras-commits/2007-April/msg00303.html). I was waiting for the build to be pushed out before commenting on it on the FC6's USB-mount bug. Thanks for the new tool, it works like a charm. Awesome, thank you so much for fixing this! Seems like this doesn't work:
[davidz@zelda ~]$ cat /etc/security/console.apps/gparted
USER=root
PROGRAM=%{_bindir}/run_gparted
SESSION=true
[davidz@zelda ~]$ cat /usr/bin/run-gparted
#!/bin/bash
%{_bindir}/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive
--run %{_sbindir}/gparted
[davidz@zelda ~]$ cat /usr/share/applications/fedora-gparted.desktop |grep Exec
Exec=gparted
[davidz@zelda ~]$ rpm -q gparted
gparted-0.3.3-8.fc7
(In reply to comment #3) > Seems like this doesn't work: I don't understand, how do you mean doesn't work? /usr/bin/gparted is a link to consolehelpher, which runs %{_bindir}/run_gparted when its called. It sure does WORKSFORME ;), unless I'm missing something simply obvious. What I pasted in comment 3 was the content of the _files_ shipped in the RPM's. 1. You can't use ${_bindir}; it needs to be expanded in the final files. 2. The console helper file says run_gparted while the binary is actually called run-gparted... 3. Also, g-v-m happily automounts when launching gparted. Wow thanks, its so stupid of e to make all those mistakes and typos. I have fixed them in cvs.
still happening with gparted-0.3.3-9.fc7
cat/usr/bin/run-gparted
#!/bin/bash
%{_bindir}/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive
--run /usr/sbin/gparted
Yeah, sorry about that, have already fixed it in gparted-0.3.3-10.fc7 This is now finally fixed with gparted-0.3.3-10.fc7. i get a pop-up which says the enlcosed interface is locked if I connect an external drive while gparted is running Thanks for doing this - I just confirmed that it's working. I've filed bug 237152 against gnome-mount for the issue mention in comment 9. Will work on a fix for Fedora 7. |