Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 3 4 [5] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: gaprted.uci< Next Oldest | Next Newest >
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: June 09 2008,10:23 QUOTE

Perhaps HAL is all of those things and worse, but it is increasingly being required as a dependency.  If the kernel support is there (which is what I meant), the userspace stuff presumably could be an extension. I suggest this is OT and for another thread.   Robert sent me a PM telling me off the last time I got OT :=)

Back to gparted.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 09 2008,14:15 QUOTE

Quote
gparted_start.sh just calls sudo gpartedbin on the uci that I have.

There is a script /opt/gparted/sbin/gparted that looks like it implements the lock with hal-lock when running gpartedbin.

[I think] Starting gpartedbin directly doesn't get around the hal requirement, and it appears no warning that it was mandatory was included in this release version.

That would make sense - I thought that gpartedbin might get round the hal thing, but your explanation makes more sense. I guess it might be smarter to go back a few versions (and indeed the gparted cd was a few versions earlier) and recompile gparted - sigh...
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: June 09 2008,18:37 QUOTE

Try checking out and compiling the svn sources first.

As I said above, the developers have just removed the hal requirement (or made it optional).  There must have been other problems.

But (this early) this change will probably only be in the svn sources, not the release tarball that you built the extension from.

So maybe fire up the svn uci.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 12 2008,09:30 QUOTE

I just compiled gparted-0.3.5 to see if this would get around the hal issue and realised the cause of the problem might be something else...

gparted needs to be run as root and cannot be run via set uid root - I had started gpartedbin using sudo in the gparted_start.sh wrapper, but maybe this was, ahem, too simplistic.

I see a difference in the way gparted acts when started from a root window (exec /opt/gparted/sbin/gpartedbin &) as compared to starting it via the icon/menu item. At the moment I have only my usb boot laptop with ntfs hd to test - in both cases (icon start & root window start) gparted finds the two hd partitions, but it cannot read the partitions in the case of the icon start.

Maybe somebody could try starting gparted from a root window to see if the device detection problem goes away?

In the meantime, what is the best way to run an application as root from an icon/menu item in dsl?
Back to top
Profile PM 
23 replies since May 22 2008,18:42 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 3 4 [5] >/
reply to topic new topic new poll
Quick Reply: gaprted.uci

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code