[00:10] <PadNet_201> Help: Need a way to log everything done thru the terminal.
[00:14] <sarnold> PadNet_201: are you looking for a simple and friendly tool like 'script'?
[00:14] <PadNet_201> yes something like that, that runs everytime a term session starts
[00:14] <PadNet_201> or at boot to log all term activity
[00:15] <PadNet_201> or even a way to run 'script -q' automatically
[00:19] <sarnold> PadNet_201: I don't think ubuntu provides this pam module by default but it may be better suited to your task: http://linux.die.net/man/8/pam_tty_audit
[00:20] <sarnold> (I also don't think it will be nearly as nice to _read_ as the output of script)
[00:21] <PadNet_201> Thx that helps alo
[00:21] <PadNet_201> ^alot
[03:07] <lifeless> hallyn: is lxc-create making a btrfs subvolume expected ?
[03:07] <lifeless> hallyn: cause, its highly surprising and not in the man page.
[03:07] <lifeless> hallyn: I'm seeking to characterise the bug I will be filing :)
[04:00] <hallyn> lifeless: yes, it is expected.
[04:00] <hallyn> lifeless: i would have made lxc-clone do that, and not lxc-create, but someone convinced me there was no downside to it
[04:01] <hallyn> hasn't in practice been much of a problem since noone can keep btrfs running long enough to run into problems with a container on it
[04:02] <hallyn> "but i kid"
[04:04] <hallyn> i'll be looking for that bug report :)
[04:04]  * hallyn out
[04:53] <lifeless> hallyn: ok, thanks
[04:54] <lifeless> hallyn: the downside is you can't delete a container
[07:09] <agu10^> /msg nickserv identify 39208323
[07:30] <nibalizer> agu10^: hi
[07:30] <nibalizer> you may want to change that if you havent already
[07:31] <agu10^> oops
[09:22] <lost_RD> Hey guys, anyone able to give me a quick guide to uMurmur?
[10:35] <jamespage> yolanda, if you have time - https://code.launchpad.net/~james-page/cinder/grizzly-oslo-config-tidy/+merge/149520
[10:36] <yolanda> jamespage, yes, just a moment
[10:36] <yolanda> dealing with a ceilometer bug
[10:39] <jamespage> yolanda, OK - no hurry
[10:43] <yolanda> jamespage, why that change of ordering in debian/cinder-common.install?
[10:43] <jamespage> yolanda, wrap-and-sort -s
[10:44] <yolanda> ok
[10:44] <yolanda> looks nicer now :)
[10:45] <yolanda> approved
[10:50] <RoyK> what§s oslo-config?
[10:54]  * RoyK would love to reconfigure this city
[10:58] <VSpike> bbcmicrocomputer: top nick
[10:59] <VSpike> What should I normally expect to see in /etc/resolvconf/resolv.conf.d/original and /etc/resolvconf/resolv.conf.d/tail ? At the moment, I see in there the junk that gets added to the end of my /etc/resolv.conf each time I restart the interface :)
[10:59] <VSpike> Can I safely truncate those two files?
[11:12] <bbcmicrocomputer> VSpike: thanks!
[12:14] <chmac> I have one machine where `sudo top` takes maybe 10 seconds to load, puppet is taking >140s when it's typically <10s, and in generally it seeems to be extremely slow.
[12:14] <chmac> But top shows negligible cpu load >95% idle, over 10G ram free, it's an SSD machine so IO should be golden. I'm lost.
[12:15] <chmac> Any suggestions on how to investigate the root cause of the slowness?
[12:16] <Jeeves> chmac: Fix your dns
[12:20] <andol> +1
[12:27] <chmac> Any idea what might be wrong with dns?
[12:27] <chmac> Hostnames, etc, should all be fine, nothing has changed recently that I'm aware of.
[12:27] <chmac> Jeeves: Thanks for the suggestion, I'll check out all the dns related issues I can think of...
[12:34] <chmac> Looks like dns resolution is extremely slow for external hosts, `time getent hosts google.co.uk` takes >4s
[12:47] <chmac> Oh well, reboot seems to have resolved whatever the issue was. Restarting bind did not.
[12:54] <jstephan> hi there, i have a12.04 nfs server, it seems as the frontend system will set raw uid/gid and the ubuntu server does not support this, any idea how to switch this on?
[14:20] <jamespage> RoyK, oslo-config is the first 'released' version of some of the openstack shared infrastructure code
[14:20] <jamespage> specifically related to configuration file handling
[14:24] <flcl> how do I find mysql configuration file in ubuntu?
[14:24] <flcl> I tried locate my.ini - it returned nothing. locate *.ini |grep sql returned a couple, but I'm not sure which is used...
[14:24] <jamespage> flcl, my.cnf
[14:24] <jamespage> /etc/mysql
[14:25] <hallyn> lifeless: hm, lxc-destroy should use subvolume delete?
[14:26] <flcl> jamespage: thank you!!!
[14:28] <flcl> I want to trace all SQL statements that have been executed by mysql. Which log must I enable?
[14:29] <flcl> is it general_log_file or just log?
[14:29] <hatake> how to fix my trouble , hotot Can not get token from the server.
[14:29] <hatake> Network error! Please try later.
[14:49] <flcl> how do I restart mysql ?
[14:50] <flcl> hello?
[14:51] <flcl> irssi ignore
[14:52] <caribou> Any reason why starting a maas enlisted node fails with "Boot sector signature not found" (Precise maas btw)
[14:52] <caribou> the pxelinux.cfg/{MAC address} file contains "chain.c32" so it tells the node to boot off the local HD
[14:59] <diegosnat> hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why?
[14:59] <zul> jamespage / yolanda: https://code.launchpad.net/~zulcss/glance/glance-oslo-config/+merge/149589
[14:59] <zul> brb
[15:00] <RoyK> jamespage: ok
[15:01] <yolanda> zul, is python-oslo-config duplicate?
[15:01] <yolanda> there are 2 entries in the control file
[15:02] <yolanda> is that ok to have that in build-depends and depends?
[15:02] <jamespage> yolanda, zul: if its in pip-requires debhelper should add it automatically
[15:03] <zul> yolanda: yes unless if its something like argparse which is in python 2.6 but not python 2.7
[15:04] <diegosnat> guys any help?
[15:09] <diegosnat> hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why?
[15:21] <diegosnat> hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why?
[15:22] <hdx> i
[15:22] <jpds> diegosnat: Did you luksClose it?
[15:23] <jpds> diegosnat: With cryptsetup?
[15:23] <diegosnat> yes
[15:23] <diegosnat> jodh, i did close it
[15:25] <diegosnat> jpds, sorry yes, i did close it
[15:52] <zul> jamespage/yolanda: https://code.launchpad.net/~zulcss/nova/grizzly-refresh/+merge/149607
[16:01] <diegosnat> hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why?
[16:06] <bsod_> may be you can put here or to pastebin console output?
[16:08] <diegosnat> hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why?
[16:10] <diegosnat> bsod_, there is not output, it looks like it worked
[16:10] <diegosnat> but the device is not in /dev/mapper
[16:13] <patdk-wk> diegosnat,  Idon't have that issue
[16:14] <diegosnat> patdk-wk, im always the unlucky one
[16:14] <diegosnat> i need to restart the computer
[16:14] <diegosnat> to be able to reopen it
[16:14] <diegosnat> which is not the right thing to do
[16:22] <diegosnat> /sbin/cryptsetup --key-file /etc/luks.keyfile luksOpen /dev/usbarchive archive
[16:22] <diegosnat> root@linback-xxx:~# /sbin/cryptsetup --key-file /etc/luks.keyfile luksClose archive
[16:22] <diegosnat> Device archive is not active.
[16:28] <diegosnat> guys can you help me?
[16:36] <pmatulis> diegosnat: use '-v' (verbose) when doing luksOpen maybe
[16:42] <diegosnat> pmatulis, Command failed with code 22: /dev/usbarchive is not a LUKS device.
[16:42] <diegosnat> but it is :-/
[16:42] <diegosnat> this happens only after I have closed it
[16:45] <xnox> diegosnat: is there lvm on top?
[16:45] <diegosnat> no
[16:45] <diegosnat> ext4
[16:45] <xnox> diegosnat: that device name doesn't sound right either. what is it?
[16:45] <diegosnat> xnox, i create it
[16:45] <diegosnat> with udev
[16:45] <diegosnat> however
[16:46] <diegosnat> the first time i open it is fine
[16:46] <diegosnat> but if i open it, close and i try to reopen it fails
[16:46] <xnox> you created it with udev - fair enough. But what is it? loop-mount, hard-drive, what device is it in actual fact?
[16:46] <diegosnat> usb hard drive
[16:47] <diegosnat> but first time works, while doesnt it the second? :-/
[16:51] <diegosnat> xnox, any idea?
[16:52] <xnox> I am guessing it's a bug in your udev rules and etc. as by default plugged hardisks are recursively scanned for mdadm, lvm and luks devices and are automatically openend.
[16:52] <xnox> can you please explain what is your actual usecase / problem that you are using custom udev rules and hence breaking your system?
[16:53] <xnox> because maybe there are other solutions.... please start from the beginning of how or why you ended up where you did.
[16:54] <diegosnat> xnox,
[16:54] <diegosnat> even if i do with the normal /dev
[16:54] <diegosnat> doesnt work
[16:55] <diegosnat> usbarchive is a syslink to sdd
[16:55] <diegosnat> if i use sdd instead of usbarchive
[16:55] <diegosnat> same error
[16:59] <sunya7a> hi guys
[16:59] <sunya7a> i'm planning on installing ubuntu server on a Xserve machine
[16:59] <sunya7a> does any one have any experience or know of any resource that might be helpful?
[17:00] <sunya7a> i found an article from 2007..and it seems very complicated…have there been any changes that might ease the installation?
[17:10] <digitalsanctum> anyone around that would be willing to help with setting up a private apt repo? I'm mostly there but getting 404's
[17:15] <diegosnat> xnox, any idea?
[17:16] <xnox> sunya7a: checkout help.ubuntu.com just look for apple there should be full documentation guides for many models.
[17:16] <xnox> pick the closest model and follow tips and tricks and caveats.
[17:16] <sunya7a> xnox: thank you sir
[17:17] <xnox> sunya7a: use the mac_amd64 image not just _amd64
[17:17] <xnox> sunya7a: grab from cdimage.ubuntu.com
[17:32] <sarnold> digitalsanctum: have you seen the apt-ftparchive tool in apt-utils? it may help you
[17:33] <digitalsanctum> sarnold: thx, but I actually just figured it out
[17:33] <sarnold> digitalsanctum: oh, good :D
[18:25] <brizz> does anyone know how to troubleshoot issues with syslog log rotation?
[18:31] <edux> logrotates "rotates" logs and notifies syslog
[18:31] <edux> check logrotate conf?
[18:33] <brizz> syslog doesn't use logrotate, does it?
[18:33] <brizz> I thought it uses rsyslog
[18:34] <brizz> oh I guess rsyslog is part of logrotate
[18:48] <lifeless> hallyn: it will need to yes
[18:48] <lifeless> hallyn: you can't just rm -rf a subvolume
[18:48] <lifeless> hallyn: so it should be in the man page for lxc too, for folk doing manual stuff
[18:53] <Joe1301> anyone have a good script for backing up a website and mysql then ssh it over to my local server?
[18:53] <RoyK> Joe1301: just mysqldump the database and backup everything
[18:54] <RoyK> the raw mysql database files usually aren't good for backups
[18:54] <Joe1301> yeah I was trying to do via cron
[18:55] <maco> you can run a mysqldump with cron
[18:56] <hallyn> lifeless: oh, but it's not as bad as i was thinking.  lxc-create does the right thing at least (creating new subvolume) and then lxc-clone snapshots it
[18:56] <hallyn> lifeless: bug 1130840
[18:56] <Joe1301> I wrote something with rsync but it fails saying files have changed during tar
[18:58] <Joe1301> so then I tried to backup my shared hosts backup folder and it fails do to permissions....I am just struggling with this
[18:59] <lifeless> hallyn: oh thanks! I was going to file it ...
[18:59] <lifeless> hallyn: will you man page it up at the same time ?
[19:00] <lifeless> hallyn: or would you like a separate bug for docs?
[19:00] <hallyn> lifeless: yup
[19:00] <hallyn> nah, i added that to the bug description
[19:01] <lifeless> rocking, thanks!
[19:04] <hallyn> np :)
[19:33] <diegosnat> hi people!! Im screwed!!! I just turn on my pc and I ve got a message saying that the system failed to mount it and Ive got a temporary root where I cannot edit anything because it is readonly... what can i do??
[19:40] <SpamapS> adam_g: much smoother on the quantal openstack SRU's.. 1 bug to rule them all :)
[19:41] <RoyK> diegosnat: server?
[19:42] <diegosnat> yes
[19:42] <RoyK> !fsck
[19:43] <RoyK> you can fsck a filesystem if it's mounted read-only
[19:43] <RoyK> (well, you can fsck any filesystem, but fscking an fs while it's mounted read-write is generally a bad idea)
[19:44] <diegosnat> ok guys
[19:44] <diegosnat> sudo touch /forcefsck
[19:44] <diegosnat> touch: cannot touch `/forcefsck': Read-only file system
[19:45] <diegosnat> fsck /dev/linback-temp/root
[19:45] <diegosnat> fsck from util-linux-ng 2.17.2
[19:45] <diegosnat> WARNING: bad format on line 15 of /etc/fstab
[19:45] <diegosnat> e2fsck 1.41.11 (14-Mar-2010)
[19:45] <diegosnat> /dev/mapper/linback--temp-root: clean, 111811/296000 files, 622376/1199104 blocks
[19:47] <diegosnat> but I cant change the fstab
[19:48] <diegosnat> RoyK, ubottu ?
[19:50] <RoyK> bad line from fsck?
[19:50] <RoyK> or fstab
[19:50] <RoyK> I mean
[19:51] <RoyK> mount -o remount,rw /whatever
[19:52] <diegosnat> RoyK, fstab
[19:52] <diegosnat> i put a random letter in a new line
[19:52] <diegosnat> :(
[19:53] <diegosnat> wow
[19:53] <diegosnat> I cant believe it was so simple
[19:53] <diegosnat> ahahhaha
[19:53] <diegosnat> RoyK, you are great!
[19:54] <RoyK> thanks
[19:54] <RoyK> you learn a few things having used linux for 18 years ;)
[19:57] <diegosnat> RoyK, can i ask you another question?
[19:58] <diegosnat> ive got a luks external hd
[19:58] <diegosnat> when i open it
[19:58] <diegosnat> it works fine
[19:58] <diegosnat> i mount and it works
[19:58] <diegosnat> but after i close it
[19:58] <diegosnat> it fails to open it again
[19:58] <diegosnat> Command failed with code 22: /dev/usbarchive is not a LUKS device.
[19:58] <RoyK> no idea, sorry
[19:59] <diegosnat> and ive got this error
[19:59] <diegosnat> do u have any suggestion?
[19:59] <diegosnat> i dont know what to do
[20:00] <RoyK> what does /proc/partitions have to say?
[20:00] <diegosnat>    8       49 1465103871 sdd1
[20:00] <diegosnat> its there
[20:01] <RoyK> 1.5TB thing?
[20:01] <diegosnat> yep
[20:01] <RoyK> well, try to mount it
[20:01] <diegosnat> mount /dev/sdd1 /opt/vmbackup/
[20:01] <diegosnat> mount: unknown filesystem type 'crypto_LUKS'
[20:01] <RoyK> sorry, don't know
[20:01] <RoyK> perhaps unplug it and re-plug it
[20:02] <diegosnat> /sbin/cryptsetup -v --key-file /etc/luks.keyfile luksOpen /dev/usbarchive archive
[20:02] <diegosnat> Command failed with code 22: /dev/usbarchive is not a LUKS device.
[20:02] <diegosnat> so weird
[20:06] <diegosnat> RoyK, do you anyway to use udev in a way that mounts an external hd??
[20:06] <diegosnat> because when i plug it i dont know what /dev/sdxx will be
[20:06] <RoyK> I rarely use one
[20:06] <RoyK> see dmesg
[20:06] <RoyK> it'll show
[20:07] <diegosnat> i wanted it to be automatically
[20:07] <RoyK> well, it's not
[20:07] <RoyK> you don't have those services on a server
[20:09] <diegosnat> udev works
[20:09] <diegosnat> but i need to know in a script what sdx is
[20:15]  * genii-around ponders uuid mounting instead
[20:19] <adam_g> SpamapS: thanks bud'
[20:21] <SpamapS> adam_g: np. Happy testing!
[20:23] <adam_g> SpamapS: strictly using the meta bug didn't work so well last time. there'll be individual bug activity, too, at least on the bugs that have ubuntu tasks
[20:25] <Teltariat> Fedora Core's initramfs framework, dracut, seems to support network bridging for the pre-boot environment.  Maybe I'm doing a terrible job searching, but I don't seem to see support like that in initramfs-tools for Ubuntu server
[20:26] <Teltariat> I'm sorry, I meant to say RedHat's initramfs framework, dracut...
[20:27] <SpamapS> adam_g: the key is to just manage the ones that show up here: http://people.canonical.com/~ubuntu-archive/pending-sru.html
[20:55] <Joe1301> so I got this command to work(rsync -avz -e ssh user@domain.com:/home3/elliotte.daily/public_html /var/www/local.dell/backup/) but there is one folder that user doesn't have read permission for...so I assume that is why TAR command is giving me trouble.  I have tried to chmod and chown folder but it doesn't change.  When I ls folder - permission denied...but it says /bin/ls/ and if i which ssh or which rsync it says /usr/bin...any help???
[21:06] <Teltariat> Joe1301: Use 'sudo chown' to make the folder ownable by the user you want
[21:07] <Joe1301> thanks lemme try that
[21:07] <melmoth> carefull with that axe Joe1301
[21:08] <melmoth> some program may not like if the dir they are suppose to read or write to dont belong to them anymore
[21:08] <melmoth> so, 1st thing 1st, who is user  (id) and what are the permission on this directory ?
[21:10] <Joe1301> so the user for folder IS the user I am trying to ssh rsync and the user I am logged in as currently but cannot ls or tar it and tar exit(s) or fails
[21:12] <melmoth> what are the permission set on this dir ?
[21:12] <melmoth> ls -dl /path/to/the/dir
[21:16] <Joe1301> melmoth, root root
[21:16] <melmoth> what is the output of the _full_ command ?
[21:16] <melmoth> all i know is, it belong to root, and the group is root. I know nothing about permission set
[21:16] <Joe1301> drwx--x--x 2 root root 6 Feb 16 22:51 /home3/elliotte.daily/public_html/downloader/.cache/
[21:17] <melmoth> ok. so, it s probably ok to just chown it to user.
[21:17] <melmoth> user cannot write nor read in it right now (last --x)
[21:17] <melmoth> so either: chown -R user  /home3/elliotte.daily/public_html/downloader/.cache/
[21:18] <melmoth> or chmod -R o+r  /home3/elliotte.daily/public_html/downloader/.cache/
[21:18] <melmoth> and you definitively may want to get familiar with permission on file in your linux journey :-)
[21:19] <Joe1301> yes definitely can you splain the drwx--x--x
[21:19] <melmoth> r= read w=write x=execute
[21:20] <melmoth> the first 3 is for the owner (root), the second 3 for the group members (root groups), and the last 3 for the others people
[21:20] <melmoth> http://en.wikipedia.org/wiki/Filesystem_permissions
[21:21] <Joe1301> thanks you melmoth been messing with this for days
[21:21] <melmoth> its like cycling, once you know it, you won forget about it.
[21:21] <Joe1301> yeah but I think I skinned a knee lol
[21:22] <melmoth> :)
[21:25] <Joe1301> so I get permission denied when I try chown or chmod ... I get no sudoers if I sudo it... Its shared hosting
[21:27] <Joe1301> melmoth, and if I try to just use the real public_html...tar fails there to saying files have changed while tarring....I am pulling out my hair
[21:28] <melmoth> file have changed whil etarring ?
[21:28] <melmoth> is something writing in that dir ?
[21:29] <melmoth> i must admit i dont remember experiencing this sort of problem
[21:29] <Joe1301> yes magento
[21:29] <melmoth> it s not a good idea to tar something that move... but i dont see why would tar complain about it
[21:31] <melmoth> Joe1301, can you afford to stop this stuff while you do the tarball ?
[21:31] <melmoth> if yes, well, just do it.
[21:31] <melmoth> if not.. this may be  abit tricky
[21:32] <Joe1301> its a live website but millions of people backup their website....I just can't figure out why I can't
[21:33] <Teltariat> Did you check if Megento has its own backup mechanism?
[21:34] <Joe1301> yeah that it does which it crashes mysql while doing it and breaks the site so I disabled it
[21:35] <Teltariat> Then the next question is, is the directory you're trying to copy the one that has the MySQL data int it?
[21:35] <Joe1301> I mean bluehost is backing up my site fine with cpanel
[21:36] <Joe1301> I just want my own just in case you know
[21:36] <melmoth> there s no point backuping a live mysql with tar. You will probably not be able to retsore the data back anyway
[21:37] <melmoth> mysqldump is your friend for a backuping a live mysql stuff
[21:38] <Joe1301> no I wrote a scripts remote script -mysql dump tars public html bzips everything and add timestamp then local server just rsyncs file through ssh
[21:39] <Joe1301> I had it work for about 2 days now its stopped
[21:39] <Joe1301> wanna see the scripts?
[21:43] <Joe1301> http://pastebin.com/rzW6q5Wj
[21:45] <Teltariat> which directory does tar say is being written to when you're trying to tar it? If it's archive, then that means the live site is still doing something, and you should know what exactly it's writing to where
[22:13] <sunya7a> hi .. i have a problem with a server installation on a mac xserve machine
[22:13] <sunya7a> someone available that could help me out?
[22:15] <GeorgeTorwell> Is it ok for an app to try and access /run/udev/data/* ? I'm configuring something for apparmor
[22:57] <hallyn> zul: do you mind taking a look at http://paste.ubuntu.com/1693946/ for libvirt raring debdiff, lemme know if i'm doing anything stupid there?
[22:58] <zul> hallyn: sure
[22:58] <hallyn> uh, wait
[22:58] <hallyn> zul: hold on there's a missing chunk :)
[23:00] <zul> hehe
[23:04] <hallyn> zul: i'll get back to you with this tomorrow.  i need to eod.