[00:09] <philipballew> Im trying to use EXPECT to write a auto-login script to a telnet session(dont ask me why my work uses telnet). WHat would be wrong with this script
[00:10] <philipballew> http://paste.ubuntu.com/881214/
[00:14] <greppy> philipballew: you may be better served with the perl Net::Telnet module.
[00:14] <greppy> I used expect to do that stuff until I learned about Net::Telnet :)
[00:16] <philipballew> greppy, Can you help me with a script for that?
[00:17] <philipballew> I dont  speak perl
[00:17] <greppy> ah, that could make life a little more interesting, but there are good examples in the docs.
[00:17] <greppy> http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm
[00:18] <greppy> philipballew: you can install the module using 'sudo apt-get install libnet-telnet-perl'
[00:18] <philipballew> does it matter that I dont know perl greppy
[00:18] <Rallias> I've got a bit of a predicament...
[00:19] <Rallias> every hour on the 40 my server stops responding for ~30 seconds, and I can't figure out why.
[00:19] <greppy> philipballew: take a look at the docs, there's an example script right at the beginning.
[00:19] <Rallias> What, besides cron, should I look at?
[00:19] <philipballew> alright. Might be fun to play with
[00:20] <matthew-parlette> Rallias: have you taken a look at the logs after the 30 second stall?
[00:44] <twb> Rallias: it's a cron job
[00:44] <Rallias> twb but there's no cron job set to run on the 40 minute mark
[00:45] <twb> Rallias: you checked /var/spool/cron and /etc/cron* ?
[00:46] <twb> It may still trigger on the o'clock but take 40 minutes of thinking before its I/O starts
[00:48] <Patrickdk> doesn't have to be cron, but very likely
[00:48] <Rallias> oh...
[00:49] <Patrickdk> mysql supports events, so it could be like a cron inside mysql :)
[00:49] <Rallias> well wait... I have php fastcgi starting on the 9 and 39, but the download doesn't happen on the 9...
[00:49] <Patrickdk> or anything else that does that, I know wordpress has it's own built in cron too
[00:49] <Patrickdk> by stop responding, you mean web?
[00:49] <Rallias> yeah
[00:49] <Patrickdk> then it's probably apache stopping
[00:49] <Patrickdk> but there is still a session in progress
[00:49] <Rallias> I run nginx
[00:50] <Patrickdk> well, whatever
[00:50] <Patrickdk> and till that session finishs, it won't stop, so you can start it again
[00:50] <Patrickdk> normally there is a better way to restart that
[00:50] <Patrickdk> but why in the hell would you cron a restart?
[00:50] <Rallias> but it knocks out everything as you saw with me disconnecting and reconnecting.
[00:52] <twb> If shell is still working, you can just ps auxf when the event occurs, and look for D state procs.
[00:52] <Rallias> but ssh gets knocked out, so no it doesn't
[00:53] <twb> Then set up a nohup'd typescript to capture the output every ten seconds, and start running it at half-past the hour
[00:53] <twb> Then after the event, go in and look at it
[00:55] <twb> nohup sh -c 'while ps auxf; do sleep 60; done >/tmp/psauxf.log' &
[00:55] <twb> ...or whatever
[00:56] <Rallias> *sigh*
[00:56] <Rallias> I hate this thing sometimes :D
[00:56] <Rallias> so how long will that script run for?
[00:56] <twb> Forever
[00:56] <twb> Obviously once you are past the affected window, you go back and kill it
[01:02] <Rallias> so if it is a mysql cron, what should I do to debug it?
[01:03] <Patrickdk> none of this should cause ssh to die
[01:03] <Patrickdk> unless this is a very very low memory server, and somehow causing everything to oom
[01:03] <twb> Rallias: turn it off and see if the problem goes away
[01:03] <twb> Patrickdk: I've seen I/O thrash, too
[01:03] <Rallias> I'm running at 250 MB under full most the time
[01:04] <twb> Rallias: pastebin output of free -m
[01:04] <Patrickdk> i/o thrash won't cause his network connection to drop though
[01:04] <twb> Patrickdk: well, unless all of apache is in D state
[01:04] <twb> Patrickdk: but yeah I guess I wouldn't expect it to hang ssh also
[01:04] <Patrickdk> apache yes, but not ssh
[01:04] <Rallias> how do I copy with putty?
[01:04] <Patrickdk> never used putty
[01:04] <Rallias> twb it even hangs quassel so
[01:04] <twb> Rallias: NFI
[01:06] <Rallias> http://pastebin.ubuntu.com/881267/
[01:09] <Rallias> As far as I can narrow it down, its either nginx, php, or mysql...
[01:25] <twb> OK so it's probably swap-thrashing rather than OOMing
[01:25] <twb> Which could conceivably account for stuff like ssh hanging, too
[01:25] <twb> IME when 2.6 starts to swap you've basically fucked and have to hard-cycle the power to get it to respond
[02:31] <BuenGenio> hellop
[02:31] <BuenGenio> for some reason my system boots up without any nameservers in resolv.conf after every reboot
[02:31] <BuenGenio> how do I fix this?
[02:32] <BuenGenio> IP is static
[02:33] <BuenGenio> can I add nameserver under interface config in /etc/network/interfaces ?
[02:34] <stgraber> BuenGenio: dns-nameservers 8.8.8.8 8.8.4.4
[02:34] <stgraber> BuenGenio: dns-search mydomaina.com mydomainb.com
[02:35] <BuenGenio> where do I put that?
[02:35] <stgraber> BuenGenio: http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ for more details
[02:35] <stgraber> BuenGenio: in /etc/network/interfaces as interface option
[02:35] <stgraber> BuenGenio: you can also check "man resolvconf" for some examples
[02:36] <BuenGenio> even after I modify resolv.conf after every reboot it's clean
[02:36] <stgraber> yes
[02:36] <stgraber> in 12.04 /etc/resolv.conf is managed by resolvconf so if you don't put the right values in /etc/network/interfaces or get your DNS config from a dynamic source, any change to /etc/resolv.conf won't persist after reboot
[02:37] <stgraber> and can be lost at any point even if done after boot
[02:39] <twb> stgraber: resolvconf has been around a long time, and it's optional
[02:39] <twb> (If precise has forced everyone to install resolvconf, I will be VERY ANNOYED.)
[02:42] <stgraber> twb: resolvconf is in ubuntu-minimal in Precise
[02:43] <twb> Well, FUCK
[02:43] <Patrickdk> ya, changed from optional to required
[02:43] <stgraber> twb: per https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-dns-resolving it's possible to turn it off though we recommend people simply use it properly and report bugs so we can fix them (though it looks like we covered most of them already)
[02:43] <Patrickdk> or atleast, could be annoying to remove :)
[02:44] <stgraber> Patrickdk: well, removing it is indeed a bit tricky, disabling it is just a matter of making /etc/resolv.conf a regular text file instead of a symlink, though we obviously don't recommend doing that
[02:44] <twb> stgraber: my problem is I understand how resolv.conf works and I don't want to have some silly extra script layer getting in the way and forcing me to understand it
[02:45] <twb> Which is incidentally the same objection I had for NM
[02:45] <stgraber> twb: then just make it a regular text file and you'll have the old behaviour
[02:45] <twb> OK, no worries then
[02:45] <twb> My memory was that it was much more complex than that
[02:45] <Patrickdk> that becomes lots more fun, when you have all kinds of ppp/openvpn/ipsec/... connections going up and down per min on a server :)
[02:45] <twb> Patrickdk: I do have that
[02:46] <stgraber> the problem is, we discovered a lot of scripts and software all of them trying to mess with /etc/resolv.conf most of them overwritting it entirely
[02:46] <twb> I basically go into (all except one of) their config files and set them to "do not fuck with resolv.conf"
[02:46] <stgraber> the only sane way of fixing all that is by forcing them all through a single code path that can deal with merging the duplicate entries and generate a conf file that respects what the libc expects
[02:46] <twb> stgraber: yeah I understand the purpose of resolvconf
[02:46] <twb> stgraber: I just didn't want to have to deal with it until I absolutely had to
[02:47] <stgraber> the biggest issue that triggered the switch to resolvconf was dhclient's ipv4/ipv6 modes that each fight with the other over who writes /etc/resolv.conf ... that one and read-only boot that was made impossible by having stuff trying to write /etc/resolv.conf :)
[02:48] <stgraber> twb: yeah, we made sure that the conversion of /etc/resolv.conf to a symlink only happens the first time resolvconf gets installed, not at boot time and not on upgrades. So converting it back to a regular file basically tells resolvconf to stop doing anything (and it should also prevent anything that's resolvconf-aware from touching your /etc/resolv.conf)
[02:49] <twb> Ah, dual-stack dhclient would be an issue, yeah
[03:02] <Rallias> I've got a quick question about cron
[03:02] <Rallias> how would I get a job to run once every 25 hours?
[03:03] <BuenGenio> anyone using spamassassin here?
[03:03] <twb> Rallias: run it every hour, check if the hours since epoch is divisible by 25, if not, exit 0
[03:04] <Rallias> programiming has never been my strong suit...
[03:08] <twb> That's not programming, that's basic sysadmin work
[03:08] <twb> Something like $(($(date +%s) / 3600 % 25)
[04:26] <linocisco> hi
[04:26] <linocisco> how to see loaded modules in startup?
[04:27] <linocisco> i found one error but I dont know how to scroll up
[04:28] <linocisco> i found one error but I dont know how to scroll up
[04:28] <linocisco> i found one error but I dont know how to scroll up
[04:42] <qman__> linocisco, to scroll through the screen buffer on the console, use shift+pgup and shift+pgdn
[04:48] <linocisco> qman__, not working
[05:14] <twb> qman__: that will scroll through video buffer, and if he has chvt'd it will be empty
[05:14] <twb> scrolling in screen is achieved with ^A^[ to enter copy mode, then vi movement commands (^B,^F,hjkl).  Leave it with ^G.
[06:04] <Corey> seekwill: What have you broken now?
[06:04] <seekwill> I didn't break anything!
[06:05] <seekwill> Not yet, at least
[06:14] <wooter> what happens when support for the ubuntu distro im using expires...just no more updates ?
[06:14] <twb> wooter: you get nagged about it every time you log in
[06:14] <wooter> ah thanks
[06:15] <twb> Note that different packages expire at different times
[06:15] <wooter> will things like apache still update ?
[06:15] <twb> So even though you theoretically have five years of support, most of your packages only get 18mo or 3y
[06:15] <twb> wooter: no, once the release is EOLd, none of it gets security updates
[06:16] <twb> Ideally you should plan migration to the next LTS release several months before your current release is EOLd
[06:16] <wooter> ah k..my server is 10.10, is up next month
[06:17] <wooter> LTS comes out as same time as this expires
[06:18] <twb> THat is because 10.10 is not an LTS release
[06:18] <twb> You should probably sit on 10.10 until 12.04.1 is release, then migrate to that.
[06:18] <wooter> yeah, i wasn't thinking when i installed it
[06:18] <twb> Since it's only a month or two, it's probably not worth the grief of trying to migrate to 11.04 until then
[06:19] <twb> Unless this is a front-line server, in which case security might be a bigger issue
[06:19] <wooter> nah its not front line
[06:19] <wooter> still, it took alot of man hours to get it all configured how it is now
[06:19] <wooter> dopnt want to do it again for 5 years
[06:20] <twb> wooter: upgrading doesn't mean reinstalling from scratch
[06:20] <twb> This is not a cowboy outfit like RHEL
[06:22] <wooter> yeah, ive got a few hardware and platform specific scripts going on, everytime it updates, stuff happens like entire sound sub system changes or something like that
[06:22] <wooter> ill try upgrade first for a laugh
[06:22] <twb> !upgrade
[06:23] <twb> Please read the documentation first
[06:25] <wooter> thanks twb
[06:31] <linocisco> qman__, shift pgup and shiftpgdwn not working
[06:33] <rye_> Hello, on current precise grub does not set a timer when the previous boot failed, is it intended?
[06:33] <twb> linocisco: 16:14 <twb> scrolling in screen is achieved with ^A^[ to enter copy mode, then vi movement commands (^B,^F,hjkl).  Leave it with ^G.
[06:34] <linocisco> twb, i m now talking about on CLI . not on VI
[06:34] <twb> linocisco: I'm talking about GNU Screen.
[06:35] <linocisco> twb, it also doesn't work
[06:35] <linocisco> twb, my server is on VM
[06:35] <linocisco> twb, as guest
[06:36] <twb> linocisco: dunno then, sorry
[06:36] <linocisco> twb, thanks anyway
[06:47] <linocisco> hi all
[06:48] <linocisco> regarding squid, i have WAN card with DHCP with authentication to get internet and, LAN card which has static IP. when I run "nmap WAN DHCP's IP", I got 3128 squid-http only
[06:48] <linocisco> other ports are not open
[06:49] <linocisco> is that the reason why my client does not get internet through squid?
[06:50] <linocisco> hi all, i m in the middle of tasksel, now installing package 1%, I want to stop it with Ctrl+C, so how could I do to properly stop?
[06:51] <linocisco> hi all
[06:52] <linocisco> how to interrupt of installation package using tasksel?
[08:54] <a_ok> what do I need to do to increse the "max open files" limit for mysql (I don't mean the user but mysqld as I have no idea where its imposed limits come from)
[09:12]  * bluefrog test
[09:12] <bluefrog> pouet
[09:26] <jamespage> a_ok: take a look at the upstart configuration in /etc/init/mysql.conf
[09:26] <jamespage> a_ok: and man 5 init
[09:27] <jamespage> you can set the max files limit with an override
[09:27] <rye> jodh: hello, I am stalking you regarding https://launchpadlibrarian.net/96606883/lp935585.jpg (bug #935585) which is currently being displayed on my screen and I don't want to boot it until I find out how to debug the reason
[09:32] <jodh> rye: the work around is documented on the bug here: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/935585/comments/4. I've made the code changes for a proper fix and will soon be advertising an updated Upstart package (in a PPA) for initial testing. As such, we would welcome feedback from yourself and as many others as possible. I'll update the bug when the PPA version is available.
[09:36] <rye> jodh: umm, yes, i am aware of the workaround. Since this is not a production machine i thought I can assist in debugging it, since as I understand the reason for such behavior was not found
[10:25] <whalesalad> c7usi
[10:25] <whalesalad> hey guys, is there a simple way to determine which flags the apt-get version of nginx is compiled with?
[10:27] <_ruben> unless nginx can provide that info itself, you'll likely have to inspect the source package
[10:28] <whalesalad> cool, looks like I was on the right track. am downloading it now and will inspect the `debian/rules` file
[10:38] <memoryleak> Hi
[10:39] <bencer> jamespage: just saw your comment on #928501, going to prepare it for the FFe now
[10:39] <memoryleak> Can I take MySQL Debian package to install 5.5.21 version on Ubuntu 11.10 ? Or is it recommended to build from source?
[10:43] <rye> jodh: ok, so in order to move along - there is no need to debug the kernel panic issue on startup, right? I.e. I can proceed with booting it normally?
[10:49] <jodh> rye: I'm not sure I understand what you are saying. What would be very useful is if you would try the PPA in #11 on that bug and comment on the bug.
[10:52] <jodh> rye: We were not able to reproduce the problem as reported, but I was able to identify the fix for what is essentially a timing issue (how quickly the log partition becomes writeable).
[10:54] <rye> jodh: i meant that I have the server with the error right here, so i might have altered the packages to add some debugging output that might have helped. But the "how quickly the log partition becomes writeable" seems correct, however I am still not sure why this can be 100% triggered when fsck is forced to run. Ok, will add the ppa then
[11:04] <timkuijsten> it looks like the mysql upgrade from last night is breaking permissions.. anyone else having troubles?
[11:07] <rye> ok, ppa version for upstart works properly
[11:12] <jamespage> bencer: I'll see if I can track down an archive admin re native packaging but don't let that hold you up on the FFe
[11:13] <bencer> should i remove that from the ffe then?
[11:33] <RoyK> hrmf!
[11:33] <RoyK> anyone here using automount?
[11:33] <RoyK> I've setup auto.master pointing to auto.home and when logging in, nothing happens, automount doesn't output a single line of debug info
[11:36] <RoyK> cd /home/rsk works - logging in doesn't trigger mounting
[11:43] <RoyK> (anyone?)
[11:47] <ikonia> RoyK: that sounds most odd
[11:48] <ikonia> RoyK: when you login and it doesn't mount, is your expected home dir there ?
[12:06] <uksysadmin> do openstack issues get discussed on a particular ubuntu mailing list, or is it left to the main openstack mailing list?
[12:15] <RoyK> ikonia: sec
[12:19] <RoyK> hm... it seems if the user is in nis, the homedir isn't fetched on login and automount doesn't do much
[12:19] <RoyK> if user exists in local files, it works (somewhat)
[12:36] <patdk-wk> hmm
[12:37] <patdk-wk> been awhile since I used automount, it was always unreliable for me
[12:37] <patdk-wk> pam_mount worked well for login mounts though
[13:38] <ikonia> RoyK: sorry for the delay, but do you have nis setup to point at the automounter, eg: auto.master (auto_master) and auto.home (auto_home)
[13:40] <RoyK> ikonia: it worked out - lots of mess in this setup
[13:41] <ikonia> RoyK: care to expand ?
[13:41] <ikonia> was it the nis auto.home map (for example)
[13:58] <jamespage> bencer: just got an ack on the FFe and an archive admin to review once they land in NEW
[14:18] <RoyK> ikonia: no I don't care to explain ;)
[14:26] <ikonia> fair enough
[14:38] <pabelanger> Preference? nova-database-mysql or nova-backend-mysql; this is for dbconfig-common support
[14:42] <chmac> I'm looking for something rsync-like which runs as a daemon and pushes changes automatically, any advice?
[14:43] <chmac> As I understand it, drbd waits until the write has been confirmed on both hosts before considering the file "written", which is not what I want.
[14:50] <pabelanger> chmac: rsync can run as a daemon
[14:50] <pabelanger> guess, you want the automatic part
[14:51] <chmac> pabelanger: Does it monitor files and push those changes automatically? Might well do what I'm after...
[14:53] <pabelanger> chmac: no, I don't think so
[14:53] <pabelanger> you'd have to read up on it
[14:54] <chmac> pabelanger: Yeah, I think it acts as a daemon to receive rsync connections from other hosts, rather than monitoring the filesystem.
[14:55] <chmac> pabelanger: I found unison and lsyncd which might do what I'm after
[14:55] <chmac> pabelanger: I essentially want something like rsync running ever 5 minutes from cron, but slightly faster and with less overhead :-)
[14:59] <chmac> pabelanger: Thanks for your input btw
[14:59] <pabelanger> np
[15:10] <jamespage> bencer: around?  need to talk about ebox->zentyal transition
[15:22] <iclebyte> I need a kernel module which only seems to exist in 2.6.35-28-generic - where can I download just the module to compile it against my current 2.6.32-28 kernel?
[15:24] <jdstrand> SpamapS: hi! I see you did some stuff with the txzookeeper test suite. what do I need to do to run it? I did: cp -a /usr/share/pyshared/txzookeeper /tmp ; cd /tmp/txzookeeper ; trial txzookeeper
[15:24] <xranby> iclebyte: look inside the 2.6.35-28-generic  kernel sourcecode
[15:25] <iclebyte> the ubuntu specific source or direct from kernel.org?
[15:25] <jdstrand> SpamapS: that mostly works except for: test_session [ERROR]
[15:25] <jdstrand> exceptions.AssertionError: ZOOKEEPER_PATH environment variable must be defined
[15:25] <xranby> iclebyte: the ubuntu specific source
[15:26] <SpamapS> jdstrand: you need a running zookeeper
[15:26] <jdstrand> SpamapS: I installed zookeeperd
[15:26] <SpamapS> jdstrand: wait no, I think that one starts zookeeper up.. ZOOKEEPER_PATH=/usr/share/java/zookeeper.jar might work
[15:27] <SpamapS> jdstrand: hard to recall.. one of the test suites trashes a running zookeeper
[15:28] <jdstrand> SpamapS: I saw that bug and actually just commented in it. I am writing a qrt script so I can remember how to do the test suite in case it doesn't get enabled in the build. these run in vms so I don't care about trashing things
[15:28] <xranby> iclebyte: you can also google for the module name and try to locate any upstream source repository
[15:28] <xranby> and then build the module standalone
[15:28] <iclebyte> yea it's a Qlogic one. having a hard time finding it
[15:29] <iclebyte> it's called qlcnic
[15:29] <iclebyte> 10gigE fibre card
[15:29] <jdstrand> SpamapS: this is it: ZOOKEEPER_PATH=/usr/share/java/ trial txzookeeper
[15:30] <jdstrand> SpamapS: perfect, thanks!
[15:30] <jdstrand> PASSED (successes=136)
[15:30] <SpamapS> jdstrand: the reason I didn't want to run the test suite in the build if it trashes zookeeper is that some people build in chroots on their machines.. would be a shame to accidentally hose somebody's zookeeper.
[15:31] <SpamapS> jdstrand: I think it will be relatively easy to modify the suite to start a bastion zookeeper and run the tests against that
[15:31] <jdstrand> SpamapS: no, I get that. It would be nice to start zookeeperd on a different port or something
[15:31]  * jdstrand nods
[15:32] <SpamapS> jdstrand: we do that for juju.. so we can even steal that code, maybe even push it back into python-zookeeper as a utility class.
[15:33] <jdstrand> cool, yeah
[15:33] <xranby> iclebyte: the module source got merged into the upstream linux kernel and sent in by qlogic themself. its maintained in the git tree at kernel.org
[15:34] <SpamapS> jdstrand: thanks for the zookeeper review. Next step is: update man pages to mention network security options. Anything else?
[15:34] <xranby> iclebyte: this was the initial commit http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=af19b49152bdb68fda894183e88096d6d1aa5c3d
[15:34] <jdstrand> SpamapS: nope, I think that should be it
[15:34] <xranby> i have since then moved around inside the kernel tree
[15:37] <iclebyte> xranby, can this git interface generate a tarball with all the contents or do I need to download each file manually?
[15:39] <jdstrand> SpamapS: oh, you might check out the deprecation warning
[15:39] <xranby> iclebyte: take this patch http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=patch;h=af19b49152bdb68fda894183e88096d6d1aa5c3d
[15:39] <xranby> iclebyte: and apply it on your kernel tree
[15:39] <jdstrand> SpamapS: it isn't required for main inclusion; just fyi
[15:39] <SpamapS> jdstrand: I will.. I'd be surprised if upstream hasn't addressed it.. they have been pretty on top of such things which is why there aren't many warnings.
[15:39] <iclebyte> does it not need to be for a specific kernel source version?
[15:40] <xranby> iclebyte: that all depends on if the code itself uses features only found in newer kernels
[15:40] <xranby> you have to read and test the code yourself on your old kernel
[15:40] <xranby> the code itself do not care which kernel version its used on
[15:41] <iclebyte> I thought diff would because it references specific lines in the code
[15:41] <xranby> this are the initial commit so its all new files
[15:41] <xranby>  8 files changed, 8728 insertions(+), 0 deletions(-)
[15:43] <SpamapS> jdstrand: fyi: https://issues.apache.org/jira/browse/ZOOKEEPER-909 .. will open a bug report which we can close when 3.4.0 is uploaded
[15:43] <SpamapS> jdstrand: (thats the deprecation warnings) :)
[15:44] <jdstrand> SpamapS: oh, we are getting 3.4.0 in precise?
[15:44]  * jdstrand was hoping we would for the kerberos bits
[15:44] <SpamapS> jdstrand: no
[15:44] <SpamapS> jdstrand: btw, that brings up a different issue. PHP 5.4 .. it looks like Suhosin has not shipped for 5.4.0 yet
[15:44] <SpamapS> mdeslaur: ^^
[15:45] <SpamapS> micahg: ^^
[15:45] <SpamapS> jdstrand: perhaps we should discuss this at your team meeting, but I feel that its more your team's call than mine. For server users, 5.4.0 is by far the preferred choice, but w/o Suhosin.. it puts a larger burden on you guys
[15:45] <mdeslaur> SpamapS: well then, looks like we aren't getting 5.4 after all :)
[15:45] <jamespage> jdstrand, 3.4.x is still considered a beta release by upstream
[15:46] <jdstrand> I see
[15:46] <SpamapS> I asked suhosin's authors for an update.. but have not heard anything
[15:46] <iclebyte> how do I apply this patch to a kernel source tree?
[15:46] <mdeslaur> SpamapS: ah, yeah, I was about to ask that
[15:47] <iclebyte> headers are in usr/src/linux-headers-2.6.32-28
[15:50] <iclebyte> ?
[15:55] <alex88> hello guys, i'm on 11.04 server, i've tried to change hostname by editing /etc/hostname & /etc/hosts but after reboot it's still the same..any idea?
[15:56] <iclebyte> alex88, did it save okay?
[15:56] <alex88> iclebyte: yup.. wait.. if it's important, it's a openvz container
[15:56] <iclebyte> not played with openvz so I can't comment.
[15:56] <alex88> let me check also that…
[15:57] <alex88> iclebyte: yup, that was the problem..thank you anyway man ;)
[15:58] <iclebyte> welcome.
[15:58] <jcastro> smoser, no hvm ami's anywhere but east-1?
[15:58] <iclebyte> jesus, running Maverick is going to be easier than this.
[15:58] <smoser> no hvm anywhere but us-east-1, jcastro
[16:06] <cwillu_at_work> iclebyte, what are you doing?
[16:14] <iclebyte> cwillu_at_work, I need a driver which only exists in 2.6.35 on my ubuntu 10.04lts server system
[16:14] <iclebyte> I have the patch http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=patch;h=af19b49152bdb68fda894183e88096d6d1aa5c3d
[16:14] <cwillu_at_work> iclebyte, you aware that newer kernels will work fine on it?
[16:15] <cwillu_at_work> i.e, you should be able to install a 11.10 kernel deb without issue
[16:15] <iclebyte> I was thinking that maybe there is another repo I can add then just upgrade my kernel. exactly where to find such a repo i'm not sure
[16:25] <jdstrand> smoser: hey-- I saw that you packaged txaws. what is aws-status supposed to actually do?
[16:26] <smoser> its a gui i think , right ?
[16:26] <smoser> i ran it at once
[16:26] <smoser> s/at once/once/
[16:26] <smoser> it was long ago
[16:27] <iclebyte> there must be a backported kernel package somewhere?
[16:30] <jdstrand> smoser: well, it prompted me for some credentials, then didn't do anything
[16:30]  * jdstrand moves along
[16:59] <bencer> jamespage: i'm around, let me know what you need about the transition
[17:00] <jamespage> bencer, hey - so I updated the bug report as well
[17:00] <bencer> let me check first then
[17:01] <jamespage> bencer: as the packages stand now if someone upgrades a system with ebox it won't automatically get replaced with the equiv zentyal packages
[17:01] <jamespage> this was pointed out to me by an AA
[17:01] <bencer> jamespage: let me put you in context
[17:02] <bencer> current ebox packages are totally broken in oneiric, and in a pretty bad shape in lucid
[17:02] <bencer> so is unlikely anybody is using them :)
[17:02] <bencer> also the configuration backend changed
[17:02] <jamespage> lucid->precise is quite a likely upgrade path tho
[17:02] <bencer> so you need a migration tool to change the configuration format
[17:03] <bencer> anyway, the configuration paths are different
[17:03] <bencer> so no configuration is overwritten
[17:05] <jamespage> SpamapS, around - would appreciate your input into this conversation ^^
[17:06] <bencer> jamespage: they story is that ebox packages in the past were not really maintained, were uploaded and forget about them
[17:07] <bencer> now is one of the goals of the zentyal project to have working packages in ubuntu
[17:07] <bencer> so we will put efforts on their maintenance
[17:07] <SpamapS> jamespage: looking
[17:08] <SpamapS> bencer: we should still make sure that zentyal causes the removal of ebox so there are no problems.
[17:09] <jamespage> SpamapS, bencer: well the packages as is cause a removal - but its not automatic - you have to switch to zentyal
[17:10] <bencer> yes, if you do apt-get install zentyal, ebox packages are removed
[17:10] <bencer> how we should make the upgrade path then?
[17:11] <bencer> with a dummy package?
[17:11] <SpamapS> Ah, there needs to be a transitional, empty ebox package
[17:12] <jamespage> bencer, see http://wiki.debian.org/Renaming_a_Package
[17:12] <SpamapS> yes exactly, just an ebox package, which depends on zentyal
[17:12] <SpamapS> it can be removed in 12.10
[17:13] <SpamapS> bencer: we agree that having old broken ebox around is unlikely.. but if it was around, and causing problems for the user.. they'll be quite happy when its replaced w/ Zentyal
[17:13] <bencer> yup, i agree
[17:13] <bencer> and shoud be easy to do
[17:14] <bencer> jamespage: SpamapS where should be do the dummy package
[17:14] <jamespage> bencer: it forms part of the source package that will replace it
[17:14] <bencer> on ebox or on libebox, so we can set it to oldlibs and be automatically suggested to be removed?
[17:15] <jamespage> bencer: zentyal-common replaces libebox so the dummy package should be provided by it
[17:16] <bencer> jamespage: currently we have the replaces header in all packages
[17:17] <jamespage> bencer: yes - but it needs a transitional package as well
[17:17] <bencer> they way to go is to still maintain the replaces and add the dummy package for libebox, right?
[17:17] <jamespage> yep - each package should have a Breaks/Replaces and a transitional package for the package it replaces.
[17:18] <bencer> cool, were do you want us to push these changes?
[17:18] <SpamapS> jamespage: a provides isn't strong enough..
[17:18] <SpamapS> you need a dummy package
[17:18] <bencer> on our ppa? or in the bzr import you created?
[17:18] <SpamapS> oh
[17:18] <SpamapS> sorry I misunderstood
[17:19] <jamespage> PPA is fine
[17:19] <jamespage> bencer: I really don't want to make any changes to the packages you provide if possible
[17:20] <bencer> fair enough
[17:20] <bencer> going to talk with jacalvo and we will push that changes and i'll update back you when ready
[17:22] <jamespage> bencer: do you want me to check before you upload to PPA?
[17:22] <jamespage> that way we avoid another cycle of review if there are any issues
[17:22] <bencer> jamespage: i'll send you a link to our git changeset when ready
[17:22] <jamespage> bencer: great!
[17:28] <smoser> SpamapS, utlemming says that you said you would do:
[17:28] <smoser> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/948461
[17:28] <smoser> as SRUL
[17:29] <jamespage> SpamapS, reboot testing?
[17:30] <SpamapS> jamespage: yes!
[17:30] <SpamapS> jamespage: whats the word?
[17:30] <jamespage> SpamapS, so - I did some digging as gema asked me to take a look at the failures
[17:30] <SpamapS> smoser: I'll take a look at it yes
[17:30] <jamespage> and I knew you where at charm school
[17:30] <jamespage> I discovered three different bugs!
[17:31] <SpamapS> smoser: best if somebody else uploads, so I can just do it as an SRU review
[17:31] <SpamapS> jamespage: only 3? :)
[17:31] <jamespage> SpamapS, bug 953081
[17:31] <smoser> ah. yeah. thats fine. i thought utlemming suggested that you were going to backport fix and upload ...
[17:31] <smoser> utlemming, ^
[17:31] <jamespage> SpamapS, bug 953144
[17:32] <jamespage> and one in Jenkins
[17:32] <jamespage> SpamapS, basically the standard lamp test suite is being run twice - it fails pre-reboot because of that first bug
[17:32] <SpamapS> haha nice
[17:32] <utlemming> smoser: yeah, I'll do the backporting work
[17:33] <jamespage> SpamapS: it then runs it again due to the second bug post reboot
[17:33] <jamespage> but it does pass
[17:33] <jamespage> but Jenkins then borks as it gets confused because the test suite has the same name
[17:33] <jamespage> and reports a double failure from the first run
[17:34] <jamespage> I have a local fix for usit that I'm working on ATM - had to put it down today for other stuff
[17:34] <SpamapS> jamespage: ok, so that makes sense because I never actually ran the test as part of jenkins
[17:34] <jamespage> but the post-reboot test does not run at the moment as it can't find boottests.py package
[17:34] <jamespage> its just a pathing issue
[17:35] <SpamapS> jamespage: ok, so what can I do? :)
[17:35] <jamespage> SpamapS, leave it with me - I'll get it fixed up tomorrow
[17:36] <SpamapS> jamespage: want me to fix the PHP bug? Or did you already get that handled? Because I believe it *must* do a restart, not reload
[17:36] <jamespage> if you could check bug 953081 that would be great
[17:36] <jamespage> SpamapS, I am right in thinking that graceful restart does not load new modules right?
[17:36] <jamespage> ah - I guess so
[17:36] <SpamapS> jamespage: correct
[17:36] <SpamapS> LoadModule is only processed at start time, so restart is needed
[17:36] <jamespage> I'm happy to fix that bug as well tomorrow
[17:37] <jamespage> SpamapS, yikes - that means i have to touch php :-)
[17:38] <SpamapS> jamespage: hold off on that
[17:38] <SpamapS> jamespage: still pending a potential move to 5.4
[17:38] <jamespage> SpamapS, OK - I'll leave alone then
[17:41] <jamespage> SpamapS, FYI I normally install the ubuntu-iso-testing package from the team PPA
[17:42] <jamespage> that sorts out the deps and configures everything up for you
[17:42] <SpamapS> ohhh coool did not know that
[17:42] <jamespage> and then you can hack locally on the branch as much as you like
[17:42] <jamespage> PPA is based of trunk - daily builds ....
[17:42] <jamespage> I need to get it uploaded for precise as well
[17:42] <jamespage> will do that this week
[17:43] <ha1dfo> hi, I don't know if this is the appropriate channel, but I want to preseed debconf for mysql-server-5.1, but having trouble: I can see my vars in debconf db, but mysql still asks for root password
[17:46] <SpamapS> ha1dfo: simplest way to make sure you get the right values set is to manually install and answer the questions, then do 'debconf-get-selections | grep mysql'
[17:47] <ha1dfo> SpamapS, the automatization is the whole point in this one...
[17:47] <ha1dfo> ohh, you mean to dump it, then put them back? I've done it with the password fields
[17:49] <ha1dfo> SpamapS, just tried it, still asks for it
[17:50] <ha1dfo> maybe because mysql-server-5.1 config starts with an unconditional 'db_input high mysql-server/root_password || true' ? Can this function be tricked?
[17:53] <SpamapS> ha1dfo: if its already answered, db_input will take the value
[17:54] <ha1dfo> SpamapS, installed mysql-server-5.1, given passwords, debconf-get-selectiosn | grep mysql; removed mysql, purged mysql-server-5.1, loaded selected values, reinstalled, and still i got the question :(
[17:56] <SpamapS> ha1dfo: hrm, might be a package bug then
[17:57] <ha1dfo> SpamapS, with this preseed method i was able to preconfig ldap-auth-config easily, but i am having a lot of trouble with this mysql
[17:57] <ha1dfo> i think then i'll have to dig around in debconf's scripts
[18:03] <bencer> jamespage: a quick question, the versioning for this should be zentyal-common 2.3.3 or zentyal-common 2.3.2ubuntu1 ?
[18:04] <jamespage> bencer: keep the native versioning
[18:04] <jamespage> 2.3.3
[18:04] <bencer> ok
[18:16] <utlemming> smoser: https://code.launchpad.net/~utlemming/cloud-init/cloud-init.apt_debug/+merge/97268
[18:16] <smoser> would you consider adding that to apt_update_upgrade ?
[18:16] <smoser> rather than another one ?
[18:29] <pabelanger> Success!  nova converted to use dbconfig-common now.  Just finishing up the testing and will setup a merge request
[18:35] <stgraber> jjohansen: any luck with apparmor_parser?
[18:36] <jjohansen> stgraber: sure I have fixed a few more bugs, and am chasing another atm.  I did notice something about your failure though.  You profile rule is wrong, it needs a trailing / to indicate the target is a directory
[18:36] <jjohansen> the trailing / is significant in profile rules
[18:38] <jjohansen> stgraber: with the trailing / I think what I gave you should actually work, but I didn't test that as I was already testing a compiler with some additional fixes
[18:38] <ha1dfo> SpamapS, back to the mysql preseed problem. If it is a package bug, who can I report it to? package states a mail list for contact
[18:38] <stgraber> jjohansen: oh, ok, I can give it a quick try here
[18:39] <utlemming> smoser: sure
[18:39] <stgraber> jjohansen: [127565.282734] type=1400 audit(1331663966.960:723): apparmor="DENIED" operation="pivotroot" parent=17255 profile="/usr/bin/lxc-start" name="/usr/lib/lxc/root/" pid=17272 comm="lxc-start" srcname="/usr/lib/lxc/root/mnt/"
[18:39] <stgraber> jjohansen: with pivot_root /usr/lib/lxc/root/,
[18:41] <jjohansen> stgraber: hrmm, okay, it looks like it will need those other fixes after all, I'll ping you as soon as I have figured out the current one
[18:41] <stgraber> jjohansen: ok, thanks
[18:43] <bencer> jamespage: http://git.zentyal.org/zentyal.git/commitdiff/bd2f1eb44ce911937f0279e4db3e353cacdc1c3f
[19:00] <axisys_> i have 10 disks.. how do I boot the system from disk 8 ? currently i manually pick disk 8 from console.. yikes
[19:05] <jamespage> bencer: I'd add ${misc:Depends} to all of the transitional packages
[19:05] <jamespage> bencer: some of the packages are missing Breaks: fields - would be best to add those as well.
[19:11] <axisys_> should I need to create a small partition on all the disks and install grub on them ?
[19:28] <gary_poster> hallyn, are you around?  I'd love to get https://code.launchpad.net/~gary/ubuntu/precise/lxc/bug-951150-2/+merge/97077 landed soon if possible
[19:29] <hallyn> hm?  i thought i had pushed that
[19:30] <hallyn> gary_poster: can you check the archive and see if it does what you need?  I'm pretty sure I merged that
[19:30] <gary_poster> hallyn, oh, sorry!  I expected to see the MP change.  Looking
[19:31] <hallyn> yeah sorry i need to bde better about that.  since the mp itself does squat wrt the archive i tend to ignore that once i've pushed the pkg
[19:31] <hallyn> and bzr merges now are not working for me bc of quilt cruft, so i do them by hand anyway
[19:31] <gary_poster> heh (and argh for merges), I can understand that
[19:32] <hallyn> frankly i wonder if we should try doing lxc natively, using git branches
[19:32] <hallyn> (would say bzr, but upstream is git)
[19:33] <gary_poster> sure
[19:34] <gary_poster> if this were a Launchpad build recipe, you could have the coding in git, imported into Launchpad, with a bzr branch for the debian bits
[19:34] <gary_poster> I don't know how that corresponds to your needs though :-/
[19:34] <hallyn> of course there's the complication that debian is using quilt for its patches
[19:34] <hallyn> but yes, that would work for me i think.
[19:35] <hallyn> maybe our recipe could convert the debian patches to a bzr branch...
[19:36] <gary_poster> I'll mention it to my manager this afternoon; maybe he has a brilliant idea
[19:42] <webmonkey> If someone has a minute, I'm having some trouble getting fail2ban jails to start properly
[19:42] <webmonkey> 2012-03-13 19:41:29,561 fail2ban.jail   : INFO   Jail 'ssh' started
[19:42] <webmonkey> 2012-03-13 19:41:29,581 fail2ban.actions.action: ERROR  iptables -N fail2ban-ssh
[19:42] <webmonkey> iptables -A fail2ban-ssh -j RETURN
[19:42] <webmonkey> iptables -I INPUT -p tcp -m multiport --dports all -j fail2ban-ssh returned 200
[19:43] <hallyn> gary_poster: cool
[19:43] <webmonkey> running Ubuntu 11.10 and fail2ban v0.8.6
[19:44] <webmonkey> I've googled around and tried the various flock and sleep patching methods I found, to no avail :-( Also this is running on a Linode VPS
[19:48] <bencer> jamespage: fixed that too on http://git.zentyal.org/zentyal.git/commitdiff/cd397b18f4c91bee75a7e8692ac961633432d188
[19:48] <bencer> should be ready to build now?
[19:54] <hallyn> stupid q.  in precise, tasksel adds 'basic ubuntu server' option at top.  does enabling that add, or reduce, packages installed?
[19:58] <jetole> Hey guys, don't know if this is the right room to ask but I just recompiled my linux kernel (Added IMQ support for traffic shaping) from the source of the server image using the dpkg-buildpackage tool and when it finished, as expected, it created .deb files to install but there are also a bunch of .udeb files which I have never seen before and wondering what they are and if I need them
[19:59] <jetole> for example nic-modules-2.6.28-19-generic-di_2.6.28-19.66_i386.udeb is one. scsi-modules-2.6.28-19-generic-di_2.6.28-19.66_i386.udeb is another
[19:59] <hallyn> just the debs
[20:01] <jetole> hallyn: what do I do with them?
[20:04] <Jeeves_> Oi
[20:05] <Jeeves_> Is it correct that /var/run symlinks to /run in Precise?
[20:06] <hallyn> Jeeves_: yes
[20:06] <jetole> Jeeves_: try asking in #ubuntu+1
[20:06] <jetole> or not. nevermind
[20:07] <Jeeves_> Hmm, that's not very cool for the symlinks inside /var/run :/
[20:07] <hallyn> jetole: see https://en.wikipedia.org/wiki/Deb_(file_format)
[20:07] <hallyn> microdeb
[20:08] <jetole> hallyn: I did but I'm still not sure if I should have interest in these files and what it should be. I was hoping for someone who has done this before or knows better about the udeb's who can give some experience
[20:10] <hallyn> jetole: dpkg -x nic-modules-2.6.28-19-generic-di_2.6.28-19.66_i386.udeb x; find x; and see if it has all you need.  If so, you might be able to save space using it instead of the deb.
[20:10] <hallyn> but i always just take the .deb
[20:11] <hallyn> (really i just 'fakeroot debian/rules binary-generic' which i don't think even gives me .udebs)
[20:14] <harry__> currently i have ubuntu 11.10, i want to upgrade my machine to ubuntu server, are there any additional features or its a totally different operating system?
[20:14] <jetole> hallyn: this is for the kernel on 9.04 (please don't remind me 9.04 isn't supported. I know) and I ran apt-get source linux-image-2.6.28-19-server, dpkg-source -x linux_2.6.28-19.66.dsc and then AUTOBUILD=1 NOEXTRAS=1 skipabi=true dpkg-buildpackage -rfakeroot -b
[20:15] <jetole> harry__: it's not so much a totally different operating system, the kernel is different and it's more optimized for functioning as a server but I think the primary question is why do you want to switch?
[20:16] <harry__> i just want to learn more on ubuntu server by installing, can i keep my data intact after upgrading
[20:17] <harry__> do i have the same user interface as ubuntu 11.10
[20:17] <hallyn> jetole: wasn't saying what you did was wrong :)  i generally follow https://wiki.ubuntu.com/SergeHallyn_ppakernels
[20:18] <hallyn> jetole: but again, i think it's worth it for you to check if the .udebs happen to have everything you need, if you want a minimal custom install anyway.  oterhwse, i'm saying the udebs are alterntaives to the debs for installers.  you don't need them if you're using debs
[20:18] <hallyn> bbl
[20:19] <harry__> i have lot of data and applications on ubuntu 11.10, all of them will on ubuntu server?
[20:20] <harry__> all of them will work on ubuntu server?
[20:20] <hallyn> harry__: yes.  in the past i've installed ubuntu server and later done apt-get install ubuntu-desktop...
[20:21] <hallyn> if there's anything missing you'll be able to install it.  ubuntu server is ubuntu.
[20:21] <harry__> nice
[20:22] <harry__> what is the easiest way to upgrade?
[20:23] <harry__> apt-get install command?
[20:31] <hallyn> sorry - what do you mean by upgrade?
[20:31] <hallyn> install packages, yes
[20:32] <hallyn> upgrade, 'apt-get update && apt-get -y dist-upgrade'
[20:32] <utlemming> smoser: for your consideration: https://code.launchpad.net/~utlemming/cloud-init/cloud-init.apt_debug/+merge/97268
[20:33] <harry__> upgrade i mean , from ubuntu  to ubuntu server
[20:37] <koolhead11> harry__, what exactly you want ?
[20:37] <hallyn> I'm afraid that's a bit of a non-sequiter.
[20:38] <hallyn> you'd have to remove things like network-manager, and manually config network.
[20:38] <hallyn> like koolhead11 says, i'm not sure that's what you want
[20:38] <harry__> i have ubuntu 11.10, i want to install ubuntu server
[20:39] <koolhead11> harry__, sudo tasksel
[20:39] <harry__> i will be having the same user interface, any major changes, just want to confirm?
[20:40] <koolhead11> harry__, everything will be same. Don`t wrry. No one can take away your GUI. go ahead :)
[20:41] <harry__> thanks much koolhead11 and hallyn
[20:46] <hallyn> harry__: are you using wireless?
[20:50] <harry__> yes i am using wireless
[20:50] <harry__> you mean the internet connection right
[21:19] <jamespage> bencer: lgtm
[21:30] <Daviey> jamespage: go home.
[21:30] <jamespage> Daviey: no - you go home
[21:30] <jamespage> :-)
[21:30] <Daviey> :)
[21:30] <jamespage> oh - I am home - how did that happen?
[21:31] <Daviey> mystery of the world.
[21:34] <hallyn> harry__: don't switch to server then.  server doesn't support wireless out of the box.
[21:36] <harry__> oh thanks
[21:37] <harry__> why doesnt it support?
[21:37] <harry__> wireless
[21:38] <hallyn> the drivers aren't shipped, and userspace tools not installed.  you can of course install them.  you need network cable to do so :)
[21:38] <hallyn> (have done it quite often, but it's never pretty)
[21:39] <harry__> oh ok , anyway good thought of you..i will wait then ..wanted to just try out the serve
[21:39] <harry__> r
[21:40] <Xethron> I wish to setup a server that will dynamically control internet speed based on the amount of internet a user consumed relative to another. For example. If only one user is online, he gets 100% of the line speed. However, if two users are online, the one who consumed less internet should get preference as to allow him/her to "catch up". Does anyone know of software with the ability to do that?
[21:40] <RoyK> Xethron: pfsense might have some of it
[21:41] <RoyK> dunno about linux firewalls with that, though
[21:41] <koolhead11> harry__, is there any app you want to run?
[21:41] <Xethron> RoyK, thanks, will look into it.
[21:41] <koolhead11> Daviey, got few mins
[21:41] <harry__> nothing important
[21:41] <harry__> just wanted to try it out
[21:42] <harry__> but when i did sudo tasksel i fould packages like mathematics and other packages
[21:42] <harry__>  i installed mathematics
[21:42] <harry__> was just trying it out
[21:42] <harry__> i love ubuntu :)
[21:43] <koolhead11> harry__, grab a copy of ubuntu server guide and install virtualbox and try to learn/understand
[21:43] <Daviey> koolhead11: a few
[21:43] <harry__> cool yes will try
[21:43] <koolhead11> hallyn, https://help.ubuntu.com/10.04/serverguide/C/
[21:44] <koolhead11> and google 4 virtualbox
[21:45] <hallyn> ?
[21:46] <hallyn> no thanks
[22:26] <variant> hi all, my local dhcp server is a little on the flakey side. is it possible to stop dhcpcd from deconfiguring the interface if the dhcp server dissapears for a few minutes?