thismamacooks200 | when I log onto another account's desktop, my music player goes silent. But if I'm running a noisy game, it is still heard. How can I make the music always play? | 00:47 |
---|---|---|
zzaza | hi all | 12:24 |
zzaza | I was trying to install edubuntu classroom server to connect some clients as x-terminal, the installation went ok, but i cant configure the clients. i cant find the ltsf.conf file. am using the latest edubuntu. | 12:26 |
nubae | zzaza: u have to create that file | 12:29 |
nubae | it should be here: /var/lib/tftpboot/ltsp/i386/lts.conf | 12:29 |
nubae | and the first line should be [default] | 12:30 |
zzaza | nubae: i didt creat that file, i last tried edubuntu version 7.10 all was striaght forward | 12:31 |
zzaza | i did check in /var/lib/tftpboot but there was no lts.conf file | 12:32 |
nubae | I know... | 12:33 |
nubae | u have to create it | 12:33 |
nubae | ahhh damn Nick Kendall.... | 14:00 |
=== ogra_ is now known as ogra | ||
sbalneav | Morning all | 16:16 |
nubae | hi sbalneav | 16:16 |
highvoltage | morning sbalneav | 16:17 |
nubae | I'm having a problem with pulseaudio... | 16:17 |
nubae | I get a connection refused when it tries to connect to the pulse server | 16:17 |
nubae | ah wait... forget it, just fixed it... | 16:18 |
sbalneav | What was it?> | 16:18 |
nubae | needed echo "default_driver=pulse" in .libao | 16:19 |
nubae | wierd though, thats new for intrepid | 16:19 |
nubae | cause hardy worked fine | 16:19 |
nubae | hi Lns | 18:06 |
Lns | hey nubae | 18:06 |
nubae | after adding something to anacron in cron.hourly, does one need to reload cron? | 18:07 |
Lns | nubae: Not if it works like regular old cron | 18:07 |
Lns | the man page says itself that one of its features is that you don't need to reload it after editing configs | 18:07 |
nubae | its weird, I've got a script that works fine if i execute it, and its in /etc/cron.hourly, but doesnt seem to get exectued | 18:08 |
nubae | by cron | 18:08 |
Lns | nubae: did you chmod +x it ? | 18:08 |
nubae | yep | 18:09 |
Lns | err | 18:09 |
Lns | yeah it would if yo ucan yousefl ;) | 18:09 |
Lns | ick..monday morning fingers | 18:09 |
Lns | nubae: did you reload anacron or no? | 18:09 |
nubae | I did that too, without much success :-) | 18:09 |
nubae | it works if I make an entry with crontab -e, but I thought the point of cron.hourly is u drop the script in there to exectue every hour | 18:10 |
Lns | it is | 18:10 |
nubae | hmmm... then what am I missing | 18:10 |
Lns | nubae: what does the script do? | 18:10 |
nubae | awks users out of passwd, shadow and groups and puts into another file | 18:11 |
Lns | ah | 18:12 |
nubae | ah? u know whats wrong? | 18:12 |
Lns | nubae: have you verified other scripts run in cron.hourly? | 18:12 |
Lns | no, not yet ;) | 18:12 |
nubae | there arent any | 18:12 |
Lns | have you verified crontab has a stanza for cron.hourly runs? | 18:12 |
nubae | and there is no /var/spool/anacron/cron.hourly | 18:13 |
nubae | which I guess answers your question | 18:13 |
Lns | hrmm... /me is an old style cron user | 18:13 |
Lns | where everything is in /etc/crontab | 18:14 |
nubae | well guess Im gonna have to do the same, I just thought this would be neater | 18:14 |
Lns | sure, i mean it should work | 18:14 |
Lns | is it stock anacron in hardy? | 18:14 |
nubae | 17 * * * * root cd / && run-parts --report /etc/cron.hourly --- that should execute anacron | 18:15 |
Lns | oh ok we're talking about different beasts here | 18:15 |
Lns | yep | 18:15 |
nubae | but it doesn! | 18:15 |
Lns | nubae: did you try running "run-parts --report /etc/cron.hourly" manually on a shell, and/or examining logs? | 18:15 |
Lns | (as root) | 18:15 |
nubae | no thats an idea, let me try that | 18:16 |
nubae | yep works | 18:17 |
nubae | sigh... this makes no sense | 18:17 |
Lns | hrm | 18:19 |
Lns | look in your cron logs | 18:19 |
Lns | nubae: FYI AFAIK there's anacron, then cron. they're 2 different things, and both installed by default | 18:21 |
Lns | make sure you're running the right one | 18:21 |
nubae | anacron does cron.hourly, cron.daily, etc as I understand it | 18:21 |
nubae | and cron does /etc/crontab | 18:22 |
nubae | or am I missing something? | 18:22 |
Lns | nubae: anacron uses /etc/anacrontab | 18:23 |
nubae | well doh no wonder... there is no hourly in there :-) | 18:23 |
nubae | how silly is that | 18:23 |
Lns | ;) | 18:23 |
nubae | its supposed to replace cron but has no cron.hourly | 18:24 |
nubae | at least got to the bottom of it, thanks Lns | 18:24 |
Lns | np | 18:24 |
Lns | yeah what's weird is that i have a different line in /etc/crontab for hourly | 18:24 |
nubae | with cd / && in the front? | 18:25 |
Lns | yeah | 18:25 |
nubae | yeah took that out =) | 18:25 |
Lns | and why does both crontab and anacrontab have day/week/month stanzas? | 18:25 |
nubae | it should be one or the other | 18:27 |
nubae | its very confusing | 18:27 |
Lns | yeah... | 18:27 |
nubae | I really thought cron.hourly was run by cron, but its not, its run by anacron and isnt in the anacrontab | 18:27 |
Lns | well it looks like it's supposed to, with "17 * * * * root cd / && run-parts --report /etc/cron.hourly" in crontab | 18:28 |
nubae | yes but without the corresponding line in cron.hourly in anacron, its not being spooled it looks like | 18:29 |
Lns | nubae: looks like it works for me... Oct 6 10:17:01 Fibonacci /USR/SBIN/CRON[15189]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) | 18:30 |
Lns | I have nothing in cron.hourly though so i haven't tested | 18:31 |
nubae | yeah its annoying cause its working for me too | 18:31 |
Lns | nubae: are you using a sane shell descriptor at the top of your script? | 18:31 |
nubae | yes | 18:31 |
nubae | gtonna test with another script | 18:32 |
Lns | hrm..actually running it manually didn't work for me | 18:32 |
Lns | oh wait | 18:32 |
Lns | hmmmmmmmmm | 18:33 |
Lns | yeah it's not working for me either (running run-parts manually) | 18:34 |
nubae | so crontab pretends to do its job | 18:34 |
Lns | yeah | 18:35 |
Lns | and even reports to syslog | 18:35 |
nubae | cron executes cron.hourly, but then it stops... so I guess cron.hourly triggers anacron? | 18:35 |
nubae | is that possible? | 18:35 |
Lns | not sure | 18:35 |
nubae | because its only hourly not working | 18:35 |
Lns | its just a dir...i can't see how | 18:35 |
nubae | tried with a real simple test... touch itworks.txt | 18:35 |
nubae | nada... | 18:36 |
Lns | yeah me too | 18:36 |
Lns | only if you i wonder why crontab has a different style execution for .hourly | 18:36 |
Lns | taking out the test anacron | 18:36 |
nubae | yeah what does that do, test anacron? | 18:38 |
Lns | tests to see if anacron exists | 18:38 |
Lns | but to me it almost looks like run-parts is broken | 18:38 |
Lns | run-parts --list /etc/cron.hourly/ doesn't result in any scripts being returned, although i do have one in there and it's chmod +x'd | 18:39 |
nubae | well, lets try a daily one... by setting the clock to a minute after or so... | 18:39 |
nubae | no work either | 18:42 |
nubae | ure right run-parts must be broken | 18:42 |
nubae | that means all the scripts that are in there are not being executed | 18:42 |
nubae | lol | 18:42 |
nubae | thats a pretty serious bug | 18:42 |
Lns | well i'd hope others would notice too | 18:42 |
Lns | we could be doing something wrong | 18:42 |
nubae | yeah like what? ever document Ive read and every wiki points to simply putting the script in .hourly or .daily or whatever, + there are scripts in there already and they're not being executed | 18:44 |
Lns | nubae: http://ubuntuforums.org/showthread.php?p=5677105 | 18:44 |
nubae | its a mystery | 18:44 |
nubae | that would mean that by default everyones crons are broken | 18:45 |
Lns | i sure would hope that isn't the case | 18:45 |
Lns | thats *buntu, not just edu (i'm using ubuntu) | 18:45 |
nubae | me too | 18:46 |
nubae | so how do we verify that, I guess if a reinstall fixes it, then that is verification | 18:47 |
Lns | guess so.. ? | 18:48 |
nubae | sudo apt-get reinstall cron anacron --- that does not work | 18:49 |
Lns | --reinstall | 18:50 |
nubae | yeah the www doc is wrong | 18:50 |
nubae | nah that doesnt work | 18:52 |
Lns | nubae: apt-get --reinstall install cron anacron | 18:53 |
nubae | yeah I know, I mean that didnt fix the problem | 18:53 |
Lns | ah | 18:55 |
Lns | not sure...very eerie though | 18:56 |
nubae | its run parts thats broken, cause putting into crontab normally works | 18:57 |
Lns | hold on a sec | 18:58 |
nubae | just dont want to put a bug report up, unless I'm absolutely certain :D | 18:58 |
Lns | AH! | 18:59 |
Lns | you have an extension ( .sh ?) on your script, no? | 18:59 |
Lns | run-parts works when you remove all script extensions | 18:59 |
nubae | no | 19:00 |
nubae | :-) | 19:00 |
nubae | no .sh, I read about that | 19:00 |
Lns | well that fixed it for me =) | 19:01 |
Lns | are you using /bin/sh as your shell in the script? | 19:01 |
Lns | have you 'set -e' in it at the top? | 19:01 |
nubae | wait Ive still got the cd / && missing, let me put it back | 19:01 |
nubae | set -e ? | 19:02 |
Lns | i believe that sets the environment | 19:03 |
nubae | ok, lets see if that does it for me | 19:03 |
nubae | yep :-) | 19:04 |
nubae | thanks | 19:04 |
Lns | shit, that was right at the top of the run-parts manpage too | 19:04 |
nubae | that only took half a day | 19:04 |
Lns | If neither the --lsbsysinit option nor the --regex option is given then the names must consist entirely of upper | 19:04 |
Lns | and lower case letters, digits, underscores, and hyphens. | 19:04 |
Lns | so the 'set -e' did it for you, eh? | 19:05 |
nubae | yep | 19:05 |
Lns | damn anal cron ;) | 19:05 |
nubae | nowhere was that mentioned | 19:05 |
nubae | think I'll add an entry to my blog about this wonderful cron experience | 19:06 |
Lns | lol..nice | 19:06 |
nubae | god, feel like I was banging my head against a wall | 19:06 |
Lns | cron (moreso run-parts) should REALLY be more forgiving | 19:07 |
Lns | of course i'm sure there's a very good reason for its behavior, I'm just not seeing it | 19:08 |
nubae | I had #!bin/sh there | 19:08 |
nubae | jsut not the env | 19:08 |
nubae | gonna check the other scripts | 19:08 |
Lns | default ones normally have it - that's where i got it from i think | 19:09 |
nubae | well apt has it disabled | 19:09 |
Lns | "set -e" terminates the shell if any command returns a non-zero status | 19:09 |
nubae | check yours... cron.daily/apt | 19:10 |
Lns | yep | 19:17 |
Lns | doesn't have it | 19:17 |
Lns | (commented out) | 19:17 |
nubae | so wtf? | 19:18 |
Lns | not sure..maybe not every script requires it | 19:19 |
nubae | yeah, guess I should just be glad it works now :D | 19:20 |
Lns | yeah but understanding it would be nice too =) | 19:20 |
Lns | SO... regarding https://bugs.launchpad.net/bugs/269188 - the people in #ubuntu-mozillateam seem to think that getting this patch into the beta Intrepid is even a longshot. Any thoughts, since it affects *buntu LTSP setups on a critical level? | 21:01 |
ubottu | Launchpad bug 269188 in firefox "Extreme slowness, "Firefox is already running" error for >3 users launching Firefox in LTSP environment" [Undecided,Incomplete] | 21:01 |
nubae1 | Lns: The school I was working at before also mentioned extreme firefox slowness | 21:03 |
Lns | nubae1: I don't doubt it | 21:03 |
Lns | It seems like it would be critical to any Ubuntu LTSP setups with > 3 thin-clients (and nobody at the server feeding it mouse/keyboard entropy for everyone else) | 21:05 |
Lns | I'm just really scared that people aren't even going to look as far as Launchpad when installing *buntu LTSP and will just walk away since Firefox is broken | 21:05 |
Lns | And if it's really THAT hard to get a patch pushed into Hardy (even in -proposed)... what's the use? | 21:05 |
nubae1 | I'll add my 2 cents to the bug list and shout a bit ;-) | 21:06 |
sbalneav | Lns: Any reason given? | 21:06 |
Lns | heh...thanks nubae1 it'll be nice to have someone else's whining in there ;) | 21:06 |
Lns | sbalneav: 'fta' in #ubuntu-mozillateam says "we could take it in nspr, but it's a bit late in this cycle.. and we have the de-sonamization still under discussion blocking both nspr and nss" | 21:07 |
Lns | I don't know what "nspr", "nss" or "de-sonamization" means... | 21:08 |
nubae1 | hehe | 21:08 |
=== nubae1 is now known as Nubae | ||
sbalneav | Nubae: Section on "hardware", talking about hubs, switches, etc... | 21:09 |
sbalneav | You want them converted to sect3's, or maybe a bulletlist. | 21:09 |
sbalneav | Oh, btw, gimme 2 seconds, I'll push up my branch | 21:09 |
Nubae | ok... whatever u think looks best, I set them up as sect3s, but obviously openoffice killed that | 21:11 |
sbalneav | Crumb. Can I delete a branch on launchpad? | 21:14 |
* sbalneav thinks he'll never get used to LP | 21:14 | |
* Lns watches http://www.youtube.com/watch?v=VyEl3w7SFK4 | 21:22 | |
Nubae | heh, I was watching that the other day | 21:24 |
Nubae | I opted for printouts in the end | 21:25 |
Lns | ;) | 21:28 |
Nubae | Lns: does your triage fix the issue totally? | 21:32 |
Lns | Nubae: I don't know, but I'm assuming so. I haven't tested it (I don't know how to build packages/PPA it for use in my environment) | 21:32 |
Lns | That's why i'm learning about MOTU... | 21:32 |
Lns | I know that through all my troubleshooting, it was determined that /dev/random was sucking up all the entropy, especially when creating new user profiles in Firefox, and /dev/urandom would be a better choice since it doesn't block requests when entropy runs out | 21:33 |
Lns | I have a hack-ish patch that would work for testing | 21:33 |
Lns | but not the same patch..it would, however, prove that using /dev/urandom would fix the bug | 21:34 |
sbalneav | \o/ | 21:35 |
sbalneav | got it | 21:35 |
sbalneav | Nubae: OK, check out lp:~sbalneav/ltsp/ltsp-docs-sbalneav | 21:35 |
sbalneav | There's a LOT more work needing to be done, I'll work on it tonight, but at least I've got all of it in book form, with all the proper entities. | 21:36 |
sbalneav | OO.o's inserted some weeeiiird characters here and there, I have to hose them | 21:36 |
Lns | Nubae: download http://logicalnetworking.net/other/urandomize.tar.bz2 if you want to test it - you need to compile urandomize.so and then load it so calls to /dev/random get pushed to /dev/urandom instead (see README) | 21:37 |
sbalneav | plus, all of the screencap stuff like ps listings etc. has to be converted back into <screen></screen> entities, so that's left to do | 21:37 |
Nubae | ok, if there is anything I can do, sbalneav, let me know | 21:37 |
Nubae | although I fear I've already done too much ;-p | 21:37 |
sbalneav | sh*t happens, we deal :) | 21:38 |
sbalneav | content's more important, so if content's been added, I'm happy to do whatever reformatting to get it into shape. | 21:39 |
Nubae | does read ok? | 21:40 |
sbalneav | So far, the content's fine with me. I'm assuming you spell checked it? | 21:40 |
Nubae | yeah, the one good thing about open office :D | 21:41 |
sbalneav | Hmm | 21:43 |
sbalneav | Quanta for KDE looks like a promising docbook editor. | 21:43 |
Nubae | wont mess up formatting? guess I can compare against vi | 21:45 |
sbalneav | I'm installing it now. | 21:48 |
sbalneav | Ah, by the way, for spell checking an XML document, you can use aspell -H check <document> | 21:49 |
sbalneav | and aspell's smart enough to ignore all the XML tags | 21:49 |
Nubae | ah good to know | 21:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!