=== testguy349687369 is now known as Tohuw === Tohuw is now known as Guest9413 [02:40] looking for a way to daily email log files to a external email from maverick server, any ideas? [02:40] logcheck [02:41] twb, do i need a email server configure for that to work? [02:42] If your server cannot send email, it is broken [02:42] It is critical that any Unix server be able to send email, because this is how services like cron, atd, smartmontools, mdadm send panic emails about the system dying. [02:43] Note that this doesn't mean you have to be able to *receive* emails as well. [02:43] twb, well, its a default install of maverick with postfix installed but I've never sent mail from it, is why I ask. [02:44] spill: sudo dpkg-reconfigure postfix # will configure it, in that case :) [02:45] jmarsden, k thanks ;) [02:45] postfix isn't installed by default unless you configure RAID [02:45] (Which IMO is a bit of a silly distinction -- it happens because mdadm Recommends: m-t-a) [02:46] FWIW I use msmtp on my satellites, rather than configuring a full-on MTA on each of them [02:46] And then have msmtp set to syslog to the central loghost === Nigel is now known as G [05:43] anyone familiar with scponly? [05:43] Im trying to figure out how to add a user to that. [05:44] http://paste.debian.net/129510/ <-- the Right Thing, AFAIK [05:45] twb` yeah. i got that but they can still login to shell. [05:45] And "Subsystem sftp internal-sftp" of course [05:45] dravekx: then you did it wrong [05:45] :S [05:45] If ForceCommand is working, they can't get to /bin/sh or anything [05:45] ok. let me recheck [05:45] Pastebin your whole sshd_config [05:49] http://pastebin.com/fJ9ucpZN [05:50] dravekx: is the user in question in the sftponly group? [05:50] checking [05:50] ah no. [05:50] let me try their login now. [05:51] Also you need >= 5.1 or so [05:51] ahh ok. I forgot to add them. [05:51] works now. :) [05:51] thanks. [05:51] Before that sftp-internal didn't exist- ok, good [06:18] twb` any idea on how I can use a script for adding users for web hosting? I have userdir setup with public_html in home directories, but I want to automate a batch file to add new people. [06:19] for i in alice bob trent mallory; do adduser $i; addgroup $i sftponly; done [06:19] You should probably make their chroot into /home/%u/public_html in that use case, so they can't create e.g. .forward files [06:20] k [06:24] you could also look at using mysql for user auth, libnss-mysql [06:24] Except then you'd be using mysql, and mysql is crap [06:24] If you really want to do it properly, go study kerberized LDAP, but don't expect to get it working in an afternoon. [06:25] ooo novel [06:25] * Myrtti makes a note [06:26] FWIW I use unkerberized LDAP + slapo-ppolicy + exop + TLS-only, with an autonomous X.509 hierarchy, and no root binddn whatsoever. It means NFS is wide open, but it works well enough for my homogeneous lucid environment. [06:26] *shrug* there may be "better" options, but mysql can work :) [06:26] greppy: so can flat files. [06:27] twb`: true, but if you want to manage users with scripts/web apps, mysql can make it easier. [06:27] It should also be noted that anyone logging in via SSH keys will bypass PAM entirely. [06:27] greppy: if you are managing users from a web UI you are already screwed. [06:29] it works for me, and for them. [06:34] There are people out there who think that *webmin* works for them [06:35] true. [06:35] I use froxlor to manage web/mail hosting customers, everything else is managed over ssh. [06:43] hmmm. [07:06] man. I understand what needs to written for the bash script, but I have no idea how to format it. lol :S [07:22] dravekx: start with something and then worry about the iterations/layout :P [07:22] and remember to test and debug it as you go [07:24] k [07:57] morning all [07:59] where do I save a bash script if I want to run it anywhere on the server? /etc/init.d/ ? [07:59] dravekx: /usr/local/bin/ ? [08:00] k [08:00] bin or sbin? [08:19] How is everyone this fine Monday morning? [08:20] head scratching [08:20] dravekx: As dravekx said, /usr/local/bin/ for system wide, or ~/bin/ for just your user. [08:21] Daviey I know. Im trying to make this work: http://pastebin.com/DDejSKdH [08:21] I want to put addwebuser user1 user2 user3 and it run the command for all 3 users. :S [08:22] Daviey: good morning to you sir o/ [08:25] dravekx: hmmm - so whats not working for you ATM [08:27] dravekx: if i said bin is bin [08:27] jamespage i want to type addwebuser user1 user2 user3 and it run the command for all 3 users. [08:28] almost works [08:29] dravekx: OK so I can see what you want todo - but what is not actually working for you ATM - the script? or locating it so you can just type addwebuser xx xx xx? [08:29] ~mornign lynxman [08:29] I keep getting an error on line 3. [08:29] ./usr/local/bin/addwebuser: line 3: parbarman: command not found [08:29] parbarman = user [08:30] hey guys i have a dovecot-imapd server + postfix MTA [08:30] you don't need "do $u" [08:30] dravekx: OK - you need to remove the $u from that line - the script is trying to execute $u [08:30] dravekx: google for bash for loop. :) [08:30] k [08:30] how can i adjust the size of attachments that are acceptable by my server [08:31] jamespage echo doesnt run teh commands though, does it? it just prints them on screen? [08:31] the* [08:32] it's the "do $u" that's confusing it though [08:32] dravekx: yes - so remove echo to make it run them [08:32] the echos will work, but you're crashing out before getting to the loop [08:32] cool [08:32] gac: aye - thats whats causing the error [08:32] k test run #5 :) [08:33] instead of adding sudo to each line, can I remove that too and say sudo addwebuser user1 user2? [08:35] hmm group add didnt work :S [08:36] cool. everything else did :) woot! [08:37] usermod [08:45] Hello, I would like to ask, if it is possible to run a virtual machine with GUI (preferably natty desktop) on a non GUI server. This virtual machine should be accessible from network, to allow users to work on it and use the server memory. Can you please point me to what I should read? Is KVM the thing I need? [08:47] You should be able to do that with VirtualBox [08:47] rohlik: vmware server would be a very easy solution to start with... (probably not the best regarding performance) [08:48] i keep adding a user to a group with usermod -g group user, but it's not showing the user as a part of the group when I edit /etc/group. any idea why? [08:49] sounds like you have some confusion between primary and supplementary groups [08:49] rohlik: Yes, it's totally possible. [08:49] use -G for supplemental groups. [08:49] ah [08:50] you can also do that with adduser, to avoid having to run multiple commands. [08:50] that was it. i was getting there. :) [08:50] greppy looking into that also. :) [08:53] so for adduser, i would just add -G group to the end of it? [08:53] thank you guys ) [08:53] :) [09:14] i want to create a web based mail server can some one help me out please? [09:15] i'm seriously struck with this help needed in this [09:17] rudra: Do you have the mail server setup already? In that case, I suggest looking at Roundcube [09:18] hey i dont have it i want it from scratch [09:19] i dont have it i want it from scratch [09:20] rudra: I suggest starting here: https://help.ubuntu.com/10.04/serverguide/C/email-services.html [09:20] Hello, I have a 11.04 x86 machine hooked into my hd tv via vga.. i can't see anything that is on the left. the dell bios screen comes up fine, setup comes up fine centered, no missing areas. What's going on?? :( [09:20] Please do note that I chose the ubuntu 10.04 version, adjust that to the version you're running (10.10, 10.04 etc) [09:20] 11.04* === ejat- is now known as ejat === mendel__ is now known as mendel_ [10:34] jamespage: I'm right in saying sudo dmidecode -s system-product-name doesn't work on arm? [10:35] Daviey: Confirmed - sudo: dmidecode: command not found === JoeGazz84 is now known as AFK [12:19] Help : Okay so I installed Ubuntu 11.04 Server Edition without setting up DHCP, and now after i have plugged in my internet to the server, it does not find it. What should i do? === SquishyNotHere is now known as squishy [13:09] adam_g: ping when you are around === med_out is now known as medberry [13:53] Daviey: ok, so re bug 828782 - do you have a roadmap in mind? For this release, are you thinking only spice itself? or spice-gtk too? And if spice-gtk too, then how about the kvm-spice? [13:53] Launchpad bug 828782 in Ubuntu Oneiric "[FFE] Please sync spice 0.8.2-2 (universe) from debian unstable (main)" [Wishlist,In progress] https://launchpad.net/bugs/828782 [13:54] (I'm sorry, I'm a bit confused about where we left it last time, and whether there is evan an Acked kvm-spice package ffe) [13:57] I guess there's no way we can FFE kvm-spice for o [13:57] (and we can't enable it in qemu-kvm as spice is heading for universe, so PPA it will have to be) [13:59] hallyn: So i've put in the spice sync.. [13:59] I wanted to talk to you about spice-gtk.. [14:00] As in, whilst it it is universe - i still think we (you?) should look after it for the life of Oneiric. [14:00] If that is OK.. then lets do it. [14:01] hallyn: I don't know anything about kvm-spice [14:01] If it is a totally different source package, then sounds safe? [14:02] Daviey: yes, i don't see how i'd have any choice but to look after it for the life of O anyway :) [14:03] Daviey: kvm-spice is same source, but different packaging, as qemu-kvm, [14:03] Daviey: it compiles with --enable-spice, calls the result qemu-kvm-spice, so it doesn't conflict with qemu-kvm [14:03] Yeah, i mean for distro view. Is it a seperate source package or built from qemu-kvm? [14:04] i had it as a separate source package (https://launchpad.net/~serge-hallyn/+archive/spice2/+files/qemu-kvm-spice_0.14.0%2Bnoroms-0ubuntu8.dsc) [14:04] should be possible to do it in qemu-kvm package itself [14:05] just needs to rebuild qemu-kvm with --enable-spice, and rename the result [14:08] Daviey: if i proceed with a new binary package in the qemu-kvm source package, is that more likely to be FFE'd? o ris it too late anyway for this cycle you figure? [14:09] i always forget - it's the binary packages, not source packages, that are designated to main/universe right? [14:10] hallyn: both.. [14:11] A main binary package should be built from main binary, and binary in main should be built from main source.. but not all binaries need to be in main [14:11] So, kvm-spice could be in universe from a main source package, for example. [14:12] hallyn: if the impact on the rest of the package is minimal, a FFe is still viable. === manjo` is now known as manjo [14:16] Hi I am trying to install http://releases.ubuntu.com/11.10/ on my Dell Optiplex GX260 and the install stops after dhcpv6 have run during regular install. Is there a bug or something? [14:23] Daviey: great! [14:23] I ment http://ftp.uninett.no/linux/ubuntu-iso/oneiric/ubuntu-11.10-beta1-server-i386.iso [14:26] Daviey: when do you think the spice package might go to archive? [14:26] (as that affects the qemu-kvm-spice package of course) [14:29] hallyn: blocked on an AA accpeting it. [14:29] Daviey: ok in any case i'll try to get a proposal ready for the binary package by EOD [14:29] Might get done today, or whenever. [14:29] I gave it a FFe ack. [14:29] saw that, thanks! [14:29] super [14:39] Daviey: just in the process of uploading swift 1.4.3 final [14:47] zul: eeeeeek [15:02] Daviey: say i wonder if bug 819486 is fixed [15:02] Launchpad bug 819486 in qemu-kvm "cannot boot from network - roms missing" [Medium,New] https://launchpad.net/bugs/819486 [15:03] hallyn: that is surely a dupe of the one you fixed a while ago? [15:03] i think so [15:04] hallyn: send a ping on the bug for it to be checked. [15:04] Daviey: but, no, [15:04] Daviey: we haven't yet made it suggest/recommend/depend ipxe [15:04] as i recall soren was complaining that the purpose of kvm-pxe was to pull the simpler ones out of etherboot [15:04] but, since ipxe is now in main, that's moot [15:05] (a potential cause for huge pain, but moot :) [15:05] hallyn: Really, it should be a recommend.. but not everyone with kvm really needs this - i'd make it a Suggest [15:05] which doesn't really mean anything tbh [15:05] Daviey: but that was the whole basis of this bug, [15:05] 'suggests' wasn't enough for the guy [15:06] I wonder how many people that use kvm need network booting? [15:06] no idea. [15:06] but can you think of a good place to document it? [15:06] apt now exposes suggests as a comment, doesn't it? [15:06] yes, i see it when i install [15:07] so should we just call that bug wontfix for now? [15:07] Or maybe mention it in the package descrition? [15:07] Can you paste the comment you see? [15:07] 'network booting is supported with the extra ipxe package' ? [15:07] on the bug report, stating why you feel it's WONT FIX [15:08] hallyn: Yeah, adding it to the extended description of kvm wouldn't hurt [15:09] hallyn: for alice i did that, http://pb.daviey.com/EKZo/ (see last line) [15:10] it's marked as a Suggests, but i added it to the extended description aswell [15:10] Daviey: http://paste.ubuntu.com/687685/ (text when isntalling) [15:11] hallyn: Yeah, i would say adding it to the description would help.. If that bug gets more noise, we can reconsider. [15:12] ok. i'll do that and cite it as fixing that bug [15:12] which then leaves us with only the capslock bug for qemu, meaning 0.15 is hard to justify :) [15:13] Daviey: so should i add ipxe to the suggests, or replace kvm-pxe? (or neither) [15:13] i guess i'll replace [15:14] hallyn: kvm-pxe doesn't have a place anymore, does it? [15:15] genuine question. [15:15] what do you mean? [15:15] it's probably going away, but it's still in universe [15:15] hallyn: You added symlinks to ipxe to make kvm notice the roms, right? [15:15] yup [15:15] uh, but did you? :) [15:15] So i can't see what kvm-pxe offers anymore. [15:16] * hallyn goes and check ipxe [15:16] yeah that change is there [15:17] talking of ipxe... lynxman, did you try that branch? [15:17] Daviey: on it [15:18] lynxman: Would like to upload that today, based on your feedback. :) [15:18] what changes? [15:18] Daviey: you'll have my feedback in ~1 hr tops [15:18] Daviey: was busy with cloudfoundry :) [15:19] lynxman: bah, excuses! [15:19] Daviey: but hey, they're very good excuses [15:19] Daviey: :) [15:19] lynxman: mediocre, at best. [15:19] rofl [15:19] Daviey: is changing the Suggests something that needs FFE? [15:19] Daviey: will try to make them better [15:20] Daviey: put another way: http://paste.ubuntu.com/687695/ can i just dput that? [15:20] hallyn: nah.. Suggests don't mean anything.. If an admin has instal Suggests by default, they are doing it wrong. [15:20] ok [15:21] hallyn: ask it's a more techie audience, you could add - "which provides the boot roms" [15:21] s/ask/as/ [15:21] frak, the daily build is badly broken today :/ [15:22] Daviey: oh yeah, then there is bug 814222. I think after some arguing my patch was accepted upstream, so i should be able to cherrypick that cleanly [15:22] Launchpad bug 814222 in qemu-kvm "kvm cannot use vhd files over 127GB" [Medium,Triaged] https://launchpad.net/bugs/814222 [15:23] hallyn, around ? [15:23] Daviey: ok will add 'which provides the boot roms' [15:23] smoser: yeah [15:23] lynxman: how so, i see powerwake breaks the cd.. but what else? [15:23] Daviey: tried to install a VM and installer couldn't proceed because "didn't find any suitable package for the kernel" [15:24] Daviey: I'm trying with yesterdays [15:24] lynxman: ah. might want to use the prior cd image [15:24] that will be a transient issue [15:24] Daviey: :) [15:24] super [15:25] RoAkSoAx: Around? [15:26] kees: Have you been able to look at nova MIR yet? [15:35] Ursinha: How did you get on with your apport investigation? [15:38] hallyn: I'd recommend building a package that holds only the ROM's relevant to kvm from the ipxe source package and recommend/suggest/whatever that from qemu-kvm. [15:38] hallyn: IIRC, the full ipxe package is rather heavyweight? [15:40] Daviey: yes [15:41] Daviey: what's up? [15:42] RoAkSoAx: scapy is still a depends of powernap? [15:43] Daviey: yes it is [15:43] Daviey: no no not depends [15:43] just Suggests [15:44] RoAkSoAx: are you sure? [15:44] Daviey: uhmm wtf! I know what happened [15:45] Daviey: I uploaded a new upstream bugfix release which didn't have that change [15:47] ahh [15:47] RoAkSoAx: you broke the daily ISO :) [15:47] Daviey: argh.. sorry :( [15:48] Daviey: fixed again [15:48] Daviey: oh, so the ISOs are still brokenish? [15:48] ;P [15:49] Daviey: ok made sure the change is in trunk too [15:50] RoAkSoAx: Hey,sorry about not getting back to you about your preseed file. Still running the install. I got distracted Friday after starting it, and just noticed it was prompting me for task selection. Will let it continue and see what I can see. [15:51] GrueMaster: Hey! No worries man! thanks though [16:06] Daviey: that's today (nova) [16:07] Daviey, not really far, sorry :/. [16:07] was working on prioritized report... you might like it [16:08] zul: pong [16:08] adam_g: hey can we switch to the ubuntu archive version of nova/swift/glance in the ensemble formulas? [16:09] zul: yeah, its configurable in each formulas config.yaml [16:10] adam_g: cool can you make it default? [16:10] zul: it is [16:10] adam_g: cool thanks [16:10] check config.yaml in any of the formulas [16:11] Ursinha: can you approve my ubuntu defect analyst team membership? [16:11] robbiew, sure [16:11] kees: rocking! [16:11] Ursinha: looking forward to it. [16:11] robbiew, done [16:11] thx [16:12] wow.. the rebuild fairies were busy this weekend.. 518 messages in oneiric-changes.. :-p [16:12] * genii-around makes a note not to check his email from the phone today [16:22] soren: true, it is [16:23] soren: perhaps for P, I should make it a point to update kvm-pxe to use ipxe source, then point kvm back at kvm-pxe [16:23] but i don't expect that for o [16:23] don't expect to have time for that for o [16:28] * zul lunches [16:38] having problems with "logrotate" not emailing logs when it rotates them, any sugestions? [16:46] Daviey: ipxe patch tested, it's golden :) [16:56] hi all [16:57] lynxman: golden as in sweet as a nut? [16:57] Daviey: yeah, it works smoothly [16:57] having problems with "logrotate" not emailing logs when it rotates them, any sugestions? [16:58] spill: that means you have the problem twice? [16:59] spill: jokes aside, I'd check my mail logs and see why it's not emailing them if the config is correct [17:00] lynxman, ;) well, Im using postfix and it manually sends a test mail fine, just wasnt sure if that what logrotate was using to send the logs [17:00] spill: it should use the default MTA, which is postfix [17:00] spill: Do you have a root alias? [17:01] it's probably emailing them to root, and you don't have a root alias. [17:01] Daviey, how do I fix that? [17:02] Daviey, also I'm emailing to an external address, again postfix does this fine manually. [17:02] spill: edit /etc/aliases check if root has an alias, if not add one, then run newaliases [17:03] lynxman, roger that, I'll give it a shot. thanks for the tip. [17:03] spill: no worries ;) [17:08] lynxman, ok, I had an alias from root to my admin account and still nogo on the email. [17:09] spill: and did you check the mail logs? did something go through? :) [17:10] spill: can you pastebin your logrotate configuration somewhere? [17:10] lynxman, opps, let me take a look now ;) [17:10] spill: did you actually modify it to send an email? [17:10] lynxman, i'm using webmin to configure it. [17:10] eurgh [17:12] !webmin [17:12] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [17:14] ubottu, thats a bummer, well, I can configure it in a terminal. let me take a look and see whats its doing then, didnt realize webmin was an issue. [17:14] spill: I am only a bot, please don't think I'm intelligent :) [17:14] just replied to a bot ;) trying to be polite. geeeze. [17:15] xD [17:16] New bug: #848055 in amavisd-new (main) "amavisd-release not working when message contains empty X-Envelope-To-Blocked" [Undecided,New] https://launchpad.net/bugs/848055 [17:17] New bug: #847744 in samba (main) "Panic or segfault in Samba" [Undecided,New] https://launchpad.net/bugs/847744 === mconigliaro_ is now known as mconigliaro [17:33] RoAkSoAx: Ok, I finished with your preseed installing on SD only. It fails to create a fat partition for the bootloader, and also sets up an odd partition table. 247 heads, 63 Secctors. Should be 255/63 with Cylinders matching ($Drive-Size/$heads/$sectors/512). [17:34] I think it is part of bug 806751. [17:34] Launchpad bug 806751 in debian-installer "Boot partition on SD is too small on omap/omap4" [Medium,New] https://launchpad.net/bugs/806751 [17:35] Not sure. [17:35] GrueMaster: uhmm I see [17:35] yeah that might be right then [17:36] afaik, the recommended install path for netinstall is usb anyways, with SD only for bootloader. [17:36] GrueMaster: ok cool, that what I'll end up doing [17:37] My preseed is here: http://paste.ubuntu.com/687793/ [17:38] It works without fail. [17:39] GrueMaster: cool! thanks!! [17:40] Good evening, I'm afraid I'm here to be a support leech, could somebody please point me in a direction to send all mail except for a few local addresses to one of the local accounts? [17:41] I've been trying to figure it out for 6 hours -_- [17:43] Hmm, or even stop it from sending out towards the internet, oic, it's postfix btw === ejat- is now known as ejat [17:58] hi [17:58] I was wondering if someone could give me a hand trying to fix this bug: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/845536 [17:58] Launchpad bug 845536 in rabbitmq-server "rabbitmq user showed as being logged in" [Medium,Confirmed] [18:26] Nevermind, got it sorted. === duckydan_ is now known as duckydan [18:50] does ubuntu server use upstart too ? [18:53] exit [18:54] methods1: Yes. [18:59] methods1: the difference between ubuntu desktop and server is mostly the set of packages installed [18:59] methods1: only exception I can think of, is the kernel [19:13] RoyK: is there kernel even different anymore? I don't think it is. [19:13] * SpamapS tends to try really hard to ignore the kernel === jeeves__ is now known as jeeves_moss [20:13] Hi. [20:21] Daviey: http://people.canonical.com/~serge/qemu-spice-sep12.2011.debdiff [20:21] seems to be working here. [20:23] why would you do this? usermod -d / user [20:24] or better question.. why would you do that if you want to jail your users to /home/user ? [20:24] * hallyn bbl [20:33] hi guys i have installed apache2 on my ubuntu server now, i wanted to enable web server on port 8080= i already set the apache2 to listen to port 8080 but still i get this error ---->http://pastebin.com/kq9V7jMM---------------. [20:33] http://i53.tinypic.com/el8nrm.jpg [20:33] see tath ^^ [20:34] did you restart the webserver after changing the port? [20:40] ruben23: You need to fix your vhost definition === caveat-_ is now known as caveat- [22:13] Daviey: and hey - that version of kvm with spicec client is looking very nice === skrewler_ is now known as skrewler [22:16] Daviey: debdif attached to the FFE bug. i'm out for awhile [22:33] hallyn: cool, will look tommorrow [22:37] adam_g: What orchestra bugs were you blocked on? [22:46] rtorrent won't keep downloading after I detach the screen session, and logout [22:46] The logout part stops it [22:46] hmmm [22:46] local session or ssh? [22:47] either way [22:47] Because stuff I run in screen keeps running [22:47] Yeah the process is running after I log back in, but the downloads have halted [22:58] rrrr.. I don't get it [23:04] Oh [23:04] I also can't ftp into it after I logout === skrewler_ is now known as skrewler [23:15] "File chunk write error no such file or directory" rtorrent says on one of the torrents after I restart it [23:37] BTW, not sure if anyone noticed, but we now have ubuntu-core images available for x86 & amd64. For more info, see https://wiki.ubuntu.com/Core. Much easier than createing from debootstrap. (not a replacement).