IRC chat logs for #ltsp on irc.freenode.net (webchat)


Channel log from 1 December 2011   (all times are UTC)

00:31alexqwesa has left IRC (alexqwesa!~alex@109.172.15.11, Remote host closed the connection)
00:37so| has left IRC (so|!~studyofli@static-50-43-92-34.bvtn.or.frontiernet.net, Quit: so|)
00:40alexqwesa has joined IRC (alexqwesa!~alex@alexo-veto.broker.freenet6.net)
00:55monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
00:59monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 240 seconds)
01:00monteslu_ is now known as monteslu
01:01loather-work has left IRC (loather-work!~khudson@65-60-77-197.static-ip.telepacific.net, Quit: This computer has gone to sleep)
01:25vagrantc has left IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net, Ping timeout: 258 seconds)
01:56Yet_another_Bill has left IRC (Yet_another_Bill!billy@nat/redhat/x-dineerrlfxrmmvhx, Remote host closed the connection)
01:58Yet_another_Bill has joined IRC (Yet_another_Bill!billy@nat/redhat/x-resfxphrxjkqlfsc)
02:52adrianorg has left IRC (adrianorg!~adrianorg@177.18.171.100, Ping timeout: 244 seconds)
03:36Parker955_Away is now known as Parker955
04:05alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
04:07alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Read error: Connection reset by peer)
04:07alkisg1 has joined IRC (alkisg1!~alkisg@ubuntu/member/alkisg)
04:09
<alkisg1>
Gadi1: good work with the patch; we could also remove the NBDROOT environment variable support though, as NBDCLIENT would cover all our needs, making the nbd.initrd script smaller
04:12
20:12<vagrantc>alkisg: i already convinced Yoe to add an nbd*=dhcp option that uses rootpath ==> great!
04:13
But I still think it'd be better to have a common syntax with NBD, i.e. not have to support NBDROOT env var mangling
04:14
Because as the script is now, you'd need to put a different syntax in root-path vs as a kernel parameter
04:15
stgraber has said in the past that he wouldn't mind switching to the colon-based syntax that Gadi's patch implements, so if Yoe accepts the patch there's no need for NBDROOT mangling at all
04:35alkisg1 has left IRC (alkisg1!~alkisg@ubuntu/member/alkisg, Read error: Connection reset by peer)
04:35alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
04:42
<alkisg>
Gadi1: also, I think that the last part of the host:port/path scheme should be the path (e.g. /opt/ltsp/images/i386.img) not the device name (e.g. /dev/nbd0). For our purposes, the device name can always be /dev/nbd0, we don't have a reason to pass it in the kernel command line...
04:51
(and one could use root=/dev/nbd5 if he really needs to)
05:01andygraybeals has left IRC (andygraybeals!~andy@h28.215.22.98.dynamic.ip.windstream.net, Ping timeout: 255 seconds)
05:02Parker955 is now known as Parker955_Away
05:27staffencasa has left IRC (staffencasa!~staffenca@128-193-147-149.oregonstate.edu, Ping timeout: 260 seconds)
05:49
<alkisg>
Yoe, Gadi1, stgraber, vagrantc: here's a new version for nbd-client.initrd that should cover all our needs, while still supporting the commas-based syntax: http://paste.ubuntu.com/755709/
05:51
I also did some small optimizations here and there, using case instead of sed etc, so I'm not sending a .diff, it would be too large.
05:52
It's untested, but I think it should work
05:57
Ah the original script assumes that ROOTPATH contains "nbdroot=xxx", I don't think that it should... let me paste a revisted version...
06:01
Yoe: http://paste.ubuntu.com/755714/
06:40
And the final one :) for today: https://launchpadlibrarian.net/86312584/nbd-client.initrd
06:42shogunx has left IRC (shogunx!~shogunx@2001:4978:106:1:21e:33ff:fe47:32f5, Ping timeout: 244 seconds)
06:52shogunx has joined IRC (shogunx!~shogunx@2001:4978:106:1:21e:33ff:fe47:32f5)
06:55lifeboy has left IRC (lifeboy!~roland@196-215-48-150.dynamic.isadsl.co.za, Quit: Ex-Chat)
06:55lifeboy has joined IRC (lifeboy!~roland@196-215-48-150.dynamic.isadsl.co.za)
07:22lifeboy has left IRC (lifeboy!~roland@196-215-48-150.dynamic.isadsl.co.za, Quit: Ex-Chat)
07:31
<alkisg>
Yoe: I uploaded a version in launchpad that fixes the ipv6 colon problem. I also added -swap, to allow someone to use a /swap file inside the `nbd-server -c` exported root partition. If you don't want that, we can still do it from the LTSP NBDCLIENT wrapper, not problem. Thank you!
07:37
Ah sorry, there's another problem, fixing that as well... :-/
07:42
<Yoe>
alkisg: I have a more principal objection now, just typing the mail
07:42
<alkisg>
Yoe, I just got the problem you were reffering to
07:42
But I can fix it, it's well defined, ipv6 addresses always requires brackets in that syntax
07:43
<Yoe>
no, this is something else
07:43
ah, but hang on
07:43
<alkisg>
OK, what is it?
07:43
<Yoe>
nvm, I'm silly
07:43* Yoe still needs his coffee
07:43
<alkisg>
OK give me 5' to finally fix that properly (...hopefully, I didn't have my coffee yet either :D)
07:44
<Yoe>
I was going to say "don't use the NFS syntax if we're not sure we're booting from NBD", but we exit early if that's the case
07:44
so it's not a problem
07:45* Yoe heads off for breakfast
07:53
<alkisg>
Yoe: ok I submitted a fix version in the launchpad bug report, I *hope* it's finally ok :)
07:54
Ouch, please remove that debugging "echo here" though :D
07:57
bbl, will read irc logs
08:08dobber has joined IRC (dobber!~dobber@213.169.45.222)
08:08
<Yoe>
alkisg: question: you parse out an nbdpath variable, but it's never used. What's the point of that?
08:10
<alkisg>
Yoe: it's used in line 66
08:10
nbdport=${nbdport:-$nbdpath}
08:10
<Yoe>
ah, yes, missed that
08:10khildin has joined IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be)
08:10
<Yoe>
mm, but the comment just above that is wrong
08:10
<alkisg>
Ah sorry the line numbering is wrong, i have yet another version here
08:11
<Yoe>
yes, well, I'm not counting lines :-)
08:11
<alkisg>
Is it? Can I use nbd-client to connect to a name-based export on port 1234?
08:11
<Yoe>
but anyway, nbd-client *does* allow specifying a named export and a port at the same time
08:11
since 2.9.22 or thereabouts, IIRC
08:11
let me check...
08:11
<alkisg>
OK, but we need to mofidy the nbd-client call below too then
08:12
<Yoe>
yes
08:14
since 2.9.23, to be exact
08:15
<alkisg>
So we'd need something like "if [ -n "$nbdpath" ]; then nameparam="-N $nbdpath"; fi"
08:15
and then pass $nameparam to nbd-client. And of course nameparam can be empty
08:16
<Yoe>
I was thinking of having a $dashn that is set to ${nbdpath:+-N}
08:16
<alkisg>
Let me put yet another version to pastebin... in 5'...
08:16
<Yoe>
and to set nbdpath to nbdport just before if it contains non-number values
08:16
you wouldn't have a git branch or something? that'd be easier to deal with :)
08:16
<alkisg>
Ah no need, your idea is good, here it is:
08:17
${nbdpath:+-N} $nbdpath $nbdport
08:17
All of them :)
08:18
I have bzr branches, not git, but i can quickly open an account to whatever git host you use
08:18
<Yoe>
github, sourceforge, debian, my own
08:18
take your pick
08:18
<alkisg>
Let's say github
08:18
<Yoe>
however, the 'debian' branch is only on git.debian.org and my personal git server
08:18
<alkisg>
Ah
08:19
<Yoe>
no, I can push the debian branch to github too, not a problem
08:19
<alkisg>
Your server then? I don't mind, whatever
08:19
wait wait
08:19
<Yoe>
it's there now
08:19
<alkisg>
I only need to branch it, not push
08:19
<Yoe>
(at github)
08:19
yes, true
08:19
<alkisg>
So I only need the git command line for that... :D
08:20
Let me branch from the debian git then
08:20
<Yoe>
okay, I don't know what you did, but you somehow managed to confuse the hell out of vim syntax colorization
08:21
<alkisg>
Haha
08:22* alkisg is reading the git manpage for how to branch from debian/users/wouter/nbd.git, any help welcome... :)
08:23
<Yoe>
git clone git://git.debian.org/users/wouter/nbd.git
08:23
I think
08:23
not sure about the URL, but 'clone' is the command you need
08:24
ah, yes, anonscm.d.o, not git.d.o
08:24
and there's a "git" before the "users" bit of the path
08:24
so git://anonscm.debian.org/git/users/wouter/nbd.git
08:25
<alkisg>
Thanks, got it
08:25
<Yoe>
ah, yes, I know what the problem is now
08:25
the ${nbdsrv#[} bit
08:25
vim thinks that opens a square bracket which isn't closed
08:26
which is Wrong(TM)
08:26
<alkisg>
Ah. OK, leave that, I think I can write that part of the code better anyway, without the second case
08:26
Let me do the nbdparam first
08:26
<Yoe>
also, I don't understand why you moved to this? the ${nbdsrv%:*} seemed to work, no?
08:27
<alkisg>
I'll re-read + rewrite this, but question: I think we can also support ipv6 addresses without the [], do we want to?
08:28
(counting the number of : will allow us to separate port from ip)
08:28
<Yoe>
no, I don't want to do that, it seems like a bad idea
08:28
<alkisg>
OK. Let me do the pathname first...
08:29
<Yoe>
also, it's based on the incorrect premise that the number of colons in an IPv6 address is static
08:30
2001:32f:6f8::1:abcd is a valid IPv6 address, equivalent to 2001:32f:6f8:[lots of zeroes]:1:abcd
08:30
<alkisg>
True. But maybe we could allow ipv6 ip without brackets, and assume that there's no port there
08:31
<Yoe>
yes, and then you deal with the bugreports of confused users who don't understand why their port-using bracketless IPv6 specification doesn't seem to work
08:32
<alkisg>
Hehe your experience shows, that you've received many bug reports from confused users :)
08:33
<Yoe>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591275 was especially fun
08:35
<alkisg>
Yoe, this should do it for nbdpath: http://paste.ubuntu.com/755788/
08:36* alkisg goes on to better check the damned `case "$nbdsrv" in`...
08:37
<Yoe>
I don't think grep -q will work on the initramfs
08:39
<alkisg>
Yoe: echo hi | busybox grep -q hi
08:39
echo $?
08:39
0
08:39ry has left IRC (ry!~ry@static-71-183-64-28.nycmny.fios.verizon.net, Ping timeout: 258 seconds)
08:40
<Yoe>
oh, hrm. Okay, then
08:40
but you're also removing the nbdroot=dhcp,port,device case
08:40
which people are actually using
08:41
<alkisg>
Ah I thought that dhcp part was added only a few days ago for vagrantc
08:41
<Yoe>
no, it's been done months ago
08:41
also the same for the nbdroot=dhcp, which you've also removed
08:42
<alkisg>
My idea there was that nbdroot=<empty> would imply dhcp
08:42
But if it's been used for months, of course it should be backwards compatible
08:42
So I'll put it back. Do you also want <empty> to mean dhcp?
08:42
<Yoe>
that makes it impossible to have nbdroot specified through DHCP and having root=/dev/mapper/vg-lv
08:42
no, I think it's good to be explicit
08:43
though it might make sense to also (in addition) support nbdroot= less syntax in the DHCP root-path option
08:43
<alkisg>
root should always be specified in the command line, it's defined in kernel-parameters.txt, no?
08:43
<Yoe>
I now require that, though that could be considered a bug
08:43
the point is that people do crazy stuff, like root-on-LVM-on-NBD
08:43
or root-on-MD-on-NBD
08:43
<alkisg>
So if one wants root=/dev/mapper/vg-lv, he should put it the command line, not in dhcp
08:44
<Yoe>
that's a regression wrt current functionality
08:44
<alkisg>
root=/dev/nfs can't be changed from dhcp either
08:44
<Yoe>
that's not the problem
08:45
<alkisg>
OK let's back up and list the use cases that break
08:45
<Yoe>
if you have root=/dev/mapper/vg-lv and you don't have an nbdroot parameter, then the script exits before doing anything
08:45
so that's why I added nbdroot=dhcp
08:45
<alkisg>
One could have nbdroot= there instead
08:45
<Yoe>
there's a README.Debian that specifies what I'm currently supporting
08:46
<alkisg>
But of course we can remain backwards compatible with nbdroot=dhcp
08:46ry has joined IRC (ry!~ry@static-71-183-64-28.nycmny.fios.verizon.net)
08:47
<alkisg>
meh I was reading my ancient Lucid one, let me read the one from git instead
08:49
<Yoe>
there's one mistake in that file, though
08:50
it says that there-parameter nbdroot= takes precedence over root=, but that's wrong
08:50
<alkisg>
So the old commas-based syntax won't support specifying both a name and a port, and the new host:port/path syntax won't support specifying a device (root=x will be required). Is that ok?
08:51
<Yoe>
hrm
08:51
there should probably be an option to specify everything
08:52
<alkisg>
Why not just use root=/path/to/device? What's wrong with that? To allow even that to be set from dhcp?
08:52
<Yoe>
there's nothing wrong with that, per se, but I know there are people who use LVM on top of NBD, and then it won't work
08:53
the three-parameter nbdroot= version was only added because I got a bugreport from a user who tried to do something like that
08:53
<alkisg>
Why won't it work, if they specify both root=/dev/mapper/vg-lv on the command line, AND nbdroot, from either the command line or from dhcp?
08:53
<Yoe>
the script can't figure out what the NBD device is if you don't specify it
08:54
and root=/dev/mapper/vg-lv doesn't say what the NBD device should be
08:54
and if the nbdroot parameter doesn't contain it, you've lost
08:54
<alkisg>
I'm starting to get the problem
08:54
First, he could solve it with an NBDCLIENT wrapper
08:55
Second, why do we need to specify the /dev/nbd0 device at all?
08:55
Why not assume that it's always /dev/nbd0, and the other part is where the real file system would be?
08:55
<Yoe>
it's fine to fall back to a _default_ of nbd0, but I'm not going to hardcode that
08:56
<dobber>
wow, enabling nbd compession made my image 3 times smaller...
08:56
<Yoe>
(I thought there were previous versions that couldn't work with that, but I was mistaken; there was an issue with hardcoding/defaulting to _eth0_ in the past, not nbd0...)
08:56
<alkisg>
Yoe: that person that's using LVM. Where does he add his part of the code?
08:56
You mount nbd on /dev/nbd0, and root is on /dev/mapper/vg-lv. There's some code needed to make that work, right?
08:57
<Yoe>
alkisg: yes, that's done by the rest of the initramfs
08:57
lvm also installs an initramfs scrit
08:57
script, even
08:57
<alkisg>
Ah
08:57
<Yoe>
my script only handles connecting the nbd device, on purpose
08:57
I don't mount anything
08:58
<alkisg>
OK, so the user didn't need to write any code, the LVM initramfs script "generates" /dev/mapper/vg-lv from the block device it sees in /dev/nbd0
08:58
<Yoe>
exactly
08:58
<alkisg>
Got it finally... /me thinks...
08:58
<Yoe>
:)
08:58
there's a message in one of my changelog entries saying something like "netbooting is a mess"
08:59
I ran against loads of cornercases that I didn't initially think of
08:59
<alkisg>
Is a can of worms, in response to my ROOTSERVER request, I loved what you said there :D
08:59
<Yoe>
ah, yes, that was it
09:00
<alkisg>
Yoe: so if root=xxx doesn't contain "nbd", can you default to /dev/nbd0?
09:01
That would allow LTSP to use root=/root without having to specify a block device for nbd
09:01
<Yoe>
I guess that would work
09:01
except, no
09:01
<alkisg>
@#*$(#&*$# that can sucks :D
09:02
<Yoe>
if root=xxx doesn't contain nbd *and* nbdroot= also doesn't specify a device is when we should default to nbd0
09:02
<alkisg>
Yup
09:02
<Yoe>
but only if we did see an nbdroot= parameter at that point
09:02
<alkisg>
My idea was that that LVM person could do this then: root=/dev/mapper/vg-lv nbdroot=host:port/path
09:02
<Yoe>
otherwise we risk re-introducing #591275
09:03
<alkisg>
And, same as LTSP with root=/root, that specifies all 4 options
09:05
<Yoe>
I'd still like to see the option to specify an nbd device in all cases -- but I'm not asking you to write that if you don't see a clean way :-)
09:05Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com)
09:06
<alkisg>
Yoe: how about nbddev=device?
09:06
<Yoe>
... why not
09:08
in fact, that makes perfect sense. The server and port or name tell you where the device is, not where it needs to go
09:08
let's do it that way. You on it already?
09:08
<alkisg>
Sure, but I only have about 30' before I have to go
09:08
<Yoe>
okay
09:11
<alkisg>
I assume that it doesn't make sense to have both root=/dev/nbdX AND nbddev=xxx, right?
09:12
(to simplify the code a bit)
09:12
<Yoe>
if that happens, root= should override nbddev=
09:12
<alkisg>
Nice
09:17Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com, Ping timeout: 240 seconds)
09:17
<dobber>
how do i tell ltsp-build-client to download different ubuntu release ?
09:18
<alkisg>
Yoe: what do those do?
09:18
nbdrootdev=${nbdrootdev%p*}
09:18
nbdbasedev=${nbdbasedev%p*}
09:19
nbd0partitionsomething?
09:19
<Yoe>
yes
09:19
you can specify root=/dev/nbd0p1
09:20
which means we need to connect /dev/nbd0
09:25
<alkisg>
(10:40:33 πμ) Yoe: but you're also removing the nbdroot=dhcp,port,device case ==> If one sets ROOTPATH in this case, what happens?
09:28
<Yoe>
I don't think anything should happen then
09:28
<alkisg>
k
09:29
<Yoe>
well, not with what's in DHCP, anyway :-)
09:33
<alkisg>
Whole file: http://paste.ubuntu.com/755823/
09:33
Git diff: http://paste.ubuntu.com/755824/
09:34
Yoe: I need to go in 5', but if you think more work is needed, I can do it in the afternoon (in 5-6 hours)
09:37khildin has left IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be, Ping timeout: 244 seconds)
09:42
<alkisg>
Line 13: nbddev="${x$nbddev=}" ==> nbddev="${x#nbddev=}"
09:48alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
09:49artista-frustrad has joined IRC (artista-frustrad!~fernando@187.7.190.238)
10:03
<dobber>
how do i update debootstrap on ubuntu (10.04) with 11.04 and 11.10 scripts ?
10:03
this directory /usr/share/debootstrap/scripts/
10:04
i have scripts up to maverick (10.10)
10:10
oh, there was an update to debootstrap with new scripts
10:11
its working now
10:14adrianorg has joined IRC (adrianorg!~adrianorg@177.18.171.100)
10:16Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@host86-161-118-119.range86-161.btcentralplus.com)
10:25monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
10:26monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Read error: Operation timed out)
10:37artista-frustrad has left IRC (artista-frustrad!~fernando@187.7.190.238, Remote host closed the connection)
10:38Trixboxer has joined IRC (Trixboxer!~Trixboxer@office.supportdepartment.net)
11:12Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@host86-161-118-119.range86-161.btcentralplus.com, Ping timeout: 248 seconds)
11:23artista-frustrad has joined IRC (artista-frustrad!~fernando@200.247.43.2)
12:23bengoa has joined IRC (bengoa!~bengoa@2001:1291:229:2:216:cbff:feab:6cc9)
12:38bengoa has left IRC (bengoa!~bengoa@2001:1291:229:2:216:cbff:feab:6cc9, Quit: Leaving.)
12:39Parker955_Away is now known as Parker955
12:39Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@host86-161-118-119.range86-161.btcentralplus.com)
12:59Parker955 is now known as Parker955_Away
13:23Da-Geek has joined IRC (Da-Geek!Da-Geek@nat/redhat/x-fewdxvsljjnrvoin)
13:30adrianorg has left IRC (adrianorg!~adrianorg@177.18.171.100, Ping timeout: 244 seconds)
13:41adrianorg has joined IRC (adrianorg!~adrianorg@177.18.171.100)
13:47
<mgariepy>
good morning everyone
13:50adrianorg has left IRC (adrianorg!~adrianorg@177.18.171.100, Ping timeout: 248 seconds)
13:54monteslu_ is now known as monteslu
14:01khildin has joined IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be)
14:10primeministerp has joined IRC (primeministerp!~ppouliot@nat/novell/x-hvcwnqgjvdnxrcpb)
14:18andygraybeals has joined IRC (andygraybeals!~andy@obsidian.casanueva.com)
14:31dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
14:35gvy has joined IRC (gvy!~mike@altlinux/developer/mike)
14:38adrianorg has joined IRC (adrianorg!~adrianorg@177.18.171.100)
14:51adrianorg has left IRC (adrianorg!~adrianorg@177.18.171.100, Ping timeout: 260 seconds)
14:53
<highvoltage>
good morning mgariepy
14:53
(I knew I missed one of them)
14:55
<mgariepy>
lol
14:56
<dobber>
http://cl.ly/1q1S023v1g24302x2s3o
14:56
good one
15:05
<gvy>
a broken md array part? (md superblock can be hard to exterminate given the variety of versions and locations)
15:05klausade has joined IRC (klausade!~klaus@cm-84.215.152.210.getinternet.no)
15:10
<dobber>
i meant the error message. Boot has failed, sleeping forever.
15:10bengoa has joined IRC (bengoa!~bengoa@alberto.propus.com.br)
15:13bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
15:21khildin has left IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be, Ping timeout: 258 seconds)
15:41Gadi1 has left IRC (Gadi1!~romm@ool-4571ca04.dyn.optonline.net, Read error: Connection reset by peer)
15:42Gadi has joined IRC (Gadi!~romm@ool-4571ca04.dyn.optonline.net)
16:00khildin has joined IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be)
16:08staffencasa has joined IRC (staffencasa!~staffenca@128-193-147-224.oregonstate.edu)
16:11alkisg has joined IRC (alkisg!554bafac@gateway/web/freenode/ip.85.75.175.172)
16:18can-o-spam1 has joined IRC (can-o-spam1!b85be904@gateway/web/freenode/ip.184.91.233.4)
16:19wellsouza has joined IRC (wellsouza!~wellspint@187.13.194.24)
16:20
<wellsouza>
Hi! everyone please my ltsp5 dont work with local paralel printer
16:20pscheie has left IRC (pscheie!~pscheie@74-95-141-141-Minnesota.hfc.comcastbusiness.net, Ping timeout: 260 seconds)
16:20
<wellsouza>
any ideia about?
16:22
<gvy>
I'd first check client's dmesg whether the drivers got loaded at all
16:25alkisg has left IRC (alkisg!554bafac@gateway/web/freenode/ip.85.75.175.172, Quit: Page closed)
16:31wellsouza has left IRC (wellsouza!~wellspint@187.13.194.24, Ping timeout: 248 seconds)
16:32wellsouza has joined IRC (wellsouza!~wellspint@187.13.194.24)
16:36dobber has left IRC (dobber!~dobber@213.169.45.222, Remote host closed the connection)
16:45alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
16:46
<wellsouza>
como coloca o mode +i???
16:48Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@host86-161-118-119.range86-161.btcentralplus.com, Quit: Leaving)
16:48Da-Geek has left IRC (Da-Geek!Da-Geek@nat/redhat/x-fewdxvsljjnrvoin, Quit: Leaving)
16:58toscalix has joined IRC (toscalix!~toscalix@85.137.152.34.dyn.user.ono.com)
16:58primeministerp has left IRC (primeministerp!~ppouliot@nat/novell/x-hvcwnqgjvdnxrcpb, Ping timeout: 258 seconds)
17:03
<wellsouza>
help
17:03
the local printer lp0 not work in clients
17:03
howto set mode +i
17:04loather-work has joined IRC (loather-work!~khudson@65-60-77-197.static-ip.telepacific.net)
17:07
<gvy>
<gvy> I'd first check client's dmesg whether the drivers got loaded at all
17:08
<wellsouza>
is dotprint
17:08
not lase or deskjet
17:08
dotmatriz
17:08* gvy remembers those well
17:09
<gvy>
can you log in locally on a client? (ctrl-alt-f2, root, password)
17:09
if not, the client chroot might need to be tweaked
17:09
if yes, ls -l /dev/lp*
17:09
<wellsouza>
my lts.conf PRINTER_0_DEVICE = /dev/lp0 PRINTER_0_TYPE = P
17:09loathing has joined IRC (loathing!~khudson@68.25.27.54)
17:09
<wellsouza>
but not work
17:09
<gvy>
if there's /dev/lp0, it might help to try smth like: echo "hello world" > /dev/lp0
17:10
<wellsouza>
send to my server > /dev/lp0
17:10
<gvy>
not *server*
17:10
but *client*
17:10
it helps to diagnose things step by step to know that all the lower steps do work :)
17:10
<wellsouza>
yes. print in server if i type in client
17:10
ok
17:11loather-work has left IRC (loather-work!~khudson@65-60-77-197.static-ip.telepacific.net, Ping timeout: 260 seconds)
17:11
<gvy>
ouch -- you echo to client's lp0 and the server's printer prints?
17:11matrix3000 has joined IRC (matrix3000!~Eric@rrcs-70-61-255-227.central.biz.rr.com)
17:11
<gvy>
if you logged in via graphics, you've logged into server and not client, roughly
17:13loathsome has joined IRC (loathsome!~khudson@65-60-77-197.static-ip.telepacific.net)
17:14
<wellsouza>
yes
17:14loathing has left IRC (loathing!~khudson@68.25.27.54, Ping timeout: 260 seconds)
17:19
<Gadi>
wellsouza: you do understand that you need to set up an HP JetDirect print queue on the server pointing to the IP address of the thin client and port 9100, yes?
17:29wellsouza has left IRC (wellsouza!~wellspint@187.13.194.24, Quit: Saindo)
17:30
<alkisg>
I'm guessing "no" :)
17:32
Gadi, here's Yoe's and myself's latest try, I think something like that would cover all of our needs, right? http://paste.ubuntu.com/755823/
17:33
Yoe, do you think it needs more work? Or just some testing + fixing any bugs?
17:36matrix3000 has left IRC (matrix3000!~Eric@rrcs-70-61-255-227.central.biz.rr.com, Quit: Leaving.)
17:38
<Gadi>
alkisg: that doesn't seem to support the case of nbdroot=1.2.3.4:1234
17:38
is that intentional?
17:39
<alkisg>
No, I think it does support that...
17:39
<Gadi>
I don't see a case that would match on that
17:40
<alkisg>
case "$nbdsrv" in ==> *:*)
17:40
Ah, you mean without a name?
17:40
nbdroot=1.2.3.4:1234/
17:40
<Gadi>
yeah
17:40
<gvy>
Gadi, hi -- thx for yesterday's hint on *update-kernels, my current guess is that the mess asks for a heracles
17:40
<alkisg>
Is nfsroot=1.2.3.4:1234 valid?
17:40
I don't think so, it doesn't contain a path...
17:41
<Gadi>
so?
17:41
<alkisg>
We only want to support name-based exports with that syntax, right?
17:42
<Gadi>
I thought it would be nice to keep what we currently have, too -> nbdroot=1.2.3.4:1234 (defaults to /dev/nbd0)
17:42
<alkisg>
Gadi, what would that do, server-side?
17:43
<Gadi>
connect to the nbd server at 1.2.3.4 on port 1234
17:43
using /dev/nbd0
17:45
<alkisg>
Use a named based export, or a port-based export?
17:45
Using / as the export name? Or without using an export name at all?
17:45
nbd-client 1.2.3.4 1234, or nbd-client -N / 1.2.3.4 1234?
17:45
Currently (oneiric+, maybe wheezy too), we're no longer using the old port-based exports
17:45
Since IANA assigned port 10809 what's the number
17:46andygraybeal_ has left IRC (andygraybeal_!~andy.gray@obsidian.casanueva.com, Ping timeout: 258 seconds)
17:46
<Gadi>
gotcha
17:47
is "/" a default nbdname?
17:47
<alkisg>
No
17:47
No names are defined by default
17:47bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 244 seconds)
17:47
<Gadi>
ok, then I guess there is no need for that syntax
17:47
<alkisg>
Well, unless we *want* to also support port-based exports... but do we have reason to?
17:48
(they'll still be supported by the comma syntax)
17:48
<Gadi>
only for backports
17:48
<alkisg>
We weren't using the nbd script for ltsp, I don't think we need to backport something there
17:48
<Gadi>
or maybe if there is an old server with new chroot
17:48
ie, server = lucid, chroot = oneirc+
17:49
<alkisg>
They'll just need to update their pxelinux.cfg/default
17:49
In *any* case, even if we support that
17:49
<Gadi>
but the l-u-i script will break that
17:49
<alkisg>
BOOTPROMPT_OPTIONS=xxx etc
17:49
<gvy>
btw what was the multi-port scheme created for? several different or individual [rw?] root images?
17:49
<Gadi>
right
17:51
<alkisg>
Gadi, they'd need to change pxelinux.cfg/default anyway, currently we don't have root=, nbddev=, or nbdroot=. So they'd need to edit those 2 files anyway.
17:51
<Gadi>
gvy: nbd-server has only supported multi-ports (only recently added names). We used it to serve up different chroot images to different clients, if desired
17:51
<gvy>
thx, guessed so but wondered if that's a correct guess
17:52
<Gadi>
alkisg: well, if we supported nbdroot=1.2.3.4:1234 (default /dev/nbd0), they wouldn't need root and nbddev, as well
17:52
right?
17:52* gvy thinks that some scheme with sane passing of {nfs,nbd}root= might be due
17:53
<alkisg>
Gadi, yes, but does it make sense? If they need to change it once, they shouldn't choose a "legacy way to do it"
17:53khildin has left IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be, Quit: I'm gone, bye bye)
17:53
<Gadi>
gvy: yeah, we are working thru the sanity
17:53
<gvy>
and probably with transports as plugins and not a mplayer's main() pieces
17:53
<Gadi>
:)
17:53
<gvy>
good :)
17:53
that was the 5.2 merge culprit for me so far
17:53
*is, even
17:53
<Gadi>
alkisg: i totally agree. no need
17:54* alkisg likes to stick to some standards, even if they're not completely related to the problem being solved :P
17:55
<gvy>
like RFC1149? ;-)
17:55
<alkisg>
http://www.rfc-editor.org/rfc/rfc2224.txt
17:55
Haha, IP transmission? :D No, not *that* unrelated :D
17:55
<Gadi>
so, is Yoe ready to merge your changes?
17:56
<alkisg>
I think he agrees on most parts, and just some debugging is needed, but he didn't say the final "yup I'll commit it" yet
17:56* Gadi nods
17:56
<gvy>
guys, one more silly q: is anyone working with ltsp git? I'm using git-bzr locally (as the package build from git is readily available and quite convenient)
17:57
<Gadi>
as soon as he does, we can make those two other changes and really clean things up
17:57
gvy: I think most of us are using bzr and launchpad
17:57* gvy guessed :]
17:58
<gvy>
k, np
17:58
<Gadi>
tho, there are only a few actual package maintainers here
17:58
:)
17:58
and I am not one of them
17:58
:)
17:58
<gvy>
:)
17:59
<alkisg>
I am... but not in ltsp :P
18:00sverdy has joined IRC (sverdy!~sverdy@ool-43559895.dyn.optonline.net)
18:03khildin has joined IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be)
18:16vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)
18:19alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
18:20andygraybeals has left IRC (andygraybeals!~andy@obsidian.casanueva.com, Ping timeout: 258 seconds)
18:24gvy has left IRC (gvy!~mike@altlinux/developer/mike, Quit: $HOME)
18:44alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
19:12markit has joined IRC (markit!~marco@88-149-177-66.staticnet.ngi.it)
19:20alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 252 seconds)
19:22alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
19:26alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Client Quit)
20:05Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com)
20:05can-o-spam1 has left IRC (can-o-spam1!b85be904@gateway/web/freenode/ip.184.91.233.4, Ping timeout: 265 seconds)
20:47adrianorg has joined IRC (adrianorg!~adrianorg@177.18.171.100)
20:56Parker955_Away is now known as Parker955
21:11vagrantc has left IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net, Ping timeout: 255 seconds)
21:24Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com, Ping timeout: 248 seconds)
21:41Trixboxer has left IRC (Trixboxer!~Trixboxer@office.supportdepartment.net, Quit: "Achievement is not the end, its the beginning of new journey !!!")
21:49khildin has left IRC (khildin!~khildin@ip-80-236-227-210.dsl.scarlet.be, Quit: I'm gone, bye bye)
21:50markit has left IRC (markit!~marco@88-149-177-66.staticnet.ngi.it, )
21:57alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
22:00toscalix has left IRC (toscalix!~toscalix@85.137.152.34.dyn.user.ono.com, Remote host closed the connection)
22:25monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
22:28monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 240 seconds)
22:40bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
22:43alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
22:55bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 255 seconds)
23:05dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Leaving...)
23:19vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)
23:35bengoa has left IRC (bengoa!~bengoa@alberto.propus.com.br, Quit: Leaving.)
23:35map7work has joined IRC (map7work!~map7@teksup41.lnk.telstra.net)
23:36map7work is now known as map7