VectorLinux
October 21, 2014, 09:59:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 ... 3 4 [5] 6 7
  Print  
Author Topic: The VL-hot thread  (Read 53531 times)
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #60 on: August 21, 2008, 09:22:58 am »

We now have vl-hot-config working with the codepages and charsets, without them, it was breaking vl-hot.conf, as it would save empty strings to those and so mount would fail. I will be off on vacation/holiday to the beach for a couple of weeks, so I might not have time to build and upload a new package, but you can checkout the HEAD from the BerliOS svn, there is a compiled vl-hot-config in there.

I have not see this to tell you the truth... I thought you could put your settings wherever you want... I have /etc/vpackager.conf now, which has been there since the G1 era. I've made changes to it, but never seen anything like a fixed path

Hmm... I will have to check your code, when I moved from G1 to G2-2.8.0, the settings code broke, when checking the help for the new syntax, it seemed to be saying that it was a fixed path.

Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
123456789
Member
*
Posts: 1


« Reply #61 on: September 18, 2008, 10:13:41 pm »

Problem: VL-hot mounted external harddisks
appear to be noexec by default.  Enabling exec
in the Mount tab of vl-hot-config does indeed
cause a line in /etc/udev/vl-hot.conf like this:
        MOUNTSYNC="noatime,exec"
but the volumes still seem to be mounted noexec:
attempts to directly run scripts from them
continue to fail with errors like
        /bin/sh: bad interpreter: Permission denied
Since the volumes don't show up in mtab and
I'm not familiar with udev, I could not determine
whether the problem is on the udev or on the
vl-hot side.  But skimming over the udev changelog
after 118, nothing jumped out at me, so I report this
here.
By the way, neither "excluding" nor "including" the
device in question (/dev/sdb6) in the
Mount tab in vl-hot-config seemed to make
any difference, so maybe I just don't get it
how this tab is supposed to be used.

Workaround: Creating a manual fstab entry
with mount options defaults,noatime,exec,rw
solved this problem for me. 

Configuration:
Approx. VL-current as of 2008-09-12
vl-hot-config 1.0.4
udev 118
Linux 2.6.22.19 SMP
External partition type: reiserfs

For the next vl-hot release, it would be nice to
know if exec is actually supposed to work,
and/or how to debug this further.

In any case: Thanks a lot for VectorLinux!
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #62 on: October 18, 2008, 04:53:07 am »

Just uploaded vl-hot-1.9.20 and vl-hot-config-1.9.20 packages at the BerliOS project page. I'll have to leave the source code svn commits for another day though.

Main changes are: ported to Gambas2, a rethink of alert and debug messages, extensive debugging and refactoring, UI fixes and a whole other bunch of details I forgot to write down along the way... Roll Eyes

https://developer.berlios.de/projects/vl-hot/
« Last Edit: October 18, 2008, 05:05:17 am by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #63 on: October 18, 2008, 05:03:38 am »

Problem: VL-hot mounted external harddisks
appear to be noexec by default.  Enabling exec
in the Mount tab of vl-hot-config does indeed
cause a line in /etc/udev/vl-hot.conf like this:
        MOUNTSYNC="noatime,exec"
but the volumes still seem to be mounted noexec:
attempts to directly run scripts from them
continue to fail with errors like
        /bin/sh: bad interpreter: Permission denied

I can confirm this. I missed it because I never needed to exec anything from a pendrive or USB drive before. Nobody else reported it before either. This will take some study, because the actual mount command issued seems correct, but the resulting mount is actually "noexec"... Shocked

actual command executed for my FAT32 pendrive:
Quote
mount -t vfat -o noatime,exec,uid=root,gid=users,fmask=0111,dmask=0000,quiet,user,shortname=mixed,codepage=850,iocharset=iso8859-1 /dev/vl-hot/sda1 /mnt/vl-hot/KINGMAX

result of running the mount command afterwards to check the mount point:
Code:
/dev/sda1 on /mnt/vl-hot/KINGMAX type vfat (rw,noexec,nosuid,nodev,noatime,uid=0,gid=100,fmask=0111,dmask=0000,quiet,shortname=mixed,codepage=850,iocharset=iso8859-1)

Any ideas?

