/srv/irclogs.ubuntu.com/2011/08/03/#ubuntu-server.txt

Ursinhawho takes care of uvirtbot?00:18
rsalvetidoes anyone knows who maintains uvirtbot?00:18
rsalveti:-)00:18
Ursinha00:18
rsalvetijust wanted to check the code00:18
Ursinhait's supybot rsalveti00:18
rsalvetiUrsinha: that I know, just wanted to know where is the code of the specific plugin that probes for bugs00:20
rsalvetiseems soren is the contact guy for this bot00:21
rwwwhat does uvirtbot do that ubottu doesn't do?00:22
Ursinharww: shows here when new bugs are filed00:22
rwwah, shiny00:22
Ursinhauvirtbot: hi00:27
uvirtbotUrsinha: Error: "hi" is not a valid command.00:27
Ursinhauvirtbot: owner00:27
uvirtbotUrsinha: Error: "owner" is not a valid command.00:27
Ursinhameh00:28
=== medberry is now known as med_out
zroyschis it possible to mount and use the data from just one of the partitions in an mdadm raid-1 ?00:41
zroyschi mean. one of the drives in the raid-1 has failed. one is remaining. the mdadm device is /dev/md0 but I am unable to mount it.00:43
patdk-lapjust tell mdadm to mount it in failed mode00:48
=== robbiew-afk is now known as robbiew
=== Ursinha is now known as Ursinha-afk
fluvvellI'm running dhcpd and several client machines on the network are dallying over receiving an IP address. One such incident was at 4am this morning, a cycle of DHCPINFORM and DHCPACK of at least 4 machines.01:25
twbITYM "delaying"01:26
twbDallying is what you do with a girl in the back of a car01:26
twbfluvvell: are you nearly out of leases?  If you tcpdump, do you see floods of DHCPREQUESTs for a single response?01:27
twbI should say: do you see floods of DHCPREQUESTs at all01:28
fluvvelltwb, I've expanded the leases recently, but might need to grow a few more. Not lots of DHCPREQUESTS but I increased by 20 last term and solved some of the issues.01:33
fluvvellsome machines ask twice or 3 times for a lease.01:33
=== LostMyNAS is now known as FIXEDMYNAS
hallynSpamapS: don't suppose you're hanging around for a late night?01:53
FIXEDMYNASUBUNTU SERVER SAVED MY DAY!02:16
=== FIXEDMYNAS is now known as KM0201
rokr1hi there !03:00
rokr1I have just installed kernel 3.0-oneiric03:01
rokr1The kernel seems to support dom003:01
rokr1is there any binary of xen 4.1 in ubuntu03:01
rokr1natty03:01
rokr1?03:02
rokr1I am running desktop 64bit03:02
rokr1kernel seems to be generic03:02
twbUbuntu doesn't support Xen at all03:02
twbEverybody has to use kvm or else03:02
rokr1then why is dom0 support included in ubuntu version of kernel ?03:03
rokr1if xen is not supported03:03
rokr1It seems like dependency issue in repository03:03
rokr1but will it work if I build from XEN-tools source...?03:04
rokr1is there any reason that ubuntu keeps away from XEN ?03:05
twbrokr1: because dom0 support is built into 3.0 kernels upstream03:06
twbI assume they dropped support for everything but kvm because it makes their support contracts cheaper, but it could be just to annoy me03:06
twbThey dropped openvz and vserver from universe in lucid, despite LXC not really being ready to replace them as at .3203:07
KM0201twb: how would ubuntu server run from an 8gig thumb drive (all i'm doing with it, using 2, 2TB drives as a NAS)03:07
twbKM0201: in the naïve case, the same as booting from a hard disk.03:07
KM0201that didn't sound very encouraging..lol03:07
twbKM0201: if you wanted to get fancy you could do SSD-style optimizations, like not putting swap on there03:07
rokr1use unetbootin KM020103:08
rokr1and change BIOS settings to boot from USB03:08
twbrokr1: he wants to boot off the USB key, not boot an *installer* off it03:08
KM0201rokr1: putting it on the USB is not the problem.. i know how to do that...03:08
rokr1use Windows Version03:08
rokr1of Unetbootin03:08
KM0201i'm more curious about performance03:08
twbAnd in any case, unetbootin is for retards who are ignorant of both the Ubuntu-provided USB boot images, and isohybrid.03:08
rokr1performance depends on the I/O03:08
KM0201considering the USB will almost never be accessed/written to, i can't imagine it being much of an issue.03:08
KM0201twb: i kinda agree w/ that..03:09
twbKM0201: FWIW I ship systems that boot from a stock ubuntu install onto USB keys03:09
twbKM0201: they haven't, you know, exploded or anything03:09
twbrokr1: http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/boot.img.gz03:09
twbNone of this Qt GUI wank03:10
KM0201twb: yeah... one final question... I probably won't roll this out onto my server till end of this week, but.. how difficult would it be to install server to SDA(usb drive), then put SDB and SDC(internal 2tb drives) into a software raid 1?03:10
twbKM0201: if the array is only used for (say) /srv or /opt, it's trivial03:11
twbKM0201: if you put /boot or / on the array, you need to do a little dancing, which is why it's easiest to set it up at install time from the debian-installer UI03:11
KM0201twb: nope, they're just two big storage drives thats it... right now they're mounted at /media/drive 1, and media/drive 203:12
KM0201the "OS" partitions, will be on the 8gig usb.03:12
rokr1KM0201 do you mean to have a persistent then use uuid03:13
rokr1for drive03:13
rokr1that will solve the issue03:13
twbKM0201: incidentally, it would be a good idea to back up the USB's filesystem onto the RAID array03:13
twbKM0201: in case e.g. someone snaps the USB key03:13
KM0201twb: i'm not concerned about that, this sits on the top shelf of a closet.03:13
twbI still advise you to do it03:14
KM0201rokr1: i'm not concerned about the USB drive install, i can do that, not an issue, i'm curious about Raid1 and the internal drives, would that be possible.03:14
twbYou'll look bloody silly if you need to rebuild the USB key in a hurry from scratch, because you didn't and something goes wrong03:14
KM0201twb: i'll take your advice under consideration on that, or maybe I'll just do a full copy of the drive onto another thumb drive, and store that thumb drive somewhere..lol03:15
KM0201twb: so again, my question, is how difficult would that be?..03:15
rokr1I didnt say about USB at all03:15
KM0201rokr1: you're talking about a persistant install, my question has nothing to do w/ installing03:15
KM0201i know how to install ubuntu server to a pen drive.03:16
KM0201my question, has to do w/ how difficult will it be to make sdb and sdc, part of a raid 1, so they mirror each other03:16
twbKM0201: I would just have a nightly cronjob that makes a cpio archive of the USB key or similar03:16
twbI already said the RAID part will be trivial03:16
KM0201twb: you said it would be trivial if i'm keeping various folders on the hard drive, i'm not.. it's just data (movies, music, etc.)03:17
rokr1:) never ending03:18
KM0201..03:18
KM0201everybody has either discusssed my usb drive, or a problem that is not going to exist on my system, but not really answered the question, has nothing to do w/ "never ending"03:18
rokr1okay lets make it simple KM020103:19
KM0201it has nothing to do w/ simplicity, you're answering my question, w/ answers that do not apply to my question03:19
rokr1you need 2 drives sdb and sdc as Linux software raid 103:19
rokr1right ?03:19
KM0201yes03:19
twbrokr1: he has his answer.  Let him try it; just ignore him until he does.03:20
rokr1do u have data on existing HDD sdb and sdc ?03:20
KM0201not right now, no03:20
rokr1okay use fdisk and format it to raid03:20
KM0201twb: and no, i don't have my answer, all you've discussed is either backing up my usb drive, or keeping other files on the two large drives, which i am not interested in doing.03:20
rokr1so MBR is re written03:20
KM0201ok.03:21
rokr1then use mdadm to create software raid03:21
KM0201ok03:21
rokr1to make it boot as normal raid 1 next time03:21
KM0201right.03:22
KM0201the internal drives though, don't boot anyway, (just the external)..03:22
rokr1no I did not mean that03:22
rokr1I mean Linux sees the array as a logical drive03:23
rokr12 => 103:23
KM0201right... i understand03:23
KM0201sounds simple enough03:23
KM0201after what i've been through this past week, i think i'll be able to do it no prob, but i'll do a test run03:23
rokr1sorry my gnome crashed03:24
rokr1you there?03:25
rokr1just have a look at this http://tldp.org/HOWTO/Software-RAID-HOWTO.html03:27
rokr1bye got to restart03:27
KM0201rokr1: having probs?03:33
rokr1yes03:33
KM0201sorry to hear03:33
rokr1Just updated to kernel 3.0-oneiric03:34
rokr1just a stability issue03:34
rokr1still on the same kernel03:34
rokr1so did my last message help you ?03:34
KM0201yeah, i'm not "live" on my server yet.. but.. i've got everything running exactly how i want it (just on a much smaller scale) in vbox, and have been taking serious notes while setting all this up.03:35
KM0201right now, it seems to be working perfectly.03:35
rokr1:)03:35
rokr1Hardware RAID is faster than SoftRAID03:36
rokr1so y do u want to be with software raid ?03:36
KM0201well, mainly, cuz i don't have a RAID card..lol, but i was looking at some the other day, i thought they were super expensive, but they aren't at all, i'll probably pick one up before I take this thing "live"03:37
KM0201how do you configure a "hardware" raid though?03:37
KM0201i was gonna do some googling on that tomorrow.03:37
rokr1Yes but I would prefer softraid03:37
KM0201then why are you asking me why i'd prefer softraid?03:37
KM0201i'd like a hardware raid, but.. i'm not deadset on it.03:38
rokr1newer mobos support raid 0 + 103:39
rokr1etc03:39
KM0201yeah, my mobo.. it's kinda old.03:39
rokr1those are not true hardware raid03:40
rokr1like intel matrix storage03:40
rokr1etc03:40
KM0201hmm, do you know much about rsync?03:41
rokr1never used it ...! but planning to learn to implement backuppc03:41
KM0201i'm syncing "folder a" from drive a, to drive b... say I synced it yesterday, then today, i deleted a file in "folder a" on drive a, i want it so that when i sync that folder to drive b, that file also gets deleted03:42
rokr1not really a case03:42
rokr1its like RAID 103:42
KM0201yeah.03:42
KM0201i'll just set up a raid... i've got great notes on getting this system exactly back to how i have it now..03:43
rokr1Full backup + incremental = Delta backup, I prefer it03:43
KM0201is that in the repos?03:43
rokr1not really03:43
rokr1its just a concept03:43
rokr1of backup03:43
KM0201oh03:44
rokr1best thing is to use amanda backup tool or backuppc03:44
rokr1they have ready made scripts which may suit your needs03:44
rokr1Auto backup03:44
KM0201HMM03:44
rokr1yes based on cron03:45
KM0201i know nothing about cron03:45
rokr1its just like scheduler in windows03:45
rokr1runs app in a regular interval03:45
KM0201so I could set it to run like, daily at 4am03:45
rokr1Yes03:46
rokr1also like every 5 mins do this do that03:46
rokr1etc03:46
rokr1wikipedia cron to learn more03:46
rokr1good thing about backuppc is that it has web GUI03:47
rokr1and uses samba shares to backup03:47
rokr1modified version of backuppc is available with zamanda website which includes the ftp support03:48
rokr1But I dont say rsync is not good03:48
rokr1its just the way you use03:48
KM0201right03:49
rokr1rsync is a base app for backup03:50
rokr1like xcopy03:50
rokr1in windows03:50
KM0201i'm gonna try a software raid.03:50
rokr1good luck03:51
=== negronjl` is now known as negronjl
rokr1steps are simple 1. format HDD to Linux RAID using Fdisk 2. use mdadm to create raid drive like /dev/md003:52
KM0201just gonna do it on a clean install, so it should be easy enough.03:52
KM0201here we go.. :)03:52
rokr1also remember chunck size that really improves or degrades the performance of the raid03:53
rokr1have a eye on it03:53
KM0201what do you meann "chunk size"03:53
rokr1its just a small portion of space utilized by raid array to have its parity bits ...! it doesnt matter for RAID1 but it does for RAID 003:54
rokr1you can also do RAID5 on 2 disk with mdadm03:55
KM0201got it installing now...03:56
KM0201raid1.03:56
rokr1:)03:56
KM0201shouldn't take to long, my drives on vbox are small (5gig OS drive, 10gig "storage" drives)03:57
KM0201only thing I'm not 100% sure on, is how to mount the raid in Samba03:57
rokr1just use the mounted path03:57
KM0201actually, i'm not sure how to mount the raid period...lol, so i'll have to figure tha tout.03:57
KM0201where are they usually mounted by default?03:58
rokr1its simple03:58
rokr1you are combining /dev/sdb and /dev/sdc as a singke /dev/md003:58
KM0201ok..03:58
rokr1just mount /dev/md003:58
KM0201oh ok.03:58
rokr1that will do03:58
KM0201then just add that to Samba.03:58
KM0201.conf03:58
rokr1:)03:59
KM0201and fstab03:59
rokr1no its raidtab now03:59
KM0201oh ok.03:59
rokr1yes also fstab03:59
KM0201so do i have to add it to fstab, or raidtab?03:59
rokr1not really look for the instructions in the link which I gave you04:00
rokr1do not touch raidtab04:00
rokr1it contains the instructions which you gave in cli04:00
rokr1if you donot know any config then use cli04:01
rokr1just mount resulting raid device in fstab04:01
rokr1simple04:01
rokr1okay community coming back to my problem04:02
rokr1with XEN on UBUNTU04:02
rokr1will try to install XEN from Source04:02
KM0201what filesystem is on RAID drives?04:04
rokr1its something like LINUX04:06
rokr1look for it in instructions04:07
=== skrewler_ is now known as skrewler
pythonirc101is there any tool in ubuntu that lets me administer 10 or more fedora machines using one shell? I dont want to ssh to each and execute commands. I was tyring mussh, any other recommendations?04:41
SuperLagHow do you expect to administer them, if you're not connected to them? :)04:42
twbpythonirc101: puppet04:45
twbSuperLag: he's asking for a SIMO multiplexer for his ssh sessions, but really he wants change management infrastructure.04:46
twbUnless, perhaps, his nodes are strictly homogeneous, in which case he wants more like a cloud SOE.04:46
pythonirc101twb: my nodes are homogeneous04:48
twblucky bastard04:48
pythonirc101twb: I would prefer not to write puppet scripts...04:49
twbI hear ya, buddy04:49
pythonirc101If I worked that hard, i wud write it in python04:49
pythonirc101any other suggestions?04:49
twbThere are things that do what you want, but I'm not familiar with any of them04:50
pythonirc101I tried mussh04:51
pythonirc101I would prefer something more user friendly04:51
KM0201twb: got it working... i've got Server running of a 6gig virtual drive, virtual drive b and c(10gigs each) are set up in Raid 1, and I can access it through Samba.05:24
KM0201twb`:  got it working... i've got Server running of a 6gig virtual drive, virtual drive b and c(10gigs each) are set up in Raid 1, and I can access it through Samba.05:25
KM0201ive got all my notes, i should be able to roll this out on my server this weekend w/ little fuss.05:25
=== twb` is now known as twb
args[0]hey, i installed vsftpd on my ubuntu server, edited the .conf file but can't connect, always getting: 530 Login incorrect. The user I'm using is 'root', is it illegal to connect to ftp using root? thanks06:04
twbargs[0]: vsftpd only allows anonymous access by default.06:04
args[0]twb: i disabled that06:05
twbIf you want to upload files as root, you should use SFTP06:05
args[0]so i should install sftp?06:05
twbIt's built into SSH06:05
args[0]i need ftp, i dont want encryption/decryption06:06
args[0]just pure old ftp06:06
twbWell, IMO that's bloody stupid, and since I don't know much about vsftpd anymore, I can't help you do that in any case.06:06
args[0]i am transferring huge files, enc/dec consumes lots of CPU usage and slows down transfers06:07
args[0]still bloody stupid?>06:07
twbYes; doing that on a trusted network, you should use netcat06:08
twbAlthough I am not convinced the encryption and decryption overhead are significant; it is very likely to be I/O bound unless your systems are Pentium II vintage, or embedded.06:09
args[0]i did some research on that, sftp < ftp when it comes to transfers of huge files06:09
args[0]varies up to 30% in speed06:10
twbsource# nc -l -p 12345 < /dev/sda06:10
twbsink#   nc -w3 source 12345 > /dev/sda06:10
twbCan't remember if that's traditional or OpenBSD netcat, but the difference is minimal; an extra -q 0 or so.06:11
args[0]thanks for your input06:12
greppyargs[0]: doing things over the network as root is generally frowned upon, ftp as another user or use a different transfer method.06:13
twbThat, too.06:15
args[0]greppy: i've created new users, but still getting 530 Login incorrect06:15
args[0]not the first time i use vsftpd though, not sure what's happening06:16
greppyjust on a hunch, sudo /etc/init.d/vsftpd stop; sudo /etc/init.d/vsftpd start06:17
greppythen try to ftp as one of those new users again.06:17
twbgreppy: as opposed to force-reload?06:17
twbLooking at the logs on the server side would obviously be a good idea, too.06:17
greppytwb: I'm old fashioned :)06:17
args[0]this is my /etc/vstfpd.conf file: http://paste.ubuntu.com/657683/06:18
twbBy design, a client is rarely told *why* it was denied access.06:18
greppythat was my next suggestion, check the logs, see what errors, if any are being given.06:18
greppy /var/log/daemon.log and/or /var/log/auth.log06:18
twbFFS, why does ubuntu pastebin's "download as text" link want me to give a flipping openid06:18
twbgreppy: by default, absolutely everything that passes through syslog will hit either auth.log or messages.06:19
twbThus "tail -fn0 /var/log/auth.log /var/log/syslog &"06:19
args[0]greppy: still, getting 53006:19
twbWhich I write nearly as much as egrep -v '^[[:space:]]*(#|$)' foo.conf06:19
greppytwb: you haven't setup that egrep as an alias yet? :)06:21
greppyargs[0]: anything in the error logs?06:21
twbgreppy: not on the hundreds of hosts I connect to on an ad-hoc basis, over which I have no authority to reconfigure root's dotfiles06:21
twbAssuming they're even smart enough to have a persistent root home directory, and not say a flipping Thecus NAS06:22
greppyugh06:22
greppyto keep the root env "clean" I have setup my own .file to source to have my aliases and stuff set06:23
greppyfor instance, EDITOR=nano drives me a little buggy most of the time.06:23
twbgreppy: yes, in principle I'm allowed to do that but ICBF06:24
twbIt's easier to just memorize a few handy commands.06:24
incidenceHey, I installed OpenVPN. It works flawleslly, but now I can't connect outside, Like www.google.com goes to 10.0.1.7 (openvpn server)06:25
args[0]greppy: Aug  3 02:19:33 w00dy vsftpd: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=args rhost=173.178.xxx.xxx  user=args06:26
greppydue to having to work on a variety of different systems, where the versions of tools may or may not be the same, I end up writing scripts/aliases to be as portable as possible.06:26
twbincidence: so, your DNS resolver is buggered?06:28
args[0]just created another new user right now, and still getting 530 Login incorrect06:29
twbgreppy: I gave up on that; now I target bash 3.0+ and GNU coreutils 6+, and anyone on somethign stupider can pay me to workaround their box06:29
args[0]what's a good alternative for vsftpd?06:29
twbLike that thecus box, which had xargs -0, but not find -print006:29
greppytwb: I get to play on debian, ubuntu, cygwin and sun :)06:32
twbPoor bastard06:32
twbIf I get lumped with the latter two, I hand them off to an intern06:32
twbFSVO cygwin = windows06:32
greppyit's lead to me learning a bit more about different utils, or writing perl5 for something instead of using grep/sed/awk06:33
twbNon-GNU userlands are a joke06:33
args[0]off to sleep, goodnight06:47
* args[0] ZZzzzzzzzzzz06:48
pcnerdHi, has anyone upgraded from 9.04->9.10 and beyond given both are now EOL upgrades?07:46
_rubenuse old-archives.ubuntu.com to fetch updates and upgrades07:47
pcnerdI've followed both methods listed here (http://mreschke.com/topic/254/Ubuntu+End+of+Life+and+Upgrades)  and both times I receive either no upgrade or "not supported for jaunty to lucid" etc... (++ followed EOL upgrades from ubuntu documentation07:51
Jeeves_pcnerd: You shouldn't skip karmic07:53
pcnerdI see, so how cna I tell it not to skip ?07:54
Jeeves_You just change the values in /etc/apt/sources.list07:54
Jeeves_type apt-get update07:54
Jeeves_type apt-get dist-upgrade07:54
pcnerd0 upgraded, 0 newly installed 0 to remove adn 0 not upgraded.07:55
RoyKdo-release-upgrade07:55
pcnerdsame, jaunty to lucid not supported.07:56
pcnerdits dl'ing lucid.tar.gz so clearly somewhere lucid is set to the next version :'(07:56
RoyKpcnerd: in /etc/update-manager/release-upgrades, what's Prompt set to?07:58
pcnerdhave tried normal and default07:59
pcnerdcurrently set to default07:59
pcnerdand have jsut tried normal as well with the same result.08:02
pcnerdRoyK:  Should have clarified, thats Prompt set to default and normal.. currently at default.08:07
=== mquin_ is now known as mquin
alshainhi, I have installed ubuntu server last week. Now when I boot my computer, caps lock and scroll-lock are flashing :S I've read that this indicates "kernel panic" and can be caused by faulty hardware. How would I best track down the issue?09:21
shaunocan you hook a screen up to it for more hints?09:22
alshainshauno: yes, I did. I don't get _any_ output after GRUB09:23
alshainalso, it seems to hang in the GRUB part for a considerable amount of time, >5 seconds after Ubuntu Server has been selected09:24
alshainalso, upon previous boots, I never had any output09:25
shaunoI'd be tempted to edit the command line on grub to make sure the word 'quiet' doesn't appear in it.  otherwise, it's been far too long since I've done bare-metal boots :/09:26
alshainok, I can try that09:26
alshainnow I get "alloc magic is broken at <address>", this message is still in GRUB09:29
alshainit says: "press any key to exit" <-- that doesn't work09:30
alshainI'm now running memtest for the time being...09:33
shaunonot heard that one before, but atleast we found you some google-fodder.  hopefully you can find someone who's a little more intimate with grub09:33
alshainI wonder GRUB would work as long as I don't edit any commands...09:36
=== chuck_ is now known as zul
NarcHey everyone. I realized yesterday, when I wanted to access the website, that my 10.04 box (VPS XEN hosting) was unresponsive. No ssh access so I did a restart via the hosting web interface. I then realized that the logs (auth.log, syslog...) stopped suddenly 15 days ago. No intrusion as far as I can tell but I'm not sure. I'm puzzled. syslog shows "rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="2143" x-inf12:20
Narco="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight' and stops logging a few hours later. Any advice anyone ? Thanks12:20
patdk-wkdid it go out of diskspace?12:21
=== otubo is now known as otubo[AFK]
NarcNo, I'm 3GB used on 8GB allowed.12:22
patdk-wkyes, but what where you back then?12:23
patdk-wkI have had systems fill up with like ssh attacks, and the log fill the drive, then logrotation cleans it up later12:24
NarcInterresting. I'm going to check that. Thanks.12:25
Ynoddejoin #ubuntu-nl12:25
Ynoddeoops12:26
patdk-wkdon't wanna12:26
Ynoddegotta use them / signs first i know, soz for spam12:27
wthamhiya12:28
Narcpatdk-wk:  Apparently, probe says no disk usage problem.12:30
patdk-wkhmm12:32
patdk-wkI dunno if dmesg logs go back forenough, maybe rsyslog crashed?12:33
NarcMaybe, but I think the whole system crashed, because apache was down and sshd too. I just wanted to be sure. Paranoia :D12:35
patdk-wkoh, if that much was down12:36
patdk-wksounds more like OOM12:36
patdk-wkwhen you go out of memory, the kernel starts killing random programs12:36
NarcOh... I didn't think about that. 256MB. Possible.12:37
StucKmanI have problems with upstart and two /etc/init scripts. there´s a bug report for one of those, rsyslog, here: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/498531 , but if you look closer, you´ll find several similar errors: https://launchpad.net/+search?field.text=upstart+start+uknown+job . any ideas how to fix it?13:24
uvirtbotLaunchpad bug 498531 in rsyslog "package rsyslog 4.2.0-2ubuntu5.1 failed to upgrade: exit status 1. start: Unknown job: rsyslog" [Undecided,Confirmed]13:24
Tommy_nmwhi13:44
Tommy_nmwhow can we copy image of one server to another?13:45
StucKmanTommy_nmw: you mean, all the files?13:53
Tommy_nmwyes13:55
Tommy_nmwStucKman: yes. I have test server at work and which is installed with most packages. I want to create image of that and deploy on my home server where there is no internet. my home server is just not installed with ubuntu13:56
StucKmanrsync can be your friend, or tar13:56
StucKmanah, hmm13:56
StucKmanwell, either you just rsync/tar the files to your server and then do the grub instalation by hand13:57
StucKmanor you install ubuntu and then rsync/tar the user and config files13:57
Tommy_nmwStucKman: how to rsync ?13:59
=== otubo[AFK] is now known as otubo
StucKmanTommy_nmw: I think you will need a intermediate media for transporting the files14:04
Tommy_nmwStucKman: live Ubuntu CD of any version?14:05
jdevelhey, hope all are doing well.14:08
jdeveldoes anyone here have a fair amount of experience with mail servers?14:09
patdk-wk!ask14:09
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)14:09
jdevelI'm looking to build one out and wanted to get some opinions14:09
jdevelI'm of course running this on ubuntu14:09
jdevel10.04 server, and I'm thinking about using Postfix to take care of things14:10
patdk-wkdo you have a good reason why you need your own email server?14:10
patdk-wkcause getting other people to accept email from you, normally is not an easy task14:11
jdevelbecause I don't want to pay a provider for it14:11
jdevelahh14:11
jdevelthat is a great point14:11
patdk-wkemail is one thing that is unlike anything else a server does, cause it's blocked on so many levels :)14:13
jdevelyea.. it's true.  I might just forge ahead on a virtual machine and see how things go.. at least as a learning experience14:14
jdeveluse one of my more obscure low traffic domains14:15
jdevelor no-traffic14:15
* patdk-wk perfers to use postfix + dovecot + amavisd-new14:15
patdk-wkbut then, I'm using versions that aren't in ubuntu yet14:15
jdevelyea the prototype virtual machine I have setup for servers is U10.0414:16
patdk-wkmine are 10.04 too, but just using much newer postfix+dovecot+amavis14:16
jdevelamavis, is that spam/virus management?14:17
jdeveli see many setups using clamav and spamassassin14:17
Jeeves_jdevel: It scan's and takes action based on configuration14:17
patdk-wkit's more of a wrapper, to help intergrade virus and spamfiltering14:17
jdevellike ufw to iptables14:18
Jeeves_No14:18
jdevelk14:18
Jeeves_It does a lot more14:18
jdevelI will certainly have to take a look14:18
huatsdoes anyone have an made some experiment with glusterfs ? well I was wondering if it could be used to "share" files automatically  over a few computers14:18
jdevelwhy not just use nfs or something?14:19
huatsjdevel, I'd like to have an offline option and it was my understanding that I could do that with gluster14:20
patdk-wkheh, glusterfs documentation is sparse :(14:22
jdevelhuats, I'm not sure what you mean by offline..14:29
jdeveleven in a cluster you need the machines to be up and connected..14:29
huatsjdevel,  I am just saying non sense :)14:30
patdk-wkhe wants a cluster of servers, if anyone dies, you can still access all data14:30
huatsI had made wrong assumptions on the gluster role :)14:30
huats(I have continued to look at some docs since my question)14:30
jdevelyou could have an nfs and script something to mirror the files on each machine14:30
jdeveli bet there is something else out there that would handle what you want to do14:31
patdk-wkunisom :)14:31
=== Ursinha-afk is now known as Ursinha
huatspatdk-wk unison was our former solution but it gets very very confusing with more than 4 people :)14:43
huatsthanks anyway14:43
patdk-wkI only used it up to 3 servers at a single time14:45
patdk-wkand I had it running every 28seconds14:45
zulNCommander: PING15:01
UrsinhaDaviey!15:02
DavieyUrsinha: !!15:02
Tommy_nmwhi15:06
zulhallyn: ping15:08
hallynzul: yo15:11
zulhallyn: i just checked the omap4 kernel and the lxc is not enabled :(15:11
hallynI'm just having no end of tiny little nuisance troubles :)  offlineimap won't work; natty ideapad takes 10 secs to pull up xterm; sigh15:11
hallynoh look, mutt just crashed15:12
hallynzul: which parts are not enabled?15:12
zulcgroups looks like it im going through it now15:12
Davieyhallyn: offlineimap works for me here :/15:14
Davieyhallyn: using mutt-patched ?15:14
hallynwtf is mutt-patched15:15
hallynno i guess i'm using mutt 1.5.21-515:15
hallynofflineimap was just copying back my local copies of msgs back to imap!  So I kept getting more and more dups15:15
hallynthank god for mut's 'D~='  :)15:16
hallynDaviey: oh, mutt-patched *only* adds the sidebar?  no correctness fixes?15:16
hallynheh, if i want evolution i'll run evolution :)15:17
Davieyhallyn: heh, yes - i just wanted to compare fail.15:18
hallynDaviey: it was a segfault.  ulimit was default, so no coredump :(15:18
Davieyah, i had to raise my ulimit due to thunderbird sucking.15:19
alonswartzHi folks. What kernel package is recommend to be used for Xen hosting? In the past (i.e., Hardy) is was linux-image-xen, but that package no longer exists in Lucid+. Is linux-image-virtual the way to go?15:26
smbalonswartz, for 64bit it would be the server image15:27
alonswartzsmb: linux-image-server, thanks. What about 32bit?15:28
smbalonswartz, There do not seem to be hypervisor/utils there right now for 32bit. zul you know why?15:29
smbOtherwise I would use the generic-pae flavour15:29
=== otubo is now known as otubo[AFK]
zulbecause you need pae in order to run zen15:29
zulxen even15:29
smbzul, Right, does the server install not default to generic-pae?15:30
* smb must admit he has not looked closely yet15:30
PiciIs linux-image-virtual intended for installs running under a vm?15:30
zulsmb: it should but i havent run 32bit for like ever..15:30
smbPici, yes15:31
smbzul, Hm, maybe something we should think of looking at before release...15:31
alonswartzI've used linux-image-virtual for our VM optimized images (ie. TurnKey Linux), and when building the vmtools they are actually built against linux-image-generic-pae15:31
zulsmb: yeah...throw it on the list ;)15:31
Picismb: thanks, the package description isn't particularly detailed.15:33
alonswartzin the passed we've optimized our images for Xen hosting providers using linux-image-xen, but now for Lucid I'm looking for the best equivalent - at least that is until we add support for 64bit15:33
alonswartzwhich will hopefully be in time for the next LTS15:33
alonswartzbut in the meantime, for 32bit Xen, which kernel is recommended? zul, smb?15:34
smbalonswartz, Well, tbh Hardy is the only current release usable for hosting xen. And yes, we try to get it right for the next lts15:34
alonswartzsmb: just to be clear, I mean as the guest, not the host15:35
smbalonswartz, Ah, well as guest either generic-pae or the ec2 images15:35
smb(that is for lucid)15:36
alonswartzat the risk of sounding ignorant, what is the difference between linux-image-virtual and linux-image-ec2?15:36
smbAfter that the -virtual flavors are meant for guests15:36
smbalonswartz, In Lucid it is a complete different xen patchset (so not using the codefrom 2.6.32)15:37
alonswartzsmb: so which would you recommend for our use case?15:40
smbalonswartz, For running as domU I would for Lucid use ec2, for releases after that virtual15:43
alonswartzsmb: excellent, thanks for the help!15:44
alonswartzsmb: quick follow up question. In Hardy there was linux-ubuntu-modules-VER-xen, anything similar for Lucid?15:46
smbalonswartz, No, there is generally no l-u-m other than hardy15:47
smb(well anything still supported that is)15:47
alonswartzsmb: ok, thanks15:48
hggdhfolks, I am getting a failure on RAID1 i38616:09
SpamapShallyn: what were you up to last night? did you get it sorted? I saw your merge proposal.. will take a look as soon as I get through the morning deluge of email16:19
=== otubo[AFK] is now known as otubo
baffleAnyone know of any TFTP server that reply on port 69 instead of a random sourceport? I.e. to punch thru firewalls/NAT. I've found "Open TFTP Server" on SF, but it doesn't work.16:29
Ursinhasoren: hi, can you please set the importance/status of bug 809646? as you're the assignee I believe you know how to triage that correctly :)16:42
uvirtbotLaunchpad bug 809646 in swift "Init Script Problems" [Undecided,New] https://launchpad.net/bugs/80964616:42
hggdhDaviey: do you need to worry about bug 820469?16:57
uvirtbotLaunchpad bug 820469 in mdadm "RAID1 -- after degraded boot, not all disks are recognised" [Undecided,New] https://launchpad.net/bugs/82046916:57
* SpamapS will be fixing that one16:57
hggdhSpamapS: you knew about this one?16:58
Davieyhggdh: i rarely worry16:58
SpamapShggdh: saw it16:58
hggdhheh16:58
SpamapShggdh: I'm pretty sure though, that this has been the case since lucid16:58
SpamapShggdh: the test case specifically says you may have to re-assemble the arrays16:58
DavieyHmm16:59
Davieyis this a dupe of the one jamespage raised?16:59
SpamapShggdh: well, step 16 does16:59
Davieywhich i thought we left in WON'T FIX?16:59
SpamapSWait..16:59
SpamapSThere should be no need to add any missing devices back to the RAIDs manually. Otherwise, there is a bug! A manual addition would be:16:59
SpamapSDid we change the test?16:59
SpamapSOr have I always been reading it wrong?17:00
hggdhno, we did not change it17:00
DavieyLets put this into a real situation.17:00
hggdhit _should_ be automagic17:00
DavieyServer running..17:00
Davieydisk becomes degraded why?17:00
hggdhdisk fails. You stop the system,, remove it, but you do not have a backup disk to insert. You reboot degraded17:01
DavieyThen you reinsert the *broken* disk?17:01
Davieyand expect it to be added automagically?17:01
* SpamapS has seen that scenario play out to sinister consequences17:02
hggdhlater on you find there was a moth on the printed circuit of the failing disk, and reinserts it17:02
hggdh(after taking off the moth)17:02
Davieyhggdh: sure thing, but i think it should require re-adding manually... there is clearly an issue that requires a sysadmin to intervene17:03
SpamapSAn admin I worked with saw a failed drive light.. pulled it, pushed it back in.. and said "sometimes they do that, just pull/push it, it goes back to green"17:03
hggdhyou reboot. One md device is recognised. Two are not17:03
hggdhSpamapS: seen this happen, did it myself17:03
SpamapSThat led to a most awesome multi-drive failure costing the company 1 week of transactional data.17:03
hggdhheh, not with me ;-)17:04
hggdhDaviey: why *one* md would be recognised, and two not? Same disk, same partition table17:04
Davieybug #79145417:04
uvirtbotLaunchpad bug 791454 in mdadm "RAID1 Test Failed: Device need to be readded manually" [High,Opinion] https://launchpad.net/bugs/79145417:04
SpamapSI believe this is actually a problem in the test case. I would fully expect that a degraded array would require me to re-add any failed disks.17:04
* SpamapS said he'd fix it because he thoguht it was the other bug17:05
hggdhSpamapS: we might need to look at it, it never happened with me on amd6417:05
hggdhbut it is the same scenario, indeed. So I will close it dup, and get back to the test17:06
Davieyit's not like it's hard to re-add to mdad, and booting degraded works.17:07
Davieyhggdh: Can you update the test case aswell please?17:07
jamespageDaviey, SpamapS, hggdh: I did have a dig around in the md-ressemble code when I encounted the issue17:07
hggdhand?17:08
jamespageI think if was something todo with ext4 filesystem checkpointing not matching - which is why the swap auto-resyncs17:08
jamespageand the filesystems don't17:08
jamespageit looked like the behaviour as coded - but that does not mean its a bug17:08
hggdhoh, this might be it17:09
hggdhI agree17:09
Davieynobody disagrees that the current behaviour is a problem?17:09
hggdhDaviey: I will update the test with a statement that it will probably fail, and the mds will have to be manually added back17:09
hggdhI do not disagree17:09
Davieyhggdh: rocking!17:09
hggdhDaviey: test instructions & result update17:21
hggdhd17:21
Davieyhggdh: thanks!17:24
SpamapShallyn: reviewing your libvirt change.. nicely done.. its intended to only stop on *shutdown* or *reboot* right, like, you don't want to shutdown domains if somebody says 'stop libvirt-bin' right?17:26
hallynSpamapS: exactly17:38
hallynSpamapS: I was a bit torn on runlevel 1, but shutting them down there seems right17:38
hallyn(so i'm doing it)17:38
SpamapShallyn: agreed17:42
SpamapShallyn: this is also indepenent enough of a change that I think its 100% SRU'able17:43
hallynSpamapS: people will be glad to hear that :)17:53
hallynSpamapS: though, if the script goes wrong, it could prevent systems from shutting down17:53
hallyn(as it did for me when I didn't have the 'break' at end of loop :)17:53
SpamapShallyn: no an error won't cancel shutdown17:57
SpamapShallyn: oh so it just went forever? ;)17:58
hallyn:)17:59
hallynyup17:59
hallyndo you think it should sit in oneiric for a week or so before we try to sru?18:00
AceKingI tried to setup Ubuntu Server 11.04 on one of my PC's. I am trying to set it up where I can share files with family in another state. I installed it, but when it was time to restart it boots to a black screen and just sits there. This is the first time attempting to setup a server, so I'm not familiar with getting it to work18:05
AceKingCan someone help me to get it up and running?18:06
SpamapShallyn: yes18:11
SpamapShallyn: libvirt sees enough usage in the platform team (and we all reboot enough) .. we should root out any bugs rather quickly18:12
SpamapSAceKing: it should have a login screen for you18:12
SpamapSAceKing: do you get the menu where you can select booting into a recovery console?18:13
AceKingSpamapS, It just comes up to a flashing prompt.. Nothing written at all18:13
AceKingSpamapS, I tried reinstalling, because I thought it didn't install correctly, but it's doing the same thing18:14
SpamapSAceKing: hold down left shift after the BIOS .. no menu?18:15
AceKingSpamapS, I'll check18:15
AceKingSpamapS, No, right after the BIOS I held down the left shift and it still went right to the flashing prompt18:17
SpamapSAceKing: during install, did you install GRUB to the MBR ?18:17
SpamapSAceKing: also what kind of computer is it?18:18
AceKingSpamapS, Yes, GRUB is installed18:18
AceKingSpamapS, It is a Dell18:18
AceKingSpamapS, Dell XPS 400 to be more specific18:19
SpamapShallyn: do you have upload rights to libvirt ?18:19
SpamapSAceKing: thats very strange, you should be getting a grub menu.18:19
SpamapSAceKing: just regular SATA disks?18:20
AceKingSpamapS, Yes18:20
AceKingSpamapS, I installed it from a USB drive that I setup with UNETbootin. Does that make a difference?18:21
SpamapSAceKing: shouldn't18:23
SpamapSAceKing: but its possible that it installed grub to the USB drive instead of to your install disk.. which would be a bug.18:23
pmatulisSpamapS, AceKing: installing from USB key can be problematic.  GRUB may end up... meh18:24
SpamapShow to fix that though? drop to a console and manually grub-install ?18:24
AceKingSpamapS, I am going to burn it to a CD and see if that works18:24
AceKingpmatulis, How do I do that?18:25
pmatulisAceKing: can try booting with the key in, see if it comes up18:25
pmatulis:)18:25
SpamapSAceKing: if that does work, thats probably worth reporting a bug against the installer18:25
AceKingpmatulis, I'll give that a shot18:25
AceKingSpamapS, Ok18:25
SpamapShttps://bugs.launchpad.net/ubuntu/+source/debian-installer/+filebug18:26
AceKingSpamapS, pmatulis, I tried with the key in, and it went back to the install screen. When I installed it, I just let it run from the Default setting. Should I have tried a different setting?18:28
pmatulishttps://bugs.launchpad.net/ubuntu/+source/grub2/+bug/752694  <--- this seems to pertain more to HP and RAID devices but someone does mention a "dell"18:28
uvirtbotLaunchpad bug 752694 in grub2 "Grub2 installs on the wrong device if in a RAID config" [High,Confirmed]18:28
AceKingIs it a pain in the ass to move over from the key?18:31
AceKingOr is it worth just reinstalling with the CD?18:31
pmatulisAceKing: depends if you want to learn something.  if you just want to get it to work i would use a cd18:32
AceKingpmatulis, I would love to learn how to do that :)18:33
pmatulisAceKing: go for it18:33
SpamapSI think the work around is to switch to a console before the first reboot, and grub-install onto the root device18:34
hallynSpamapS: I do (have libvirt upload rights)18:34
SpamapShallyn: looks good.. I haven't tested it, but I think its likely to suceed. :)18:35
SpamapSsucceed even18:35
AceKingHow do I know if GRUB installed on the key? where would I look?18:36
AceKingSorry if my question sounds dumb, this is new to me18:36
SpamapSAceKing: it would have booted to your new system if it did18:36
SpamapSI think18:36
SpamapSAceKing: still its worth reporting as a bug if your CD install works18:37
AceKingSpamapS, ok, thanks. I think I'm going to try installing from the CD. I will report it.18:37
SpamapSAceKing: sweet18:37
AceKingSpamapS, I'll problably be back in to figure out how to setup a file server if I get too confused.18:38
hallynSpamapS: thanks for looking.  will push it.18:38
AceKingThank you both helping me!18:40
NCommanderzul: pong18:44
zulNCommander: i forgot what i was going to ask18:44
NCommanderzul: thats the problem with contentless pings18:45
hggdhSpamapS: can you please mark your raid test completed?19:07
sneakyimpI'm trying to set up an Amazon EC2 compute instance to send postfix mail using Amazon SES mail service.  I do not want any mail (local or otherwise) to be delivered to mailboxes on this machine and want all mail instead to be sent to mydomain.com.  I've got this mostly working.  mail to "root" is properly redirected to root@mydomain.com.  However, root@localhost gets sent to root@localhost.mydomai19:13
sneakyimpn.com and fails with the message "local delivery is disabled"19:13
sneakyimpAny postfix pros around?19:14
RoAkSoAxadam_g: did do you write a puppet ensemble formula?19:18
hggdhSpamapS: duh. Forget, read it wrong19:19
sneakyimpI'm sincerely hoping someone can help me with this problem: http://paste.ubuntu.com/658159/19:27
AceKingSpamapS, are you still here?19:33
SpamapSAceKing: about to step out for lunch19:34
AceKingSpamapS, ok, I'll just ask my question in the room.. Thanks19:34
AceKingI installed Ubuntu Server from the CD. It started up to a command prompt asking for my username, then the password. It then drops to a command prompt. I tried to type startx like I would normally do on Ubuntu, but that obviously did not work. How do I boot to a desktop?19:37
smoserwhere is the jenkins server ?19:38
smoserzul, hggdh ?19:39
smoserbueller ?19:39
hggdhsmoser: on the internal QA lab (access to it is still restricted, public-facing instance is being built19:40
hggdhsmoser: PM19:40
lifelesshallyn: hi19:54
lifelesshallyn: do you know any reason why lxc containers cannot nest? [other than shallow bugs like 'noone has tried it']19:54
AceKingI am a total beginner with Ubuntu Server. All I am trying to do is setup a simple file server to share large files (video) to family in different states. Is there a tutorial that can tell me how to accomplish this? I installed the server software, and I am LOST to say the least.20:02
JanCAceKing: share in what way?  (for what purpose?)20:04
alshainshauno: memtest was running all day, no error :S I really hoped the faulty, as suggested in some threads as possible cause, well, I'll continue my search tomorrow20:05
AceKingJanC, I converted a lot of home videos, and my family is scattered all over the states. Instead of putting them on DVD's and mailing them out, I want to be able to set it up where I can send them a link and they can download them20:06
=== otubo is now known as otubo[AFK]
JanCAceKing: home videos, so I guess you want some privacy too...20:09
AceKingJanC, That's not too important.. A lot of holiday get togethers. It would be boring for anyone else to watch. LOL20:09
patdk-wkaceking hope you have a crapload of bandwidth20:11
patdk-wknormal videos are like 1-3mbit upload speeds, for a single user20:11
JanCpatdk-wk: for streaming, you mean?20:12
JanCnot sure that's what AceKing wants?20:12
AceKingpatdk-wk, they all wont be downloading at the same time20:12
patdk-wkjanc, that is what it sounds like to me, make like a youtube site for himself20:12
Bernhardjust set up  a webserver .. so they can donwload the files from your webserver.20:12
patdk-wkdoesn't gallery2 support videos?20:12
Bernhardapt-get install apache220:13
AceKingJanC, I want them to be able to download the vids and burn them, or just play them off their HDD20:13
JanCif privacy isn't all that important, just serving them over http should be okay20:13
Bernhardapt-get install apache220:13
AceKingJanC, I'm not even sure where to begin. At the risk of sounding stupid, I thought after install it would boot to a desktop20:14
patdk-wkserver edition? to have a desktop?20:15
JanCAceKing: if you want a desktop, install the desktop version20:15
JanCyou can use it as a server too20:15
patdk-wkdesktop version isn't going really help you setup and configure this though20:15
AceKingJanC, You mean Ubuntu can be used as a server? That is what I am on right now20:15
JanCpatdk-wk: there is some GUI tool to configure apache IIRC20:16
* patdk-wk runs scared20:16
AceKingpatdk-wk, like I said, I'm new to this and don't have a clue20:17
PiciAceKing: They use the same package repositories. 99.9% of the things you'd do on a 'server' you can also do on the desktop, although there normally aren't graphical configuration tools.20:17
AceKingPici, OK, is there somewhere I can find a tutorial to learn how to accomplish what I am trying to do?20:18
Pici!serverguide20:18
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/20:18
AceKingPici, thanks!20:18
JanCpatdk-wk: hm, I thought there was a gadmin-* tool for it, but apparently not  ☺20:18
* patdk-wk would be supper lazy20:19
patdk-wkinstall gallery2 for apache/php20:19
patdk-wkand just setup a password protected folder in gallery220:19
patdk-wkthen upload videos to it20:19
patdk-wksince it's all webased, would be easy to use20:19
patdk-wkeven for other people to load up stuff20:19
AceKingpatdk-wk, I know how to install gallery2, but how do I upload the vids?20:20
patdk-wkyou have to configure gallery220:20
patdk-wkand make sure you have ffmpeg installed20:20
patdk-wkyou upload a video just like you would upload a picture20:20
patdk-wkwhen gallery2 says add picture just take that as, add new object20:21
JanCso, sort of a private youtube?  ☺20:21
patdk-wkyep20:21
AceKingAhhhh, OK20:21
patdk-wkhttp://codex.gallery2.org/Gallery2:Features#Supported_MIME_Types20:21
* JanC never used gallery220:21
patdk-wkjanc, I have all my kids pics and stuff in it20:21
patdk-wkalso makes it easy to backup/store :)20:22
patdk-wkalso nice that it does all the conversions for me, since I always take raw pics, it converts to jpeg, and auto-rotates them for me :)20:22
AceKingJanC, patdk-wk, Pici, Thank you for helping!20:23
=== SJr- is now known as SJr
=== otubo[AFK] is now known as otubo
photonhi. I'm planning on buying a 3TB drive. will it work with ubuntu, ext4?21:19
Ursinhazul: hi, are you there by chance?21:19
RoyKit will21:19
photonRoyK: will I have to use GPT?21:21
RoyKphoton: to boot from it, I guess yes21:23
RoyKphoton: but for storage, that won't matter21:23
photonok21:23
RoyKjust use an old drive or two (in a mirror) for the boot21:24
RoyKthen use the rest for storage21:24
zulUrsinha: barely21:24
Ursinhazul: just wondering if you could give some input in bug https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/78289021:25
uvirtbotLaunchpad bug 782890 in backuppc "no ping response on all hosts after upgrade" [Low,Incomplete]21:25
Ursinhait's marked to expire soon and I wasn't sure how to bring your attention to that bug without directly pinging you21:26
Ursinha(that might be the reason people assign others for them to comment, I guess I get it now Daviey)21:26
hallynlifeless: I dunno.  hav eyou tried it?  :)21:35
hallynlifeless:  a few things I can think of:21:35
hallyn 1. our cgroups handling may not be sufficient.  In fact I'm pretty sure it's not21:35
hallyn 2. the lxc monitor may want access to a device that we don't normally grant access to (which would be easily fixable)21:35
hallynIt's a known TODO to make lxc more flexible with respect to where it tries to put its cgroups.  So if that's stopping nested containers, we can bump teh priority of that.21:36
lifelessso conceptually it should be fine ?21:37
lifelessi.e. just some expected bugs rather than a inherent design issue21:37
hallynlifeless: yeah...21:38
hallynlifeless: cgroups are nestable, and namespaces are all either nestable or fully isolated...  so there *shoudl* be no problems21:38
lifeless(this is relevant to ensemble)21:38
Ursinhazul: thanks21:50
=== Ursinha is now known as Ursinha-afk
zulUrsinha-afk: n21:54
=== otubo is now known as otubo[AFK]
hallynjdstrand: are you around?  (I *think* he's out this week, just checking...)22:00
=== kentb is now known as kentb-out
hallynSpamapS: in that libvirt-bin.upstart...  I'm using RUNLEVEL (and it seems to work), but am I supposed to be declaring 'env RUNLEVEL' at top?  Or is that only to give it a default if it's not defined by the 'stop on' line?22:08
hallyn(working on a version for lucid right now)22:09
lifelesshallyn: apt is fixed :)22:09
hallynlifeless: woohoo22:10
hallynI wonder if I should then remove that new package requirement...22:11
lifelessless cruft is less cruft22:11
hallyntrue.  i'll remove it when i add your lxc-start-aufs script22:11
hallynany ideas what i should call that?22:11
hallynlxc-start-once?  lxc-start-ephemeral?22:12
SpamapShallyn: I don't believe script sections are run with set -u .. so you should be ok22:12
hallynlifeless: (i don't want to do -afs bc I'd like to reuse it with -overlayfs)22:14
lifelesshallyn: ephemeral sounds good22:14
hallyna bit long for people whose tab key doesn't work, maybe22:15
lifelessnow, I need to debug why postgresql isn't starting with ...-aufs - may be more shutdown-race damage22:15
lifelesshallyn: its mostly going to be inside other scripts that it gets used.22:15
lifelesshallyn: what might be really neat is a no-baseline version of it, for hard-core-ephemeral, run-until-reboot, no-trace-left kindof stuff.22:15
lifelessbut thats probably you-ain't-gonna-need-it territory22:16
SpamapShallyn: oh, and to be clear, you're covered using RUNLEVEL on the stop on condition because rc exports it.22:16
hallynSpamapS: thx22:17
lifelesshallyn: so you've mentioned poweroff support22:18
lifelesshallyn: how deep does that go ?22:18
lifelessbrb22:18
hallynkernel22:18
hallynlemme find a url22:19
hallynlifeless: here is the middle of a long discussion about kernel support: http://lkml.indiana.edu/hypermail/linux/kernel/1101.1/02730.html22:19
hallynlifeless: http://lkml.indiana.edu/hypermail/linux/kernel/1101.1/01973.html   is the problem description22:21
SpamapShallyn: hey, looking at /etc/init/cgconfig.conf ... why doesn't it have a stop on ?22:24
adacHi guys. I installed denyhosts and added a hostname in hosts.allow but it still get blocked from time to time. any ideas whats wrong? shouldn't it be whitelisted when its in hosts.allow?22:26
hallynSpamapS: I guess bc you can safely shut down with cgroups mounted?22:27
SpamapShallyn: mk, will leave it alone22:28
hallynSpamapS: perhaps we shoudl ask jbernard if he thinks we should make it stop at some point22:28
SpamapShallyn: I think the regular late shutdown umount will probably do it, but it won't run 'cgclear' so not sure if thats enough22:29
hallynSpamapS: yeah, umount is all it would do anyway i think22:30
hallynoh no, i guess cgclear actually moves all tasks to root cgroup first22:30
hallynSpamapS: so to be sure, you want me to wait a week on the SRU, or should i just go ahead and request it now?22:33
hallyn(I'm fine either way)22:33
SpamapShallyn: I figured you could wait a week just to see if there's anything fundamentally wrong with it. If you want to request it now, and let that happen in parallel w/ the SRU.. thats fine too22:34
hallynok22:35
hallyni guess i'll push the tree to lp:~serge-hallyn and let it sit22:35
Demosthenesso what's the preferred package for monitoring syslog nowadays?22:36
SpamapShallyn: I do think we need to fix it for maverick and natty too.. the upstart job didn't really change in those releases much/at all, so should be a straight accross the board update22:36
SpamapSDemosthenes: define "monitoring" :)22:36
hallynSpamapS: yeah, i'll do them too22:36
DemosthenesSpamapS: pattern matchign & email22:37
SpamapSDemosthenes: I used to use 'swatch' a lot.22:37
SpamapSDemosthenes: but thats more real-time...22:38
SpamapSDemosthenes: logwatch is good for a daily summary22:38
Demosthenesi tend to prefer logmuncher, but its not in apt22:40
Demostheneslogcheck appears to be its closest kin22:40
SpamapSpackage it up, we'll sponsor it. :)22:41
Demosthenesjust don't look it up in the urban dictionary ;]22:41
SpamapSlol.. now I *have* to22:41
SpamapSerr.. on 2nd thought, no thanks22:41
Demosthenes*laugh*22:41
n2deepHi, does anyone know of any System 76 competitors?22:43
jbernardhallyn: that's the upstart script, no?22:45
jbernardhallyn: if policy calls for having a stop on, I have no objections22:47
hallynjbernard: but is there any point to it?22:48
hallynhm, well maybe there is -22:48
hallynif you enter runlevel 2, then runlevel 1, then 2 again,22:48
hallyncgconfig may fail to restart without first being stopped?22:48
jbernardif you switch runlevels, you may want that behaviour22:49
hallynwhich?22:49
hallynmeaning you think there should be a stop-on?22:49
jbernardproper stopping22:49
hallynok22:49
hallynSpamapS: ^22:49
hallynso that suggests a simple stop on runlevel [016]22:50
hallynjbernard: thx22:51
SpamapShallyn: yes22:51
SpamapShallyn: tho if you switch to 1, since there's no stop on, it just won't stop.22:52
lifelesshallyn: oh that reminds me, did you see the need to touch utmp ?22:52
SpamapSits totally acceptable to have no stop on when you leave no process running.. but if you cause umounts to fail, that could be a problem.22:52
Demostheneswoot. i have a debian fileserver, 5 years old, with raid5... i just bought a new fileserver running ubuntu LTS, raid6, and was setting it up... when i had my first drive failure on the old one ;]22:53
Demosthenestalk about timing22:54
Demosthenesoh, and i must report, that running ubuntu booting from a pair of 16 GB USB keys with raid0, encryption, and LVM works great.22:54
hallynlifeless: yes i did, i'll toss that in.22:55
hallynSpamapS: not sure what you're saying22:56
lifelesshallyn: I'm not sure why its not auto created, but it didn't seem to be22:56
hallynlifeless: i'm hoping to throw out a new package tonight22:56
lifeless\o/22:57
hallynSpamapS: what would you say would be the best channel on which to ask UDD questions (i.e. about lp:ubuntu/*-updates)23:04
hallynthere's no ubuntu-udd...  i thought there was...23:04
SpamapShallyn: I usually ask in #ubuntu-devel23:12
SpamapShallyn: but I feel knowledge on the deeper parts of it is hard to come by23:12
hallynSpamapS: ok.  i suppose i jsut need to wait for just the right one of two people to come by and see the q :)23:13
=== nandemonai_ is now known as nandemonai
hallynlifeless: actually i think i'm going to move the varrun+utmp tweaking into /etc/init/lxcguest.conf.  It doesnt' seem to belong in lxcmount.conf23:26
adam_gRoAkSoAx: no, i didn't23:55
adam_gRoAkSoAx: (write a puppet formula)23:56

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