/srv/irclogs.ubuntu.com/2012/06/18/#ubuntu-server.txt

harushimoif I setup a samba share on my desktop and I want to acces that on my virtual machine, how would I do that?00:02
TransX2soren, I've done a few things already like setup my linux server, forwarded port 80 to my servers local ip, and setup a subdomain.domain with my external ip. The problem is the domain doesn't work and I can only access my server through my external ip. Anybody have any idea what I did wrong?01:07
TransX2*So01:07
TransX2Sorry soren, didn't mean to tab you...01:07
TransX2noone around?01:14
uvirtbotNew bug: #1003326 in nmap (main) "nmap lacks full IPv6 support: IPv6 hosts incorrectly reported down" [Wishlist,Triaged] https://launchpad.net/bugs/100332601:50
riz0nHi, I am having an issue with Ubuntu 12.04 and postfix. I mv'd master.cf and main.cf and then run sudo dkpg-reconfigure postfix ... got it up and running. Dovecot IMAP is letting me login fine, but postfix is saying: "None of the authentication methods supported by this client are supported by your server." Can someone help me track down the problem wih postfix and get it running properly?03:03
ScottKriz0n: The ubuntu server guide has a good discussion about that.  I'd read up on setting up SMTP auth there and see if that helps.03:22
=== Trans^2 is now known as TransX2
=== almaisan-away is now known as al-maisan
martashi ppl, have a question.. i need to set up rsyslog to log messages from specific host to specific dir.. it seems i made some mistake.. file and directory was created, but no messages in there.. any tip or clue how exactly set up this thing?09:07
uvirtbotNew bug: #1014565 in nagios3 (main) "Sync nagios3 3.4.1-1 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/101456510:07
martasi'm using this syntax from documentation: if $fromhost-ip startswith '192.0.1.' then /var/log/network1.log     & ~        but still i'm getting syntax error... any advice?10:48
StevenR_martas: which documentation?11:07
StevenR_martas: that just looks wrong11:07
martasStevenR_:  http://www.rsyslog.com/storing-messages-from-a-remote-system-into-a-specific-file/11:08
StevenR_martas: pastebin your config file11:09
martasStevenR_: ok.. sec..11:09
martasStevenR_: http://pastebin.com/nD3zqJ9K11:12
rbasakShould bug 1014044 be an SRU candidate for precise? I'm not sure.11:19
uvirtbotLaunchpad bug 1014044 in php5 "PHP5-FPM not reporting errors to web server (nginx)" [Medium,Triaged] https://launchpad.net/bugs/101404411:19
=== matsubara is now known as matsubara-lunch
StevenR_martas: are you sure "isequal" is valid? Maybe try == ?11:20
StevenR_martas: though actually, you just might need to move it to around line 5711:21
rbasakLooks like quite a bit of work though. Quantal would have to carry a delta too. Might be best to skip it given there's a workaround.11:21
martasStevenR_: interesting... it works now... after move... hmmm thx man11:24
StevenR_martas: there were some other rules before 57 to do with users, setup, ports, etc... those needed to be read first11:27
martasStevenR_: ok.. i was wrong.. i thought according to manual that it should be after allowing TCP input11:28
feisarhi, what's the recommended way to connect a headless ubuntu server to a wireless network?11:35
onekenthomasssh?11:41
rbasakfeisar: /etc/network/interfaces? See /usr/share/doc/wpasupplicant/README.Debian.gz11:43
rbasakThe recommended way would be to use a wired NIC for a server of course :)11:43
feisarrbasak: thanks, so a combination of /etc/network/interfaces and wpasupplicant?11:55
rbasakfeisar: that's what I would do. Note that you just need the wpasupplicant package installed. Then your entire configuration can be in /etc/network/interfaces without calling wpa_supplicant directly or anything like that. Nice and clean.11:56
feisarrbasak: oh great stuff, cheers : )11:56
=== matsubara-lunch is now known as matsubara
hallynstgraber: any comment on the last comment in bugs 928524 and 231060 ?13:01
uvirtbotLaunchpad bug 928524 in lxc "lxcbr0 fails to come up when dnsmasq is installed" [Undecided,Fix committed] https://launchpad.net/bugs/92852413:02
uvirtbotLaunchpad bug 231060 in dnsmasq "packages dnsmasq and libvirt-bin conflict with each other" [Low,Confirmed] https://launchpad.net/bugs/23106013:02
uvirtbotNew bug: #977458 in swift (main) "Version skew  with glance in Precise" [Undecided,Fix released] https://launchpad.net/bugs/97745813:07
uvirtbotNew bug: #978033 in swift (main) "FFE for swift 1.4.8" [Undecided,Fix released] https://launchpad.net/bugs/97803313:07
hallynzul: /lastlog hallyn 1013:22
hallynoops13:22
hallynhm.  been awhile since using irssi.  trying to recall...13:22
hallynoh well.13:22
zuluse a sane client like bitchx :)13:22
hallynzul: are you going to have time to test the qemu-kvm from my ppa this morning?13:23
hallynzul: if i switch i'll switch back to sic :)13:23
zulhallyn: if i can test it this afternoon13:23
stgraberhallyn: commented. I believe this change will fix systems that are currently broken, so even though dnsmasq's behaviour will indeed slightly change, it'll still be a lot better than what we have now13:24
hallynzul: thanks.  (if you won't be able to pls let me know and i'll push what i have)13:29
zulhallyn: ok13:29
hallynstgraber: but that's the definition of a regression right?  it'll fix a few broken systems, but risk breaking currently workign systems?13:29
hallynis it inappropriate for sru then?13:29
hallynif my wireless nic comes up late, will dnsmasq not find it?13:30
=== al-maisan is now known as almaisan-away
hallynof course right on call we get another dup (bug 1014576)13:30
uvirtbotLaunchpad bug 1014576 in libvirt "package libvirt-bin 0.9.8-2ubuntu17.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/101457613:30
stgraberhallyn: I don't think it risks breaking currently working systems as systems don't currently work when dnsmasq and lxc are installed13:31
hallynoops, that's not a dup, nm13:31
hallynah, right13:31
stgraberhallyn: and for systems that don't have lxc installed won't be affected, neither will these that have lxc installed but not dnsmasq13:31
hallyndnsmasq isn't soon going to be enabled by default everywhere?13:32
hallyni'm sorry, i'm too fuzzy on our dns plans13:32
stgraberno, we have dnsmasq-base installed everywhere, not dnsmasq itself13:32
=== Ursinha` is now known as Ursinha
stgraberdnsmasq-base gives you the dnsmasq binary that you have to spawn manually, dnsmasq gives you the daemon that's breaking with lxc13:32
stgraberand when calling dnsmasq directly (like NM, lxc, libvirt, ... do), it's not parsing /etc/dnsmasq.d, so there won't be a change of behaviour for these13:33
stgraberthe change of behaviour will only be for these that explicitly install the daemon13:34
hallynstgraber: thanks13:36
=== zyga is now known as zyga-food
hallynstgraber: for premounting cgroups, I think that's best done with a lxc.hook.mount script.  (so i'm going to mark it blocked;  i intend to put a hooks patch into our package in a few days if there's no upstream feedback)13:40
hallynshout if you disagree13:40
hallynright now i'm going to make an uptreamable apparmor patch13:40
hallynhm, but i so wanna do the userns patch13:42
stgraberhallyn: that's for premounting the right subset of the cgroup filesystem to allow for nested containers while not letting the container change its own cgroup, right?13:44
hallynright13:45
hallynit needs to be a script to allow for flexibility in mounted cgroups13:46
hallynand has to be done after /sys is mounted13:46
stgraberright, I guess I'll have to write an lxc-with-nesting.conf template in /etc/lxc/ to use my custom apparmor profile and use that hook, sounds like it'll work as a good example of how to tweak your containers :)13:48
zulDaviey/jamepage: what are we tagging MIR bugs with again?13:54
Davieyzul: we don't...13:55
zuli thought we did13:55
Davieyzul: it needs to be a package which has a  ~ubuntu-server package subscription, and ~ubuntu-mir subscribed to the bug13:56
rbasakhey zul13:56
rbasakzul: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/82853/comments/26 - any reason why we can't build slapd-smbk5pwd now that heimdal is in main?13:56
uvirtbotLaunchpad bug 82853 in openldap2.3 "Add support for the smbk5pwd overlay" [Unknown,Fix released]13:56
zulrbasak: not that i know of13:56
Davieyrbasak: I thought that one was assigned to dendro-afk13:57
Davieyhah, he was removed.13:57
zulDaviey: ack...another one for your radar:  bug #101465713:58
uvirtbotLaunchpad bug 1014657 in python-glanceclient "[MIR] python-glanceclient" [Undecided,New] https://launchpad.net/bugs/101465713:58
zulrbasak: in fact i dont see why our openldap package has to be so specialized either compared to debian13:58
DavieyMatthias :)13:59
Davieyzul: can you comment what work you did for that MIR so far?14:00
zulDaviey: subsscribed ubuntu-server, subscribed ubuntu-mir, check deps14:00
rbasakzul: well you did the merge :-)14:01
zulrbasak: well yes14:01
uvirtbotNew bug: #1014673 in php5 (main) "package libapache2-mod-php5 5.3.10-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Installed Apache2, mysql-server, php5 and phpmyadmin. PHP didn't work so I tried installing apache2-mod-php5" [Undecided,New] https://launchpad.net/bugs/101467314:30
=== zyga-food is now known as zyga
zulbdmurray: ping when you are around14:51
bdmurrayzul: hi15:04
zulbdmurray: sorry to bug you about this but can you approve nova we would like users to get testing with the new snapshots15:04
bdmurrayzul: its fine, I'm really not comfortable with some of these bugs that have "Test Case: none" in them15:05
zulbdmurray: so if something that we cant test what should i put in there then?15:06
bdmurrayzul: could you explain how bug 967931 is not testable?15:07
uvirtbotLaunchpad bug 967931 in nova "[SRU] killfilter should handle updated/deleted executables" [Undecided,In progress] https://launchpad.net/bugs/96793115:08
zulbdmurray: hmm...we can run the testsuite for that bug15:09
zulbdmurray: updated15:11
bdmurrayzul: and in bug 975043 there is a comment that this is not supported out of the box but how does that make it untestable?15:12
uvirtbotLaunchpad bug 975043 in nova "[SRU] Cloudpipe VPN instance can loose connectivity after starting openvpn" [Undecided,In progress] https://launchpad.net/bugs/97504315:13
zulbdmurray: we dont have any documentation about it on ubuntu15:13
zulbdmurray: its a feature that we dont support really15:13
bdmurrayzul: then why are you SRU'ing it?15:13
zulbdmurray: because its apart of the snapshot that got inherited by upstream15:14
roastedhello!15:17
Davieybdmurray: ey15:18
DavieyHey*15:18
roastedI was tinkering with a few different web services on my server... apache, nginx, etc... I think I goofed cause now I want to revert everything back to a fresh apache install.15:18
roastedWhen I install it, it doesn't generate anything in /var/www lke yout ypically expect.15:18
bdmurrayDaviey: Hi15:18
Davieybdmurray: So.. What we are trying to do is.. Have significant involvement in the upstream stable trees (zul and myself are both reviewers.)15:19
Davieybdmurray: Push any Ubuntu fixes back to upstream where we can15:19
DavieyDo significant CI testing at both upstream and distro level15:19
Davieybdmurray: Then take a whole snapshot, and SRU it.15:19
Daviey(including fixes that don't impact Ubuntu.. but crucially, do not regress either)15:20
bdmurrayDaviey: I'm the new guy here but taking a whole snapshot and SRU'ing it sounds like a "micro release" to me and would fall under the micro release exceptions category15:20
bdmurrayhttps://wiki.ubuntu.com/StableReleaseUpdates#Special_Cases15:20
zulyeah we are working towards that15:20
Davieybdmurray: we submitted for one :)15:20
uvirtbotNew bug: #1014698 in squid3 (main) "package squid3 3.1.19-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/101469815:21
uvirtbotNew bug: #1014695 in grub (main) "need some mechanism to support /boot/grub/menu.lst and pv-grub" [Undecided,New] https://launchpad.net/bugs/101469515:22
Daviey(context https://lists.ubuntu.com/archives/ubuntu-devel/2011-November/034509.html)15:22
Davieybdmurray: and https://lists.ubuntu.com/archives/technical-board/2011-November/001142.html15:24
hallynstgraber: d'oh, I see that src/lxc/conf.h is already #including stdbool.h - so I can clean that bit of the lxcapi code up (to use real 'bool' instead of an int).  I'll wait though until I hear more from you about the python bit, unless you say now is a good time15:41
stgraberhallyn: the python bits are mostly done but it's extremely easy to rebase on any change you do, so go ahead15:42
stgraberhallyn: also, can you fix the lxc.h/lxccontainer.h situation? IIRC you said that lxc/lxc.h should give me the lxc_container struct, but that's not currently the case, I need lxccontainer.h which isn't in the lxc-dev package by default :)15:43
stgraberhallyn: IIRC from what I did on Friday, python-lxc covers everything except for the variable arguments of start() that I still need to write magic to parse/cast and send to start() (with all the fun memory management stuff ;))15:44
=== Lcawte|Away is now known as Lcawte
hallynstgraber: ok, lemme wrap up my apparmor bits as they are and i'll fix the api (or break it completely, depending on what sort of week this is gonna be)15:57
stgraberhallyn: ;)15:59
mdeslaurhehe16:00
zulhallyn: where is the qemu-kvm stuff?16:02
stgraberhallyn: when you're done moving things in the lxcwithapi branch, I'll work on a lxc test package (not called lxc2 this time) that bundles the API changes and the python module, so it can easily be tested by highvoltage and the others who want to test the python stuff16:05
hallynzul: ppa:serge-hallyn/virt16:17
hallynstgraber: awesome, thanks16:17
SpamapScan somebody who is an admin for ubuntu-server please add a bug subscription to mysql-5.5?16:26
=== almaisan-away is now known as al-maisan
zulSpamapS: done16:30
SpamapSzul: thanks16:30
SpamapSzulmaybe make me an admin too? :)16:31
TheLordOfTimelol?16:31
TheLordOfTimeSpamapS:  any idea when/if php 5.4.x is going to be included into Ubuntu?16:31
SpamapSTheLordOfTime: I actually intend to figure that out this week16:32
SpamapSTheLordOfTime: I *think* we'll be following everybody else's lead and dropping Suhosin16:32
SpamapSTheLordOfTime: so as soon as we ACK that, it will be includedASAP16:33
TheLordOfTimewonderful16:33
TheLordOfTimelol, damn, i joined #ubuntu-bugs-announce and my ZNC autodetached me from the channel because of flood... XD16:33
zulSpamapS:  i dunno about that16:34
SpamapSzul: what's the matter Colonel Sanders, chicken?16:35
zulSpamapS:  i dont want you to crazy with power16:35
rbasakWhile we're talking about php, is bug 1014044 something that we need to fix and/or SRU? Since the web dev community is pretty big on ubuntu server I thought it might be useful to them. But we'd have to carry a delta for it until a fix filters through.16:37
uvirtbotLaunchpad bug 1014044 in php5 "PHP5-FPM not reporting errors to web server (nginx)" [Medium,Triaged] https://launchpad.net/bugs/101404416:37
TheLordOfTimeuvirtbot:  that's not a bug16:37
uvirtbotTheLordOfTime: Error: "that's" is not a valid command.16:37
TheLordOfTimeerm16:37
TheLordOfTimerbasak:  that's not a bug...16:37
TheLordOfTimerbasak:  in nginx, you have to have proxy_intercept_errors16:37
TheLordOfTimeor...16:37
TheLordOfTimehave php show errors16:38
TheLordOfTime(turn on show errors in the conf)16:38
rbasakApparently php has to write the errors to the right place16:38
rbasakAnd upstream have committed a fix16:38
TheLordOfTimerbasak:  which errors in particular are you talking about16:38
TheLordOfTimelike 500s?16:38
TheLordOfTime403s?16:38
TheLordOfTimeetc.16:38
TheLordOfTimeHTTP status codes need proxy_intercept_errors on in the site config16:38
rbasakI assume PHP level errors. I'm just going by the bug, which I marked as Triaged as there's an upstream bug and fix16:39
rbasak(and commit)16:39
TheLordOfTimePHP specific errors are a different issue16:39
* TheLordOfTime looks at the bug16:39
TheLordOfTimethat distinction needs to be made, see my latest comment16:40
TheLordOfTimeif they mean HTTP status codes, there's a workaround, if they mean PHP errors, well...16:40
TheLordOfTimeif there's a regression in the package in the repos that's bad, but the PPA maintained by the NGINX team correctly displays PHP errors in the errors log file16:41
TheLordOfTimeso... *shrugs*16:41
SpamapSrbasak: looks like a fairly hefty, but straight forward change16:41
TheLordOfTime(PPA for nginx)16:41
adam_ganyone else having problems with dnsmasq's DHCP on quantal?16:42
TheLordOfTimeSpamapS:  if you'd like i'll patch and push the debdiff for that patch16:43
TheLordOfTimei'm in need of stuff to do xD16:43
rbasakSpamapS: yeah. I was just thinking that ubuntu server in general is a very friendly web dev environment, including PHP newbies. And not all of them would find an error logging workaround. So wondering about SRU, though not sure16:43
SpamapSrbasak: right. I'm not sure I understand the impact of not having that fetaure, but I do think its just that.. a feature.16:43
TheLordOfTimeSpamapS:  question for you then, would that bug be a wishlist type bug?16:44
SpamapSnot necessarily16:44
rbasakSo as far as I understand the impact, it is that a developer will get confused by not getting PHP error logs. There is a workaround, which is to log to a separate file.16:44
TheLordOfTimeSpamapS:  i'm in agreement with rbasak, as a developer having PHP log to the error.log file is useful16:45
rbasakI'm not that clear on what sort of error logs though.16:45
* TheLordOfTime has errors in PHP all the time and sees them in error.log16:45
SpamapShrm, whats the default error logging config though? Shouldn't PHP be logging errors on the server they're happening on, not via nginx?16:45
rbasak(now that TheLordOfTime has pointed that out)16:45
TheLordOfTimerbasak:  hence the comment on the bug16:45
TheLordOfTimeclarification is required16:45
rbasakYep, understood16:45
TheLordOfTime500 errors and 502 errors should show up in error.log with context16:45
TheLordOfTime403s won't16:45
TheLordOfTimes/won't/shouldn't necessarily/16:46
TheLordOfTimerbasak:  was this filed against precise?16:47
* TheLordOfTime sees a blatant lack of information about which version of Ubuntu this occurred in16:47
rbasakYes16:48
hallynstgraber: i *think* the bzr tree should be all set16:48
rbasak"Since updating Ubuntu" to 12.04 and "Using php5-fpm version: 5.3.10-1ubuntu3.1"16:48
TheLordOfTimei wish these things were filed against the actual version of the OS, rather than just the source package in [devRelease]16:51
TheLordOfTimes/version of the/version of the package in the correct/16:52
rbasakThat would be really awkward for the development version, which is where most bugs are worked on16:52
TheLordOfTime*shrugs*16:52
* TheLordOfTime prefers the security bugs16:52
TheLordOfTimewhere *all* the versions of a package get tagged (CVEs)16:52
TheLordOfTimehelps me figure out where to pull from for source when making debdiffs :P16:53
zulphp is genrally evil for those who do not know16:53
rbasak:-)16:53
rbasakI avoid it too, but I also understand that a ton of web developers use ubuntu server so it would make sense to keep it in good shape :)16:54
TheLordOfTimezul:  +116:54
TheLordOfTimewell, that and tagging the bugs with the actual release...16:54
* TheLordOfTime tends to look at tags when seeing bugs, since 'precise' or 'lucid' seem to be autotagged on bugs when using ubuntu-bug, which most bugs in nginx get filed with16:55
zulhallyn: seems to launch instances ok16:55
rbasakThere was a good article on this: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/16:55
stgraberhallyn: cool. Will have a look after lunch.16:56
zulwell lamp stacks without the p is lam and that is one letter away from lame16:56
SpamapSrbasak: that article is just whining about the realities of evolution  IMO16:57
SpamapSThere is no "design" in PHP. It evolves in the direction its users want it to16:58
SpamapSfrustrating to those who want things all neat and tidy16:58
hallynzul: great, thanks16:59
TheLordOfTimeSpamapS:  should i get started on debdiffs for php with the upstream patch?  or do you want me to wait on getting a debdiff ready16:59
rbasakEOD17:00
TheLordOfTime:P17:00
SpamapSTheLordOfTime: I don't think its that critical. It will arrive via upstream fixes..17:01
TheLordOfTimewonderful, i can take something off of my to do list :P17:01
SpamapSBy all means do it if you want to17:01
TheLordOfTimeSpamapS:  considering its either make the debdiff or sit at the office waiting for a Microsoft tech to respond to an email, i'd rather make the debdiff xD17:01
SpamapSBut perhaps hold off anyway, since I want to see if we can get 5.4 merged soon17:01
TheLordOfTimeindeed17:02
TheLordOfTimei'd *love* to see 5.4 merged :P17:02
TheLordOfTime(considering i have at least one patch in there)17:02
zulSpamapS: 5.4 on precise?17:11
SpamapSno17:12
zulok you got me scared for a sec17:15
GeminiDomino(12.04 64-bit) Okay, I've got a RAID1 swap partition that seems to have me locked into a mutually exclusive charlie-foxtrot here.  The device was "removed" but can't be re-added even though it's already added but... *gets dizzy and just throws up the pastebin* http://pastebin.com/raw.php?i=Kv4jNF6g17:24
RoyKGeminiDomino: did you try to --zero-superblock it?17:26
GeminiDominoI didn't want to do that until I got someone who knew what they were talking about to suggest that it might not be a Very Bad Idea (TM) :)  Can I zero it and add it as a spare like it says, then make it active?17:30
RoyKjust zero the first few megabytes or so and try to add it17:31
GeminiDominookay17:32
RoyKbetter add it as a full member than a spare, since a spare won't have much of a function without redundancy17:32
RoyKas in 'hey, that drive crashed, let me take over, huh, from where can I copy the data? ....'17:32
GeminiDominoIt said that zeroing the superblock would add it as a spare, but when I did so, it worked, then immediately rebuilt.17:33
GeminiDominoSo it seems I'm good to go. Molto Grazie17:33
RoyK:)17:33
axisysconfigure: error: no acceptable C compiler found in $PATH17:37
axisyswhat pkg to install to get gcc?17:37
axisysbuild-essential?17:37
RoyKyep17:37
axisysRoyK: thanks17:37
=== zyga is now known as zyga-afk
=== v01d` is now known as v01d
uvirtbotNew bug: #1014773 in samba (main) "package winbind 2:3.5.8~dfsg-1ubuntu2.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 5" [Undecided,New] https://launchpad.net/bugs/101477318:26
=== isitme_ is now known as isitme
adam_gzul: fyi im working on getting the folsom-on-precise stuff built and deployed on there atm. ive hit some dnsmasq/nova-network bug /w folsom-on-quantal and really want to be able to check it on precise first18:44
zulwhich dnsmasq bug? the vlan one?18:44
adam_gzul: might be related but AFAICS something different. instances get no OFFERs18:46
zuladam_g: try the dnsmasq from proposed18:48
adam_gzul: quantal-proposed?18:49
adam_give only hit it only quantal atm18:50
adam_gas soon as i get these folsom/precise deploys going i can test on P18:50
zuladam_g: k ill leave you alont then ;)18:50
reisiwhat is the runlevel recovery -boot menu items go, and what is the default runlevel on normal boot entries?19:40
adam_gjamespage: still around?19:48
fratermI'd like to set up bridged networking with a virutal machine running on ubuntu(through kvm).19:53
fratermI've got 2 IP addresses, but only one nic.  I have gotten to the point where I have a bridge device set up manually.19:54
=== al-maisan is now known as almaisan-away
RoyKfraterm: just start virt-manager and assign the nic to br0 or similar20:00
WomkesIf I have a new disk with the following info in parted ( http://paste.ubuntu.com/1047971/ ) and I just want to have one large parition but optimally aligned, do I first need to create a primary partition with certain alignment? If so, how do I do this I keep getting message that the partition is not optimally aligned.20:01
fratermRoyK, at that point, if I select the right bridge device, whatever the 'guest' os has set up for a network configuratino (eth0 static blahblahblah) should be pingable browsable and all that?20:03
fratermI think I just haven't selected the right bridge device.20:03
RoyKfraterm: the guest isn't relevant if the bridging is done correctly20:04
fratermRoyK, the guest (the virtual machine) would still have to have a /etc/resolv.conf and static network configuration information applied to it though would it not?20:07
RoyKfraterm: that's just networking20:09
* fraterm nods Alright then.20:11
hallynstgraber: hm, i wonder if i should wait until someone responds about the hooks, before sending the apparmor patch upstream.  flooding the list probably just works against us20:55
hallynOTOH, it'd be nice to drop 4 patches from our queue20:55
stgraberhallyn: would be nice to have Daniel look at the list history and merge some of our stuff, the list is getting long enough that I can't remember what was submitted and what wasn't ;)20:57
stgraberhallyn: what's the status of destroy() and create() in the API? I'm pushing their python implementation for now until we have something in the API. I also added get_ips() as a python function.21:04
hallynstgraber: uh, i don't know.  i haven't been thinking about them.  i thought we were going to postpone those until we were sure we needed them21:07
hallynbc it's not clear to me how they woudl interact with the scripts (especially lxc-create)21:08
hallynwoudl they be replacments, or wrappers?21:08
hallynstgraber: hm, then maybe i'll send the patch i have, and then tomorrow go through the mailing list archives and make a new git tree with unmerged stuff21:09
stgraberhallyn: git tree with unmerged stuff sounds good21:11
stgraberhallyn: http://paste.ubuntu.com/1048114/21:11
uvirtbotNew bug: #996692 in samba (main) "package samba 2:3.6.3-2ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/99669221:12
hallynstgraber: hm, so notice i had 'get_config_item' and 'set_config_item' and 'load_config/save_config()'.  I just have this hunch that the configs are meant to be somewhat independent from rootfs.  maybe that's wrong21:16
hallynthe reaosn i mention it is that it affects what create means21:16
hallynmaybe i'm being silly21:16
hallynbut, from the c api, what i think i'd expect to do is:  (hold on lemme pb it)21:17
hallynstgraber: http://paste.ubuntu.com/1048131/21:19
stgraberhallyn: yeah, my current implementation essentially requires you to flush your container including its config, then call create(), then load the config that create generated, but I'd definitely be interested in being able to create() without flushing the config21:21
stgraberI guess to get a clean implementation we'd have to essentially create some kind of template API, defining how they get their arguments and what they output21:22
stgraberwith their output usually being a rootfs and a list of configurations keys that need to be set for the template (but not duplicating all the usual ones)21:22
hallynstgraber: right.  so what i'm waffling on is, do we wait until we figure that out, or do we risk polluting the api with cheap (but useful!) wrappers around the scripts?21:24
stgraberhallyn: I guess we can wait for create() at least. Do you see a similar problem with destroy() ?21:26
fratermRoyK, well, of all things, virt-manager seems to have a bug in which the Virtual Network Interface selector persists in setting NAT settings rather than changing them to any of the other available Source Device types.21:27
stgrabermy create() implementation will be good enough for the initial proof of concept. Which reminds me I should ask some python warning on import of the lxc module that the API isn't stable yet ;)21:27
hallynstgraber: hm, no, i guess no problem with destroy (except symmetry :)21:29
hallynstgraber: i'll be leaving soon.  let me think on the create thing and decide tomorrow?21:29
stgrabersounds good21:29
* fraterm grins as his virtual machine configuration was working just fine. Tools just don't exactly work the way one would suspect.21:34
=== Lcawte is now known as Lcawte|Away

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