By the way, neither "excluding" nor "including" the
device in question (/dev/sdb6) in the
Mount tab in vl-hot-config seemed to make
any difference, so maybe I just don't get it
how this tab is supposed to be used.

All the UI elements in vl-hot-config (and my other programs , like vcpufreq, for that matter) have a pop-up message explaining them. In this case, you can see that it says:
"Enter a space-delimited list. Example: sda*, sdb1, sdc2"

IOW, loose the "/dev/" part and trailing slash.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
wcs
Packager
Vectorian
****
Posts: 1144


« Reply #64 on: October 18, 2008, 08:44:37 am »

Quote
Any ideas?

I think it's because "exec" needs to come after "user".

From the "user" option in "man mount":
Quote
This option implies the options noexec, nosuid, and nodev (unless  overridden by subsequent options, as in the option line user,exec,dev,suid).
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #65 on: October 20, 2008, 08:29:54 am »

I think it's because "exec" needs to come after "user".

Dang, I knew "default" had to be overridden later on the line, if used; missed the same about "user" though"! Thanks, I'll get on it tonight, if I can.
« Last Edit: October 20, 2008, 10:57:50 am by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #66 on: October 20, 2008, 11:38:18 am »

Thanks for all your hard work on this.
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #67 on: October 21, 2008, 02:07:09 pm »

Thanks for all your hard work on this.

You're welcome! Version 1.9.21 packages are up on the BerliOS project page now, for your upgradepkg pleasure... Grin

I moved the "user" to the start of mount options in vl-hot-functions, so overrides (like "exec") should work. Please test this, as I didn't have time to format my pendrive into a Linux filesystem and exec obviously does nothing on FAT32. This begs the question: would it be useful/necessary/practical to define mount options per different filesystem type?

The subversion source code repo trunk is now updated and also tag 1.9.21 created.

http://developer.berlios.de/projects/vl-hot/
« Last Edit: October 21, 2008, 02:10:11 pm by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #68 on: October 21, 2008, 09:10:59 pm »

Joe:  Would you like the latest version added to the testing repository?

Pls let me know,
Cait
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #69 on: October 21, 2008, 10:21:47 pm »

I think we should, it seems to be working pretty well, at least for me... Wink

I'm about ready to call it 2.0 after I get some feedback on the exec issue.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #70 on: October 21, 2008, 10:30:50 pm »

Joe:  I grabbed the two VL 5.9 packages.  I didn't see any for VL 6.0 nor did I see source tarballs or build scripts for our source repositories.  PM me and let me know where I should be looking, please.

I'm actually doing VL 6 repo maintenance now.  I'll get to the VL 5.9 stuff tomorrow.
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #71 on: October 21, 2008, 10:57:19 pm »

Sorry about that, I haven't gotten around to making source tarballs yet. I could try and set up a packaging script that pulls from the svn repo. Anyway, you can just copy and rename the packages to 1vl6, there's nothing in there that's version specific. One thing though, I have been using Gambas2 2.8.x for some time now and we only have 2.5.0 in the 5.9 and 6.0 repos. This could affect vl-hot-config. I'm not sure who built the last one, but we need to nudge them to set up Gambas2-2.8.2 runtime packages.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #72 on: October 22, 2008, 08:45:39 am »

I did the last packages, and i can do current versions, when I get back home next monday.
If anyone want to grab the buildscript before i get back they are welcome to it.
Joe, IIRC it is your buildscript we have been using.
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #73 on: October 22, 2008, 09:40:12 am »

Hmm... my gambas buildscript was giving me some errors on 2.7.x and upwards, so I had to remove some of the cp instructions, then ended up just removing the "stop on any error" stuff. I've lacked the time to finish the changes necessary to build gambas in separate packages as defined by the developer, and also to make it compatible with the default VL buildscript. Still, I guess it will have to do for now... Grin  However, I won't be around to make and upload a presentable runtime package out of my not-so-presentable full package until Saturday or perhaps even Monday.
« Last Edit: October 22, 2008, 09:45:27 am by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #74 on: November 03, 2008, 09:40:19 pm »

Has anybody tried "exec" yet?
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Pages: 1 ... 3 4 [5] 6 7
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!