/srv/irclogs.ubuntu.com/2014/03/11/#ubuntu-server.txt

=== Lord_Set2 is now known as Lord_Set
=== markthomas is now known as markthomas_away
=== markthomas_away is now known as markthomas
=== markthomas is now known as markthomas_away
savidI have a file in /etc/cron.d that does not seem to be running. I put a dummy job at the top, and the dummy job does not execute. The same line in a separate file works fine. How can I debug this? Can't seem to find a logfile for cron...03:42
raubsavid: I think you should see an entry in syslog when crontab finds that job03:52
raubsavid: can you pastebin your file?03:53
savidraub: ok, I'll check syslog. The crontab file is rather long, lots of maintenance jobs in there.03:57
savidAh, wrong file owner :-)03:58
raubsavid: another mystery solved ;)03:59
raubsavid: I meant your file in /etc/cron.d, not in crontab03:59
erixNICKhey all04:15
sheptardHI04:15
erixNICK having trouble getting samba to run on a 12.04 LTS server.  I see that there are bugs posted,  but havent seen fix.  Can some one please shed some light on this for me04:15
sheptardwhat error is samba giving04:16
erixNICKone sec will pull up04:16
erixNICKsmbd/server.c:1107(main)04:17
erixNICK  standard input is not a socket, assuming -D option04:17
sheptardthats normal04:17
erixNICKit seems like I cant set up even a basic guest share04:18
erixNICKsheptard,  even if I ignore error I cannot get a guest share up04:20
sheptardso samba is listening, and you can connect to it, you just can't see any shares?04:21
erixNICKfrom windows I get an access denied04:21
erixNICKhttp://pastebin.com/nbnndKuE is what I have for the share04:22
sheptardcan you ls -al /shared04:24
sarnoldhey sheptard :)04:27
erixNICKyeh04:28
erixNICKi have shared 777'd for testing purpose04:28
erixNICK"/shared" ^04:29
sheptardhi sarnold04:29
sheptarderixNICK: Hum04:30
erixNICKit looks like out of the box it wont allow guest shares... im also on a win8 box (unfortunatly)04:30
sheptardif you do something like04:31
sheptardsmbpasswd -a test04:31
sheptardthen try to connect as test, does that work?04:31
erixNICKk04:32
sarnolderixNICK: your ls -al /shared  just returns "/shared"? no . or .. directory entries? o_O04:32
erixNICKit returns a directory list04:33
erixNICKalso i am able to change user "test" password04:33
sheptarderixNICK: can you connect to the samba share as test?04:35
sheptardif you have test as an allowed user04:36
erixNICKnot sure how I would do that04:37
erixNICKim trying to just do a net view \\liuux_box from a dos window04:39
erixNICKeven set user.group to nobody for /shared04:40
erixNICKlooks more like it doesnt no what to do with windows auth04:41
erixNICKunix password sync = Yes <- would that affect a guest share04:43
=== markthomas_away is now known as markthomas
erixNICKlooks like alot of people are having this problem when they changed from 10.0404:46
=== markthomas is now known as markthomas_away
SunkSullenanyone alive? having trouble05:32
SunkSullenwith LAMP and UBuntu05:32
SunkSullenserver05:32
cfhowlett!lamp05:33
ubottuLAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see  https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process.05:33
SunkSullenokay but...05:33
SunkSullenthe server was setup with root05:34
SunkSullenI added an account05:34
SunkSullenadded to sudoers file05:34
SunkSullenand now I want to change document root05:34
SunkSullenugh05:34
sarnoldyes?05:37
SunkSullensorry so how do I make the account I made which has sudo permisission ~/public_html my document root instead of /var/www05:39
SunkSullen?05:39
sarnoldedit your apache configuration files to set the DocumentRoot to your new location05:40
sarnoldit'll be somewhere in /etc/apache2/ if I'm remembering it correctly05:40
SunkSullenk05:41
SunkSullenand also05:41
SunkSullenTHANKS05:41
SunkSullenfirst off05:41
SunkSullennevermind05:41
SunkSullenI can find that out my own05:41
SunkSullenthe correct permissions of the fodler for /home/cameron/public_html05:42
sarnoldthe directory will need to be readable and executable by the apache process; so you'll need to pick permissions that grant the www-data user the permissions it needs while still meeting the security needs of the rest of the system05:43
sarnoldSunkSullen: that might setting the directory to e.g. 755, so that everyone can read and execute the directory, or it might mean you need to set group ownership of the directory to www-data and then use e.g 75005:44
SunkSullensarnold: ah confusing lol sorry05:48
sarnoldSunkSullen: unix permissions are amazingly concise and sharp. it takes a few years familiarity with them to appreciate how simultaneously flexible and concise they are05:49
sarnoldbefore then of course it's just baffling and confusing05:49
SunkSullenhehe yea05:50
sorenrbasak: uvirtbot?05:55
=== smb` is now known as smb
=== Ursinha is now known as Ursinha-afk
=== airtonix_ is now known as airtonix
jdo_dkI have a postfix, which logs maillog to syslog. How to split the log into mail.log ?11:03
jdo_dkUbuntu 13.10 and running rsyslog11:03
ikoniajdo_dk: look at the syslog.conf and you should see the priorities/levels which determain what goes to what file11:22
jdo_dkikonia: http://privatepaste.com/c8c65eba2611:34
jdo_dkikonia: As i can see in the /etc/rsyslog/50-default.conf, mail.* already goes to: /var/log/mail.log11:35
ikoniajdo_dk: what's the actual line from your syslog that you want to into mail11:37
ikoniait may not actually be a mail alert11:37
ikonia(but look like a mail alert)11:37
jdo_dkikonia: http://privatepaste.com/40a7c0622f11:39
ikoniathat's probably not going to be classed as "mail"11:39
ikoniathats an application/daemon reporting11:39
jdo_dkOk11:39
jdo_dkBut i would "expect" to see those "normal" log entries in mail.log11:40
jdo_dkShould i try to install syslog instead of rsyslog ?11:40
ikoniawhich normal ones ?11:40
ikoniacan you give me an example of a normal one ?11:40
jdo_dkWill find another ubuntu server.11:40
jdo_dkjust a sec11:40
jdo_dkIkonia: mail.log is empty on all "my" servers...11:43
ikoniajdo_dk: yes, I'd expect that11:43
ikoniaunless you have mail events11:43
jdo_dkikonia: http://privatepaste.com/af6174fe9c11:45
jdo_dkI would expect mail.log to look like that file...11:45
ikonianah,11:45
ikoniathat's postfix11:45
ikonianot mail11:45
jdo_dkI have postfix installed.11:45
ikoniapostfix is an "application" from the point of view of the syslog11:45
jdo_dkSo i need to configure "postfix" in the syslog conf ?11:46
ikoniayou need to configure postfix to log to the correct places11:46
ikoniaor find out the "event" that syslog will monitor from postfix, I did this years ago with exim and ksyslogd (so it will be a bit different now) but it works out easier to configure the application to log correctly, rather than configure the syslog to try to manage it's events11:46
jdo_dkOk11:47
jdo_dkI will try. Thanks mate.11:47
jdo_dkikonia: http://ubuntuforums.org/archive/index.php/t-1893739.html12:01
jdo_dkstop rsyslog, chown / chmod start syslog solved the logging...12:02
ikoniareally ?12:02
ikoniait picks up those postfix events as "mail" ?12:02
marcoceppihey rbasak, thanks for the info for the charm-tools thing. I have no idea why the packaging branch is a head of what's in precise I just need to update the bits about recommends, etc. I'll get a public bug filed from the private one in a few though.12:27
marcoceppiHow would i go about getting the right packaging branch for precise?12:27
rbasakmarcoceppi: I'm confused about that too. Yeah just updating the recommends is fine. With just an SRU bug I'm happy to upload that.12:28
rbasakmarcoceppi: I'm not sure how you can submit a UDD merge proposal based off the version that's in precise, but don't worry about that too much. I'll happily upload from a debdiff, or if you just update that MP without worry what it's based on, I'll fix it before upload.12:29
marcoceppirbasak: the entire charm-tools packaging is a giant bag of two headed snakes12:29
marcoceppiso this somehow doesn't surprise me12:29
rbasakmarcoceppi: BTW, is this fixed in Trusty? We need that before uploading an SRU, but I presume it is?12:31
marcoceppirbasak: yes, it was fixed with charm-tools 1.0.012:33
marcoceppibut 1.0.0 broke a package which is why there isn't a backport request12:34
rbasakOK12:34
=== Tribaal_ is now known as Tribaal
marcoceppirbasak: here's the public bug, lp:118290512:48
rbasakmarcoceppi: great! Are you doing the SRU justification (are you familiar with that?)12:54
marcoceppirbasak: I'm not, this is a completely new process! I'm completely interested in learning though12:54
* marcoceppi hunts down a wiki page12:55
rbasakmarcoceppi: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure12:55
rbasakmarcoceppi: it's for the SRU team, who will need to review before accepting any upload. And also to leave a trail for anybody who receives the update and wants to know why.12:56
rbasakOr wants to know why everything broke, etc :)12:56
jdo_dkikonia: Yeah. Mail.log just works... So no need to configure syslog or postfix further...13:09
ikoniajdo_dk: that is very surprising, but well done13:29
=== Ursinha-afk is now known as Ursinha
jdo_dkikonia: ;)13:30
=== Guest30460 is now known as NCommander
=== NCommander is now known as Guest83929
marcoceppirbasak: Okay, I updated #1182905 with SRU template. It mentions uploading the package to release-proposed, but I'm not sure how or if I should do that14:07
rbasakmarcoceppi: OK, thanks. I'll take a look in a bit - a few too many balls in the air right now :-/14:07
marcoceppirbasak: np np! I get that completely, thanks for the help thus far! :D14:08
=== huats_ is now known as huats
stethoI have a hard disk on a server that's filling at quite a rate. I can see with iotop that it's a remote user doing something over nfs but I can't figure out which user. How can I figure out which files are growing?14:40
rbasakmarcoceppi: juju-core doesn't exist in precise. How would you feel about just dropping the Recommends: juju to Suggests: juju?14:41
marcoceppirbasak: uh, yeah that works14:41
marcoceppirbasak: I realized that while writing the SRU14:42
rbasakmarcoceppi: charm-helper-sh can still suggest juju, right? I don't see why that would break anything.14:43
rbasakSorry I'm confusing myself. Let me pastebin you a debdiff in a moment.14:44
marcoceppirbasak: charm-helper-sh is installed solely server side, and doesn't need juju at all, in fact it's not even really associated with juju14:45
moparisthebestis anything in /var/log/ important? and if so, can I mount it on tmpfs and setup logrotate to just delete things when they get so big?14:45
rbasakmarcoceppi: my proposed diff: http://paste.ubuntu.com/7073884/; full new control file: http://paste.ubuntu.com/7073885/14:45
marcoceppirbasak: I suppose suggests is fine for charm-helpers14:46
marcoceppilgtm14:46
marcoceppiI should just stick with mvp in the future14:46
=== niemeyer_ is now known as niemeyer
jhobbshallyn: should containers be able to mount ext2/3/4 filesystems in loopback mode in trusty?15:03
jhobbshallyn: looks like i still need to add some aa_profile/cgroup config to my lxc conf to get it to work15:06
smoserjhobbs, no. not by default.15:07
smoseri think there is a config that allows it though eplicitly15:07
smoserjhobbs, /etc/apparmor.d/lxc/lxc-default-with-mounting15:08
jhobbssmoser: ok - cool; i'm not really familiar with app-armor; how do i make that apply to new containers created via juju-local?15:10
smoseryou can set some value in /etc/lxc/default.conf15:11
smoserto set the default app armor profile15:11
smoserbut i dont have that handy at the moment15:11
jhobbsah ok cool, i'll chase it down; thanks15:11
smoser lxc.aa_profile15:11
smoser(see man lxc.container.conf)15:11
jhobbsso i have some settings in there already that apply to containers that i create manually; i set the aa_profile to unconfied and change some cgroup settings15:12
jhobbsbut those don't seem to apply to the containers that juju-local created15:12
smoserthey wont.15:12
smoseronly new ones.15:12
smoserthey get copied.15:12
smoseri got to run.15:12
jhobbsyes, i had the settings there prior to creating the juju-local containers15:13
jhobbsok15:13
jhobbsthanks for the lp15:13
jhobbshelp15:13
hallynjhobbs: if you need it you need it, but of course it is disallowed bc there *is* danger in allowing it,15:20
hallynso i recommend against enabling by default15:21
jhobbshallyn: ok15:21
hallyn(sorry, had some hubbub around these parts)15:21
jhobbshallyn: that's cool; i just wanted to know if the behavior i was getting matched what was expected15:22
=== markthomas_away is now known as markthomas
jamespagerbasak, are you covering the HWE eol meeting?16:01
rbasakjamespage: yes16:02
jamespagegreat16:02
jamespagelistening in whilst I wait for mysql-xx to build16:02
zzxcahhhhh so this is why I'm always getting mentions from this channel.16:03
irvhowdy, i installed 13.10 to an hp dl320e g8, when the setup ran, (it setup off a bootable USB), grub installed to /dev/sda (which was the USB drive). I want to install grub to the HD. I've since rebooted the machine (it will only boot to ubuntu with the USB in there) and did sudu grub-install /dev/sda (/dev/sda is the HD once the setup rebooted), says no errors. reboot and the same issue.16:14
irvany ideas on how i can verify that grub is indeed installed to the MBR on the HD16:14
irvit's a SATA drive single volume on a b120i raid controller16:14
irvwhen i boot without the USB in it says non system disk or disk error for C16:14
markthomasirv, it sounds as though it still is not installed.  Are you certain that once the system is booted that your SATA drive is /dev/sda?16:19
irvwhen i run df -h when it's booted, i see 457 gb or something on /dev/sda116:20
irvthere's only the one drive and the USB is 8gb16:20
irvso that's how i figured it was sda at that point16:20
markthomasirv, okay.  Try update-grub and then grub-install /dev/sda again.16:21
irvk sec16:21
irvrebooting now16:22
markthomasIf it doesn't work, then we may have to dissect it a bit.16:22
irvsounds good. i did install a lowlatency kernel, but it must've run update-grub since that was the kernel that booted off the USB after i installed it16:23
irvbut who knows :p16:23
irvjust booting up now16:23
irvhrm, still no joy16:24
irvcould it be something to do with the raid controller?16:24
irvbooting off hte USB now16:25
irvokay, sudo blkid (after removing the USB that booted it) shows /dev/sda1 and /dev/sda5 as swap16:30
irvsda1 is ext4 and is the partition all the files are on heh16:30
markthomasirv, Just to be thorough, can you confirm whether your /boot is a separate partition?16:31
irvit is not, i did a guided entire disk partioining16:34
irvtried just running sudo grub-install /dev/sda and then sudo update-grub /dev/sda as per someone in #ubuntu16:37
irvalso didn't work16:37
irv"non system disk error"16:38
irvmaybe an issue with my fakeraid? i can put it into legacy mode or AHCI mode as well16:41
markthomasOH, fakeraid.16:48
markthomasirv, Your best bet with fakeraid is to turn it off in the BIOS and use software RAID.16:48
irvya it's only a single drive, so i'm not actually doing any RAID16:48
irvlegacy mode?16:49
RoyKirv: ahci it be17:04
geniiIs there some reason I would not see a process running if I ssh-ed in and ran it? ( not inside screen)17:07
irvi set it to AHCI and then re-ran grub-update and install-grub but no joy, gonna do a full reinstall on the AHCI'd drive17:07
irvgenii: wehre are you looking to see if it's running?17:07
irvdifferent userspace?17:08
RoyKirv: probably different mapping17:08
geniiirv: ps aux doesn't shor it, either on server or client machine running17:08
irvRoyK: i'm surprised it even booted at all even off hte USB17:10
irvi figured the files would be gone after i changed the controller's 'mode'17:10
irvjust writing a Ubuntu server USB again17:10
irvsince the one i used to install now has GRUB On it17:10
irvminor side-lesson, select 'no' for grub install when installing from a USB :P17:10
=== matsubara is now known as matsubara-afk
irvok so after changing the sata config to AHCI, reinstalling ubuntu server and in the setup i picked "no" for the grub install which exposed a new screen that I was able to pick the destination of GRUB. i put it to /dev/sdb (which was the HD as the USB install key shows up as /dev/sda during hte install)17:46
irvnow it boots straight off the HD :)17:46
irvthanks for the help all17:46
=== keithzg_ is now known as keithzg
keithzgWell that's mysterious. Trying to use cygwin+rsync to periodically pull some Doxygen-generated documentation off of a Windows autobuild machine and put it up on our internal website, and the rsync share is including cygdrive, dev and proc? WTF?18:03
jrwrengah, just realized its UDS this week.18:19
keithzgUDS doesn't have the same pomp and circumstance it used to, eh?18:29
keithzgMoving entirely online will do that, I suppose.18:29
ogra_it is a lot more focused18:31
ogra_... but you have to drink alone afterwards18:31
=== matsubara-afk is now known as matsubara
jamespagehallyn, if you are around can you take a look at https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/125487218:48
jamespageI'm trying to get to the bottom of it but this appears to be impacting openstack-gate in some way18:48
hallynjamespage: I can't keep up with the cutesy cloud archive names :)  which ubuntu release is that libvirt from?18:51
jamespagehallyn, so that bug appears to relate to 12.04 itself - 0.9.8 release18:51
jamespageI have another18:52
jamespagefor 1.1.1 (saucy)18:52
hallynmeaning you have the same error on both?18:52
jamespagehallyn, oh - I see you already on https://bugs.launchpad.net/nova/+bug/122897718:52
jamespagehallyn, good-oh18:52
jamespagethat was only yesterday18:53
hallynjamespage: right that one is in saucy only and no way am i backporting those patches to precise :)18:53
hallynbut certainly the commit mentionedin comment #13 is worth trying18:54
jamespagehallyn, no indeed18:55
jamespagehallyn, is the 1.2.2 we have in trusty going to suffer from bug 1228977 as well?18:55
hallynjamespage: 1.2.2 was *just* released so i don't think so18:56
hallynoh, but, yes18:56
jamespagehallyn, can you join me in #openstack-infra - doing piggy in the middle right now :-)18:56
hallynzul: ^ we'll probably need the patch in comment #40 of bug 1228977 added to trusty's libvirt18:57
jamespagehallyn, zuls in florida on a beach18:57
hallyncurses18:57
adam_ghallyn, jamespage FWIW https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1248025 will eventually be a big issue for the upstream gate, at least the portions of it that run on rackspace.19:13
adam_gstgraber, im happy to give you an instance on rackspace if you want to poke at that yourself ^19:13
jamespageadam_g, you mean smb19:13
adam_gdoh19:14
adam_gsmb, ^ :)19:14
jamespageadam_g, :-)19:14
smbadam_g, yeah, thanks. If you can have something running for me in the morning and email me the details for looking there tomoroow19:15
smb*tomorrow19:15
jamespagethanks smb19:15
jamespageand adam_g19:15
jamespage:-)19:15
adam_gsmb, sure. rackspace gave out a bunch of free credit at an ODS a while ago--might as well put it to good use19:15
smbadam_g, Cool, yeah it really mysterious what is different there since all seems well on my test systems even with a cloud-image based guest19:17
smbI suspect its something in the setup but hopefully one can find traces of that inside the guest19:17
smbadam_g, Just as a note that the day is mostly over, so to make best use of any credits you can bring up the guest late your day (assuming you are on the other side of the Atlantic) :)19:20
adam_gsmb, just spun a precise and saucy up. should be fine to keep running as long as you need. ill email you the details19:22
smbadam_g, Ok, thanks19:22
Lord_SetWhat is the config file which has all installed packages in it? I need to force remove a package that wont't remove via apt-get purge properly or reinstall properly... I just forgot the name of the file that I have to remove the entries of the package so that Ubuntu doesn't even think it is installed.19:26
=== SpamapS_ is now known as SpamapS
rbasakLord_Set: I usually edit the maintainer script in /var/lib/dpkg/info to fix it so it does remove (eg. with an exit 0 at the top), and then do whatever cleanup it was trying to do manually instead.19:32
rbasakI've always felt that this is cleaner. Then at least the package manager can maintain its own state, so no chance of corrupting it.19:33
Lord_SetThanks rbasak19:34
Lord_SetBut just in the other case what is the file that has a list of all installed packages?19:36
smbadam_g, Ah, hm. So there is xe-guest-utilities which causes a xenfs mount to /proc/xen and that is causing the failure. That package probably comes from managing the guests with XenServer. There is also a nova-agent using some file exported in the. Not sure where that comes from, it does not seem to have a package installed.19:44
adam_gsmb, so essentially libvirt conflicts with  xe-guest-utilities?19:45
smbadam_g, So I think that is enough for first round of data gathering. I can check that locally tomorrow. And will put that info into the bug19:45
smbNot really conflicts but it leads to some unexpected situation. Maybe the error of getting capabilities needs to be made a soft failure19:45
smbOr it needs another check to avoid thinking the proc mount alone is hinting a dom019:46
smbBut it should be enough info for me to reproduce and then discuss this upstream19:47
smbadam_g, So I am off the guests and you can shut them down to save credits19:48
adam_gsmb, great. thanks a bunch19:49
raubHow do you configre openldap to use a comodo-bought cert? i.e. what should I feed TLSCACertificateFile with?20:09
Lord_Setrbasak: But just in the other case what is the file that has a list of all installed packages?20:09
=== markthomas is now known as markthomas_away
=== Adri2000 is now known as Guest68283
thumperhallyn: if I snapshot a dir based lxc image with aufs, and the base container gets updated (update/upgrade), is it expected that the cloned image will works?21:51
thumpers/snapshot/clone/21:51
hallynthumper: no.  snapshots of dir backed containers should not be done21:53
hallynand lxc should be defaulting to a copy-clone21:53
hallynyou should create an aufs clone first, then snapshotting that21:53
hallynunfortunately21:53
thumperI think I used snapshot wrong21:53
thumperlet's step back21:54
thumperwith juju, we want to improve the local testing process21:54
thumperthe idea is to create containers with clone21:54
thumperso we can skip the apt update/upgrade step mostly21:54
thumperbtrfs works wonderfully21:55
thumperbut we want a stable solution that works for people without btrfs21:55
thumperthat still gets them good speed, good disk combo21:55
thumperhallyn: do you think that cloned containers using aufs will give us this?21:55
thumperone thought was btrfs on loopback21:56
thumperwhich I had working locally, but there are issues around keeping track of the size, mounting in the right place, resizing etc21:56
thumperI could go down this track if it will give us the best user experience21:56
hallynthumper: btrfs *is* the ideal solution,21:56
hallynthumper: overlayfs has its own bugs, and aufs has its own (stgraber can tell you about them)21:56
hallynoh that's right, aufs doesn't do xattrs?21:57
thumperso in your opinion, if they don't have btrfs natively, offer btrfs with loopback devices?21:57
hallynanyway, if you want to use aufs, it shoudl mostly work21:57
hallynyou just have to create a unchanging container base, then create clones from those21:57
thumperone problem with aufs that I have been told about, is that wordpress charm doesn't work21:57
hallynand not update the base21:57
thumperand given that is our CI, and used in all the examples21:57
thumpernot ideal21:57
hallynheh21:57
hallynwonder why21:57
thumperwordpress installs nsf kernel modules21:58
thumpernfs21:58
thumpernot nsf21:58
hallynthat should fail with btrfs too21:58
hallynwordpress should not do that21:58
thumperhmm...21:58
thumperI should really go try21:58
thumperbut would that also fail in plain containers?21:59
hallynyes21:59
hallyncontainers cannot install modules21:59
thumperok, in which case it must be something different21:59
thumperbecause wordpress works in dir backed containers21:59
thumperbacking up a little22:00
thumperif I wanted to test aufs backed clones22:00
thumperI should make sure that the base image is not updated for the lifetime of the clone?22:00
hallynyes22:01
thumperhow badly will it break if it does happen?22:01
hallyndepends on what is changed22:01
thumperstill able to destroy the containers?22:01
hallynyeah22:01
hallynmainly, if file /a/b was overwritten in the clone, then updates in the main container to /a/b won't show up,22:02
* thumper nods22:02
thumperalso if a is updated and b is running22:02
thumpermissing inotify for things that aren't overwritten?22:02
thumperstuff like that?22:02
hallynfor things that are overwritten22:03
hallynremember, we're not sure (afaik) whether aufs will end up in final trusty kernel or not22:03
thumperok22:04
thumperso, back to juju awesome user experience22:04
thumperfor trusty, we are going with clone for creating containers22:04
thumperif you are on btrfs, it is awesome22:05
thumperif not, lots of I/O and disk usage22:05
thumperhave a plugin to support btrfs on loopback22:05
thumpersound like the best option?22:05
hallynthumper: I dn't know how to prioritize the downsides.  I think using aufs and never upgrading the base is good.22:12
hallynthis also might be a use-case for a qcow backend,22:12
hallyn(but that doesn't exist yet :)22:12
thumperqcow>22:12
thumperah22:12
hallynand really it'd have the same expectations as aufs22:13
thumperis there a way to ask the container (aufs clone) what it is cloned from?22:13
hallynthe base rootfs is in the config file22:13
hallynthe rootfs for the clone will be "aufs:<rootfs_base>:delta_dir"22:14
thumperso, could easily parse the config files for all the current containers22:14
hallynyeah,22:14
thumperhmm...22:14
hallynor juju could just call the canonical container "juju-precise-20140311"22:14
thumperwell, the canonical one now is 'juju-precise-template'22:14
hallynthen the next time it creates a base, 'juju-precise-20140315'22:14
thumperwhat do you mean 'next time it creates a base'?22:15
thumpermake a dir based clone of the base template?22:15
hallynif juju ever updates teh template22:16
thumperhallyn: ok, so if I want to use clone with aufs, all I need is a base container to start with (dir backed), and go "lxc-clone -B aufs -o juju-precise-template -n new-name" right?22:18
hallynyeah (plus -s)22:19
thumperoh, need the --snapshot too?22:21
thumperthe help says "The new container's rootfs should be a LVM or btrfs snapshot of the original."22:22
thumperbut ok, will add it22:22
thumperi just thought that if I specified the backingstore, it would just know22:22
hallynthumper: there may be cases where someone doesn't include "-s" and really means "full copy".  in that case aufs should retufn failure, asit can't do that22:24
* thumper nods22:24
thumperok22:24
hallynmaybe the clearest thing to do would be to add a --nosnapshot option and have the default be "whatever is best"22:25
hallynbut i don't nwat to change that right now22:25
thumpersure22:27
* thumper goes to experiment with aufs22:27
apb1963Could someone run dhcpdump on their machine and tell me if you're sending out continual bootp requests (about every 15 seconds or )?  That's what my machine does and I'd like to know if anyone else is seeing this as well (and doesn't know it).23:05
sarnoldapb1963: nothing with 'sudo tcpdump -n -i wlan0 'udp and (port bootpc or bootps)'' when waiting a minute-ish here23:11
apb1963sarnold: thank you... what version of ubuntu are you running?23:13
sarnoldapb1963: 13.1023:13
apb1963hmm... 12.04 here.23:14
apb1963plus i'm wired with a cable provider23:14
apb1963I need more of an apples to apples comparison I suppose23:15
sarnoldcould be :) dhcp is finnicky.23:15
apb1963is it?23:15
sarnoldthe never-ending stream of bug reports of folks running in vms or containers when the kernel doesn't fill in the udp checksums because it thinks that's being offloaded to a NIC.. there must have been months of those bugs. :) heh23:16
apb1963hmm23:16
apb1963i'm glad I missed out on that spot o' fun23:18
apb1963it was purely accidental that I found this issue....  I've added a whitelist to my firewall... and was logging dropped packets.... that's when I saw this.23:19
apb1963nobody seems to know why it's happening.  I've stumped the entire world :/23:21
sarnoldapb1963: strace the process responsible?23:21
apb1963that's actually a good idea...  I'm not sure I know what's responsible, but I'm guessing it's dhclient23:23
apb1963just killed it23:24
apb1963lets see if that kills the packet stream23:24
GeekD00dAny reason I can't get php to work with nginx? It gives me a 502 bad gateway error23:27
GeekD00dwhenever I try to load a php file, that is23:27
apb1963sarnold: it seems to have stopped the outgoing, but I still have incoming Replys coming back... not sure if they're going  to run out like they're buffered... or if it will continue forever.23:28
apb1963GeekD00d: #nginx #php23:29
GeekD00dthanks apb196323:29
sarnoldapb1963: oh that's odd..23:30
* teward yawnws23:30
apb1963sarnold: it's broadcasting Reply packets23:31
apb1963I presume it's my ISP since it's coming from a 10.65 address23:31
sarnoldapb1963: eww. gross.23:32
apb1963IP: 10.65.192.1 (0:24:14:61:38:d9) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)23:32
sarnoldwait, the ethernet mac is set to ff:ff:ff:ff:ff:ff? I thought dhcp replies were sent to the specific mac that asked for the address?23:33
apb1963I THINK, that's an IP address, not a MAC23:34
apb1963it's just converting to hex23:34
apb1963wait... maybe not23:35
sarnoldheh, then it'd only be four bytes long rather than six23:35
apb1963yeah, I was just about to say... that may be an IP6 address23:35
sarnoldin that case there'd be more than six bytes :) hehe23:36
apb1963sarnold: you're right... so I guess it is a MAC...23:38
apb1963sarnold: interesting conversation on it here: https://learningnetwork.cisco.com/thread/3225523:44
jrwrenthat is eithernet broadcast mac23:45
jrwrenis it CDP or something?23:45
apb1963?23:45
jrwrencisco discovery protocol23:45
apb1963no idea23:45
apb1963I don't think so23:45
apb1963but I couldn't tell you for sure23:46
apb1963which brings me back to ... no idea :)23:46
jrwrenis that tcpdump?23:46
apb1963I use ethernet to connect to my cable modem23:46
apb1963beyond that... no idea23:47
apb1963the abovfe?23:47
jrwrenyes, the above.23:47
apb1963the output I posted?23:47
apb1963it's actually dhcpdump23:47
jrwrenoh, i'm not familiar with that23:47
apb1963it's like tcpdump... but...  deciphers dhcp packets23:48
apb1963this is tcpdump: 16:48:51.974312 IP 10.65.192.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 30023:49
jrwrenthat wasn't much deciphering :)23:49
apb1963oh, that's because I only took an isolated line23:49
jrwrenoh, pastebin the whole thing.23:49
apb1963ok23:49
apb1963a moment23:49
jrwrentcpdump with -vv does a pretty good job of dhcp protocol decode23:50
jrwrenand tcpdump with -vv -X shows hexdump payload, and dhcp responses are reasonably readable23:53
apb1963http://fpaste.org/84549/39458201/23:53
apb1963jrwren: good to know23:54
sarnoldo_O bootfile name..23:56
apb1963sarnold: yes?23:57
apb1963it's what I'd expect in a bootp reply :)23:58
apb1963just not necessarily broadcast to the world.. but according to that cisco doc.. it's not wrong.23:59
sarnoldapb1963: well yes and no, I'm curous what your ISP is trying to get you to boot :)23:59
apb1963haha23:59
apb1963yeah23:59

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