/srv/irclogs.ubuntu.com/2009/09/09/#ubuntu-server.txt

pigfluI want to install postfix with apt-get, but I want to do it in an unmanned script.   How do I get it to just use the "Internet Site" option and not require user input?00:19
jtimbermanpigflu: you need to preseed the package.00:21
jtimbermanhttp://wiki.debian.org/DebianInstaller/Preseed00:22
lamontjtimberman: and then he complains about it not being entirely preseedable... long painful story there.00:22
pigflujtimberman: Thanks for the link00:22
lamontpigflu: the other option is to just create /etc/postfix/main.cf before doing the install, and then it'll choose to "not change the configuration"00:22
pigflulamont: Ah, that works too00:23
pigfluI'll need to look into both options.00:23
pigfluThanks!00:23
=== monteith is now known as monteith_afk
=== monteith_afk is now known as monteith
djshotglasshi01:41
djshotglassi just burned off ubuntu-9.04-server-i386 and booted it01:41
djshotglassit wont let me selected english, once the cd boots my keyboard lights go out01:41
djshotglassi have tried every keyboard in the house01:41
djshotglassthey all work in bois untill cd boots01:41
djshotglasswhy does it not have the countdown that defaults to english like every other operating system on the planet?01:42
qman__if you have a USB keyboard, try changing the BIOS settings regarding that02:12
qman__if your keyboard doesn't work to select the language, it won't work to select "Install" either02:13
uvirtbotNew bug: #426597 in net-snmp (main) "Huy Pham" [Undecided,New] https://launchpad.net/bugs/42659703:36
f00fhey guys04:01
f00f ihave an install of apt-get while trying to update it stalled on me so i cntrl-z now it seems apt0get is currupted04:02
f00fi am completely stumped04:02
f00fcan anyone help04:02
f00fi can paste messages etc for you if you need04:02
f00fi am getting E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.04:02
f00fbut when i type it04:02
f00fit just gets stuck at Setting up module-init-tools (3.3-pre11-4ubuntu5.8.04.1) ...04:02
f00fchecking the log file04:03
f00fi see a whole bunch of these04:03
f00f kernel: 4gb seg fixup, process klogd (pid 1541), cs:ip 73:006dbc6c04:03
f00fwhere process is syslogd klogd sshd04:03
f00fetc...04:03
f00falso ps shows: root      3434 21.4  0.0   4724  1676 pts/1    R+   20:03   0:12 /usr/bin/perl /usr/sbin/update-rc.d module-init-tools start 15 S .04:05
f00fanyone ?04:07
ScottKHow long did you let it run?04:18
f00faround 8 mins04:18
f00fwhy do i keep getting these 4gb seg fixup, process nrpe (pid 14995), cs:ip 73:00192240 errors04:19
f00fnrpe is the nagios daemon04:19
f00fbut that dreaded 4gb seg fixup error keeps coming04:19
ScottKNot sure about that.04:19
f00fand i have no cliue what it is04:19
ScottKDoes Google know about it?04:19
f00fsupposedly it's a kernel lib that runs atop xen architectures04:20
f00fyeah google says to install the xen lib04:20
f00fbut i cant bc apt-get dpkg doesnt really work :-/04:20
=== chrislabeard is now known as artillerytx
artillerytxHey guys i heard there was a way to download torrents remotely on a server04:21
f00fartificialexit: torr ... check out the torr network... if your not talking about that then be more specific04:22
f00fScottK: any idea what these error messages are http://www.pastie.org/610529 ?04:23
f00fScottK: also it's been running for over 5 mins now04:24
f00fUSER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND04:24
f00froot      3434 21.3  0.0   4724  1676 pts/1    R+   20:03   4:17 /usr/bin/perl /usr/sbin/update-rc.d module-init-tools start 15 S .04:24
f00froot      3870  0.0  0.0   3636  1028 pts/0    R+   20:24   0:00 ps aur04:24
ScottKThis isn't in a xen vm is it?04:26
f00fScottK: yes it is on a amazon ec2 instance04:27
ScottKf00f: http://www.google.com/search?q=4gb+seg+fixup&ie=UTF-8&oe=UTF-8 may have some useful information.  I can't say for sure.04:29
Alysumhello - what does iU mean in dpkg -l pls?04:32
f00fAlysum: thats a list of your packages... iU is a simple package... google is your friend04:34
Alysumgoogle was not my friend mate04:35
Alysumhence I asked here04:35
f00fahh04:35
f00fi dunno04:35
f00finternet university04:36
f00fhaha04:38
f00fjk04:38
f00fi dunno dude04:38
f00fdid you use the dpkg utility04:38
f00fjust do a dpkg -l iU04:38
f00for just do a dpkg -p iU04:39
f00feasy04:39
twbAlysum: if you tried other resources (e.g. google), you should mention that in your initial question.  It shows that you are trying to help yourself.04:55
twbAlysum: iU in dpkg -l's output means that the package is installed and (IIRC) unconfigured.  The first few lines of dpkg -l's output should explain what each letter means.04:56
twb"Unpacked", not unconfigured.04:56
Alysumno05:26
AlysumiU is a state05:26
Alysumlike ii etc...05:26
error404notfoundis there a way i can log commands run by any user in a file, and if possible daily emailed to me and then deleted?06:49
cefwell there is command history for the shell the user runs (eg: .bash_history in the users home dir), but it's not exactly infallible, or reliable. but it might be a start06:59
cefor you might be able to implement something using the auditd architecture to log them all, but then you'd want to filter stuff out as well for things like cron, certain apps and the like07:01
ceferr apparmor even, but I doubt it would be useful, and if the machine is busy you'll have a LOT of logs to go thru07:04
twbThere is really no way to do that kind of thorough, clandestine monitoring of a stock Linux system.07:07
twbYou either need to give the user a VERY restricted environment, without the ability to perform arbitrary commands, and then wrap their entry point in a monitoring app -- or better, to insert something into the kernel that logs everything they do.07:08
=== monteith is now known as monteith_afk
=== monteith_afk is now known as monteith
uvirtbotNew bug: #349331 in qemu "limited screen resolution" [Low,Confirmed] https://launchpad.net/bugs/34933110:02
uvirtbotNew bug: #426704 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/42670410:02
=== johe|work is now known as johe
* soren lunches10:55
twbI suspect 349331 is not-a-bug.10:57
=== erichammond1 is now known as erichammond
maxagazhi12:31
maxagazhow to enable the connection to a machine in root mode ?12:32
hjmfmaxagaz: from where_12:37
maxagazhjmf, from my server12:38
maxagazhjmf, i mean to connect as root in ssh to a server12:39
alvin'PermitRootLogin yes' in /etc/ssh/sshd_config12:39
hjmfmaxagaz: take a look to /etc/ssh/sshd_config12:40
alvinThat is actually the default12:40
ScottKmaxagaz: You probably don't want to do that though.12:40
hjmfmaxagaz: and check PermitRootLogin yes12:40
hjmfand add root to AllowUsers12:41
ScottKOn the off chance you actually do have a need for a true root account, it's better to ssh in as a non-priviledged user and su to root.12:41
hjmfmaxagaz: also be sure that the root account is enabled and not just sudo12:41
hjmfI mean> root has a password12:41
hjmfmaxagaz: finally an advice12:42
hjmfaccess the server via ssh keys12:42
hjmfand install some kind of denyhosts stuff12:42
hjmfmaxagaz: I agree with ScottK12:43
maxagazthanks for those advices12:43
hjmfOK12:43
sorenkees, jdstrand, mdeslaur: Are any of you guys familiar with HOTP or TOTP?12:59
mdeslaursoren: no...first I have heard of it...interesting13:00
sorenmdeslaur: It gets better..13:01
zultotp = top of the pops?13:02
sorenmdeslaur: http://www.gemalto.com/products/ezio_time_token/13:02
sorenhttp://onlinenoram.gemalto.com/Ezio-Time-Token-for-use-with/M/B002CRN5X8.htm13:02
soren$12.99 a piece beats the ¤#&!"#¤ out of RSA SecurID.13:03
mdeslauryeah, and RSA's crappy algorithm13:03
mdeslaurwow13:03
mdeslaurit uses TOTP?13:04
sorenYes.13:05
* mdeslaur is excited13:05
sorenmdeslaur: I've not yet seen a pam-totp module, but I doubt it would be a huge task to make one.13:08
domasdamn, no shipping outside US13:09
sorenYeah :(13:09
* pmatulis is not surprised13:09
domasmy dream is having own TOTP auth, federated via openid etc elsewhere13:10
sorenThe key generation code is also quite simple, so an android app to generate it wouldn't be a big task either.13:10
domasmm, good idea too :)13:10
sorenpmatulis: About the shipping thing?13:10
mdeslaursoren: have you found a TOTP implementation somewhere?13:10
sorenmdeslaur: The spec contains a reference implemention, IIRC.13:10
* soren checks13:10
mdeslauroh duh13:11
mdeslauryou're right13:11
sorenTOTP is simple once you have HOTP, though. And HOTP certainly has a reference implementation in the spec.13:11
sorenIt would be soo awesome to ship these modules with Ubuntu and have Canonical sell branded tokens.13:12
mdeslaurinteresting...some of the totp authors are from verisign...I wonder if the verisign token uses that13:12
sorenLots of folks are involved in OATH, apparantly.13:14
sorenPerhaps I've been living under a rock, but I didn't know about it until earlier today.13:14
sorenmdeslaur: Yup, that seems to be what verisign uses.13:14
soren"VeriSign Identity Protection service is an open standards platform that supports OATH-compliant, time-based OTP generation for user authentication"13:15
mdeslaursoren: me either...and..I used to make a living selling authentication devices and smart cards13:15
sorenit13:17
sorenIt's funny how, when you know the secret keywords to google for, you can find lots and lots of manufacturers making these tokens.13:18
mdeslaurit's about time they standardize these things13:19
sorenIndeed.13:20
sorensmoser: I either disagree or do not understand your tagging bug 420635 with13:24
uvirtbotLaunchpad bug 420635 in ubuntu-on-ec2/intrepid "Update Hardy kernel AKI for local privilege escalation" [High,Triaged] https://launchpad.net/bugs/42063513:24
sorensmoser: 'uec-images'13:24
* soren continues to try to get used to his apostrophe being where it is..13:25
smosersoren, gone13:25
sorenmdeslaur: So... When can I apt-get libpam-totp, you think? :)13:25
smosersoren, i just updated a bunch of bugs, sorry for being a human with limited focus on long page loads :)13:26
sorensmoser: :)13:26
smoserthanks for noticing13:26
sorenmdeslaur: Do USN's always have corresponding bugs on Launchpad?13:27
mdeslaursoren: no, not necessarily13:27
sorenmdeslaur: If so, how can I look up the bug corresponding to, say, USN-819-1?13:27
mdeslaursoren: you can look up the CVE number, hold on...13:28
mdeslaurhttps://bugs.launchpad.net/bugs/cve/CVE-2009-269213:28
uvirtbotmdeslaur: The Linux kernel 2.6.0 through 2.6.30.4, and 2.4.4 through 2.4.37.4, does not initialize all function pointers for socket operations in proto_ops structures, which allows local users to trigger a NULL pointer dereference and gain privileges by using mmap to map page zero, placing arbitrary code on this page, and then invoking an unavailable operation, as demonstrated by the sendpage operation (sock_sendpage function) on a PF_PPPOX sock13:28
mdeslaursoren: you can also look in the ubuntu cve tracker, we usually put bug links there: http://people.canonical.com/~ubuntu-security/cve/2009/CVE-2009-2692.html13:30
uvirtbotmdeslaur: The Linux kernel 2.6.0 through 2.6.30.4, and 2.4.4 through 2.4.37.4, does not initialize all function pointers for socket operations in proto_ops structures, which allows local users to trigger a NULL pointer dereference and gain privileges by using mmap to map page zero, placing arbitrary code on this page, and then invoking an unavailable operation, as demonstrated by the sendpage operation (sock_sendpage function) on a PF_PPPOX sock13:30
mdeslaurdie, bot, die die die13:30
everti'm having a ubuntu 8.04 server, i'm wanting to get some virtual server on it (i prefer gentoo, but that doesn't matter). Is it possible to get any virtualization software (vbox?) working without having to reboot?13:32
hjmfevert: vmware i.e.13:45
evertwill it work without the need of a reboot?13:46
hjmfevert: yes13:46
blackxoredhello13:46
evertand is vbox possible without reboot too then?13:46
evertfor some reason i'd like to use vbox instead of vmware :)13:46
hjmfevert: I guess so; kvm too13:46
evertok, nice :)13:47
uvirtbotNew bug: #362013 in qemu "kvm migration fails with large-memory VMs" [High,Fix released] https://launchpad.net/bugs/36201313:47
hjmfevert: You'll only need to reboot in case of installing a new kernel in your host13:47
zulsoren: i have the hardy updated ec2 kernels built im just testing them out13:52
sorenzul: Why isn't John doing this?13:53
* soren seems to be asking that question a lot13:53
zulsoren: because scott asked me to do that13:53
sorensmoser: ^?13:54
smoserzul, i guess probably john should be doing that, yes.13:54
zulk13:55
garymcHi guys, my flash in firefox is messing with the sound. I need to uninstall this verion (dont know how to do it) and i need to install the best version (Dont know which one that is?) im in Ubuntu Server 9,0414:00
ScottKgarymc: Not if you're running Firefox you aren't (no X in ubuntu server)14:01
garymcsorry im using LTSP server im logged in through Thin client GUI14:02
garymcso am i still not using ubuntu server?14:02
ScottKOK14:03
rtgsmoser, do you have time to try the Ubuntu ec2 kernel in my PPA ? https://edge.launchpad.net/~timg-tpi/+archive/ppa14:03
ScottKThis still isn't a good channel for flash/firefox questions.14:04
smoserrtg, you have it built ? or you want me to build too14:04
rtgsmoser, binaries await your pleasure14:05
rtgsmoser, I don't know how to extract the right bits and pump them into the cloud.14:05
rtgI've just built a kernel with the 3.02 xen patch set according to the results that zul and jj came up with last friday14:06
smoserzul can help with that. i'm not exactly sure what you need to upload.14:06
zuli can get to it later this morning probably14:07
smoserzul, maybe preferable for you to just document what i need to do ?14:09
zulsmoser: its already documented on the wiki14:10
smoserzul, the only thing i dont know is what goes at '<path of kernel>'14:12
zulthe vmlinuz file14:12
zulmaybe get jj to upload it and have him ask you to test it14:13
smoseri'll upload it.14:13
smoserzul, fyi, i have centos 5.0 dvds, they are sitting at http://smoser.brickies.net/iso/centos/5.0/14:14
zulhow long did it take you to get them? ;)14:14
smoserbut apparently the apache there has a 2gb file limit, so they dont show up and it wont give them to you14:14
smosersomeone pushed them ftp for me from a fairly fat pipe, and then i copied.14:15
smoseri actually lost all peers sometime yesterday.14:15
zulheh14:15
smoserif you're interested in downloading, i can give you ftp access14:15
zulsure14:15
rtgsmoser, I think I've plenty of space on zinc if you wanna store them there.14:16
oly-just been looking at logrotate file in /etc/logrotate.d/ i would like to know if you can tell it to work recursively through folders ?14:18
oly-ie scan /home/www/*/*.log type syntax, because each domain has its own log file in seperate folders14:19
oly-anyone know if this is possible ?14:19
smoserzinc ?14:19
smoserrtg, if you want to pull them to there, that might be useful14:19
smoseri can give you access.14:20
rtgsmoser, well, I'm only gonna bother if its really useful 'cause it'll take awhile.14:20
smoserrtg, then dont bother14:20
smoserwhat is zinc?14:21
rtgsmoser, kernel.ubuntu.com14:21
smoserah. dont worry about it.14:21
konzahi all , telnet localhost 10024 is not working ... please help14:25
uvirtbotNew bug: #394967 in apache2 (main) ""aptitude upgrade apache2" overrides run-level settings (dup-of: 416318)" [Undecided,New] https://launchpad.net/bugs/39496714:27
uvirtbotNew bug: #414997 in ec2-init "ec2-set-defaults should be 'run_once_per_ami'" [Undecided,In progress] https://launchpad.net/bugs/41499714:36
hjmfkonza: what do you expect to find at 10024?14:44
konzahjmf, i am tryinig to install a mailserver... while following the instructions in ubuntu docs it was writen ther to telnet port 1002414:45
hjmfamavisd?14:46
konzahjmf,ya14:46
hjmfkonza: what version of ubuntu are you using? and what docs are you following?14:46
konzaubuntu 9.04      https://help.ubuntu.com/community/PostfixAmavisNew14:47
konza please see this                   http://paste.ubuntu.com/267946/14:48
hjmfkonza: looking14:48
konzahjmf,  please see this                   http://paste.ubuntu.com/267946/14:48
ScottKkonza: I'd check out https://help.ubuntu.com/9.04/serverguide/C/mail-filtering.html since it's the official docs.14:49
ScottKkonza: Do what it says in your paste.14:50
konzaScottK, how to change that ......... when i run uname i get   'Linux'14:50
ScottKkonza: Then set it in /etc/amavis/conf.d/05-node_id using your favorite editor.14:51
hjmfkonza:  run hostname -f or use localhost14:52
hjmfas fqdn; it might work14:52
konzahjmf, hostname -f gives  KONASA14:52
hjmfbut konasa doesn't include the domain part14:53
hjmfedit /etc/hosts14:53
hjmfwith something 127.0.0.1 konasa.localdomain konasa14:53
konzahjmf, what should i do to include domain name14:53
hjmfif you are playing include whatever you want: ie localdomain or local.lan14:54
hjmfas long as you reflect it in /etc/hosts too14:54
hjmfI guess.14:54
hjmfI havent never configured amavisd, but should work14:55
hjmfI would use localhost.localdomain as fqdn14:55
hjmfand in etc/host I'd put14:55
hjmf127.0.0.1 localhost.localdomain if it isn't already14:56
konzahjmf, http://paste.ubuntu.com/267953/14:56
hjmfkonza: then add the domain part :-)14:57
hjmfman hosts14:57
hjmfkonza: as I said before, localhost might work for amavisd conf.15:00
konzahjmf, can u pls make the necessary changes in /etc/hosts and paste it15:02
hjmfkonza: leave etc/hosts as it is for the moment15:03
konzahjmf, k15:03
hjmfjust configure amavis to use localhost as $myhostname15:03
domasis anyone from ubuntu security team here? :)15:04
konzak15:04
konzahjmf, http://paste.ubuntu.com/267961/15:06
domasmdeslaur: ping! :)15:06
mdeslaurdomas: yes?15:07
domasmdeslaur: can I have private security inquiry with you?15:07
hjmfkonza: please pastebin the amavis conf file15:07
mdeslaurdomas: sure15:07
konzahjmf, http://paste.ubuntu.com/267964/15:10
hjmfkonza: sorry, I meant the /etc/amavis/conf.d/50-user where you put the localhost setting15:11
hjmfkonza: also pastebin the offending /etc/amavis/conf.d/05-node_id15:13
konzahjmf, problem solved15:14
hjmfkonza: cool15:14
konzahjmf, thanks15:15
konzahjmf, thanks a lot.15:15
hjmfkonza: you are wellcome15:15
konzahjmf, i just added $myhostname = "shyam.localhost.com"15:16
hjmfkonza: you should use your real hostname and your real domain name or just localhost15:18
hjmfkonza: per real hostame and real domain name it might be konasa.local.lan15:18
konzahjmf, so should i change  shyam.localhost.com to localhost15:19
hjmfkonza: It would be better if it works15:19
konzak15:19
konzahjmf, its working15:20
hjmfkonza: great!15:21
boboAnyone have experience with AppArmor not allowing/complaining about read-access to '/usr/share/zoneinfo' when such access is clearly ( and redundantly ) allowed in the profile?15:24
konzahjmf, imap login failed...15:30
konzahj what to do15:30
konzahjmf, u there dude?15:31
hjmfkonza: what are you using as imap server?15:32
hjmfkonza: is it running?15:32
konzahjmf, courier15:32
hjmfkonza: which is the error?15:32
hjmfyou might want to check the logs at /var/log15:32
bobokonza: what are you using for auth backend? vpopmail? sql? pam?15:33
konzahjmf, i used the command    imap login shyam mypassword15:33
konzaimap NO Login failed.15:34
konzabobo,  sql15:34
bobowhat db?15:35
konzabobo, actually i didnt understand ur question15:35
hjmfkonza: you should provide more info. Check if the process is running and the log info15:36
konzahjmf, how should i check it15:36
hjmfkonza: I don't have experience with courier-imap I use dovecot in my servers15:37
hjmfkonza: however there should be some files named courier or similar in /var/log15:37
hjmfkonza: check them15:37
bobocourier has  ( or at least used to have ) an auth-daemon which could use various different back-ends for obtaining user-credentials.  Other parts of the courier mail system ( like the IMAP server ) would talk to the auth-daemon.  The Auth-daemon would check provided credentials against any store it was configured to use:  a sql-database ( mysql/pgsql ) or /etc/passwd or a vpopmail installation or others15:38
hjmfkonza: also check if courier is running; ie ps aux | grep -i courier15:38
smosersoren, ping15:38
hjmfbobo: I'm sure that konza is vaildating against passwd15:38
smoserhttps://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/421707 or maybe zul, or kirkland or anyone.15:39
uvirtbotLaunchpad bug 421707 in landscape-client "landscape-client cron job is broken" [Undecided,Fix committed]15:39
smoseram i doing the above "right" ? nominating that for release ?15:39
* kirkland looks15:39
sorensmoser: What's up?15:39
smoser^^15:39
uvirtbotsmoser: Error: "^" is not a valid command.15:39
smoserfunny. silly uvirtbot15:40
* zul looks15:40
smoseri'm trying to mark that we need to fix landscape-client in those hardy and in intrepid (well, maybe not intrepid)15:40
niemeyersoren: So, the error is a bit weird.. when the admin interface on port 8443 comes up, the API on 8773 goes down15:40
niemeyersoren: Rings any bells?15:40
zulsmoser: you should just be able to copy from the landscape ppa to the ubuntu-on-ec2 ppa15:41
smoserzul, yes. i'm just wondering about the "Nominated for Hardy"15:42
kirklandsmoser: accepted15:42
bobokonza: check the logs as hjmf suggests, first ( courier logs , /var/log/auth ) ;  Worst case, if it is file-system based authentication you can stop the courier auth-daemon and restart it under 'strace -f' and look for the unsuccessful system call.15:42
smoseris that the right way to do this stuff ?15:42
sorenniemeyer: Not off the top of my head.15:42
kirklandsmoser: set the status/importance appropriate15:42
sorenkirkland: Have you seen niemeyer's problem before?15:42
kirklandsoren: niemeyer: hrm, no, i haven't15:42
sorenniemeyer: Nothing of interest in the logs?15:43
smoserok, now please reload that page.15:44
niemeyersoren: There are errors there, but nothing I can parse myself15:44
sorensmoser: I just accepted the nominatoins.15:44
smoserwhat i'm trying to indicate in those tasks (under "landscape-client (Ubuntu)") is that karmic is "fixed" (no problem) .15:45
sorensmoser: Actually, I wanted to just accept the Hardy one, but Launchpad accepted both when I clicked the button.15:45
sorensmoser: In that case, it looks correct to me.15:45
smosersoren, do you think it should be fixed in intrepid ? (I'm actually not certain the bug exists there, my guess i sprobably not, but need to verify)15:46
sorensmoser: I would say it's low/wishlish importance for Intrepid. If we suddenly have a lot of time on our hands, we can look at it.15:47
smoserand, given the indication that this is the new way to do things, i am going to get bug 420635 in line also15:47
uvirtbotLaunchpad bug 420635 in linux "Update Hardy kernel AKI for local privilege escalation" [Undecided,New] https://launchpad.net/bugs/42063515:47
smosersoren, i'll verify whether or not its present there really quick and just kill it as invalid if not15:47
niemeyersoren: I'll leave for a quick lunch and try to get hold of someone from Eucalyptus15:48
sorenniemeyer: They're only just starting to turn up. They're on the US west coast.15:49
smosersoren, can you accept nomination for 420635 to hardy and intrepid15:49
sorenbug 42063515:49
uvirtbotLaunchpad bug 420635 in linux "Update Hardy kernel AKI for local privilege escalation" [Undecided,New] https://launchpad.net/bugs/42063515:49
sorensmoser: Done15:50
mxzypltkanyone have luck with installing latest e1000e intel drivers on 9.04?  readme states it cant be compiled and has to use modprobe.  Im able to make binary, assign ip, and ping but disappers with reboot...15:51
* soren will be back later..15:51
VirtualDisastermxzypltk: hmm ill test it tonigt15:53
mxzypltkthx.  Using it as a wshark capture card for netflow box and it starting to frustrate me a bit!15:55
=== monteith is now known as monteith_afk
smosersoren, please accept nominations for bug 30853016:00
uvirtbotLaunchpad bug 308530 in ubuntu-on-ec2 "Wait for network before downloading ssh credentials or user-data" [Medium,Fix released] https://launchpad.net/bugs/30853016:01
boboIs anyone using AppArmor on Ubuntu?  Is there a better channel for AppArmor stuff?16:06
jdstrandbobo: virtually everyone is using apparmor on Ubuntu-- it is installed by default and several applications have default profiles16:07
jdstrand(in other words, you have to turn it off to not use it)16:07
boboNo one has run into my /usr/share/zoneinfo problem?16:08
jdstrandbobo: what problem? what profile? paste your profile and dmesg output somewhere16:09
bobosomewhere NOT in this irc?  I am unfamiliar with the basic conventions and courtesies of IRC.16:10
jdstrandbobo: http://paste.ubuntu.com/16:11
jdstrandbobo: also paste the output of aa-status16:11
smoserkirkland, can you accept nominations for bug 30853016:13
uvirtbotsmoser: Error: Could not parse data returned by Launchpad: timed out16:13
smoserjdstrand, sometime today, when you have a minute can we talk ?16:13
jdstrandsmoser: absolutely16:15
smoserwhenever you've got a minute or 15 or 2016:15
jdstrandsmoser: right, let me ping you16:15
smoserk16:15
bobojdstrand:  http://paste.ubuntu.com/267993/  ( re: AppArmor )16:16
clustyhey16:17
clustygot a small problem16:17
jdstrandbobo: you have access to all files under /usr/share/zoneinfo, but not /usr/share/zoneinfo itself16:17
clustyi got 10 machines that are accessing the same NFS resource and the clocks are all screwy16:17
clustyor at least make complains16:17
jdstrandbobo: add '/usr/share/zoneinfo/ r,'16:17
bobothanks16:17
clustydo i need to make some machine a NTP server?16:18
clustyand all other machines conect to it?16:18
jmarsdenclusty: If they have Internet connectivity you could just make all of them NTP clients, no need for your own NTP server.16:18
clustyjmarsden, ok. they are connected to net16:19
boboIt would be kinder to upstream time-servers to maintain your own master16:19
jmarsdenIf it was 100 machines you should definitely have your own server, but for 10 it's up to you.16:19
clustyjmarsden, is there some service i can install to regularilly fix times?16:19
clustyjmarsden, or it's a job for cron?16:19
VirtualDisasterjust use router as NTP server16:19
VirtualDisasterthats what i do, pfsense as router/ntp etc16:19
VirtualDisasterdns if need be16:19
jmarsdenclusty: sudo apt-get install ntp16:20
jmarsdenIt that service is running it will keep the machines time in sync for you.16:20
clustyjmarsden, awesme. thanks16:20
jmarsdenYou can check to see that it is working (after a few minutes for the time sync to happen) using ntpq -p which shows what NTP sever(s) your machine is talking to and whoch one it is synced to.16:21
the-dudewhats a good place to ask something about dh_make?16:23
jmarsden#ubuntu-motu , if you are creating packages for Ubuntu.16:24
clustyjmarsden, is the list of servers changing dynamically?16:24
the-dudejmarsden: thx :)16:24
jmarsdenclusty: No, see /etc/ntp.conf you can set them in there.16:25
jmarsdenBut for "good enough for NFS" the default will be fine.16:25
jmarsdenthe-dude: No problem.16:26
clustyjmarsden, offset is the time offset in seconds?16:28
konzahjmf, hi... there was some problem with my net connection... srry......16:35
hjmfkonza: then, It is working now?16:37
konzahjmf, nope16:41
=== dyh is now known as roodyk
Techtronichello , how to reinstall nagios ?16:52
nijabajdstrand: hello.  Just read your apparmor addition to karmic's tech overview.  great stuff.  Just one question: what do you mean by "transistion" in the sentence "AppArmor also now supports 'pux' which, when specified, means a process can transition to an existing profile if one exists or simply run unconfined if one does not."?16:52
nijabaTechtronic: sudo apt-get install nagios?16:53
VirtualDisasterreinstall or reconfigure?16:53
the-dudeor sudo apt-get install --reinstall nagios16:54
Techtronicnijaba 1min16:54
TechtronicNot replacing deleted config file /etc/nagios3/conf.d/host-gateway_nagios3.cfg include file /etc/nagios3/apache2.conf does not exist! E: Sub-process /usr/bin/dpkg returned an error code (1)16:54
TechtronicNot replacing deleted config file /etc/nagios-plugins/config/disk.cfg .... howto fix this ?16:56
jdstrandnijaba: if a process is confined by a profile (eg, firefox), and it needs to execute another process, that is a transition16:56
TechtronicErrors were encountered while processing: nagios3-common , nagios316:57
thkinstalling hardy on server and want to preserve /home on lvm volume; will the install reformat these?16:58
nijabajdstrand: ok.  so in other word, pux would be used to have firefox ask the system "hey, please execute this with its own profile if it has one, otherwise without?"16:59
kaushalhi16:59
jdstrandnijaba: so, if firefox needs to launch evince, it must either transition out of confinement (ux) for the forked process, or transition into a new profile for the forked process (px)16:59
kaushali want to set ulimit for nofile to 32000 for a particular user, it doesnot allow me on ubuntu 8.04 . is there a specific reason ?16:59
jdstrandnijaba: exactly16:59
kaushalI have set it in limits.conf file16:59
nijabajdstrand: ok, thanks a lot16:59
jdstrandnijaba: before, you couldn't do that16:59
nijabajdstrand: I guess :)16:59
jdstrandnijaba: before, you could only specify 'ux' or 'px', but 'px' wasn't practical because if the profile didn't exist and you tried to transition to it, the fork would fail17:00
konzahjmf, when loging , we should type the username and passwd of my account in linux rite?17:01
uvirtbotNew bug: #426769 in mysql-dfsg-5.0 (main) "mysql-{common,client,server} still (also) build from mysql-dfsg-5.0" [High,In progress] https://launchpad.net/bugs/42676917:01
niemeyerHmm.. I'm having some issues with defunct bash processes (child of ssh) and CTRL-* keys not working on the terminal after upgrading to Karmic17:03
konzaanyone knows to login to imap using telnet.............. plsssssssss help17:03
niemeyerHas anyone faced something similar?17:03
jdstrandniemeyer: known bug...17:03
niemeyerjdstrand: Oh, woohay17:03
* jdstrand goes to get it17:03
jdstrandbug #40742817:04
uvirtbotLaunchpad bug 407428 in udev "worker signal mask inherited by children" [High,Confirmed] https://launchpad.net/bugs/40742817:04
bobokonza: telnet <imaphost> 14317:04
niemeyerjdstrand: Thanks!17:04
jdstrandniemeyer: sure! :)17:04
bdmurraykirkland: where does bug 426272 belong?17:05
uvirtbotLaunchpad bug 426272 in ubuntu "Encrypted home directory file Input/output error" [Undecided,New] https://launchpad.net/bugs/42627217:05
konzabobo, how to login after this?17:05
bobodunno ; I am not sure that IMAP is human friendly.  Can you login via POP3?17:06
kirklandbdmurray: looking17:07
konzabobo, nope... i am using courier-imap17:07
kaushalchecking in again for my query ?17:07
konzaVirtualDisaster,  u there dude?17:07
VirtualDisasteryeah sec17:08
boboCourier does pop3 as well.  If you can't login in with POP3 either, you know something you don't know now.17:08
konzaVirtualDisaster, after connecting to imap server how should i login........?17:08
kirklandbdmurray: ecryptfs-utils is fine to start17:10
kirklandbdmurray: i'll update it17:10
VirtualDisasterdepends on what/how you want to accomplish that17:10
konzaVirtualDisaster, i used the login command but its not working17:11
bdmurraykirkland: cool thanks!17:12
VirtualDisasterkonza: sec cat busted nose17:13
Techtronicpleas help http://pastebin.com/m3c2d130717:18
kaushalchecking in again for my query17:18
kaushal?17:18
KillMeNowa Nagios question...  not my cup of tea...  i like Zenoss better17:20
Techtronicwho is better ? Zenoss or nagios17:22
KillMeNowZenoss IMHO17:22
* KillMeNow waits for the flames to start17:22
Techtroniclooks great , thanks17:27
kaushalAppArmor is an alternative of selinux in Ubuntu Hardy ?17:29
jdstrandkaushal: it is the default MAC system for Ubuntu, yes. See http://wiki.ubuntu.com/AppArmor for details and links to docs17:30
kaushaljdstrand: how can i disable it ?17:31
KillMeNowgah!  i've never gotten apparmor to work properly17:31
kaushalsudo /etc/init.d/apparmor kill <enter>17:31
kaushalsudo update-rc.d -f apparmor remove <enter>17:31
kaushal?17:31
jdstrandkaushal: are you having trouble with a profile?17:31
kaushalnope17:31
jdstrandkaushal: do you want to use selinux or no MAC?17:32
kaushalI am having issue with ulimit for a particular user ?17:32
kaushalI have set ulimit for a particular user to 32000 and set it in limits.conf17:33
jdstrandkaushal: that is doubtfully an apparmor problem. to temporarily see if it is a problem, 'sudo /etc/init.d/apparmor stop'17:33
kaushalok17:33
jdstrands/is a/is the/17:33
kaushalsure17:33
jdstrandkaushal: apparmor will complain in /var/log/kern.log if it was the problem17:33
jdstrandkaushal: see https://wiki.ubuntu.com/DebuggingApparmor for details17:34
kaushaljdstrand: it isnt there17:34
jdstrandkaushal: what isn't there?17:34
kaushalI mean apparmor script is not present under /etc/init.d17:35
jdstrandkaushal: what does 'sudo aa-status' say?17:35
kaushalthat program is not there17:36
jdstrandkaushal: do you have a /sys/kernel/security/apparmor directory?17:36
kaushalapparmor directory isnt there17:37
kaushaljdstrand: what could be the issue of ulimit ?17:37
jdstrandkaushal: then apparmor isn't installed (and definitely not the problem ;)17:37
kaushalyeah17:37
kaushalI believe so17:37
kaushaljdstrand: what could be the issue of ulimit ?17:38
jdstrandI'm not sure17:39
=== niemeyer_ is now known as niemeyer
Davieymathiaz: When you get a moment, can you lookover Bug #42691917:42
uvirtbotLaunchpad bug 426919 in mysql-dfsg-5.1 "thread_stack setting is too small" [Undecided,New] https://launchpad.net/bugs/42691917:42
=== niemeyer is now known as niemeyer_
=== niemeyer__ is now known as niemeyer
smoserlandscape-client as a ppa in ubunt-on-ec2 seems to make reasonable sense for hardy given it wasn't packaged.17:54
smoseri was confused by existance of http://packages.ubuntu.com/hardy/landscape-client17:54
smoserzul,17:54
zulsmoser: okies..17:55
smoseri'll wait for soren to weigh in, but how common / difficult is it to get a new package for a stable release ?17:55
zuldepends on the package but I dont think it would be a big issue you might want to talk to the landscape guys17:59
uvirtbotNew bug: #419150 in ipsec-tools (main) "Setkey has no policy priority support compiled in" [Undecided,Incomplete] https://launchpad.net/bugs/41915018:06
mathiazjdstrand: hi18:12
mathiazjdstrand: could you have a quick a look at the stock reply I've added to https://wiki.ubuntu.com/DebuggingMySQL to cover the case where mysqld apparmor hasn't been updated correclty18:13
mathiazjdstrand: ?18:13
jdstrandok18:13
jdstrandmathiaz: I might reference https://wiki.ubuntu.com/DebuggingApparmor#Debugging%20procedure specifically18:15
mathiazjdstrand: ok - I'll update the wiki page18:15
jdstrandcool18:15
mathiazjdstrand: I'm adding more information about debugging mysqld and reading the log file18:16
niemeyersoren: nurmi helped solving the issue18:16
jdstrandmathiaz: I might also say that they really only need to send audit messages from kern.log18:16
smosermathiaz, ttx, zul kirkland soren http://www.bizjournals.com/stlouis/stories/2009/04/06/daily40.html18:17
mathiazjdstrand: are you refering to the first stock reply?18:17
zulsmoser: thats alot of pi18:17
niemeyersoren: Somehow there was an old /usr/share/eucalyptus/eucalyptus-commons-ext-0.4.jar from an old package, even though the file was being claimed by the newer libeucalyptus-commons-ext-java 0.4.2-0ubuntu118:18
jdstrandmathiaz: yeah. somthing like the output of "egrep 'audit\(|apparmor|selinux|security' /var/log/kern.log"18:18
jdstrandmathiaz: you can drop the selinux part, but may want to keep it just in case18:18
mathiazjdstrand: ok18:18
niemeyersoren: This was solved by18:18
niemeyer<nurmi> apt-get purge `apt-cache search eucalyptus | awk '{print $1}'`18:18
niemeyer<nurmi> rm -rf /etc/eucalyptus /var/lib/eucalyptus /var/log/eucalyptus /usr/share/eucalyptus18:18
niemeyer<nurmi> apt-get install eucalyptus-cloud18:18
jdstrandmathiaz: that is taken from apport hooks that grab the stuff automatically18:18
mathiazjdstrand: apport hooks from with package?18:19
jdstrandmathiaz: several actually. I grabbed the regex from evince18:19
jdstrandmathiaz: /usr/share/apport/package-hooks/source_apparmor.py should have some good stuff in it18:20
mathiazjdstrand: ok - I've used a different approach for adding audit messages in the mysql apport hooks18:20
kirklandmathiaz: if the american taxpayer is funding the delivery of pizza from St Louis to Washington DC, my opinion of obama will be even lower than it already is18:22
pmatuliskirkland: wrong channel?  :)18:28
kirklandpmatulis: sorry, yes, you're right18:29
* kirkland apologizes for going political :-)18:29
kirklandpmatulis: that was for smoser's link18:29
pmatuliskirkland: ah18:29
kirklandpmatulis: we ate at that pizza joint last week in St. Louis18:30
smoserkirkland, i wondered who paid for the 2 pizzas and "delivery"18:30
smoserwhat do you tip on that ?18:30
kirklandsmoser: taking this to PM, as I don't want to get too political in #ubuntu-server :-)18:31
smoser:)18:31
kaushalhi18:32
kaushalis there a way to find if any updates are available for a package18:32
kaushal?18:32
kaushalFor example autossh18:32
pmatuliskaushal: apt-cache policy autossh18:32
pmatuliskaushal: after an 'apt-get update'18:33
SirMontuHey guys, I just installed Ubuntu Server 8.10 and I'm trying to figure out how to install this Linksys nic, anyone have any directions or a link i could get?18:40
kaushaljdstrand: hi again18:40
kaushali got a reply from the mailing list18:40
kaushalAre you calling pam_limits.so somewhere in your PAM stack?18:40
kaushalplease help me understand this ?18:40
kaushalfor the ulimit issue18:41
jdstrandkaushal: I am not a pam_limits.so expert, but they are referring to files in /etc/pam.d. probably most specifically /etc/pam.d/common-*18:43
J_Phi all19:14
J_Pare there a problem with sources.list of jaunty?19:14
J_Phere is very very slow or stop..19:14
J_Pa apt-get update19:14
J_Por apt-get dist-upgrade19:14
J_Panyone know what is the problem?19:14
KillMeNowhaven't heard of any issue19:15
PiciJ_P: It may just be the mirror you are hitting, I've not seen or heard of any issues today.19:15
henkjanJ_P: you can try another mirror19:15
J_Phenkjan: humm, what are the list of mirrors?19:16
the-dudeor change country mirror19:16
henkjanhttps://wiki.ubuntu.com/Mirrors19:16
J_Pthe-dude: henkjan ok19:17
henkjanJ_P: https://launchpad.net/ubuntu/+archivemirrors19:17
henkjanon the last one from launchpad you can check if the mirror is up2date19:17
henkjanof course, the best one to use is nl.archive :)19:18
J_PI change country mirror and works19:18
toehiois there a package that contains everything necessary to turn ubuntu-server into ubuntu-desktop (Gnome + all other desktop apps)?19:21
uvirtbotNew bug: #362603 in unixodbc (main) "ODBCConfig fails on configure existing data source" [Undecided,Incomplete] https://launchpad.net/bugs/36260319:21
henkjantoehio: apt-get install ubuntu-desktop19:21
toehiohenkjan: thank you!19:22
toehiois there something similar for xfce?19:22
toehioxubuntu-desktop :)19:23
henkjantoehio: thats right19:23
toehioSo simple. I love it :)19:24
pan12345http://www.thaiadpoint.com/tap8.1/bin/redir.php?p=2042&l=1357&u_id=36343519:51
zulsmoser: you might want to add a section about removing images with big fat security holes19:53
smoserhm... doesn't that seem rude ?19:54
pan12345http://www.thaiadpoint.com/tap8.1/bin/redir.php?p=2042&l=1357&u_id=36343519:54
zulsmoser: it might but better safer than sorry20:00
zulim pretty sure rhel does it20:00
zuljust thought I would bring it up20:02
smoseri'm not aware of any software release that actively destroys old release media20:03
smoserie, fedora doesn't remove install isos because they have security flaws, nor does ubuntu20:04
keessmoser: nothing what was in release is removed, but anything between release and current -security or -updates is removed (though not the source)20:05
smoserhm... i didn't realize that.20:06
boriorhi all, I'm running ubuntu-server 9.04 and am trying to get a xen-compatible kernel up and running. where can I find the default server kernel config? no /proc/config.gz... =(20:26
borioroh, *duh*. /boot.... sorry for not looking there first!20:30
giovaniheh20:31
giovanithat's where they always are ...20:31
zulkees: but didnt we release new isos when that ssh key vuln was found?20:32
keeszul: correct.20:33
keeszul: er, actually, I can't remember now20:33
sorenkees: Had you heard of TOTP and/or HOTP before?20:33
zulkees, smoser: maybe have something like ec2-init check the ami id against a blacklist of amis  you are running and print out a big fat warning when the user login20:34
keessoren: hadn't, no20:35
sorenkees: Alright.20:35
ruben23hi20:54
ruben23how do i completely stop an application running form my ubuntu server- even when the server is restarted....20:55
sorenruben23: What's the application?20:55
ruben23the application will not still run20:55
ruben23like mysql and apache20:55
ruben23that two application..20:56
sorenEh? Are you trying to start or stop it?20:56
ruben23i mean completely disable20:56
ruben23the two service20:56
ruben23anyone have idea...?20:57
ruben23anyone...?21:00
sorenI don't understand your question.21:02
domasupdate-rc.d21:02
zoopsterruben23: use update-rc.d to remove it21:02
sorenAre we talking about apache and mysql or something *like* apache and mysql?21:02
sorenAnd are you trying to start it or stop it?21:02
ruben23zoopster: how do i execute it..21:03
ruben23yes--i said stop it21:03
=== monteith_afk is now known as monteith
uvirtbotNew bug: #302962 in mailman (main) "Mailman web interface does not work with suexec" [Undecided,Incomplete] https://launchpad.net/bugs/30296221:56
qman__kees, yeah, new ISOs were built shortly after the SSH key vulnerability22:05
qman__it was 6.06.1 IIRC22:05
George1Hi Guys, basic question about Ubuntu server 9 running the cloud software. If I add a virtual machine into the cloud is that then running on a single server or does it run over multiple servers within the cloud?22:09
George1Assuming  I had say 2 servers in my cloud config.22:09
KillMeNowno idear22:11
guntbertI wanted to know to which package "man" belongs, apt-file search "/usr/bin/man" gives several results but *nothing* for man itself - whats the trick?22:15
dmacnutt/usr/bin/man22:17
guntbertdmacnutt: ??22:18
dmacnuttprobably part of base-files22:18
dmacnuttmaybe doc-base22:19
guntbertdmacnutt: let me test some ideas22:21
dmacnuttnevermind it's called "man"22:23
=== foxbuntu` is now known as foxbuntu
keesqman__: dapper wasn't affected :)22:37
guntbertdmacnutt: do me a favor - please try dpkg -S man | grep bin/man on your system - that *should* give /usr/bin/man and a few more...22:39
jdstrandguntbert: dpkg -S /usr/bin/man22:46
jdstrandman-db: /usr/bin/man22:47
* soren is getting annoyed.22:48
sorenCan some please calculate the HMAC_SHA1 with key "12345678901234567890" and data 0 (ASCII 0, not '0')? I have a document that says it should yield one value, but I'm getting another.22:48
qman__kees, ah, my bad, but I do distinctly remember a new build right after the vulnerability22:48
guntbertjdstrand: strange here I get ...not found but  man-db is installed22:53
jdstrandguntbert: what version of Ubuntu?22:53
guntbert9.04 server22:54
jdstrand$ ls -l /usr/bin/man22:54
jdstrandlrwxrwxrwx 1 root root 17 2009-04-24 18:03 /usr/bin/man -> ../lib/man-db/man22:54
jdstranddpkg -S /usr/lib/man-db/man22:55
jdstrandman-db: /usr/lib/man-db/man22:55
jdstrandguntbert: ^22:55
* soren headdesks22:55
sorenNever mind about that HMAC.22:55
guntbertjdstrand: ok, thx - I finally understand - silly me22:56
* soren kicks himself and learns the difference between bits and bytes22:56
guntbertsoren: 8bits are .... uuhhmm what? ;-)22:57
KillMeNowbut what about nibbles guntbert??23:01
ScottKguntbert: two nibbles.23:01
guntbertKillMeNow: oh you naughty boy ;-)23:01
KillMeNowLOL23:04
* KillMeNow likes nibbles23:04
sorenguntbert: Something very different from 8 bytes. I know that much.23:05
sorenNow.23:05
guntbertsoren: don't worry, I hear those sentences rather often (as in "an IPv4 address consists of 4 bit" :-))23:07
sorenmdeslaur: In other news, in case you're interested, I have a HOTP key generator in Python now.23:10
mdeslaursoren: oh, cool :)23:12
mdeslaursoren: so, besides adding time drift handling...is there anything missing to make a validator?23:13
mdeslaursoren: did you order a token?23:13
sorenmdeslaur: Yeah, there are a few things like throttling, resynchronisation (in case someone accidentally generates a stack of keys that are never used..)23:14
sorenmdeslaur: I'm also not US based, so no.23:14
mdeslaurI thought it was time-based...it needs resynchronisation?23:15
mdeslauroh! HOTP!23:15
mdeslaurI thought TOTP23:15
sorenmdeslaur: That's next.23:16
mdeslaursweet :)23:16
* soren is enjoying having written unit tests for this.23:18
keesqman__: yeah23:20
* soren calls it a day23:24
JanCguntbert: 8 bits = 1 octet (I'm also not sure if 1 byte could not be 1 bit; is a 1-bit computer architecture possible? ;) )23:55
guntbertJanC: lets not split hairs - I'm content if the general difference is understood (as "there are 10 kinds of people, those who understand binary and those who don't")23:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!