anti-neutrinoohh thanks once again .. i dint know about this utility00:01
F3SpeechHaving problems moving file system from usb to hdd, have moved file system, installed grub, updated, updated fstab mounts. on reboot with usb still i can choose the new disk and it boots find no problems, however as soon as i remove my usb i appear to lose access to sudo etc and system starts churning errors about missing fs. Any ideas how to finilise the fs transfer so i can remove my original usb.00:03
=== slank is now known as slank_away
sarnoldF3Speech: you're probably looking for a way to run pivot_root and re-exec init off the 'new root'00:16
F3Speechthink i might have sussed it 1sec will let you know :)00:16
F3Speechsucess :)00:17
F3Speecheven if it is with just 1 'c' lol00:17
F3Speechthen grub menu was still setting fs root to the usb even thought it was mounting the fs from the other disk00:17
F3Speechlshw -C disk00:18
tflgen2hey guys, I've almost got everything working with my mail server but I'm having dovecot-lda temporary failures. where can I look? log file: mailsrv postfix/pipe[3888]: 6C2DB41E97: to=<testuser@indycase.com>, relay=dovecot, delay=4719, delays=4719/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure)00:28
tflgen2nvm, found the issue00:34
tflgen2dovecot-sieve wasn't installed00:34
NoReflexhello! One of my computers is not able to mount the root file system. I get dropped to busybox and it looks like fsck is not included in busybox00:42
NoReflexwget is there ...00:42
NoReflexI found examples that mention e2fsck but it is not there00:46
sarnoldNoReflex: you can download the e2fsprogs off one of the mirrors, unpack it using ar and tar, and use e2fsck that way00:48
sarnoldhah, busybox has dpkg.00:49
NoReflexsarnold, dpkg not found...00:51
NoReflexon the sourceforge page there's only the source for e2fsprogs from what I can tell00:51
sarnoldNoReflex: yeah, you'll want one of the compiled ones, e.g. http://us.archive.ubuntu.com/ubuntu/pool/main/e/e2fsprogs/e2fsprogs_1.42-1ubuntu2_amd64.deb (that's the e2fsprogs that my AMD64 Precise system has installed)00:54
NoReflexsarnold, the server is an older version (Karmic I think)00:55
NoReflexbut that should not be a problem00:55
sarnoldNoReflex: this path is for lucid: pool/main/e/e2fsprogs/e2fsprogs_1.41.11-1ubuntu2_amd64.deb00:57
NoReflexsarnold, the problem is that inside busybox the network is not configured01:03
sarnoldNoReflex: oh man. :/01:03
sarnoldNoReflex: busybox does have a dhcp client, and the 'ip' program in case you just want to statically configure something quickly...01:03
NoReflexit has the ip program but the interface do not appear in the list01:05
NoReflexonly lo01:05
sarnoldNoReflex: you may need to modprobe the module that provides the interface. hrm.01:18
NoReflexsarnold, I've modpobed it (bnx2) but eth0 is still not created01:26
sarnoldNoReflex: well, perhaps it's time for a change; can you boot to USB or CD? Perhaps the thing to do is to boot to a livecd or liveusb and just fix it with access to _good_ tools.01:28
NoReflexsarnold, unfortunately I don't have physical access to the machine; I'm accesing it via iLO from HP01:29
sarnoldNoReflex: oh man.01:30
NoReflexI will try to mount an image using iLO Virtual Media and see how that goes01:34
NoReflexthank you for your time01:34
sarnoldNoReflex: oh, iLO can do that? neat.01:36
mgwI have a slightly odd scenario I'm trying to use start-stop-daemon for01:39
mgwan unpriviledges user who has sudo only on /usr/sbin/ngrep needs to start ngrep as a daemon01:40
mgwthat same unprivileged user needs to be able to stop the daemon01:40
mgwI thought I had this working on a system some time ago, but what's happening is ngrep appears to be dropping privs to nobody, but the original user cannot stop the daemon01:41
mgwany suggestions?01:41
sarnoldmgw: if it were me, I'd write an upstart job configuration file for ngrep, and then you can grant your unprivileged user sudo access to the commands "start ngrep" "stop ngrep" and "restart ngrep"...02:08
mgwsarnold: thanks02:12
mgwI'll look into that02:12
Super_Dog2Having some problems logging in and did a "df -h" command and find that my server's hard drive is full.  I presume this could be a problem. :-)02:41
Super_Dog2Have a 80gb hard drive (SSD) with a 3TB LVM...02:41
sarnoldSuper_Dog2: apt-get clean is a fast way to free up a few gigs in /var02:42
Super_Dog2Any good ideas to look at for places to delete files from?  All I have right now is SSH without sudo privileges...02:42
Super_Dog2I'll try the apt-get clean...02:42
sarnoldheh, it'll require sudo..02:42
sarnoldcheck if there's stuff in /tmp you can get rid of02:43
=== Daviey_ is now known as Daviey
=== funkyHat_ is now known as funkyHat
Super_Dog2Looks like I've got some big *** log file...  Running Zentyal which is Ubuntu 10.04 LTS server base.02:45
Super_Dog2deleting the big log files?  That shouldn't hurt anything right?02:46
sarnoldSuper_Dog2: well....02:46
sarnoldSuper_Dog2: normally best if you can get the programs involved to do logortates and the like02:46
sarnoldif you delete the file but the program is still logging to it, the space won't come back _and_ you can't read your log files.02:47
sarnoldbut rm /var/log/*gz ought to be fine. :)02:47
Super_Dog2cool... looks like I've got sudo now...02:49
Super_Dog2Let me see if I can login at the machine.  (i.e. not SSH)02:49
Super_Dog2crap... still no machine login...02:50
=== hggdh_ is now known as hggdh
Super_Dog2Are those *gz files pretty much useless archives / backups of old logs?02:52
sarnoldSuper_Dog2: "useless" is in the eye of the beholder, of course :)02:52
sarnoldSuper_Dog2: but with a full disk, they probably look useless. :)02:53
Super_Dog2Is it *gz or *.gz?02:53
Super_Dog2I'm used to Winbloze delete command02:53
sarnoldthey're probably the same; at least I haven't seen anything named e.g. /var/log/logz  :)02:53
Super_Dog2There were some big log files in there but df -h still shows "0" left in the "/" directory...02:55
Super_Dog2Do I have to empty the trash or something via the command line..?02:55
sarnoldhow have you been deleting files?02:56
Super_Dog2With your "rm" command above?02:57
sarnoldoh, good. there's no trash. once you do that, they're gone. :)02:57
sarnoldSuper_Dog2: root is allowed to go beyond the "full" mark02:57
Super_Dog2Looks good.  It canned all the *.gz files it looks like when I do an "ls -al".02:57
sarnoldSuper_Dog2: if you haven't gotten below that full mark yet, it will probably still read '0'...02:58
Super_Dog2So you're saying "my cup overfloweth..."?02:58
Super_Dog2With files that is?02:58
sarnoldSuper_Dog2: that's a possibility. I'm trying to recall where the details are for that..02:59
Super_Dog2What about the file "user.log.1" that looks pretty big...02:59
Super_Dog2And the file "messages.1"?03:00
sarnoldSuper_Dog2: you can delete those too, if you're that bad for space03:00
sarnoldSuper_Dog2: did you run the 'apt-get clean' ?03:00
Super_Dog2How about "sudo rm /var/log/*.1" ?03:00
sarnoldSuper_Dog2: rm /var/log/*.[1-9] may be useful03:01
Super_Dog2Don't seem to have any log files beyond *.1...03:01
Super_Dog2Yep...  ran "sudo apt-get clean"... Didn't get any error so I assume it worked...03:02
Super_Dog2What's a good command to list large files that are not in the /mnt directory?03:05
sarnoldSuper_Dog2: probably "du -s /bin /boot /dev /etc /lib /lib64 /opt /root /srv /usr /var" is the easiest way to skip /mnt, /proc, /sys, etc.03:06
sarnoldSuper_Dog2: oh, better, "du -a /path1 /path2 | sort -n"03:08
sarnoldSuper_Dog2: you could also delete some kernels, if you've got a dozen kernels installed, you may want to clean some up03:09
Super_Dog2Where are the old kernels hiding out?03:18
sarnoldSuper_Dog2: /boot03:18
Super_Dog2I keep deleting stuff and still df -h says 100% used....03:18
Super_Dog2Is there a trash empty function or something I'm missing?03:18
bradmSuper_Dog2: by default, there's 5% reserved for root on a partition03:18
sarnoldSuper_Dog2: hrm. pastebin your df output..03:18
bradmSuper_Dog2: so what you're probably seeing is that you've got over that, and you're bringing it back down03:19
=== remix_tj is now known as Guest87082
sarnoldbradm: he's only got 80g /, he shold have dropped below that 5% again some time ago, I think...03:19
bradmmaybe deleted files with open filehandles then03:19
sarnoldbradm: mm. good thinking.03:21
sarnoldSuper_Dog2: sudo lsof | grep " (deleted)"   -- see if soething has huge files open that you don't mind killing. :)03:21
Super_Dog2Which df command?03:22
sarnoldSuper_Dog2: df -h03:22
Super_Dog2Sorry.  have to go back from one machine to the other.  Pastebin will be a PITA in this scenario.  Can't SSH from this Ubuntu box for whatever reason.03:23
Super_Dog2I just never thought you'd need more than 80G for the server files.  The data files / mounts sure.  But that's on a separate LVM volume mounted in the /mnt directory..03:24
Super_Dog2It's an SSD...03:24
bradmSuper_Dog2: you really shouldn't03:25
sarnoldSuper_Dog2: my / takes 18 gigs.03:25
bradmSuper_Dog2: well, depends on how many logs you keep, and how busy the server is03:25
Super_Dog2That's what I thought.  I've had this thing setup for over a year.  Basically been set it and forget it until today...03:25
sarnoldSuper_Dog2: that includes a pile of lxc things, 150+ apt repository lists, and over six gigabytes of cached deb packages for ten different ubuntu distributions. :)03:26
Super_Dog2Going to pastebin... hang on03:29
Super_Dog2df -h command output here:  http://pastebin.com/QTujKUtX03:32
sarnold(just to answer any potential curiosity, the difference I was thinking of was the minixdf vs bsddf behavior described in the mount(8) manpage, which keeps back the blocks in the filesystem that can't be used for files; it doesn't have anything to do with the 5% saved for root)03:32
sarnoldheh you even got the columns lined up :) nic03:32
Super_Dog2I presume the 100% in "/" is not good...03:33
bradmSuper_Dog2: try a du -sk [a-lo-z]* | sort -n ?03:33
bradmSuper_Dog2: trying to avoid doing a du on /mnt/data there03:33
sarnoldha! du -x "skip directories on different file systems"03:34
sarnoldawesome. 18 years in, still learning things about the basic tools. :)03:35
Super_Dog2That's where all the big data files are - in /mnt/data...03:35
bradmSuper_Dog2: right, we want to narrow down where the disk usage is03:35
bradmSuper_Dog2: so is the du running?03:39
Super_Dog2Here you go - http://pastebin.com/7GUe99bu - apologies - but I have to switch desks to do this.  SSH only works on one of my Windows workstations running putty...03:40
sarnoldoh. I just now notice that there's no /home filesystem...03:41
Super_Dog2I'll try SSH on this workstation again...03:41
bradmits not that bad though, 11G in /home by the looks03:42
bradmis there anything else in /mnt other than the data dir?03:42
sarnold11+7+3+2+1 .. I just don't see how his drive shows full at 80g.03:42
Super_Dog2All right cool.... Now I can log in with a terminal on this Ubuntu workstation.  Should go lots faster now....03:43
bradmeither there's something else on /mnt, or there's stuff in /mnt/data thats had the other FS mounted over it03:43
bradmor a _lot_ of deleted files with open filehandles03:43
sarnoldwhat does sudo lsof | grep " (deleted)" | wc -l  return?03:44
sarnold(granted, number isn't everything, it could be one huge 45gigabyte file...)03:45
Super_Dog2says just "8"....03:45
Super_Dog2Is that files?03:45
sarnoldgoahead leave off the | wc -l and you can see them...03:46
Super_Dog2mostly stuff in Apache203:47
Super_Dog2You want me to PasteBin that?03:48
Super_Dog2Something in "Asterisk"...03:48
bradmSuper_Dog2: if its /var/log/apache2 its probably just log rotation stuff03:48
Super_Dog2Not using asterisk...03:48
sarnoldmm, apache stuff...03:48
Super_Dog2Here's the output of your command:  http://pastebin.com/NT4yC9qq03:49
sarnoldoh man, two megabytes. :/03:49
bradmSuper_Dog2: can you do a ls on /mnt?  is there anything else in there than data ?03:50
sarnoldhow about "du -xk / | sort -n" ?03:50
sarnoldtime for me to bail..03:52
Super_Dog2This is kind of a good description of my problem that started today when I re-booted the server.  http://forum.zentyal.org/index.php/topic,11306.msg45782.html#msg4578203:52
Super_Dog2Nothing in /mnt other than the /lan and /nas...03:54
sarnoldSuper_Dog2: you may wish to check dmesg output, perhaps the kernel is screaming something at you about a corrupted filesystem or something03:54
Super_Dog2Big /mnt/data directory where all the files are.03:54
Super_Dog2I see something shifty....03:54
Super_Dog2Was trying Rsync yesterday to an Rpi and it errored out...03:55
Super_Dog2Let's take a look...03:55
Super_Dog2Thanks sarnold... think I found the problem.  When the Rsync process errored out yesterday it left a big boatload of Rsync file in the /home/user directory...03:58
Super_Dog2going to have to bone up on the rsync command.  Must have done something wrong.03:59
Super_Dog2That "du -xk / | sort -n" is a keeper.  Thanks for that one...03:59
bradmSuper_Dog2: it still looks like there's more files hiding somewhere04:01
bradmsince the du you pasted doesn't show 70G worth of stuff04:02
Super_Dog2I'm pretty sure it was an rsync gone wrong...  I'll have to figure out how the heck it wrote the files to the source /home/user directory....04:02
bradmSuper_Dog2: wait, you said something back up there about lan and nas in /mnt ?04:02
Super_Dog2There must be an rsync switch I missed.04:03
Super_Dog2Not much in /lan and /nas in the /mnt directory though.04:03
Super_Dog2Let me check again.04:03
bradmin /mnt I'd do a du -sk lan nas to see how much it uses04:04
Super_Dog2You guys are frickin' Ubuntu geniuses...04:04
Super_Dog2Check out this Paste Bin:  http://pastebin.com/ss9vxCYk04:05
Super_Dog259G though... Still a little heavy for what I'd expect a 10.04LTS / Zentyal 2.27 install to be...04:05
bradmthat looks better04:05
bradmbut, yes, there's still some other data somewhere I'd say04:06
Super_Dog2Yes.  Thanks a lot.  I am not worthy of you ans sarnold's terminal skills...04:06
bradmat least its not completely full now though, you've got some breathing room04:06
Super_Dog2Yeah... Any ideas for hunting for other useless files?04:06
bradmdid you do the du on /mnt/lan and /mnt/nas ?04:07
Super_Dog2That wonderful "sudo du -xk / | sort -n" has revealed some other gems.  Looks like someone - me or my associate put a big boatload of PDF file in the web server.  Problem is we don't use that webserver anymore for anything other than logging in the server management interface.04:10
Super_Dog2So I can get rid of a big load right there, too.04:10
Super_Dog2That "du -sk lan nas" says 12 and 4 respectively.  I presume that's just bytes for the empty directories...04:11
bradmyeah, you can ignore them04:11
bradmthats really odd, it seems like that covers most of where stuff is stored04:12
Super_Dog2Yep... nothing in there when I "ls -al" inside the directories...04:12
bradmthe du -xk should have showed you where everything was04:12
Super_Dog2Yeah, that was brilliant stuff dude...04:13
Super_Dog2That sort switch is the key...  Killer idea there...04:14
bradmis it possible that the server was ever running without the /mnt/data mounted?  and files got put in there?04:14
Super_Dog2Now we're down to 53 G out of 71 G.  Good....04:16
Super_Dog2Lots of stuff in /var/cache , /lib , /var , /usr ...Not sure if anything that can go away though.04:20
bradmit really depends on what it is04:21
bradmbut in general for stuff in /lib or /usr, I'd leave it alone04:22
bradmits _possible_ there's stuff in /var/cache you can clean up04:22
Super_Dog2Yeah.  don't see anything in there that looks like a candidate for deletion...04:22
Super_Dog2Yeah.  don't see anything in there that looks like a candidate for deletion...04:22
bradmSuper_Dog2: /var/cache/apt/archives might be a candidate, depends on how much stuff you've installed04:23
qman__apt-get clean will do that for you04:23
Super_Dog2This is an old USB hard drive I used to back up...  "924860/media/500GB_WDGreen".04:24
Super_Dog2This shows on the "sudo du -xk / | sort -n" command.04:24
bradmthat sounds like you were trying to backup when it wasn't mounted04:25
Super_Dog2But it doesn't seem like there's anything there... An old media mount or something?04:25
bradmSuper_Dog2: try a ls -a in that directory, possibly its hidden files?04:25
qman__did you unmount /mnt/data to see if there was anything underneath it?04:25
Super_Dog2Permission denied.04:26
qman__because that's where my money would be, given the size of the data that's just plain missing04:26
bradmqman__: I've asked that a couple of times and been ignored04:27
Super_Dog2I presume that needs "sudo umount /mnt/data"  ?04:27
bradmqman__: not to unmount it, but if there's possibly stuff under it04:27
bradmSuper_Dog2: don't do that04:27
bradmSuper_Dog2: if you've got stuff writing to it, that could be bad04:27
bradmSuper_Dog2: if you know there's nothing writing there, or processes with it open, go ahead04:27
bradmSuper_Dog2: but don't just blindly unmount it without checking04:27
qman__make sure it's not busy first04:28
Super_Dog2I'm checking the directories in that mount and everything is what I'd expect there.04:28
bradmSuper_Dog2: but is there possibly stuff that was copied into /mnt/data without that big filesystem mounted?04:28
qman__that's all stuff that's on the mount04:29
Super_Dog2That's where all my core digital files are on the server.  TV, PDF's, spsheets, word docs, photos, etc....04:29
qman__it's possible to have stuff there, and then mount another drive on top of it, and as a result not be able to see those files04:29
qman__that can happen if you accidentally copy stuff while it's not mounted04:29
Super_Dog2interesting.  never thought of that...04:29
Super_Dog2I set this up like right when I built the server...04:30
Super_Dog2The odds are lower I'd think...04:30
Super_Dog2let's see if I can get this 10.04 server to boot with the Zentyal login screen...04:32
Super_Dog2thanks a ton...04:33
Super_Dog2You guys totally saved my !@# with that ""sudo du -xk / | sort -n" command.04:33
Super_Dog2Still wondering why I have all these files on the server though....04:34
Super_Dog2May have to go to a much larger hard drive.04:34
bradmSuper_Dog2: still feels like there's something missing though.04:35
Super_Dog2Anybody have a good recommendation for a high quality / capacity SSD boot drive?  I'm thinking I better up this 80G to about 200+ something...04:35
Super_Dog2Well - imagine not being able to even log in to your server...   That's where I was at.  So you guys are awesome..04:35
Super_Dog2I will now donate to some charity.  I was going to call my $150/hour linux administrator over here...  Saved me some coin boys.  Thanks...04:36
koolhead17Super_Dog2: buy ubuntu goodies even better :)04:37
Super_Dog2It's karma....  I was freaking out there for a bit...04:37
koolhead17Super_Dog2: cheers!! :)04:37
Super_Dog2Couldn't even get sudo privileges on an SSH into the server...04:37
Super_Dog2Thanks again...04:45
Super_Dog2Still don't see much else to delete though.  Any good server quality drives you guys are using?  Has to be a 2.5" as this is only a 1U blade...04:46
Super_Dog2Need 200gb or better probably...04:46
patdk-laphmm, 10 2.5" per 1u, or 4 3.5" in 1u, if you want hotswap04:48
patdk-lapI really like my samsung 830, plextors are also good04:49
Super_Dog2My 1u only has room for a 3.5" and a 2.5".  That's it.04:56
Super_Dog2Is that Samsung 830 an SSD?04:56
Super_Dog2Wow... Sammy 830 seems sold out everywhere unless I want a 500GB unit...04:58
Phibsanyone know why: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1003845 has not been backported into Precise LTS ?05:07
uvirtbot`Launchpad bug 1003845 in sssd "Invisible symbols in sssd upstart config causes sssd to not start if /bin/sh is a link to /bin/bash" [Medium,In progress]05:07
Phibstjaalton: ping :)05:08
Phibsamazing number of idlers in here05:11
patdk-lapphibs, it's not a security issue, and probably no one has request it to the backporters05:27
qman__it's probably not even affecting that many people, since it requires a non-default system setting to appear05:29
Phibsqman__: what, using SSSD? If you aren't using it you should :)05:57
Phibspatdk-lap: pretty lame/bad bug05:57
patdk-lapsounds like additions security issues, if I where to use it, plus it's in universe, so security patchs won't be applied06:08
=== remix_auei is now known as remix_tj
=== voxadam__ is now known as voxadam
jdstrandpatdk-lap: that is inaccurate. things that are not Canonical-supported receive community support. The Ubuntu security team will sponsor security patches that are submitted by the community. Therefore, since sssd is in universe, it can receive security support from the community, if people step up to do it09:28
BlackDexHello there10:07
BlackDexI get the message: connect_to localhost: unknown host (No address associated with hostname)10:07
BlackDexi have searched, but didn't found a helping awnser10:08
melmothBlackDex, well, looks like there s no entry for localhost in /etc/hosts10:09
BlackDexthere is :(10:10
melmoththen your resolver is not using it.10:10
melmothin /etc/nsswitch.conf be sure you have hosts:          files10:10
melmothyou may alos have other entry, but be sure there s the files one.10:11
BlackDexmelmoth: could it have something to do with ipv6?11:02
melmothdont know11:03
tizzHi all! i have a strange problem: After upgrading a server from 10.04.4 to 12.04.1 dhcp3-server is replaced by isc-dhcp-server. But now the server is unable to start, no matter what I do it wants to start isc-dhcp-server6 instead of isc-dhcp-server. this complains about dhcpd6.conf not present, since only dhcpd.conf is present. how can i get rid of this 6?11:20
=== cpg is now known as cpg|away
aFeijohi folks!12:10
aFeijoI'm in a process of installing a new ubuntu server that will replace our 4 years old one. I have ubuntu 12.10 x64 installed, now I need to migrate the email server services. What would be the best options today? I need smtp, imap integrated with mysql12:12
aFeijono hints?12:16
=== hack is now known as harsh
=== harsh is now known as hack
TeTeTaFeijo: I'm not up to date with 12.04, unfortunately, but the server guide in the online help might be the best start to see what servers are default12:56
=== yofel_ is now known as yofel
vezqaFeijo: I would use 12.04 LTS13:01
vezqaFeijo: Postfix for SMTP and Dovecot for IMAP13:01
aFeijovezq, that was my idea too :) thanks13:02
uvirtbot`New bug: #1095988 in nova (main) "nova-api-metadata update causing corruption" [Undecided,New] https://launchpad.net/bugs/109598813:11
sazawalI need to install ubuntu from networkboot13:26
sazawalPlease help13:26
sazawalI have followed the instructions here, https://help.ubuntu.com/community/Installation/QuickNetboot13:26
sazawalWhat next?13:26
ogra_netboot your machine13:28
ogra_it should dump you directly into the installer13:28
sazawalogra_, I have connected my machine to the another one(target) machine via ethernet cable13:29
=== gary_poster|away is now known as gary_poster
sazawalI guess my server is working, but how to provide the path of iso file?13:30
ogra_so do you end up in the installer booting your target machine ?13:31
sazawal I guess so, but I have nowhere provided the path to iso file13:31
sazawalIt wouldnt know, from where to copy the files13:32
ogra_it would default to use archive.ubuntu.com13:32
sazawalnone of the two machines are conected to the internet13:33
ogra_you can mount the iso on your server and export it through http13:33
ogra_and then point the installer to the ip of your server during installation13:33
sazawalyes, but how to do it? Where do I mount the iso file?13:33
ogra_well, if your webserver is confgured to have /var/www as / you mount it under that dir13:34
sazawalogra_, well I do have apache server running on my computer13:34
ogra_depends what webserver you install and how you set it up13:34
sazawalDoes it work for installation?13:35
ogra_i guess so13:35
sazawalogra_, Have you tried the netboot yourself?13:35
sazawalI googled and got different tutorials on different websites13:35
ogra_i usually use my local mirror for that so i dont need to mount any iso :)13:36
sazawalI dont know which one will work13:36
sazawalogra_, Can you help me step by step?13:36
ogra_well, if you have the installer running on the target machine thats 90% of the work13:36
sazawalI have http server running13:36
ogra_well, sudo mount /dev/cdrom /var/www/ i guess13:37
ogra_and check with a browser if yoou can see the content13:37
sazawalYes it works13:37
sazawalI mean, I frequently use it to transfer files over LAN13:37
sazawalogra_, What to do next?13:45
sazawalI need to install ubuntu via networkboot, please help13:57
ogra_sazawal, what elsse do you want ?13:57
ogra_it should fully work now13:57
ogra_in the installer point to your server IP that exports the iso13:58
sazawalogra_, How to specify the IP to the target computer14:00
ogra_inin the installer dialog that asks for it14:00
patdk-lapyou download the netinstall iso, and either boot the cd, or copy the netboot files to a pxe server, and pxe boot14:01
ogra_that part he has done (he said)14:02
patdk-lapoh, I didn't see that14:02
ogra_so once you get to the qestion about which mirror should be used, you give it the IP of the server14:02
sazawalogra_, Yes the DHCP connection is made. I have this folder /tftpboot/ubuntu-installer/i38614:21
sazawalDo I have to mount my iso file somehwere here?14:21
ogra_you said you already booted into the installer14:21
sazawalSorry, I have not booted to the installer14:21
ogra_you just netboot your client and will end up in the first installer screen14:21
sazawalI should have misunderstood something14:21
ogra_the installer is inside the initrd14:22
ogra_the iso is only needed for the debs later14:22
sazawalogra_, Okay14:22
donvitoVERSION=`cat /etc/slackware-version` how can i edit this line so in motd ill get ubuntu version14:22
sazawalSo, how to start the installer in the target machine?14:23
ogra_PXE should14:23
ogra_you just need to PXE boot the target machine14:23
ogra_(if everything is set up properly indeed)14:23
=== uksysadmin__ is now known as itarchitectkev
donvitoDISKUSAGE=`du -sh ~/|awk '{print $1}'`14:26
donvitoor this on ubuntu?14:26
hallynstgraber: I don't like the patch for lxc-shutdown for busybox14:26
ogra_what does /etc/slackware-version contain ?14:26
donvitofixed that14:27
hallynISTM busybox is simply broken and we shouldn't hack lxc to work around it14:27
donvitoi now need command for diskusage14:27
donvitoso in motd will tell the disk usage14:27
donvitoat the moment14:27
donvitoDISKUSAGE=`du -sh ~/|awk '{print $1}'` so i need to edit this line and make work on ubuntu motd14:27
ogra_how did you fix it ? on ubuntu you should use the lsb_release command for it14:28
ogra_the du should work14:28
donvitoVERSION=`cat /etc/issue.net`14:28
donvitoi fixed with this line14:28
donvitodu: cannot read directory `/home/nertil/.subversion/auth': Permission denied14:29
donvitoi got this14:29
donvitolike error14:29
ogra_VERSION="$(lsb_release -ds)"14:29
ogra_use that (and depend on the lsb stuff if it is a package you work on)14:30
ogra_well, du indeed needs the permissions to index the dir you use it on14:30
ogra_but tht wont differ on any othe linux14:30
ogra_nothing ubuntu specific14:30
donvitohow to fix the permision14:30
ogra_well, why dont you have access to the dir in the first place if it is in your own home ?14:31
donvitoi dont even know how to14:31
donvitoim new at this14:31
ogra_(assuming you are logged in as netril)14:31
donvitoim root14:32
donvitoits my home box14:32
ogra_if you are root you should have all permissions you need14:32
donvitonertil@Precise:/var/etc$ sudo su14:33
stgraberhallyn: yeah, not fond of it myself, mostly because we have the SIGPWR stuff in the API too and we don't really want to special case busybox in there...14:33
stgraberhallyn: I "think", I'd be much happier with making those signals configurable in the container config, then make lxc-shutdown a part of lxc-stop so it can use the API (instead of being a shell script)14:33
stgraberthen everything would be using the same code and it'd be the template's job to set any non-standard signals14:34
hallynthat sounds good14:34
=== slank_away is now known as slank
uvirtbot`New bug: #1096081 in php5 (main) "server reboots because of php5 cron job" [Undecided,New] https://launchpad.net/bugs/109608114:46
caribouroaksoax: ping15:03
koolhead17zul, Daviey smoser hallyn are you folks still on vacation :P15:14
jabba_can anyone tell me what to do to get pci-passthrough running on a 12.04 ubuntu domU on a 12.04 ubuntu dom0 with xcp-xapi stack?15:24
hallynkoolhead17: not by a long shot15:24
jabba_i already bound the desired pci device to pciback, so that lspci -k tells me pciback as driver for that specific device (usb2.0 extension card)15:24
jabba_then i told the vm to use this device (via xe vm-param-set blabla...)15:25
jabba_the i told the vm to se iommu=soft as kernel-arg15:26
jabba_but the damn vm doesn't get any pci-device passed through....15:26
jabba_why the hell are there so many variations of xen, toolstacks, pciback as module, build in, etc., etc..  this is so confusing!15:27
roaksoaxcaribou: pong15:31
caribouroaksoax: I have someone asking for some fence script added to the precise version of pacemaker which is already in Quantal15:32
caribouroaksoax: what would be the best way to work at it : get the whole 1.1.7 version of pacemaker in Precise or just add the one fence script ?15:33
caribouroaksoax: to the current pacemaker version in Precise  I mean ?15:33
roaksoaxcaribou:  pacemKer doesn't ship fence agents15:34
caribouroaksoax: they must be fence script, lemme find the reference15:35
roaksoax there is a package called fence-agents15:35
caribouroaksoax: my bad; he's talking about /usr/sbin/fence_pcmk which is in Quantal but not in precise15:36
roaksoaxjamespage:  howdy that drbd import is failing cause it's trying to import an older version?15:36
roaksoaxcaribou: so you want to ship that file in precise?15:38
caribouroaksoax: yeah, make this available in Precise15:38
roaksoaxif the precise version is not shipping it is because it is not supported unless the file is not being installed15:39
=== qhartman_ is now known as qhartman
roaksoaxzul: why are you installing that?16:01
zulroaksoax: centos?16:02
feisarprobably a simple question, is MySQL 3306 tcp or udp?16:02
roaksoaxzul: yeah16:02
zulroaksoax: so i can make sure our openstack stuff runs centos/rhel images16:02
_rubenfeisar: tcp16:03
roaksoaxzul: cool16:03
feisar_ruben: thanks : )16:03
roaksoaxjamespage: you back/win 2616:06
zulhallyn: uploading now god help us all16:23
hallynzul: i should be in front of some shrine or other right now16:24
zulhallyn: excactly16:24
zulhallyn: done16:25
hallynzul: thanks16:27
hallynstgraber: now that zul has uploaded the new qemu source, what does it take to get that into the server set so i can upload to it (when it invariably breaks)?16:27
SpamapShallyn: +1 on putting it in the server package set. Its critical to a huge portion of the things servers are doing these days.16:31
hallyn"but no pressure on the drastic upload you just did which will break it for everyone" :)16:32
koolhead17hallyn, :P17:09
TheLordOfTimeso, anyone know where apache2 sets up its site configs by default?17:31
TheLordOfTimedoes it still uses /var/www ?17:31
vezqTheLordOfTime: may vary depending on distro17:36
TheLordOfTimevezq, i meant in ubuntu17:36
* TheLordOfTime thought that might've been implied.17:36
vezqyes :)17:36
vezqit's still /var/www17:36
vezqhave too many open channels here :)17:37
TheLordOfTimeokay, that breaks from Debian policy...17:37
TheLordOfTimeat least afaict17:37
* TheLordOfTime was reading the debian packaging policy booklet17:37
TheLordOfTimewho here's more fluent with the apache webserver packages than I/18:01
TheLordOfTimebecause i certainly am not :p18:01
TheLordOfTime(question on its packaging and whether its violating debian policy)18:01
wilmaaaahhi all18:02
wilmaaaahhow well does ubuntu 12.04 work on machines with 2 cpus? do i need to make adjustments? i don't get the performance i like18:02
=== mcclurmc_away is now known as mcclurmc
TheLordOfTimewilmaaaah, are we talking server or gui version?  (server's commandline only unless you add a GUI)18:03
sarnoldwilmaaaah: how well something runs on SMP systems depends upon the workload, more than anything else. my laptop18:04
wilmaaaahit's the server edition, i'm using it as a kvm-host. sysbench showed slower performance than my 2 core athlon. i'm speaking of 2 opterons18:04
sarnoldwilmaaaah: my laptop's got four cpus, and I can run make -j 4 on it without driving the temperature too high but still getting excellent compile performance...18:05
wilmaaaahit's 2 cpus รก 6 cores here18:05
wilmaaaahsarnold: can i trigger that somehow?18:06
sarnoldso 12 procs total?18:06
sarnoldcool. :)18:06
wilmaaaah12 cores18:06
wilmaaaah2 cpus18:06
wilmaaaahit's slower than my four year old athlon :(18:07
sarnoldwilmaaaah: does vmstat and top show you're IO-bound or compute-bound or are the guests just not running as quickly as you'd like?18:07
wilmaaaahi did a quick sysbench test and compared the result with my desktop machine18:08
wilmaaaahthe video of the guests seems laggy, i thought until now it's maybe vnc, but now i tried spice - same lagginess18:08
sarnoldwilmaaaah: what does sysbench test?18:09
wilmaaaahlemme check vmstat though18:09
wilmaaaahcpu speed, among others18:09
wilmaaaahnot sure about the algorithm18:10
sarnoldis it an accurate reflcetion of the workload you're going to put on the machine?18:10
wilmaaaahas i said, i have no idea what is being measured18:11
wilmaaaahlet me run another test to compare18:12
wilmaaaahthis one: time echo"scale=4000; a(1)*4" | bc -l18:12
wilmaaaahcalculates 4000 digits of pi18:12
wilmaaaahmy athlon stays faster18:13
sarnoldby how much?18:13
sarnold.. and could you run _twelve_ of those simultaneously on your four year old system and still be done more quickly? :)18:13
wilmaaaahwell, check it on your machine, my opteron gives 26.8s,26.8s,0.004s18:14
=== mcclurmc is now known as mcclurmc_away
sarnoldI see what you mean. 10.5 seconds.18:15
wilmaaaahsarnold: that's why i asked if i need to take actions18:15
wilmaaaah16.3s on my athlon18:15
sarnoldwilmaaaah: I wonder if you need to fiddle with your BIOS settings -- ram speeds, clock speeds, etc. :/18:16
sarnoldwilmaaaah: some systems are quite a bit slower if the RAM isn't installed "just right" -- spread over the banks in an optimal way, for example.18:17
wilmaaaahmmh, lemme look into this18:17
wilmaaaahthat's been done according the manual18:17
sarnoldbecause I wouldn't expect any hexacore kind of system to be more than half the speed of my i7 laptop on a compute-intensive workload that has near zero disk io...18:18
wilmaaaahi need more ram, two more modules18:19
wilmaaaahobviously i need two for each cpu18:21
sarnoldwilmaaaah: that may help. I know nearly nothing about internals, but I could easily imagine that if the CPUs have to work together to share the memory, you could be running at less than half the speed you expected.18:23
wilmaaaahthese are dual channel modules, they need to be paired to work as expected, major mistake on my part here18:25
ogra_wilmaaaah, also i highly doubt that bc does any multijthreading, you will only stress one core with it anyway18:26
wilmaaaahthat may be true as well, the problem remains the faulty planning though18:28
wilmaaaahi think if i removed one cpu it'd be faster18:29
sarnoldogra_: hehe, yes, that was my initial thought of course, but the beauty of the bc test is that it shows the macihne to be 2.5 times slower than my laptop on a single-threaded compute-intensive task.18:32
ogra_yep, i also immediately tried it on my varoius machines18:32
sarnoldogra_: of course, for something as small as 4000 digits of pi, one might expect it to _also_ run nearly entirely in cache, but that's probably not the case..18:32
ogra_my chromebook (running ubuntu) is only three times as slow as my core i5 3500k18:32
ogra_five times for my nexus7 though18:33
sarnoldheh, 52 seconds for my pandaboard.18:35
ogra_50 for the nexus718:36
ogra_and 30 for the chromebook18:36
ogra_(10 on intel)18:36
sarnoldhaha, your tablet beats a computer that's plugged into the wall. awesome. :)18:37
ogra_that clearly shows that it is only single core ... nexus7 is massively faster than the panda usually18:37
sarnoldin the twenty minutes or so that I had my panda running X, I was reasonably impressed with the performance for the price, size, heat, etc.18:37
sarnoldcool to hear the nexus is nicer :)18:38
ogra_yeah, its already okayish18:38
ogra_but yep, the nexus is so much better18:38
wilmaaaahsarnold: anyway, thanks for pointing me in the right direction!18:40
sarnoldwilmaaaah: sure thing, I hope you get the system you want in the end :) hehe18:41
sarnoldi'd be curious to know The Solutions, too, if you've got the time.. (don't worry if i'm responsive or not, I read highlights. :)18:42
TheLordOfTimesarnold, where should i report potential Debian packaging policy breakage for packages?18:42
TheLordOfTimein Debian?18:42
TheLordOfTimeor also in Ubuntu18:42
ogra_TheLordOfTime, if it is caused by an ubuntu modification, file it in ubuntu18:42
ogra_otherwise its a debian issue18:42
TheLordOfTimeogra_, okay, will do thanks.18:43
sarnoldTheLordOfTime: debian seems to like bugreports for everything, though something as big as "apache doesn't follow standard for websites in /var/www/" or whatever, maybe bring it up with the maintainer first -- it feels like the sort of tihng to have been covered before18:43
TheLordOfTimei'll start there, then, after I spin up a 13.04 VM to try and find a specific bug18:43
TheLordOfTime(unrelated to apache)18:44
sarnoldTheLordOfTime: aha :)18:44
dominohey everyone. I've recently encountered an issue and have tried numerous suggestions (to no avail) to try and correct it, so im coming here to see if anyone has any ideas. when I run an apt-get update it fails with this output: https://gist.github.com/d9045e2660167ac3361719:10
dominoim running ubuntu-server 12.04.1 on virtualbox19:13
dominohas anyone encountered this before?19:13
njindomino, try commenting out that line in /etc/apt/sources.list and run again apt-get update19:17
sarnoldit's perhaps four lines, deb lines and src lines, for both updates and security.. one wouldn't want to run that way for long :)19:20
sarnolddomino: are you using any caches?19:21
dominosarnold. sorry i'm not sure19:22
dominoalso, when I run: ls /var/lib/apt/lists I get this strange output19:23
sarnolddomino: I've seen those sorts of hash mismatches before if the package list is retrieved off one mirror, the hashes off another mirror, and sometimes caches can hold onto stale data too long19:23
dominowhen I wc on the file I get 96, I believe its only supposed to have 9019:23
dominosarnold, how can I check if I have caches (and clear them)19:24
sarnolddomino: I was thinking more along the lines of squid or apt-cacher-ng ..19:24
sarnolddomino: those are some funny files in /var/lib/apt/lists -- I've got nothing that looks similar19:25
dominosarnold. no I don't believe im using anything like that. this is just a vanilla virtualbox install from a fresh 12.04.1 dl.19:25
sarnolddomino: was your /etc/apt/sources.list or any of the lists.d/ files updated with, say, a windows text editor?19:25
dominoi don't believe so. after the OS finished installing the first thing I did was just apt-get update and then ls that file. the VM is probably like 5 minutes old19:26
sarnoldoy :)19:27
dominoi've also tried to rm -rf /var/lib/apt/lists/* and then run apt-get update again, and those 6 wierd files always come back, and the update fails in the same way19:27
sarnoldI think I'd rm /var/lib/apt/lists/* and run 'apt-get update' again and see what happens..19:27
sarnoldokay, that's a time saver :)19:28
sarnoldpaste your /etc/apt/sources.list and the list.d/*list files?19:28
dominosure. one sec19:28
DarylXianHi.  A general maintenance 'apt-get update' on my Ubu12LTS_64 box today updates grub.  During the process, I get a warning that "The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason." and instructing me to choose the right GRUB location:  http://pastebin.com/KGquUbLj19:29
DarylXianI'm not sure what's happened -- if there's a problem or not. My current partition plan (/etc/fstab) is: http://pastebin.com/raw.php?i=G2U7Xg8r19:29
DarylXianWhat should I do here -- just check one of the boxes and proceed?  Or is there a problem underway?19:30
sarnoldDarylXian: oof. uh. hrm. does that uuid still exist in /dev/disk/by-uuid/ ?19:33
DarylXiansarnold: hi.  No. ls -al /dev/disk/by-id/ | grep "5d26d773-d323-5b7a-e946-8e64e64cc978" ==> (empty).  but,19:37
DarylXiantune2fs -l /dev/sda1 | grep UUID  ==> Filesystem UUID:  5d26d773-d323-5b7a-e946-8e64e64cc97819:37
DarylXianoops.  by-uuid.  sec ...19:38
DarylXiansarnold: yep. ls -al /dev/disk/by-uuid/ | grep "5d26d773-d323-5b7a-e946-8e64e64cc978" ==> lrwxrwxrwx 1 root root  10 Dec 20 16:29 "5d26d773-d323-5b7a-e946-8e64e64cc978" -> ../../sda119:39
sarnoldDarylXian: hrm... that's a partition, so perhaps it was using the un-recommended blocklist mechanism? (large guess here..)19:41
DarylXiansarnold: I'm not familiar with that at all ... what can I check to answer that for you?19:41
sarnoldDarylXian: I odn't know, it's beyond my experience. :(19:42
DarylXiansarnold: well, then ... oh-oh?19:43
sarnoldDarylXian: I _think_ I'd be inclined to install it to both /dev/sda and /dev/sda1 here. This looks like a server system that's never going boot a different OS by selecting a different boot drive in the BIOS, right?19:44
sarnoldDarylXian: perhaps you've got an msdos-style MBR installed on /dev/sda, and perhaps it automatically selects the "active partition", /dev/sda1, and that's where grub is installed and does its work.19:45
sarnoldbut if grub doesn't like that, maybe overwrite the one on /dev/sda and let grub own the drive19:45
sarnoldand I think update /dev/sda1 just in case something else is booting that partition through a mechanism I don't understand. :)19:45
DarylXiansarnold: Yes, it's a single-purpose, single-drive Zimbra mailserver install on 12LTS UbuSvr.  It will ONLY boot Ubu.19:46
DarylXiansarnold: re-reading your comments, I'm in over my head atm.  I'll do my homework on the various options -- but, for now, I'm mainly concerned with NOT fubaring this server.  If I check-to-install both "[X]   /dev/sda (1000204 MB; WDC_WD1003FBYX-027GC3)" & "[X] - /dev/sda1 (270 MB; /boot)", will I be 'safe'/able to boot?19:50
sarnoldDarylXian: I think so. But it's not my ass on the line :) so I completely understand your skepticism. It's healthy...19:51
* DarylXian has deomnstrated strong fubar-foo in the past ...19:51
DarylXianer, fubar-fu19:52
dominosarnold: sorry for the delay. Here is my poor attempt at getting you my /etc/apt/sources.list (https://gist.github.com/f616f64bb7679a1ccb77), and it turns out my list.d/* is empty19:52
sarnolddomino: ehe, I think you'd have more fun with this system if you install putty and ssh into it for things :) then copy-paste will work way better... or, another option, install "pastebinit" :)19:53
sarnolddomino: but I don't see anything in there that looks surprising. :(19:55
Guest84637Hi. I'm trying to install Ubuntu on VMWare Fusion but I get an error during installation -> Unanble to install the selected kernel. An error was returned while tryin to install the kernal into the target system. Kernel package: 'linux-generic'''19:58
sw0rdfishmy provider's site says the VPS has 1 cpu core yet when I do cat /proc/cpuinfo it shows cpu cores: 820:05
sw0rdfishdoes that mean the vps thinks it has 8 cores?20:05
RoyKsw0rdfish: I guess they're running xen and just allows you to use a single core for real work20:06
sw0rdfishI see.20:06
sarnoldsw0rdfish: /proc/ isn't very well mangled for containers... chances are good you've got cgroups or something limiting you to a single core20:06
sw0rdfishOpenVZ actually20:06
RoyKI didn't know you could limit cores in openvz20:07
sw0rdfishwell damn they have a cheaper and better vps out as specials offer for christmas/new years....20:07
sw0rdfishI'm definitely gonna get that and let this one expire i geuss20:07
DarylXiansarnold: fyi, it appears that install to disk MBR (/dev/sda) was the correct choice.  system's rebooted.  thanks.   still no idea what the installer's actual problem was :-/20:11
sarnoldDarylXian: *pfew*! :)20:11
sw0rdfishwhat is cpanel for20:11
sw0rdfishI think solusvm is more than enough right?20:11
sw0rdfishoh its for webhosting and stuff and I don't need that.20:12
dominosarnold, thanks for taking a look at it. I'll keep digging and see if I come up with anything20:25
sarnolddomino: good luck :)20:25
uvirtbot`New bug: #1093918 in multipath-tools (main) "grub-probe auto-detection fails on raid" [Undecided,New] https://launchpad.net/bugs/109391820:26
DarylXiansarnold: thx agn!20:33
adam_ghallyn: hmm. im getting the same (bad?) results across precise, quantal + raring for the test case you posted to bug #1092715 http://paste.ubuntu.com/1497057/20:43
uvirtbot`Launchpad bug 1092715 in linux "chown does not update acls if there are >1 user acls (in quantal)" [High,Confirmed] https://launchpad.net/bugs/109271520:43
hallynadam_g: yes.  and now i am too.  right before i added that in there, i swear it updated the acl on my laptop20:44
hallyni dunno20:44
hallynadam_g: but note that if you dont do 'setfacl -m user:ubuntu:rw- xxx', then chown does update the group acl20:45
hallynmaybe until you do that it doesn't actually set a real acl?20:45
* hallyn tries out attr20:46
adam_ghallyn: :) fwiw, i wasn't checking ACLs yesterday, but it seemed udev did pick up the newly installed rule if i moved it from /lib/udev/rules.d/ to /etc/udev/rules.d/ or (i think) if i modified the rule in /lib/udev/.20:47
hallynadam_g: ok my test was bad.20:49
hallynin the cases where chown seemed to update it, setfacl simply hadn't set an acl (bc it didn't need to)20:50
zasternAnybody know if the other_vhosts_access.log that apache uses on debian/ubuntu when you don't configure per-vhost logging includes errors also? E.g. what would show up in a per-vhost error log?20:50
hallynadam_g: the newly picked up rule *is* found even in /lib/udev/rules.d, because otherwise group wouldn't be changed to kvm20:50
adam_ghallyn: the group wasn't changing to kvm for me20:52
adam_glemme try again20:53
hallynadam_g: oh, wow.  then that's a different bug than i'd been seeing20:53
adam_ghallyn: i think its some inotify wonkiness wrt udev picking up the new rule: http://paste.ubuntu.com/1497150/21:01
hallynadam_g: ext4 rootfs?21:04
adam_ghallyn: hm, ext3 actually21:05
hallynadam_g: i've been testing in a quantal vm and not had the same results.21:05
hallynlemme try one.  more.  time.21:05
adam_ghallyn: fs might be my issue? dont personally know much about inotify support in ext3 vs ext421:06
hallynadam_g: yeah my current vm is xfs, but it gets /dev/kvm chgrpd to kvm when i apt-get install qemu-kvm (just tried)21:08
hallynand previously i had it ext421:08
hallynso yeah this coudl be ext4 bug.  you created thsi vm just for this test?21:08
hallynor where are you testing?  (wondering if anythign else could be modified)21:08
adam_ghallyn: this is in a hardware lab where i'm testing other stuff from quantal-proposed, that depends on qemu-kvm (nova/libvirt). ive got ext3 root just to speed up d-i installation, i can try ext421:09
hallynhold on.  maybe i'm still being an idiot21:10
hallynnope - i mean probably, but my results are still the same21:22
mikeeySome sysadmin of ours managed to run Bastille, and it made a couple utilities "root only", how do I reverse it if we do not have the restore file? For instance, ifconfig = -bash: /sbin/ifconfig: Permission denied21:49
Free99mikeey: try running "ls -l /sbin/ifconfig" and put the results here21:54
mikeey-rwxr-x--- 1 root root 72320 Mar 31  2012 /sbin/ifconfig21:54
hallynadam_g: clue.  if you apt-get purge qemu-kvm; modprobe kvm_intel; apt-get install qemu-kvm, does it then change the /dev/kvm group owner?21:55
hallynadam_g: I'm thinking the very first time you install qemu-kvm, it may refuse to change the group bc /etc/group hasn't been updated yet (though it *should* have been, which confuses me)21:55
hallyni ask bc that's what i just saw on raring21:55
* hallyn curses fragile magic crap21:56
Free99mikeey: sudo chmod +x /sbin/ifconfig21:56
Free99and also +r21:56
adam_ghallyn: need to try again on a fresh box. fwiw, kvm_intel is already loaded before installing21:57
Free99the permissions say that it is read/write/exec by the user root, read/exec by anyone in the root group, nobody else21:57
Free99mikeey: (you know how to read permissions right?)21:58
hallynadam_g: yes, but when you apt-get purge qemu-kvm, it gets unloaded21:58
mikeeysort of. I should really learn it21:58
Free99mikeey: when you did "ls -l", the part of the response that says "-rwxr-x---" is the permissions for a file, or whatever you're looking at21:59
adam_ghallyn: ugh. of course when i try again on another box, /dev/kvm looks good after installation. :)21:59
hallynadam_g: then do getfacl /dev/kvm21:59
adam_ghallyn: group::rw-22:00
Free99mikeey: it's 5, I'm out. But try to find whatever things you need that have weird permissions, and just do "sudo chmod +x <file>" and "sudo chmod +r <file>"22:01
Free99peace guys22:01
hallynadam_g: !  in what?  quantal?22:02
adam_ghallyn: oh jeez, disregard22:02
adam_ghallyn: i wasn't testing from proposed on those systems heh22:02
hallynno need to even explain :)22:02
adam_gwhat a LONG short week :)22:03
hallynso easy to do a bad test with this22:03
hallynoh, the week was short - phew - that explains why i feel so unproductive22:03
hallynanyway i'm trying one more precise installation to test22:03
hallyntbh i'm still not sure that part of it isn't some consolekit daemon racing with udev...22:04
adam_ghallyn: apt-get purge qemu-kvm; modprobe kvm_intel; apt-get install qemu-kvm gets me the correct group perms22:07
sazawalI need to install Ubuntu via Networkboot. My DHCP server is working. I have also configured TFTP and I am able to get files on the server-system using tftp localhost -c get testfile. But the client system is showing pxe-e32 tftp open timeout22:07
adam_ghallyn: and yeah, if i also remove kvm from /etc/group between purge + install, /dev/kvm remains root:root after insatll22:08
hallynadam_g: you getting the correct groups, which release is tha ton, and is that with you being logged in on a console?22:09
adam_ghallyn: quantal/quantal-proposed. im ssh'd in22:10
adam_ghallyn: trying again once more on another system, but adding kvm group before antyhing22:10
hallynadam_g: ok ssh'ing in is not enough22:10
hallynyou have to be logged in on console to make consolekit set acls22:11
adam_ghallyn: thats  beyond what im able to test ATM. :|22:11
hallynadam_g: the kvm group thing really scares me.  qemu-kvm.postinst clearly, serially first adds the group, then much later calls udevam trigger22:11
hallynyeah that's why i'm having to test on nested kvm VMS on my laptop :)22:12
hallyn(which only had 80G ssd, so i'm short on space to keep things around)22:12
adam_ghallyn: yeah, well, just confirmed group perms look good if the kvm group exists prior to doing anything22:13
hallynadam_g: so that would suffice for the tests you need?22:13
hallynit might be worth creating an empty dummy package to test this22:13
adam_ghallyn: well, chown'ing vs addgroup'ing prior to install is an easy enough workaround for me.22:14
sazawalogra_, I am using tftp-hpa as tftp server. It is working fine when I try to get files on the server-system using this command "tftp localhost -c get testfile". The client system gets connected via DHCP server and then shows this error "pxe-e32 tftp open timeout"22:14
hallynadam_g: not sure i follow.  you're saying you're ok with what is there now?22:16
adam_ghallyn: no. :) but its not blocking me from testing the other things in quantal-proposed.22:17
adam_ghallyn: if it were simply an issue of the group not being there, reruning '/var/lib/dpkg/info/qemu-kvm.postinst configure' should fix it like a reboot, no? i still think udev isn't picking up the new rules22:26
hallynadam_g: i believe you22:27
hallynadam_g: at this point i feel like my life is a lie :)22:27
hallynwhen we finish up some other thing, i'm going to beg stgraber or slangasek for some help in figuring out what on EARTH is going on22:27
hallynhopefully early next week22:27
hallyncause it's apparently still messing up precise - raring22:28
adam_gis there a utility around to monitor inotify events?22:28
hallyngoogle for a python based inotify monitor22:29
hallynadam_g: something like http://people.canonical.com/~serge/inotify3.py22:30
sazawalI want to set up TFTP for ubuntu installation via Networkboot. I am using tftp-hpa as tftp server. It is working fine when I try to get files on the server-system using this command "tftp localhost -c get testfile". The client system gets connected via DHCP server and then shows this error "pxe-e32 tftp open timeout"22:31
adam_ghallyn: a quick look at events using that script: a CREATE for the 40-qemu-kvm.rules.dpkg-new but nothing when its moved to 40-qemu-kvm.rules. assuming udev doesn't pick it after the event since its not a .rules file22:42
hallynadam_g: might add IN_MOVED_TO to the mask,22:44
hallynadam_g: but i'm trying to remember whether we can expect inotify to detect renames22:45
hallynit looks at the inode, so rename won't be marked as a change against the file itself for sure22:45
hallynit might be marked as a change to the parent dir22:45
sw0rdfishhey, can my provider move my OpenVZ VPS to another plan that I bought?23:04
sarnoldit's up to them, probably. maybe they could just twiddle some configs, maybe they'd have to move your data to another system.23:06
sw0rdfishi thought its as simple as moving the image or whatever23:07
sarnoldcould be :)23:07
hallynmdeslaur: ^ I'm not going to look into it further today, but if you remember the /dev/kvm weirdness we had around UDS time, adam_g and I are having more oddness in backlog for last few hours23:07
hallynI'll be begging for help next week to figure out WHAT IS GOING ON23:07
hallynadam_g: heh, maybe it'll suffice to have qemu-kvm.postinst echo >> /lib/udev/rules.d/40-qemu-kvm.rules right before udevadm trigger :).  i'll look into it mor next week23:24
AlphaWolfHi. Running "sudo mountall" gives the following error: http://paste.ubuntu.com/1497640/ I also get this error on boot. It doesn't seem to be able to mount my swap partition. Here is my /etc/fstab: http://paste.ubuntu.com/1497645/ Any ideas?23:33
_KaszpiR_AlphaWolf try swapon -a23:36
sarnoldif that device has been corrupted it may no longer be a 'valid' swap space; you may need to run 'mkswap' on it before swapon will use it.23:40
sarnold(perhaps you used a suspend-to-disk that somehow did not get cleaned up correctly?)23:40
AlphaWolf_KaszpiR_: Sorry, took a while: swapon: /dev/sda6: swapon failed: Invalid argument23:44

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