00:01 | chupacabra has joined #ltsp | |
00:16 | Trixboxer has joined #ltsp | |
01:59 | mikkel has joined #ltsp | |
02:27 | gorkhaan has joined #ltsp | |
02:38 | <muppis> I mounted hacked Lacie 2Big via nfs to server. Trying to mount those directories to nfs shared homes, but mkdir fails. Any hint?
| |
02:40 | mount --bind fails, symlink point to local directory, not to servers one.
| |
03:16 | klausade has quit IRC | |
03:20 | arthurl has joined #ltsp | |
03:21 | klausade has joined #ltsp | |
03:42 | bobby_C has joined #ltsp | |
03:50 | <muppis> Ok, getting forward. Can put mounting nfs to thin's fstab as usually or is there any special place for this?
| |
03:53 | <alkisg> muppis: NFS_HOME=server:/dir in lts.conf
| |
03:54 | ..and NFS_HOME_OPTIONS
| |
03:54 | (if your ltsp version is recent enough)
| |
03:55 | <Trixboxer> alkisg: hi mate
| |
03:55 | <alkisg> Good morning
| |
03:55 | <Trixboxer> good afternoon
| |
03:55 | <muppis> alkisg, but does that mount for home dir?
| |
03:56 | <alkisg> muppis: yes, you want some other dir?
| |
03:56 | <muppis> Yes.
| |
03:56 | <alkisg> I'm not sure if the existing fstab in the chroot is respected or if regenerated on each boot on the fly
| |
03:56 | Try it, and if it doesn't work, then you'd need to add some startup script
| |
03:57 | <muppis> At least, file already exist. I'll try.
| |
03:57 | <alkisg> muppis: at least on Debian/Ubuntu, I think it's regenerated:
| |
03:57 | ltsp-trunk/client/initscripts/ltsp-init-common: echo "/dev/root / rootfs defaults 0 0" > /etc/fstab
| |
03:58 | So you'd need to add or modify a startup script..
| |
03:58 | <muppis> Ok, thanks.
| |
04:01 | <arthurl> hi
| |
04:01 | I can't find references to configure-x.sh
| |
04:01 | is this deprecated ?
| |
04:03 | <alkisg> arthurl: /opt/ltsp/i386/usr/share/ltsp/configure-x.sh
| |
04:03 | The CONFIGURE_X=True lts.conf directive is deprecated, but not the shell script which automatically handles that now
| |
04:04 | <arthurl> alkisg, I can't get X_OPTION_01 to work...
| |
04:04 | alkisg, I want to force AccelMethod to xaa
| |
04:04 | <alkisg> What do you want to put there?
| |
04:04 | Try X_OPTION_01='"AccelMethod" "XAA"'
| |
04:05 | ogra has quit IRC | |
04:05 | <alkisg> If that doesn't work, then backslashes would be needed...
| |
04:05 | !lts.conf
| |
04:05 | <ltspbot> alkisg: "lts.conf" :: http://manpages.ubuntu.com/lts.conf
| |
04:05 | <arthurl> alkisg, have tried that already
| |
04:06 | <alkisg> Another example there ^^^
| |
04:06 | <arthurl> am using ltsp-cluster if that makes a difference
| |
04:06 | <alkisg> So what do you get int xorg.conf now?
| |
04:06 | No idea about cluster, but check if your client xorg.conf contains what you put there
| |
04:06 | <arthurl> i don't get any xorg.conf
| |
04:07 | <alkisg> Try also adding CONFIGURE_X=True, but if that's needed, then it's a bug because it should happen automatically
| |
04:07 | <arthurl> alkisg, added that too, with no effect!
| |
04:08 | <alkisg> And maybe -cluster uses some different method to send lts.conf parameters, I've never used that but I think it's using something web-based...
| |
04:09 | <arthurl> alkisg, am adding the properties in the web interface which gets downloaded in /var/cache/getltscfg-cluster/lts.conf
| |
04:09 | <alkisg> So with getltscfg[-cluster?] -a in the client, do you see the setting?
| |
04:10 | <arthurl> yes
| |
04:10 | ogra has joined #ltsp | |
04:10 | ogra has joined #ltsp | |
04:11 | <alkisg> What if you put X_MODE_0=<the mode you're already using> ? Are you getting a xorg.conf then?
| |
04:12 | <arthurl> let me try that
| |
04:14 | still no xorg.conf!
| |
04:14 | <alkisg> Where are you looking for a xorg.conf?
| |
04:15 | Try ps -ef | grep -i xorg on the client...
| |
04:15 | <arthurl> /etc/X11/
| |
04:15 | <alkisg> I don't think it gets put there, I think it goes in /var/run
| |
04:15 | <arthurl> wow
| |
04:15 | OK.
| |
04:15 | <alkisg> Try the ps command above
| |
04:15 | <arthurl> /var/run/ltsp-xorg.conf
| |
04:15 | got it
| |
04:16 | <alkisg> OK, so now check again without X_MODE_0
| |
04:16 | ...and paste the X_OPTION_01 line that gets there
| |
04:16 | <arthurl> do you know if caps on XAA matters?
| |
04:22 | litlebuda has quit IRC | |
04:22 | <alkisg> No idea, I don't think so
| |
04:23 | litlebuda has joined #ltsp | |
04:27 | daya has quit IRC | |
04:29 | <alkisg> Someone had posted a link where Finland LTSP installations showed up in a google map... anyone remembers the link?
| |
04:34 | <elias_a> alkisg: Here: http://maps.google.com/maps/ms?ie=UTF8&hl=fi&msa=0&msid=108602642792299127542.00047c8e079f3cf3e9aa5&z=6
| |
04:34 | "I made this!" ;-)
| |
04:34 | With a lot of help from my friends :)
| |
04:34 | <alkisg> Thank you elias_a!
| |
04:34 | I think we'll make one for Greece, too
| |
04:35 | <elias_a> alkisg: Please do that!
| |
04:35 | <alkisg> Are you yourself putting all the pins? Or are the schools allowed to put their own?
| |
04:35 | <elias_a> alkisg: The schools may put their own.
| |
04:35 | <alkisg> Perfect!
| |
04:35 | <elias_a> Actually - we could make a pan-European map :)
| |
04:37 | <alkisg> Good idea! Could you provide a small how-to?
| |
04:38 | <elias_a> alkisg: It is quite simple - you just create a map with some pointed entries and tell the folks to follow the same scheme.
| |
04:38 | I did have a mailing list that helped promoting.
| |
04:39 | daya has joined #ltsp | |
04:39 | * alkisg needs to go for a while, will read the backlogs later, thank you elias_a, I'll work on that soon! | |
04:46 | alkisg has quit IRC | |
05:02 | mistik1_ has joined #ltsp | |
05:04 | mistik1 has quit IRC | |
05:04 | mistik1_ is now known as mistik1 | |
05:12 | daya has quit IRC | |
05:30 | alkisg has joined #ltsp | |
05:53 | rjune has joined #ltsp | |
05:56 | [GuS] has joined #ltsp | |
05:56 | [GuS] has joined #ltsp | |
06:01 | [GuS] has quit IRC | |
06:01 | |GuS| has joined #ltsp | |
06:01 | |GuS| has joined #ltsp | |
06:25 | alkisg has quit IRC | |
06:39 | |GuS| has quit IRC | |
06:40 | [GuS] has joined #ltsp | |
06:42 | cpart has joined #ltsp | |
06:47 | alkisg has joined #ltsp | |
06:48 | cpart has quit IRC | |
06:55 | bobby_C has quit IRC | |
07:26 | alkisg has quit IRC | |
07:26 | alkisg has joined #ltsp | |
07:30 | MorningSon has joined #ltsp | |
07:57 | alkisg has quit IRC | |
07:58 | bobby_C has joined #ltsp | |
07:59 | alkisg has joined #ltsp | |
08:00 | alkisg has quit IRC | |
08:07 | robehend1 has joined #ltsp | |
08:10 | bobby_C has quit IRC | |
08:23 | litlebuda has quit IRC | |
08:24 | litlebuda has joined #ltsp | |
08:24 | arthurl has quit IRC | |
08:33 | F-GT has quit IRC | |
08:37 | cliebow has joined #ltsp | |
08:45 | F-GT has joined #ltsp | |
08:49 | rickogden has joined #ltsp | |
08:49 | <cliebow> sbalneav: How you doing??
| |
08:49 | [GuS] has quit IRC | |
08:49 | <rickogden> hi everyone
| |
08:50 | for some reason, there is a huge lag when people are typing into the terminal when using LTSP. Has anyone come across this?
| |
08:51 | <robehend1> rickogden: Never came across that, myself.
| |
08:52 | <rickogden> it's strange, the resources are fine... but it's becoming near unusable when a large number of people are on it
| |
08:52 | <robehend1> rickogden: Have you checked the LTSP server's hard disk? I've found that to be a bottleneck before
| |
08:52 | <rickogden> I haven't, I'll do an IO/top
| |
08:53 | for some reason this only happens on LTSP though, if they use NX it's fine
| |
08:53 | <robehend1> rickogden: Weird. You'd think it be the same between both..
| |
08:53 | <rickogden> yeah exactly
| |
08:55 | <robehend1> rickogden: Is it only in the terminal, or all other programs as well
| |
08:56 | <rickogden> it only seems to be terminal
| |
08:56 | and it's typing
| |
08:57 | <robehend1> rickogden: odd.
| |
09:02 | <sbalneav> Morning all
| |
09:03 | <robehend1> Mornin
| |
09:03 | Say, do I have any fellow K-12 Educators in here, who wouldnt mind me picking their brains a bit?
| |
09:07 | Gadi has joined #ltsp | |
09:13 | bobby_C has joined #ltsp | |
09:17 | mgariepy has joined #ltsp | |
09:18 | <mgariepy> morning everyone
| |
09:18 | mikkel has quit IRC | |
09:21 | <cliebow> heay Mark!
| |
09:22 | sbalneav!!!!!
| |
09:22 | rjune has quit IRC | |
09:24 | litlebuda has quit IRC | |
09:35 | robehend1 has left #ltsp | |
09:38 | litlebuda has joined #ltsp | |
09:40 | mgariepy has quit IRC | |
09:45 | ogra_ac has joined #ltsp | |
09:56 | jbrett has joined #ltsp | |
09:58 | Da-Geek has joined #ltsp | |
10:12 | <highvoltage> morning cliebow :)
| |
10:17 | <cliebow> hi..tou get back alright Jonathan?
| |
10:18 | morning btw!
| |
10:18 | staffencasa has joined #ltsp | |
10:22 | <highvoltage> yep, safe and sound, had a good trip back
| |
10:22 | saw the snow get gradually more on the way back :)
| |
10:22 | everything good there?
| |
10:23 | <cliebow> yeah pretty good! piles of rain
| |
10:23 | and wind
| |
10:43 | dgroos has joined #ltsp | |
10:48 | Trixboxer has quit IRC | |
10:56 | litlebuda has quit IRC | |
10:56 | litlebuda has joined #ltsp | |
10:59 | Da-Geek has quit IRC | |
10:59 | rickogden has quit IRC | |
11:03 | mikkel has joined #ltsp | |
11:04 | _UsUrPeR__ has joined #ltsp | |
11:11 | bobby_C has quit IRC | |
11:21 | rjune has joined #ltsp | |
11:36 | litlebuda has quit IRC | |
11:38 | dgroos has quit IRC | |
11:39 | gorkhaan has quit IRC | |
11:40 | furoraest has joined #ltsp | |
11:41 | alkisg has joined #ltsp | |
11:50 | mgariepy has joined #ltsp | |
11:54 | crazed has joined #ltsp | |
12:08 | <crazed> what'st he best way to handle multiple ltsp servers?
| |
12:08 | i see there's som ldm clustering, is that the route i should look into?
| |
12:10 | <highvoltage> crazed: ltsp-cluster is the way to go if you really want to go large scale
| |
12:16 | Blinny has joined #ltsp | |
12:17 | <Blinny> Ubuntu 8.04 Question - trying to run firefox as another user so I can muck around with their settings. Keep getting the "Cannot open display: localhost:17.0" message. How can I construct the command (sudo, su, xhost?) such that the app shows on my current TC display?
| |
12:20 | <Gadi> xhost +; su <username> -c firefox
| |
12:20 | should work
| |
12:21 | litlebuda has joined #ltsp | |
12:25 | <Blinny> Bully. Cheers Gadi, thank you.
| |
12:25 | <Gadi> bully bully
| |
12:25 | my pleasure
| |
12:26 | <Blinny> Hrm. No love, same error. I'll read into xhost a bit.
| |
12:26 | And I'm just typing this into a standard 'ol gnome-terminal, yes?
| |
12:27 | <Gadi> yup
| |
12:27 | but, maybe try:
| |
12:27 | <Blinny> Bummer!
| |
12:27 | <Gadi> su -c 'DISPLAY=<thinclientIP>:7 firefox'
| |
12:27 | er
| |
12:27 | sorry
| |
12:28 | su <username> -c 'DISPLAY=<thinclientIP>:7 firefox'
| |
12:30 | <Blinny> That makes more sense. Just a local ENV. But still no love. $ xhost +; su $USERNAME -c 'DISPLAY=192.168.1.177:7 firefox' where .1.177 is my TC's IP yes?
| |
12:30 | <Gadi> yeah
| |
12:31 | try: DISPLAY=192.168.1.177:7 xhost +
| |
12:31 | and then repeat the su command
| |
12:31 | <Blinny> xhost: unable to open display "192.168.1.177:7"
| |
12:31 | <AndyGraybeal> what if i would like to cluster simply for high-availability (if one machin fails, the other own takes over)?
| |
12:32 | <Gadi> is LDM running on screen 7?
| |
12:33 | <Blinny> Yeh - ctrl+alt+f7 gives me my display.
| |
12:38 | <Gadi> Blinny: the issue seems to be in the SSH X forwarding - see: http://docstore.mik.ua/orelly/networking_2ndEd/ssh/ch09_03.htm
| |
12:39 | Blinny: if the user has access to your ~/.Xauthority, you could do:
| |
12:40 | su <username> -c 'XAUTHORITY=~<you>/.Xauthority firefox'
| |
12:47 | <Blinny> TY ..reading..
| |
12:48 | I guess I could script a chmod in there
| |
12:50 | Ok right on. chmod'ing my home dir and .Xauthority does that trick.
| |
12:50 | <alkisg> Blinny: alternatively, ssh -X otheruser@localhost firefox ?
| |
12:51 | <Gadi> Blinny: keep in mind, by chmod'ing, you weaken your security, so you may want to change it back when you are done
| |
12:51 | :)
| |
12:51 | Kicer86 has joined #ltsp | |
12:51 | <Gadi> ah, alkisg bring up a very good point
| |
12:51 | :)
| |
12:51 | as usual
| |
12:51 | <highvoltage> Gadi: I hate those web app install guides that start off with "Step 1: chmod 777 * -R"
| |
12:51 | <Gadi> highvoltage: hehe
| |
12:52 | * highvoltage know knows what Gadi's "hehe" sounds like | |
12:52 | <highvoltage> *now knows
| |
12:52 | <Blinny> Dig the security issue
| |
12:53 | alexqwesa_ has quit IRC | |
12:53 | * Gadi realizes his "hehe" prolly keeps him out of the spy business | |
12:53 | <crazed> hm how do you get dual monitor support in ltsp5?
| |
12:53 | <cliebow> Gadi: ever come across error 12 in openldap?
| |
12:54 | <highvoltage> all my beeping devices keeps me out of the spy business :-/
| |
12:54 | <Gadi> oh no! not error 12!
| |
12:54 | anything but error 12!
| |
12:54 | <cliebow> never seen it before
| |
12:54 | <Gadi> actually, no - cant say that I have
| |
12:54 | :)
| |
12:55 | <cliebow> control unavailable in context..whatever that means
| |
12:55 | * cliebow cliebow hears Gadi giggle 8~) | |
12:55 | <Blinny> alkisg: Kickass.
| |
12:55 | Thank you Gadi, thank you alkisg
| |
12:57 | <Gadi> crazed: what driver?
| |
12:57 | cliebow: what command did u execute to get that error
| |
12:58 | <alkisg> Blinny: and if sometime you don't have the other user's password but you have root access, you can just copy your ssh id to his ~/.ssh
| |
12:58 | <crazed> Gadi: the thin clients are running nvidia
| |
12:58 | <cliebow> it is a query from something called papercut..to sync accounts fro print services
| |
12:58 | <crazed> ah this is weird.. seems the default config in ubuntu has the thin client doing all the work
| |
12:58 | <Gadi> crazed: you prolly only need to specify X_VIRTUAL in lts.conf
| |
12:59 | if it is not automagic
| |
12:59 | <crazed> i just realized my bash prompts and various commands were running locally and not on the ltsp server
| |
13:00 | how do i change that? sorry if these are noob questions.. i got the task of migrating from our old ubuntu 7.04 system to a brand new one
| |
13:00 | alexqwesa has joined #ltsp | |
13:01 | <Gadi> crazed: u built a regular chroot or a fat client chroot?
| |
13:02 | <crazed> should be a regular chroot
| |
13:02 | i used ltsp-build-image --arch=i386
| |
13:03 | ltsp-build-client *
| |
13:03 | <Gadi> then, your gnome terminal should be on the server
| |
13:03 | <crazed> but the output is from the thin client
| |
13:03 | because it's only showing 512mb of ram vs 16gb
| |
13:03 | <Gadi> when you type "free"?
| |
13:03 | <crazed> yes
| |
13:04 | <Gadi> that is odd
| |
13:04 | you are not in an ltsp-localapps xterm, are you?
| |
13:04 | <crazed> umm
| |
13:04 | how can i verify i'm not
| |
13:05 | <Gadi> launch a new gnome terminal from the applications meny
| |
13:05 | *menu
| |
13:05 | <crazed> yeah it's definitely from the thin client
| |
13:05 | the hostname even returns the ws139 hostname
| |
13:05 | rather than the servers
| |
13:06 | this would explain why somethings were running slowly hm
| |
13:06 | <Gadi> you didnt install ubuntu-desktop in the chroot, did you?
| |
13:06 | <alkisg> crazed: on the thin client, cat /etc/ltsp_fat_chroot
| |
13:06 | Is there such a file?
| |
13:07 | (or on the server, /opt/ltsp/i386/etc/ltsp_fat_chroot
| |
13:08 | <crazed> $ cat /etc/ltsp_chroot
| |
13:08 | LTSP_CHROOT=/opt/ltsp/i386
| |
13:08 | <alkisg> No, fat chroot
| |
13:08 | <crazed> there's no ltsp_fat_chroot though
| |
13:08 | <alkisg> OK, then there's something *wrong* with your setup
| |
13:08 | You didn't install fat clients, and installing ubuntu-desktop wouldn't have caused local logins...
| |
13:09 | <crazed> hm
| |
13:09 | <alkisg> Are you using gdm with some local user?
| |
13:09 | <crazed> i'm using gdm
| |
13:09 | and the user only exists on the server in the chroot
| |
13:09 | <alkisg> OK, that's your first problem :)
| |
13:09 | LTSP doesn't work that way.
| |
13:09 | <crazed> oh?
| |
13:09 | <alkisg> You need the default display manager, LDM
| |
13:10 | <crazed> it's installed
| |
13:10 | <alkisg> ...and you don't need any users on the chroot
| |
13:10 | If you login with ldm, you login to the serer
| |
13:10 | *server
| |
13:10 | <crazed> they only exist on the server then?
| |
13:10 | ah this makes sense
| |
13:10 | <alkisg> Yes
| |
13:10 | <crazed> when i first booted, it must have been ldm
| |
13:10 | because the server user i had worked, but i had no wm installed at the time
| |
13:10 | <alkisg> How did you install gdm? It doesn't get installed by default...
| |
13:10 | <crazed> then i installed ubuntu-desktop and gdm was changed to the default
| |
13:10 | <alkisg> You need a WM at the server, not on the chroot
| |
13:11 | So start again from scratch, it'll be easier
| |
13:11 | <crazed> just the chroot though right?
| |
13:11 | i don't need to reinstall the server?
| |
13:11 | <alkisg> Yes
| |
13:11 | No
| |
13:11 | <crazed> good
| |
13:12 | Selveste1 has quit IRC | |
13:12 | <crazed> so, i need the wm on the server, not in the chroot?
| |
13:12 | <alkisg> Right
| |
13:12 | <crazed> installing ubuntu-desktop won't make gdm the default?
| |
13:12 | <alkisg> (unless you want to use fat clients, which is a different story)
| |
13:13 | <crazed> nah the thin clients aren't powerful enough for that
| |
13:13 | <alkisg> It'll make gdm the default for your server, but the chroot won't be affected
| |
13:13 | <crazed> ah! oka
| |
13:13 | y
| |
13:13 | things are making more sense now
| |
13:19 | rjune has quit IRC | |
13:21 | <crazed> this is random and might not be possible, but how would you use nx to handle drawing X and stuff. basically i want server side compression before sending it down to the thin clients
| |
13:21 | <Blinny> crazed: Over a LAN? At what cost?
| |
13:21 | <crazed> yes over a lan
| |
13:22 | <Blinny> Are you that starved for bandwidth?
| |
13:22 | <crazed> no
| |
13:22 | i guess not
| |
13:23 | i just want things to be a fast/responsive as possible
| |
13:23 | <Blinny> Then you don't want nx.
| |
13:23 | Get your TCs running things directly on the server. You'll be pleased.
| |
13:23 | Selveste1 has joined #ltsp | |
13:23 | <crazed> right now it looks like i'm running everything on the tc
| |
13:24 | should i run only certain applications locally?
| |
13:24 | like web browsers
| |
13:24 | <Blinny> Right. Just stick to the defaults (everything on server), get that working, and then start experimenting.
| |
13:24 | Depends on your TC hardware and server environment.
| |
13:25 | <crazed> server's pretty nice, TC hardware is.. like 512mb ram and 1ghz amd athlons
| |
13:25 | <Blinny> I have 22 users on my local machine right now. 5-minute load is .5 I have no reason to go through the localapps hoops so I can't give a lot of info about that initiative.
| |
13:25 | <crazed> what's your machine look like specs wise
| |
13:26 | <Blinny> dual-proc quad-core machine, 8GB RAM with SCSI RAID-1 / and RAID-5 /home
| |
13:26 | It's brilliant.
| |
13:32 | gorkhaan has joined #ltsp | |
13:44 | <crazed> nice
| |
13:44 | i got dual quad core with 16gb of ram
| |
13:44 | raid 1, and nfs for home
| |
13:45 | <mnemoc> hi, where does tftpd-hpa log in ubuntu? (10.10)
| |
13:46 | <crazed> /var/log/daemon.log i believe
| |
13:46 | <mnemoc> crazed: yes! thanks :)
| |
13:51 | tftpd-hpa doesn't follow symlinks, how anoying :<
| |
13:53 | <alkisg> mnemoc: there's an option to allow that
| |
13:53 | It's not enabled by default for security reasons
| |
13:54 | <mnemoc> ic
| |
13:55 | <Blinny> crazed: With the obvious caveat of depending on how many TCs you plan to run, that server sounds like it should handle quite a bit.
| |
13:55 | <crazed> good to hear
| |
13:56 | probably about 10-20 per ltsp
| |
14:02 | litlebuda has quit IRC | |
14:07 | shogunx has quit IRC | |
14:07 | shogunx has joined #ltsp | |
14:18 | irule has joined #ltsp | |
14:38 | <Gadi> it follows symlinks
| |
14:38 | just need to be relative to the root
| |
14:39 | <mnemoc> ifcpu64.c32 -> /usr/lib/syslinux/ifcpu64.c32 was not been seen, not even when using --permissive instead of --secure
| |
14:40 | I had to copy it to /var/lib/tftpboot directly
| |
14:40 | <Gadi> of course it isnt - because that's not relative
| |
14:40 | <mnemoc> -vv
| |
14:40 | <Gadi> but you could do: foo -> bar
| |
14:40 | or foo -> ../bar
| |
14:40 | robehend1 has joined #ltsp | |
14:41 | <Gadi> as long as foo and bar are in the same secured tftp root
| |
14:41 | <mnemoc> so ../../../usr/lib/syslinux/ifcpu64.c32 would have passed?
| |
14:41 | ok
| |
14:41 | <Gadi> if /var/lib/tftpboot is the tftp root
| |
14:41 | then, anything under there can be symlinked to
| |
14:41 | if you make the symlink relative
| |
14:41 | because the client will only see /
| |
14:42 | which is what makes it secure
| |
14:42 | <mnemoc> so the symlink is resolved by the client??
| |
14:42 | <Gadi> let's say you have:
| |
14:42 | /var/lib/tftpboot/foo
| |
14:42 | /var/lib/tftpboot/bar
| |
14:42 | /var/lib/tftpboot/bar/baz
| |
14:43 | the client sees:
| |
14:43 | /foo
| |
14:43 | /bar
| |
14:43 | /bar/baz
| |
14:43 | <mnemoc> sure
| |
14:43 | <cliebow> bar/f;y
| |
14:43 | <Gadi> so, baz can be: baz -> ../foo
| |
14:43 | and that works just fine
| |
14:43 | <mnemoc> so the symlink is resolved by the client? or the server is impossible more security that what I want?
| |
14:44 | imposing*
| |
14:44 | <Gadi> but if you have: baz -> /some/unkown/path/outside/the/root
| |
14:44 | then, it cannot see it
| |
14:44 | <mnemoc> i didn't know tftp passes symlinks as symlinks to the client
| |
14:44 | <Gadi> by the client
| |
14:44 | yeah
| |
14:44 | <mnemoc> I gave for granted it was resolved server side
| |
14:45 | <Gadi> the idea is that the client cannot go out of that secure root
| |
14:45 | <mnemoc> so baz -> ../foo will first fetch baz and then fetch foo, which is "wasteful"
| |
14:45 | <Gadi> I don't know that baz is fetched
| |
14:45 | I think it will only feth foo
| |
14:45 | *fetch
| |
14:46 | but, if you had: baz -> /tmp/foo
| |
14:46 | you had better have a: /var/lib/tftpboot/tmp/foo
| |
14:46 | :)
| |
14:50 | <mnemoc> it should follow symlinks regardless where they point as far as the unix permissions allow it, not try to be "over-smart" and fake a chroot
| |
14:50 | * Gadi didn't write it :) | |
14:51 | <mnemoc> =)
| |
14:58 | <robehend1> out of curiosity, do I have any other K-12 admins in here?
| |
15:01 | Kicer86 has quit IRC | |
15:14 | Gadi has left #ltsp | |
15:19 | robehend1 has left #ltsp | |
15:21 | <alkisg> mnemoc: you'd need to remove "--secure" from the tftpd-hpa configuration file
| |
15:21 | This uses a chroot
| |
15:22 | <mnemoc> alkisg: I started getting "Forbidden directory" then
| |
15:23 | no idea what sort of self-castration tftp-hpa does, but the whole path is world readable
| |
15:24 | but i gave up on symlinks, copied over the files and added a line to the script that updates the chroots to keep them up-to-date
| |
15:26 | <alkisg> mnemoc: looks like a tftpd-hpa bug, when you don't use --secure then the client needs to specify the full path (e.g. /var/lib/tftpboot/ltsp/i386/lts.conf)
| |
15:27 | From the docs I'd assume it would prepend the TFTP_DIRECTORY by itself...
| |
15:27 | <mnemoc> .oO
| |
15:28 | <alkisg> Hmmm it does check the path though
| |
15:28 | So maybe this behavior is documented somewhere
| |
15:28 | (i.e. it doesn't allow reading stuff outside of the TFTP_DIRECTORY)
| |
15:29 | <mnemoc> i understand that restricvtion in webservers where different people writes stuff... but tftp? that's root-only realm
| |
15:29 | <alkisg> symlinks work fine though
| |
15:29 | mnemoc: imagine someone getting your /etc/passwd...
| |
15:30 | <mnemoc> only if root puts a symlink to /etc/passwd there
| |
15:30 | in that case, stupid root deserves the punishment
| |
15:31 | <alkisg> I thought you were objecting to the directory checking... sure, tftpd-hpa does directory checking so I don't see any problems with its implementation except for the part where one needs to specify the full path
| |
15:32 | <mnemoc> i'm ranting about the censorship to my absolute symlinks :)
| |
15:32 | <alkisg> (which is probably just a documentation problem, not an implementation problem)
| |
15:33 | <mnemoc> but as i wont write my own tftp, i'll have to accept hpa choices
| |
15:33 | <alkisg> Well, using a chroot gives some additional safety in case an admin does an rsync -av or something without checking for symlinks
| |
15:33 | dnsmasq doesn't use chroots by default
| |
15:35 | Ah, there's the reason for the path thing: "Access to files can, and should, be restricted by invoking tftpd with a list of directories by including pathnames as server program arguments on the command line."
| |
15:36 | mgariepy has quit IRC | |
15:36 | <alkisg> ....so if it allows for multiple directories, that's why it uses full paths
| |
15:36 | <mnemoc> .oO
| |
15:39 | Blinny has quit IRC | |
15:39 | <mnemoc> never expected a sort of "unionfs" built-in on tftp-hpa :)
| |
15:42 | <alkisg> Heh, just directory checking when --secure isn't set... it makes sense after going through the docs
| |
15:48 | furoraest has quit IRC | |
16:03 | bobby_C has joined #ltsp | |
16:13 | crazed has left #ltsp | |
16:13 | crazed has joined #ltsp | |
16:13 | <crazed> whoops quit wrong channel
| |
16:36 | irule has quit IRC | |
16:36 | alkisg has quit IRC | |
16:36 | ogra_ac has quit IRC | |
16:38 | bobby_C has quit IRC | |
16:49 | ogra_ac has joined #ltsp | |
16:56 | Lns has joined #ltsp | |
16:56 | Lns has joined #ltsp | |
17:26 | mikkel has quit IRC | |
17:49 | shogunx has quit IRC | |
18:04 | shogunx has joined #ltsp | |
18:14 | chupacabra has quit IRC | |
18:27 | staffencasa has quit IRC | |
19:27 | Lns has quit IRC | |
21:23 | Lns has joined #ltsp | |
21:23 | Lns has joined #ltsp | |
21:31 | daya has joined #ltsp | |
21:44 | M4gic5t0rM has joined #ltsp | |
21:58 | <crazed> how cna i change the login stuff for ldm
| |
21:58 | er.. how do i use pam_radius_auth with ldm
| |
21:59 | oh it uses the same auth as ssh? if i'm reading this properly
| |
22:05 | another question, currently we have a system that shows available ltsp servers, you select one with the lowest load and it will connect you to that one
| |
22:05 | i have no idea what is controlling this, but would like something similar
| |
22:14 | M4gic5t0rM has quit IRC | |
22:25 | MorningSon has quit IRC | |
23:47 | alkisg has joined #ltsp | |