| wrench- (~wrench-@gateway-1237.mvista.com) left irc: Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558] |
| nabil_ (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| naboul (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| nabil_ (~Nabilou@mail.sysun-technologies.com) left irc: Ping timeout: 480 seconds |
| 08:57 naboul | Hi guys, I am creating a local mirror, and I want to which is better : HTTP or NFS share? |
| 08:57 naboul | (I hope this sentence make a sense for you) |
| 08:58 sep | better is a point of view... |
| 08:58 BlindBunny | naboul: a local mirror for what? |
| 08:59 naboul | BlindBunny: to be used with FAI |
| 08:59 oz__ | fopr speed, afaik ftp is the best |
| 09:00 BlindBunny | naboul: a mirror for .deb packages? |
| 09:00 naboul | BlindBunny : yes |
| 09:01 naboul | oz__ : thanks I'll check this |
| allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| 09:40 uchimata | I can specify host-* in classes, but how can I tell fai-chboot to generate a config for hosts host-*? 'host-*'/'host-\*' as an hostname does not work? |
| 09:44 Mrfai | fai-chboot can't use wildcard. But you can use a template. Or create a pxelinux.cfg file using fai-chboot and rename it, so it matches a whole subnet range |
| 09:45 Mrfai | Since pxelinux.cfg file names are the IP address in hex, you can't use hostname wildcard there. |
| 09:58 uchimata | hm, ok.... subnet range sounds great :) |
| 10:00 uchimata | so... the hostname then must be .0/24 in hex, e.g.? |
| 10:01 uchimata | or only 10.0.0.? |
| 10:28 naboul | uchimata: 10.0.0. |
| 10:28 uchimata | naboul: thx :) |
| 10:47 uchimata | can I use wildcards when using templates? |
| 10:50 Mrfai | no |
| 10:54 uchimata | is there kind of a priorisation when I define a file for a whole subnet and one special file for a single host in that subnet? |
| 10:55 Mrfai | yes. |
| naboul (~Nabilou@mail.sysun-technologies.com) left irc: Ping timeout: 480 seconds |
| 10:57 Mrfai | Have a look at this: http://www.yourwarrantyisvoid.com/wp-content/uploads/2009/08/pxelinux-boot.bmp |
| 10:58 uchimata | ah, that's nice :) |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| 11:05 MrCatEye | hi, I want to add a new user and made a simple script I added the line: "useradd -m -s /bin/bash -p blablabla username", also the !# at the beginning. and localy it works |
| 11:06 MrCatEye | but FAI does not add the user |
| 11:08 MrCatEye | how can this problem be fixed? |
| 11:08 uchimata | MrCatEye: did you read the logs? |
| 11:08 mgoetze | MrCatEye: by understanding how fai works |
| 11:08 mgoetze | MrCatEye: you might want to read up on what $ROOTCMD does... |
| 11:09 MrCatEye | the logfile says that FAI has excute the file and no error occures |
| 11:09 mgoetze | or was it $rootcmd ... i always forget |
| 11:11 uchimata | $ROOTCMD |
| naboul (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| h01ger (~holger@socket.layer-acht.org) left #fai (cu). |
| naboul (~Nabilou@mail.sysun-technologies.com) left irc: Ping timeout: 480 seconds |
| MrCatEye (~me@office.metaversum.com) left irc: Read error: Connection reset by peer |
| MrCatEye (~me@office.metaversum.com) joined #fai. |
| naboul (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| 12:08 Mrfai | examples/simple/scripts/DEMO/10-misc include the code for adding a user |
| naboul (Nabilou@mail.sysun-technologies.com) left #fai (Quitte). |
| Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| 12:34 uchimata | would this be the correct line for toggling the bootable flag? |
| 12:34 uchimata | primary / 250 ext3 rw,errors=remount-rocreateopts="boot" |
| 12:34 uchimata | hm... obviously, there's a space missing |
| 12:35 uchimata | only in the paste... |
| 12:35 Mrfai | AFAICS you are using the old partitioning tool. It's better to use the new one. |
| 12:36 uchimata | hm... I just wanted to adjust the file given by FAI-BASE ;) |
| 12:43 Mrfai | in most cases the boot flag for a partition is not needed |
| 12:49 uchimata | Mrfai: true, but this system refuses to boot without the flag |
| 12:49 uchimata | when I set the bootable flag using a live cd, everything works fine |
| 12:50 uchimata | btw, the line I pasted above did not work ;) |
| 12:57 uchimata | but just found bootable:1 |
| 13:01 MrCatEye | I added the: createopts="-b 2068" for the corresponding partition line for booting |
| 13:01 MrCatEye | *2048 |
| 13:08 uchimata | bootable:1 did it :) great :) |
| Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Ping timeout: 480 seconds |
| 13:52 oz__ | great, 17yrs. |
| 13:52 oz__ | <de>http://www.heise.de/newsticker/meldung/Windows-Luecke-nach-17-Jahren-gefunden-Update-908743.html</de> |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Remote host closed the connection |
| BlindBunny (BlindBunn@power.informatik.RWTH-Aachen.DE) left #fai. |
| 14:09 MrCatEye | well, I have added the package "tree" to the NFSROOT file, after that I rebuild the nfsroot with make-fai-nfsroot, tried an installation but the Programm wasn't installed |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| 14:12 MrCatEye | well let's try "fai-setup", maybe this works... |
| 14:13 uchimata | MrCatEye: You want to add a tool to the client system that gets installed? |
| 14:15 MrCatEye | why not |
| 14:17 uchimata | I guess that's what fai for |
| 14:17 uchimata | but why don't you add it to package_config |
| Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Read error: Connection reset by peer |
| ErKa (~keryell@APuteaux-154-1-65-248.w81-249.abo.wanadoo.fr) joined #fai. |
| Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai. |
| Adri2000 (~adri2000@88.165.188.51) joined #fai. |
| 14:45 Adri2000 | hi |
| 14:46 Adri2000 | I've got a problem with fai 3.3 |
| 14:47 Adri2000 | the config directory doesn't get mounted on the client |
| 14:47 Adri2000 | while the nfsroot is successfully mounted |
| 14:48 Adri2000 | if I try to manually mount the config directory it complains about rpc.statd not running, which is true |
| 14:48 Adri2000 | launching rpc.stard manually works - so why isn't it automatically launched? and how can I fix that? |
| 14:48 Adri2000 | s/stard/statd/ |
| 14:57 Adri2000 | or, as a workaround, it could be mounted with -o nolock - but where should I add this option? |
| 15:01 uchimata | Adri2000: so I think statd must be running on the fai-server? |
| 15:01 Adri2000 | mount.nfs: rpc.statd is not running but is required for remote locking. |
| 15:01 Adri2000 | mount.nfs: Either use '-o nolock' to keep locks local, or start statd. |
| 15:02 Adri2000 | as I understand it, it should be running on the client |
| 15:02 Adri2000 | but in any case it is also running on the server |
| 15:02 uchimata | so did you try it with running statd on server-side? |
| 15:04 Adri2000 | yes, it's running the server from the beginning |
| 15:04 Adri2000 | but what is needed for the mount to work is that it's running on the client |
| 15:08 uchimata | strange :) |
| 15:11 Adri2000 | what is strange? that fact that statd must be running? or the fact that it isn't running on the client? |
| 15:13 uchimata | that it is not running on the client, never had this problem |
| 15:13 uchimata | but I'm not a fai expert though ;) |
| allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds |
| 15:51 Nabilou | Is it possible to copy files from my FAI server to the client? |
| 15:53 Nabilou | for example my websites to the appropriate directory (/var/www for example) |
| 15:57 Mrfai | All file you like to copy to your client should be located in your config space. |
| 15:57 Mrfai | But you may write a hook, that copies files from other directories. |
| 16:02 Nabilou | Mrfai : thanks |
| 16:09 uchimata | is there a way to copy entire directories? like dcopy when thinking of fcopy ;-) |
| 16:17 Nabilou | uchimata: I'm not sute i understood the question but using "-r" may help you |
| 16:17 Nabilou | sure* |
| 16:18 uchimata | Nabilou: jep, it's an nice option, but I would have to create all directories according to filenames..... but it's not an actual question though, rather smalltalk about fai :) |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| 16:24 Adri2000 | actually my problem is related to upstart - the statd failure is due to /etc/init/statd.conf missing |
| 16:25 Adri2000 | it looks like a lot of files are missing in my nfsroot |
| 16:25 Nabilou | uchimata: you can create a loop to list all your files names then create directories. |
| 16:26 Adri2000 | exapmple, if I apt-get install nfs-common in the nfsroot, it won't install the files in /etc/init/ |
| 16:26 Nabilou | ...according to the fils names of course |
| 16:26 Nabilou | *files |
| 16:26 Mrfai | there's also a ftar command in FAI. |
| Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Quit: Quitte |
| 16:34 uchimata | Mrfai: I love fai more and more ;) |
| 16:34 Mrfai | uchimata: great. It would be nice if you could fill out the FAI questionnaire later. |
| 16:35 Adri2000 | so, any idea why if I chroot the nfsroot, and then apt-get install nfs-common, some files listed in dpkg -L nfs-common are not actually there |
| 16:35 Adri2000 | ? |
| 16:35 uchimata | Mrfai: ah, of course... did not know about this yet |
| 16:40 Mrfai | Adri2000: try again make-fai-nfsroot -v and have a look at the log file. There should be no errors. |
| 16:42 Adri2000 | trying |
| 16:54 Adri2000 | I don't see any wrong in that log |
| 16:54 Adri2000 | to make my problem clear, see: (I'm inside the chroot) |
| 16:54 Adri2000 | # dpkg -L nfs-common | grep init/statd |
| 16:54 Adri2000 | /etc/init/statd.conf |
| 16:54 Adri2000 | # ls /etc/init/statd.conf |
| 16:54 Adri2000 | ls: cannot access /etc/init/statd.conf: No such file or directory |
| 16:55 uchimata | Adri2000: you mentioned upstart? so you're trying to install ubuntu? I'm just curious... |
| 16:55 Adri2000 | yep |
| 16:55 Adri2000 | and it's the current development version (lucid) |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. |
| 17:07 Adri2000 | if I manually debootstrap mucid all the files in /etc/init/ are there |
| 17:07 Adri2000 | lucid* |
| 17:08 Mrfai | there was a small fix concerning upstart.conf |
| 17:09 Mrfai | have a look at the fai commit mails. http://lists.alioth.debian.org/pipermail/fai-commit/2010-January/002777.html |
| 17:12 Adri2000 | doesn't seem to fix my problem |
| 17:13 Adri2000 | btw, I haven't explained everything. what happends right now when I boot a box on my fai, is that fai fails when it comes to partitioning the hard disk, saying it cannot find disk_config |
| 17:13 Adri2000 | which makes sense because at that point nfsroot is mounted but config directory is not |
| 17:14 Adri2000 | mounting it manually fails as I said earlier, and that's why I went to that statd problem |
| 17:37 mgoetze | i'm close to trying my first lucid installation, but my plan at first will be to install from a lenny nfsroot |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving |
| allee (~ach@allee.mpe.mpg.de) left irc: Remote host closed the connection |
| allee (~ach@allee.mpe.mpg.de) joined #fai. |
| 19:57 serge | guys, I have a small question. I've configured FAI on Etch, run fai-setup... Everything was ok. When I started to install a client, I got "/var/lib/fai/config/class not found Problems accessing the config space. Then I copied the content of /srv/fai/config to /srv/fai/nfsroot/var/lib/fai/config - the problem was solved. Why the setup didn't do it proper way? The /srv/fai/config is what for then?.. |
| 20:00 serge | ..btw, I've succeeded to configure and to install an i386 client from amd64 server... ..I've got both sets on the same server for i386 and for amd64 - this one isn't tested yet as I have no spare amd64 PC to ruin.. ;) |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| ErKa (~keryell@APuteaux-154-1-65-248.w81-249.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| 20:51 uchimata | serge: did you add your /srv/fai/config to your nfs exports? |
| 20:51 serge | yes |
| 20:54 uchimata | hm... so did you adjust your FAI_CONFIG_SRC |
| 20:54 uchimata | ? |
| 20:54 serge | ..let me see.. |
| 20:55 uchimata | /etc/fai/fai.conf |
| 21:02 serge | hmm, ..it's undefined |
| 21:03 serge | so by default it must be nfs://`hostname`/$FAI_CONFIGDIR |
| 21:03 serge | ? |
| wrench- (~wrench-@gateway-1237.mvista.com) joined #fai. |
| Nabilou (~Nabilou@246.83.74-86.rev.gaoland.net) joined #fai. |
| Nabilou (~Nabilou@246.83.74-86.rev.gaoland.net) left irc: |
| wrench- (~wrench-@gateway-1237.mvista.com) left irc: Ping timeout: 480 seconds |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| wrench- (~wrench-@gateway-1237.mvista.com) joined #fai. |
| --- Thu Jan 21 2010 |