[02:07] <MoleMan> my root is mounted on a LVM, how do I get ubuntu server to recognise that I have extended the lvm?
[02:09] <twb> It's automatic
[02:09] <twb> Oh, maybe you forgot to resize the filesystem after extending the LV?
[02:11] <MoleMan> yeah, is there anyway to do it if the FS is in use?
[02:12] <MoleMan> or do I need a live CD? :(
[02:15] <twb> Depends on the filesystem.  ext can online grow, but not online shrink
[02:16] <MoleMan> ext4. and I grew the lv. whats the command to grow the FS?
[02:16] <twb> resize2fs
[02:17] <MoleMan> do I need to specify size or is there an option to fill the space?
[02:18] <MoleMan> hmm, running with no options seems to be just filling the space automatically. Thanks :)
[02:25] <MoleMan> is there a command that displays the same data as is shown when you first connect to SSH? (probably same as normal login)
[02:26] <twb> It defaults to the new size of the LV
[02:26] <twb> MoleMan: try cat /etc/motd
[02:27] <MoleMan> thanks
[02:28] <MoleMan> is it the bash config you use to create aliases for commands?
[02:28] <twb> I don't understand the question
[02:31] <MoleMan> nevermind, it was. In the bash.bashrc you can 'create' commands with such as "alias motd='cat /etc/motd'"
[02:32] <MoleMan> so typing motd would run the command. New issue though, the motd is apparenty generated on connection, and just using cat to output it doesn't regenerate it... so it shows the same as when you connected
[02:35] <twb> MoleMan: yes, this is an ubuntu "feature"
[02:36] <twb> motd is supposed to be static content set by the sysadmin, but ubuntu hijacked it to put random other stuff in there and regenerate it on login, causing problems for everyone
[02:36] <twb> motd = message of the day, e.g. "dear users I will be shutting the system down at 4PM for a hardware upgrade"
[02:37] <MoleMan> but in theory, mustn't it be triggering a command/script to generate the MOTD, which in theory I could run myself... or will it be too deeply hidden within the system?
[02:37] <twb> MoleMan: pam_motd.so does it
[02:38] <twb> You are better off working out how to generate the information you actually care about
[03:21] <sp4z> hi does anybody have a link for any documentation to add a line to the body of an email from clam av on a mail server saying that message has been scanned etc?
[03:31] <twb> It should already be adding X- headers
[03:31] <twb> Messing with the body is Naughty and Mean
[03:32] <sp4z> twb, dont you have to do that to add a disclaimer anyway?
[03:32] <twb> That's also naughty and mean
[03:33] <sp4z> would you prefer setting clients to add disc in signature over doing it at mail server leve?
[03:34] <twb> I don't see why a disclaimer is needed at all.
[03:34] <qman___> if it's private enough to need a disclaimer, it's private enough that it shouldn't have been sent in the clear to begin with
[03:35] <sp4z> yeah thats true
[03:35] <twb> qman___: hear hear
[03:35] <twb> Where "in the clear" means unencrypted, cf. S/MIME or GPG
[05:02] <Canadian1296> What is the best package to set up a ftp server?
[05:17] <twb> Canadian1296: http://mywiki.wooledge.org/FtpMustDie
[05:18] <twb> Canadian1296: for anonymous downloads, you should use HTTP; for authenticated uploads, you should use SFTP (which is built into SSH).
[05:18] <twb> Canadian1296: note that you can grant SFTP access without granting general SSH shell access.
[05:18] <Canadian1296> twb: I want authenticated uploads and dowloads, so SFTP. How do I set that up?
[05:19] <twb> Canadian1296: do you know how to do a normal SSH shell setup?  (Which basically just means install openssh-server)
[05:19] <funkysmell> hello
[05:20] <Canadian1296> twb: Yes, I ssh into the server all the time. I want to be able to open a ftp/sftp client, connect to my server, authenticate, and have a list of files.
[05:21] <funkysmell> I have installed UBUNUT server on a virtual machine, but am only able to access it via ssh at the moment. I would like to activate remote desktop so I can download some packages that arent available via apt-get.
[05:22] <twb> Canadian1296: OK, all you do is configure something like this in sshd_config: http://paste.debian.net/157148/
[05:22] <twb> Canadian1296: note that Match stanzas MUST go at the END of the file, also internal-sftp is not available in 8.04 LTS.
[05:23] <twb> Canadian1296: you don't need all those options, e.g. you might want to still allow password-based logins.
[05:23] <twb> Canadian1296: anyway, then all you do to allow someone to log in is to create a normal unix account and add them to the sftponly group.
[05:24] <Canadian1296> twb: So add those lines to sshd_config, then add the users I want to login with to the group sftponly?
[05:24] <twb> Yep, it's pretty easy now that internal-sftp exists
[05:25] <twb> It means you can chroot them into somewhere (like $HOME in that example) without worrying about including binaries in it.
[05:25] <twb> If this was, for example, to allow users to upload web stuff, you might instead have ChrootDirectory /var/www/<customer name>, or set the customer's $HOME to /var/www/<customer name>
[05:26] <Canadian1296> twb: Is there a guide for this? I caught most of what you said, I just need a little clarification.
[05:26] <twb> I dunno, I just read the manpages and worked it out myself
[05:27] <twb> Feel free to quote me if you want to update a wiki page somewhere
[05:28] <Canadian1296> It's okay, I think I got it. Hang on a sec
[05:30] <Canadian1296> Okay I just blanked out. How do I add a user to a group?
[05:39] <twb> sudo adduser fred sftponly
[05:41] <Canadian1296> twb: I got it, thanks. ("usermod -aG sftponly user")
[05:43] <twb> Recommend use high-level adduser/deluser rather than low-level useradd/del/mod.
[05:44] <Canadian1296> Okay i will next time :)
[06:25] <nicole> Hi there
[06:26] <nicole> Web master here
[06:26] <nicole> Any easy to use tools to configure a LAMP server with ?
[06:26] <Guest21124> Any easy to use tools to configure a LAMP server with ?
[06:26] <Guest21124> I do everything from the CLI
[06:26] <Guest21124> Webmin is too broad also
[06:26] <Guest21124> just wondering what other web admins use here
[06:29] <Guest21124> Anyone actually alive
[06:29] <Guest21124> What kidns of things do you guys use Ubuntu Server for?
[06:29] <Guest21124> I'm deploying 10.04 tommorow
[06:29] <Guest21124> to a few clients sites
[06:29] <Guest21124> replaced Windows Server 2003
[06:29] <Guest21124> :)
[06:30] <Guest21124> #ubuntu
[06:30] <Guest21124> hey EMKO
[06:31] <Guest21124> Ar eyou a server user?
[06:32] <Guest21124> Hello
[06:32] <Guest21124> Why does nobody post here
[06:32] <Guest21124> HELLOOO!!!
[06:33] <onre> what?
[06:33] <Guest21124> Hello
[06:33] <Guest21124> I'm just a LAMP server admin, doing some migratios tmrw
[06:33] <Guest21124> was wondering if you knew of any tools
[06:34] <Guest21124> to administer them remotly, other then WEbmin
[06:34] <onre> i configure things by hand, not using any web panels or stuff like that
[06:34] <onre> in my experience they cause more problems than they solve
[06:34] <Guest21124> What about eBox
[06:34] <onre> never tried it
[06:35] <Guest21124> Cool - thanks for the info
[06:35] <Guest21124> do you run Ubuntu Server in a production environment?
[06:35] <onre> it wouldn't fit my purposes very well, anyway. i run web and database servers. work stuff runs in amazon ec2, hobby stuff runs on real hardware
[06:35] <onre> yes
[06:35] <onre> servers @work handle ~4000 websites, hobby project is a single website getting ~4M page loads per month
[06:36] <Guest21124> very cool
[06:36] <Guest21124> im just starting out
[06:36] <Guest21124> do you do any windows server stuff?
[06:37] <Guest21124> i support a mixed environment, less then 100 clients
[06:37] <onre> not really. last version of windows servers that i knew well was NT 4.0 :)
[06:37] <Guest21124> interesting - so all of your servers are running ubuntu server? why didn't you go with debian or centos?
[06:38] <onre> we actually migrated away from centos @work because personally i find it inferior to ubuntu :p debian, well... dunno about the situation now, but a few years ago debian was almost legendary in providing very old software versions in "stable" releases
[06:39] <taipres> I run ubuntu on my vps only because it fights with me less when installing stuff
[06:39] <taipres> redhat underlings(centos, fedora, etc...) aren't as kind
[06:39] <onre> it also provides you with some sort of sensible default configurations for most stuff
[06:40] <Guest21124> do you prefer 10.04
[06:40] <onre> whereas in my experience centos doesn't
[06:40] <Guest21124> or 11.10
[06:40] <Guest21124> centos is the only OS i can use for my cpanel clients
[06:40] <taipres> not much experience with centos, just know lot see to use it for a server
[06:40] <onre> i run 10.04 LTS, going to upgrade to 12.04 when it's released (26th of April iirc)
[06:40] <taipres> Guest why is that
[06:40] <Guest21124> cpanl requirements
[06:40] <taipres> lol
[06:40] <taipres> and they're #1?
[06:40] <Guest21124> oddly enough
[06:40] <taipres> what a joke
[06:40] <Guest21124> im vendor agnostic
[06:41] <Guest21124> personally
[06:41] <taipres> thought cpanel was written in php?
[06:41] <Guest21124> no
[06:41] <Guest21124> cgi
[06:41] <Guest21124> all cgi
[06:41] <taipres> oh
[06:41] <onre> cgi is just an interface, not a language
[06:41] <taipres> yeah, so what's the language C?
[06:41] <taipres> I know directadmin is C++ I believe
[06:41] <Guest21124> hm. not sure
[06:42] <Guest21124> then
[06:42] <onre> i've helped a friend with directadmin and found it to be rather miserable
[06:42] <taipres> this sites says "cPanel is primarily written in Perl."
[06:43] <taipres> onre what didn't like about directadmin?
[06:43] <taipres> I haven't used much myself
[06:44] <onre> well, i generally dislike this sort of "do-it-all" admin panel solutions, and this one was especially bad because it installed basically its own version of _everything_ (apache, php etc) under /usr/local
[06:44] <Guest21124> onre
[06:44] <Guest21124> thats how these work
[06:44] <Guest21124> directadmin has a admin panel
[06:44] <Guest21124> that runs in root
[06:45] <Guest21124> but
[06:45] <Guest21124> what about webmin
[06:45] <onre> well i'm absolutely certain that you could integrate an application like this way better with distribution's own packaging system
[06:45] <Guest21124> ever used it?
[06:45] <Guest21124> it's free
[06:45] <Guest21124> open-source
[06:45] <Guest21124> more then just a web control panel
[06:46] <onre> i still prefer configuring things by hand instead of relying on what the web admin tool's author has thought of as being a good way of configuring something
[06:46] <Guest21124> i must submit, you manage more then i do
[06:46] <Guest21124> perhaps im missing something, i always find the bash interface to be the most uncomofrtable option
[06:47] <Guest21124> even when administering windows i love being able to RDP in
[06:47] <Guest21124> im not ready to harness powershell
[06:47] <Guest21124> some servers i install lwm and SSH in
[06:47] <Guest21124> lwm, xrdp, and then i RDP over SSH
[06:48] <Guest21124> theres lots of ways
[07:31] <linocisco> how to post image?
[07:32] <linocisco> imagebin is banned in my office
[07:34] <koolhead17> linocisco: imgur.com :P
[07:35] <linocisco> koolhead17, also banned
[07:35] <linocisco> koolhead17, websense is banning
[07:35] <koolhead17> need a very basic help with mysql. i have modified the my.cnf file with bind-address = 0.0.0.0
[07:36] <koolhead17> still am not able to connect DB remotely. what am i missing now :(
[07:36] <koolhead17> i remember was the only thing needed to be done!! :P
[07:38] <koolhead17> gosh!1 got it. service mysql restart, upstart
[08:03] <Guest21124> time to create your own proxy
[08:03] <Guest21124> that websense doesn't know of
[08:26] <Daviey> yeehaa, good morning everyone.
[08:38] <linocisco> hi all
[08:38] <linocisco> I want to setup ubuntu based router
[08:41] <uvirtbot`> New bug: #938485 in minicom (universe) "No keystrokes are sent - no outgoing serial" [Undecided,New] https://launchpad.net/bugs/938485
[08:52] <linocisco> hi
[08:53] <linocisco> I want to setup ubuntu based router
[08:53] <linocisco> how to?
[08:55] <_ruben> depends on your needs/wishes/skills/etc
[09:21] <linocisco> _ruben, if i show required diagram, is it ok?
[09:22] <linocisco> how to set up ubuntu based router?
[09:27] <_ruben> a diagram likely won't show enough info, stuff like firewalling/NAT/dhcp/proxy/etc. you'll need to determine which parts you'll need and just install those. there's probably a ton of howtos and other docs to be found on the internet
[09:28] <lynxman> morning o/
[09:29] <linocisco> hi
[09:30] <linocisco> _ruben, just a router setup is fine
[09:31] <_ruben> linocisco: "just a router" .. ok .. edit /etc/sysctl.conf and uncomment the line with 'net.ipv4.ip_forward=1' .. sudo sysctl -p .. done
[09:32] <linocisco> _ruben, actually I wanted to show or upload a diagram of my setup but office network firewall ban all uploading sites
[09:33] <_ruben> guess you should leave this stuff to the network admin(s) then
[09:41] <linocisco> _ruben, I am All In One IT here
[09:41] <_ruben> the remove the web surfing restrictions so you can do your job
[09:42] <_ruben> s/the/then/
[09:43] <linocisco> _ruben, I am checking https://help.ubuntu.com/community/Router. but it is not the way I want
[09:45] <linocisco> _ruben, my setup is  (10.x.x.x)-- cable--(172.x.x.x)- VSAT-(172.x.x.x)--->(192.168.x.x).
[09:46] <linocisco> _ruben, I just want to ping 192.168.x.xnetwork  from my current 10.x.x.x network
[09:50] <xranby> linocisco: are you in controll of the cable and VSAT box ?
[09:52] <_ruben> linocisco: you mean you have 2 locations, with the internet in between, and you want to connect those two?
[09:52] <linocisco> xranby, sure . I am in end user indoor device control of two 172.x.x.x network. but they can ping each other due to backbone infrasture of ISP. THat is what I dont know
[09:53] <linocisco> _ruben, yes. two locations has their own internet connection. as their internet speed from their ISP is slow. I want to share big internet from my 10.x.x.x to that site
[09:54] <_ruben> linocisco: but there is no direct connection between those locations? if so, whatever routing tricks (including vpns) you will be doing, the speed won't improve at all for the slower location
[09:55] <xranby> linocisco: can you list the routing tables at the cable and VSAT router
[09:55] <xranby> ?
[09:55] <jacobw> hi, i want to package a (libpam|libnss)-ldap and pam configuration
[09:56] <jacobw> the files i want to replace aren't owned by any packages, /etc/ldap.conf and /etc/pam.d/common-*
[09:56] <linocisco> _ruben, the thing for the time being is no connection has been established between (10.x.x. and 172.x.x.x ) which is at my end
[09:56] <linocisco> _ruben, I dont know if I have to NAT OR Route between 10.x.x.x and 172.x.x.x network.
[09:57] <fuhewkf> I have an issue with amavis-new-postfix
[09:57] <jacobw> i can simply replace these files without notifying dpkg they already exist, but pam depends on them and thus removal of my package will break pam
[09:57] <linocisco> xranby, sorry I have no routing table as 10.x.x.x and 172.x.x.x are not linked yet. I am seeking how to connect
[09:57] <fuhewkf> I get an error when the setup scripts run: 'postconf: warning: spf-policyd_time_limit: unknown parameter'
[09:57] <fuhewkf> in main.cf spf-policyd_time_limit is set to 3600s
[10:01] <_ruben> linocisco: what is this 172.x.x.x network?
[10:02] <linocisco> _ruben, I have two ISPs . one is 10.87.x.x (with better internet) and (172.x.x.x) which is (slow internet)
[10:03] <greppy> linocisco: unless you are going to have a network connection that bypasses the internet connection for the 172.x.x.x site, you aren't going to improve anything by tunneling/vpn/proxy over the slow connection to a faster one.
[10:03] <_ruben> you're getting private ip addresses from your isps? or that just the inside of your isps' provided routers
[10:03] <linocisco> _ruben, my idea is to share our better internet bandwidth from 10.87.x.x network through (172.x.x.x) network to remote 192.168.x.x clients
[10:04] <_ruben> and 172.x.x.x (172.0.0.0/8) isn't just some network, it consists of tons of networks
[10:04] <_ruben> linocisco: you'll really needa figure out a way to show us a diagram, because your textual descriptions aren't making much sense
[10:05] <linocisco> _ruben,  from the same ISP we got two internet line one is here in Main office and the other is at remote office but both are ISP's subnetted ips. they can ping each other
[10:05] <linocisco> _ruben, with latency 1500ms minimum
[10:06] <_ruben> linocisco: if the ISP is the same for both lines, the "slowness" is between the remote office and the ISP, which is nothing you can do about without running a direct cable between the 2 offices
[10:06] <_ruben> even if you'd route traffic from slow office to the fast office, it'll use the slow office's slow link to get to the fast office's fast link
[10:07] <_ruben> and thus, you won't win anything
[10:07] <xranby> linocisco: at the "slow office"  can you ping the "fast-office" 172.x.x.x ip address?
[10:07] <xranby> i think you will need to open a port in this router
[10:08] <xranby> towards a vpn gateway inside the 10.87.x.x net work
[10:09] <xranby> you can then connect from the 192.168.x.x network using vpn to the open port at the 172.x.x.x router
[10:09] <_ruben> still likely wounldn't cause any speed improvements for the slow office
[10:09] <xranby> well if the slow isp have simple network switches for the 172.x.x.x then it wil  be fast
[10:09] <_ruben> as that office has a high latency satelite connection to the isp, so even if you'd route the traffic through the isp to the fast office, it'll still use the slow satelite connection
[10:09] <xranby> since you will not go across the internet
[10:10] <_ruben> xranby: i'm expecting the slowness to be between the office and the isp
[10:10] <xranby> _ruben: ok yes.. we cant do anything to improve the speed of the VSAT link
[10:10] <_ruben> exactly
[10:11] <xranby> but we can workaround any slowdowns at the internet facing router if the ISP that got the 172.x.x.x network
[10:11] <_ruben> and since both links are terminated at the same isp, traffic between the offices will never go out the internet anyways, even without any special tricks/hacks/whatever
[10:12] <_ruben> unless it's a really, really, *really* crappy isp
[10:12] <_ruben> or actually a really smart isp, as it takes a fair ammount of effort to route internal (from isp's pov) traffic over the internet ;)
[10:12] <xranby> linocisco: did i understand correctly that at your fast office you got 2 ISP's?
[10:14] <linocisco> xranby,  yes. one is overseas's Internet and the second internet is slow
[10:15] <_ruben> and the 2nd internet is linked to the slow office as well, and since the slow office only has a single slow connection, there's nothing you can do to improve it other than getting a faster isp at that office, or run a cable yourself
[10:16] <greppy> ( if it's overseas, I am thinking that running a cable could be really, really expensive )
[10:16] <_ruben> i'm not saying it'd be a cheap solution, or possible at all, just stating the theoretical options :)
[10:17] <xranby> linocisco: do your setup look like this:  internet <-> ISP 10.x.x.x <-> office router A <-> office network <-> office router B <-> ISP 2 172.x.x.x (with crappy conenction to internet) <-> closet router A <-> VSAT link equipment <-> remote 192.168.x.x network that want to avoid using the ISP 2 internet gateway
[10:17] <_ruben> linocisco: is the latency from 192.168.1.0/24 to 172.16.1.0/24 any better than from 192.168.1.0/24 to a random site on the internet?
[10:18] <_ruben> xranby: both offices have a crappy vsat link, and main office also has a better sat link
[10:18] <linocisco> _ruben,  latency between two 172.x.x.x network is 1500 ms minimum.but without request timeout
[10:18] <xranby> hmm ok
[10:18] <_ruben> linocisco: there's no way to get rid of those delays, and 1500ms minimum won't give any decent speeds
[10:19] <linocisco> _ruben, but email or internet is not SIP based. so TCP/IP will be ok. won't ??
[10:19] <_ruben> in order for the remote office to get better speeds, it'll need a better link, either to the main office or the internet
[10:20] <_ruben> linocisco: tcp/ip wont like it very much either
[10:20] <linocisco> _ruben, actually two Local ISP VSAT links between two offices will act as VPN. like WAN
[10:20] <_ruben> and since you'll likely be requiring a vpn for this setup, it'll only get worse as the vpn introduces overhead
[10:21] <linocisco> _ruben,  here two local VSAT links is acting like (VPN+slow interent)
[10:22] <linocisco> _ruben, so no way??
[10:22] <_ruben> linocisco: highly doubt it, as the vast links themselves are likely to be a bigpart of the bottlenecks
[10:22] <_ruben> s/vast/vsat/
[10:23] <linocisco> _ruben, ok i see
[10:23] <linocisco> _ruben,  another question is if we buy ADSL or another internet line for remote office, how can we load balance automatically if one line is down?
[10:24] <greppy> linocisco: you want failover, not load balance.
[10:24] <linocisco> _ruben, I would also much appreciate that load balancing would also accomodate for combined internet spped
[10:24] <_ruben> linocisco: most dual-wan routers have that option built-in, for a linux solution: http://lartc.org/howto/lartc.rpdb.multiple-links.html
[10:25] <linocisco> greppy, yes. failover and fail back or fail safe
[10:25] <greppy> load balancing across links to different ISPs is just asking for strange things to happen, that your users probably will not appreciate.
[10:25] <_ruben> link balancing over 2 internet links is pretty tricky
[10:25] <_ruben> unless you'll be having your own PI/PA address space and do stuff with BGP
[10:27] <linocisco> _ruben,  so what do I do ? our ISPs here will provide only subnetted private ips
[10:27] <_ruben> linocisco: failover will likely be the best you can achieve
[10:27] <linocisco> _ruben, ok fail over fail back fail safe solution alone is ok?
[10:28] <_ruben> a common solution for the failover part tends to be selfmade scripts: ping primary default gateway every X seconds, if no response: change default gateway to secondary
[10:29] <_ruben> again, tons of stuff can be found on the internet on this subject
[10:31] <linocisco> _ruben, I am thinking of ubuntu based solution first. If not possible, I need to buy hardware device
[10:33] <linocisco> _ruben, doesn't http://lartc.org/howto/lartc.rpdb.multiple-links.html solve??
[10:40] <_ruben> linocisco: automatic failover when one link fails will require kernel patches in order for it to work properly
[10:40] <_ruben> the so-called dead gateway detection patches
[10:50] <___MAX> hi i am trying to backup all my installed package with this command " directory dpkg-repack"  and i give the following command in the terminal sudo fakeroot -u dpkg-repack ' dpkg --get-selections | grep install | cut f1' error came up apkg-repack:package dpkg --get-selections .... . not installed
[10:52] <___MAX> ikonia:
[10:52] <___MAX> any body !
[10:53] <ikonia> ___MAX: what ?
[10:53] <___MAX> help :)
[10:53] <___MAX> >	hi i am trying to backup all my installed package with this command " directory dpkg-repack" and i give the following command in the terminal sudo fakeroot -u dpkg-repack ' dpkg --get-selections | grep install | cut f1' error came up apkg-repack:package dpkg --get-selections .... . not installed
[10:53] <ikonia> what ?
[10:54] <ikonia> ___MAX: ok, I've never used that command, but work it through
[10:54] <samba35> how do i open .php page
[10:54] <ikonia> ___MAX: does dpkg --get-selections work ?
[10:54] <ikonia> samba35: open it with what ?
[10:54] <samba35> browser
[10:55] <___MAX> alone yes
[10:55] <ikonia> samba35: you need a web server running a php module
[10:55] <samba35> i want o install wordpress and just want to test test.php it prompt me to open with
[10:55] <samba35> yes its running
[10:55] <ikonia> ___MAX: ok, so dpkg --get-selections | grep install, does that work
[10:55] <___MAX> ikonia:but  i think it's not recognize the direcotry dpkg-repack
[10:55] <___MAX> ok.sec
[10:56] <___MAX> no
[10:56] <samba35> let me check again
[10:56] <ikonia> samba35: then visit the url in your browser
[10:56] <samba35> yes
[10:57] <ikonia> samba35: so what's the problem ?
[10:57] <___MAX> ikonia: dpkg --get-selections | grep install not  work
[10:57] <ikonia> ___MAX: there you go then
[10:58] <samba35> when i open url it give me message open php file with
[10:58] <samba35> it did not find correct mime
[10:58] <ikonia> samba35: then your webserver does not have the php5 module installed and enabled
[10:58] <___MAX> ikonia: so wat id  no need for the cut and grep
[10:58] <ikonia> samba35: if you visit https://help.ubuntu.com and look in the server section it explains how to install apache with php5
[10:58] <ikonia> ___MAX: what ?
[10:58] <samba35> ok
[10:58] <samba35> thanks
[10:59] <___MAX> ikonia: in the command no need for grep and cut
[10:59] <ikonia> I don't know, I can't quite see what you are doing, or your thought process so I don't know
[11:01] <___MAX> ikonia: ok the coomand again:fakeroot -u dpkg-repack ' dpkg --get-selections | grep install | cut f1'
[11:02] <___MAX> ikonia: dpkg-repack is folder i create in my home directory
[11:03] <ikonia> ___MAX: I say the command but I don't understand what you are doing with that process,
[11:04] <ikonia> ___MAX: you know the "| grep install" is failing, so I don't know what you want me to "fix"
[11:04] <___MAX> ikonia : ok,thx
[11:14] <samba35> ikonia, how do i repair apt repository ?
[11:16] <samba35> i am getting some error with E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing ? even after trying this two option i am getting error
[11:18] <ikonia> samba35: what's wrong with it ?
[11:18] <ikonia> samba35: please pastebin the output of "sudo apt-get update"
[11:20] <samba35> http://pastebin.com/q6L72D14
[11:22] <_ruben> you're using ppa's that longer exist it seems
[11:23] <samba35> how to fix it i even try to uncomment that
[11:23] <samba35> is it becase of proxy ?
[11:24] <xranby> samba35:  look inside /etc/apt/sources.list.d
[11:24] <xranby> and remove the file for this repository
[11:24] <samba35> ok
[11:39] <samba35> ikonia, xranby _ruben thanks
[11:40] <ikonia> samba35: please be aware that if you are using PPA's your system maybe in an unstable state, depending on what those PPA's install
[11:40] <xranby> samba35: no problem
[11:41] <samba35> ic
[11:42] <_ruben> might wanna find the proper new url for those ppa, unless they got continued. if they got continued because said versions are now in the main repos, you should be fine to just disable 'em
[11:43] <samba35> deleted some of them
[12:22] <linocisco> hi
[12:42] <uvirtbot`> New bug: #938612 in squid3 (main) "Squid3 3.1.11-1ubuntu0.1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/938612
[12:50] <koolhead17> need some help with sed, anyone :)
[12:51] <_ruben> koolhead17: how about some more specific question(s)?
[12:51] <koolhead17> _ruben: let me pastebin
[12:51] <_ruben> also, the best place would likely be ##sed :)
[12:52] <koolhead17> _ruben: its trivial, i donvito t understand what am doing wrong here :(
[12:52] <koolhead17> http://paste.ubuntu.com/852613/
[12:53] <koolhead17> sed: -e expression #1, char 12: unknown option to `s'
[12:53] <_ruben> you're not escaping the slashes
[12:54] <koolhead17> escaping?
[12:54] <_ruben> replace each / with \/, except for the 3 s/foo/bar/ slashes
[12:55] <koolhead17> ooh ok
[12:55] <rbasak> or just use another character instead of /
[12:55] <_ruben> or that
[12:55] <rbasak> sed -i's_sqlite:////var/lib/glance/glance.sqlite_mysql://user:secret@10.10.2.10/db_g' /etc/glance/glance-registry.conf
[12:58] <koolhead17> rbasak: sed: -e expression #1, char 7: extra characters after command   am getting after executing the above :
[12:58] <koolhead17> (
[12:59] <rbasak> Put a space after the -i
[13:00] <_ruben> and i tend to explicitly mention the -e, so sed -i -e's.....'
[13:00] <koolhead17> rbasak:  _ruben thanks, it worked
[13:13]  * koolhead17 is happy
[13:14] <g0tcha> hey guys, is there a way to get a notification of some sort everytime a specific user logs into the system?
[13:17] <uvirtbot`> New bug: #938215 in euca2ools (main) "euca-describe-instances graceless with unexpected args" [Undecided,New] https://launchpad.net/bugs/938215
[13:18] <soren> zul: I'm confused by this commit: http://bazaar.launchpad.net/~ubuntu-server-dev/nova/essex/revision/315
[13:18] <soren> zul: Who authored those changes?
[13:39] <zul> soren: heckj
[13:41] <zul> brb
[13:42] <soren> but..
[13:44] <soren> zul: Ok, so heckj made the patch. Attached to a bug somewhere?
[13:44] <soren> zul: Or how did you get it?
[13:44] <zul> soren: i got the patch directly from heckj there was no changelog entry to it
[13:44] <soren> zul: Ok.
[13:44] <autoditac> heyho. any md-raid and ext3 experts in here?
[13:44] <soren> No worries.
[13:45] <zul> soren: so i muddled through :9
[13:59] <autoditac> i am struggling to recover an ext3 filesystem on an md raid5 device where subsequently 2 out of three drives failed - not physically: they've lost the connection to the sata controller, presumably due to an error of the controllers driver. the md metadata superblocks got corrupted during the process so i recreated the array with the last known to work drive-layout using --asume-clean . mount didn't find any filesystem superblock so
[13:59] <autoditac>  i took an image backup of two of the drives, reassembled again with one missing drive, initiated an "fcks.ext3 -y /dev/md0" and crossed fingers. fsck is running for 4 hours now (1TB Array), is in its 3d iteration and finds an unbelievable amount of multiply claimed blocks . any hint for a tool to debig that problem?
[14:00] <autoditac> s/debig/debug
[14:19] <uvirtbot`> New bug: #938699 in nova (main) "nova-compute runaway memory allocation" [Undecided,New] https://launchpad.net/bugs/938699
[14:21] <uvirtbot`> New bug: #938702 in nova (main) ""nova-manage fixed list" no longer works" [Undecided,New] https://launchpad.net/bugs/938702
[14:41] <dholbach> ^ can anyone help my friend autoditac? any suggestions?
[14:41] <uvirtbot`> dholbach: Error: "can" is not a valid command.
[14:44] <ikonia> autoditac: that sounds interesting
[14:45] <ikonia> autoditac: can I query why you don't want to let it run go an end state and then work forward from there ? eg: the multiply claimed blocks shouldn't be a problem at the end of it ?
[14:55] <linocisco> hi
[14:56] <linocisco> hi
[14:58] <linocisco> co
[15:04] <linocisco> _ruben,
[15:12] <autoditac> ikonia, thanks for the hint - but two files sharing blocks doesn't sound like data integrity to me ....
[15:12] <autoditac> fsck is still running, of course
[15:13] <ikonia> autoditac: sharing the same block sounds like integrity (at least at some level) to me in that how it's recovering
[15:15] <ikonia> autoditac: I think you're going to have to accept some sort of data loss though, if you've lost 2 out of 3 in a raid5 stripe, bits will be missing
[15:16] <PedroGomes> Hi, I'm trying to build an partition perseed recipe but I can't figure out some of the options and I can't find any info about them either
[15:17] <PedroGomes> on the partition you see things like: 40 50 100 ext3
[15:17] <ikonia> autoditac: have you got any backups of the file systems with the 3 drives working ?
[15:17] <PedroGomes> what are the 3 numbers?
[15:19] <linocisco> how to setup failover server for two ISPs
[15:19] <linocisco> ??
[15:22] <autoditac> ikonia, it's not my system and the customers, of course, has no backups. http://www.redhat.com/archives/ext3-users/2009-February/msg00028.html suggest that when 5 files claim one block, four of them have to be deleted :-(
[15:29] <ikonia> autoditac: but isn't part of the reason you've got that because you've lost a disk and you're running the file system on a small block distribution, shouldn't fsck clean this and rebuild it correctly from the inode pointers (isn't this pretty much why it's so slow)
[15:30] <wonderman> can someone tell me how to do graceful restart of apache on ubuntu?
[15:30] <ikonia> wonderman: service apache2 stop
[15:30] <wonderman> apache2ctl graceful    this doesnt work
[15:30] <ikonia> wonderman: service apache2 start
[15:30] <wonderman> stop the server? no lol
[15:31] <wonderman> i want to do graceful restart for purposes of log rotation
[15:31] <wonderman> http://httpd.apache.org/docs/2.2/logs.html
[15:32] <wonderman> is this correct ?     >    sudo apache2ctl graceful
[15:32] <ikonia> wonderman: in what way is graceful not working ?
[15:32] <wonderman> i didnt run with sudo, it seems
[15:32] <ikonia> ahhh
[15:33] <wonderman> i guess if i add to my users cron, i can use sudo ?
[15:33] <wonderman> or, if i add to 'logrotate'
[15:33] <ikonia> sure, you'll need to change the sudoers file to not prompt for a password
[15:33] <wonderman> o?
[15:33] <wonderman> that would be handy anyway, where is that option lol
[15:33] <ikonia> visudo will allow you to edit the sudoers file
[15:34] <wonderman> yes i know, but ive never seen that option
[15:34] <wonderman> what do i need to add for that option ?
[15:34] <ikonia> it's the NOPASSWD option, there is a page on the ubuntu wiki that explains it quite well
[15:35] <wonderman> not commented in sudoers by default then ?
[15:35] <ikonia> no
[15:36] <ikonia> the sudoers file is just a config file, it doesn't have options detailed in it
[15:36] <ikonia> wonderman: copy the admin group rule as a based, change the group to say "nopasswd" create a nopasswd group, add you user to it
[15:36] <ikonia> wonderman: change the ALL option for the sudo /usr/bin/apache2ctl graceful"
[15:36] <koolhead17> during nova-volume installation on Oneiric i got this warning http://paste.ubuntu.com/852808/  is it okey?
[15:37]  * koolhead17 rushes 4 home
[15:37] <ikonia> wonderman: then set the NOPASSWD:ALL option for that user
[15:37] <wonderman> maybe ill just do it as root lol
[15:37] <ikonia> wonderman: the wiki page explains it cleaner
[15:38] <uvirtbot`> New bug: #938752 in lxc (universe) "Lucid containers don't have sudo set up" [Undecided,New] https://launchpad.net/bugs/938752
[15:44] <linocisco> how to setup failover server for two ISPs ??
[15:45] <_ruben> 11:25 < _ruben> a common solution for the failover part tends to be selfmade scripts: ping primary default gateway every X seconds, if no response: change default gateway to secondary
[15:45] <ikonia> linocisco: sorry, that doesn't make sense
[15:48] <linocisco> ikonia, why not?
[15:49] <linocisco> ikonia, the server should be as proxy server for all clients PCs and it is connected to two ISP lines
[15:51] <uvirtbot`> New bug: #938763 in nova (main) "nova compute manager traceback during _sync_power_states" [Undecided,New] https://launchpad.net/bugs/938763
[15:54] <ikonia> linocisco: well for starters your server will have to routes out to the internet, how is it going to decided which is should use, you'd have to script or use something such as ivpsadm to add/remove the route you want to use
[15:55] <linocisco> ikonia, the proxy server should have two NICs connecting to 2 ISPs. Server should know if one line is down and fail over to another working line
[15:55] <MatBoy> mhh my iscsitarget is crashing when vmware is making a iscsi volume on it
[15:55] <linocisco> ikonia, I just want to accomplish this
[15:56] <ikonia> linocisco: you won't be able to have 2 default gateways
[15:56] <MatBoy> why is scst removed from ubuntu ?
[15:57] <linocisco> ikonia, I see. I mean two DGW on proxy server alone. all clients PC will point to proxy server in browser
[15:58] <ikonia> linocisco: yes, but your server will still need a default gateway to get out to the internet, you can't have two of those
[15:59] <linocisco> ikonia, so what about three servers? one ISP line with one server. the third server will connect to those two servers and check
[15:59] <ikonia> linocisco: I'm sorry that makes no sense
[15:59] <ikonia> linocisco: think of it as a physical hardware issue
[16:00] <ikonia> linocisco: 1 physical device cannot have 2 default gateways
[16:00] <ikonia> linocisco: the default gateway in your example has to be a DSL line to get you out to the internet
[16:00] <linocisco> so why are dual WAN routers appears in the market?
[16:00] <ikonia> linocisco: you cannot have multiple default gateways
[16:00] <ikonia> linocisco: because they are wan routers with logical seperation inside
[16:01] <linocisco> ikonia, can't we do that using ubuntu server?
[16:01] <ikonia> linocisco: not how you suggest, no
[16:01] <ikonia> you'd have to look at what _ruben said
[16:03] <linocisco> _ruben, thanks
[16:04] <MatBoy> aha... some odd setting my my iscsi target
[16:13] <uvirtbot`> New bug: #938765 in lxc (universe) "Container will no longer start under 12.04" [Undecided,New] https://launchpad.net/bugs/938765
[16:13] <_ruben> MatBoy: was scst ever part of ubuntu??
[16:18] <Daviey> rbasak: Hey, do you know what would cause http://people.canonical.com/~ubuntu-archive/testing/precise_probs.html ?
[16:19] <Daviey> rbasak: specifically linux-meta-armadaxp , but bonus points for the rest.
[16:19] <rbasak> Daviey: yes - libreoffice on armhf is still a work in progress. The ARM team are on it, but it's complicated
[16:19] <Daviey> rbasak: do we have an ETA?
[16:19] <rbasak> Not that I know of. They're aiming for this cycle :)
[16:19] <rbasak> armadaxp I don't know
[16:20] <rbasak> I do know it's an area of active work, but don't know more detailed status than that
[16:20] <rbasak> cooloney or mahmoh may know
[16:21] <rbasak> (neither are here)
[16:21] <rbasak> mahmoh is in #ubuntu-arm
[16:21] <jhobbs> rbasak: fyi, i posted a comment here on the u-boot pxe tftp path issue here https://bugs.launchpad.net/ubuntu/+source/u-boot-linaro/+bug/927781
[16:21] <uvirtbot`> Launchpad bug 927781 in u-boot-linaro "PXELINUX implementation doesn't respect dhcp ConfigFile or PathPrefix values" [Undecided,In progress]
[16:21] <Daviey> rbasak: thanks!
[16:22] <rbasak> jhobbs: thanks, I'll try that!
[16:23] <rbasak> jhobbs: it's a horrible hack though overloading the meaning of filename like that. I'd never have guessed at trying it. Is it documented anywhere?
[16:23] <jhobbs> pxelinux behaves the same way actually
[16:23] <jhobbs> except it actually uses the file that's downloaded
[16:24] <jhobbs> it's mentioned in the README.pxe file in u-boot though it could perhaps be clearer
[16:24] <Daviey> jhobbs: comprehensive writeup, thanks!
[16:24] <rbasak> Hmm. I never see the u-boot source tree though. I just download MLO and u-boot.bin from the netinst directory, for example.
[16:25] <jhobbs> :) feel free to use the bug writeup in a wiki or wherever you'll see it
[16:25] <rbasak> Hmm
[16:26] <rbasak> I can't think of a good place for it to be :)
[16:28] <wonderman> ikonia: , this is the default logrotate conf for apache2 in ubuntu, is this the best way to restart apache? i should just leave this and copy it to my new config for a different virtualhost?
[16:28] <wonderman> if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then                        /etc/init.d/apache2 reload > /dev/null
[16:28] <wonderman> i was just going to do the last part, what does the first bit actually do?
[16:31] <ikonia> wonderman: seems fine
[16:34] <MatBoy> damn I gate iscsitarget on ubuntu these days
[16:35] <hallyn> stgraber: maybe i'td be worthwhile to introduce CACHEDIR= and CONTAINERDIR= variables in /etc/default/lxc...  probably not FFE-worthy though
[16:36] <hallyn> (bc while it's easy enough to symlink/bindmount, I suspect it'll be just enough work to be done wrong by a few people)
[17:09] <stgraber> hallyn: ok, so sudoers always had "sudo" as a sudoers group since at least lucid, though that group didn't exist on Ubuntu
[17:09] <stgraber> hallyn: the installer used to add the entry for the admin group from lucid to maverick, then in natty it was moved to the default sudoers file
[17:10] <stgraber> hallyn: I guess the easiest will be to always create the sudo group and add the ubuntu user to it and for < Precise, also add the user to the admin group (to avoid issues with some tools expecting this)
[17:10] <stgraber> hallyn: I'll update my patch and upload a new LXC unless you have something else to bundle with it
[17:10] <hallyn> stgraber: since you ask :)  http://people.canonical.com/~serge/lxc-running.debdiff
[17:11] <stgraber> hallyn: is the "XXX " standard in lxc's code (looks kind of weird in the diff)
[17:12] <hallyn> stgraber: not really, but the problem is there are 3 or 4 more messages after that inoutput, so it needs to stand out
[17:12] <hallyn> I don't want to go introducing plumbing to hide later messages...
[17:12] <stgraber> hmm, indeed
[17:12] <hallyn> but i don't want "container already running" drowned out by junk about not removing the cgroup
[17:13] <hallyn> making it bold would be nice, but i'm afraid it wouldn't be 100% portable
[17:13] <hallyn> open to other ideas
[17:13] <hallyn> maybe just \n's around it?
[17:14] <stgraber> the Ubuntu template uses "\n##\n# Important message\n##\n" but I'm not sure how that'd look in lxc-start
[17:16] <hallyn> I think it'd look fine
[17:17] <hallyn> oh, actually the patch was wrong version anyway.  lemme send new version trying that output
[17:19] <roaksoax> smoser: ping
[17:25] <hallyn> stgraber: serge@ubuntu:~/packages/lxc/p$ sudo lxc-start -n lxcbuild
[17:25] <hallyn> lxc-start: failed (98) to create the command service point /var/lib/lxc/lxcbuild/command
[17:25] <hallyn> lxc-start: ##
[17:25] <hallyn> lxc-start: # The container appears to be already running! #
[17:25] <hallyn> lxc-start: ##
[17:25] <hallyn> lxc-start: failed to add command handler to mainloop
[17:25] <hallyn> lxc-start: mainloop exited with an error
[17:25] <hallyn> lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpuset//lxc/lxcbuild'
[17:25] <hallyn> gah!
[17:25] <EvilResistance> hallyn, pastebin mjuch?
[17:25] <EvilResistance> much*
[17:25] <hallyn> that was supposed to be my pastebin url
[17:25] <hallyn> damned clipboard
[17:26] <stgraber> hallyn: to be consistent with the template, I'd remove the end of line # but yeah, that should be visible enough ;)
[17:28] <hallyn> stgraber: ok, EOL # removed, debdiff is at http://people.canonical.com/~serge/lxc-running.debdiff
[17:35] <stgraber> hallyn: http://paste.ubuntu.com/852959/
[17:38] <hallyn> why removing leading space from ttydir?
[17:38] <stgraber> hallyn: so when it's not set it's "lxc.devttydir=" instead of "lxc.devttydir= "
[17:38] <stgraber> hallyn: the variable contains a leading space to make it look good when it has a value
[17:39] <hallyn> oh, ok
[17:39] <hallyn> looks good, thanks.
[17:39] <stgraber> doing a quick test of the new template and will upload afterwards
[17:40] <hallyn> i pushed that patch to github, so Forwarded could be changed to 'yes' i suppose
[17:41] <hallyn> i'd email aptches to the m-l, but that's generally less useful than pushing to github
[17:41] <hallyn> noone ever reviews there, dlezcano only rarely does, and there's no ogod way to keep track of unreviewed patches
[17:42] <stgraber> ok, will mark it forwarded
[17:42] <hallyn> thanks
[17:49] <stgraber> hallyn: uploaded
[18:23] <Plizzo> I have a server running Ubuntu Server 11.10 x64 and I'm experiencing random system freezes, can anyone help me?
[18:27] <adam_g> Daviey: jamespage are we now triggering oneiric deploy+test on pre-commits to stable openstack branches?
[18:29] <hallyn> Plizzo: does it eventually unfreeze, or does it hang until you powe roff?
[18:30] <Plizzo> hallyn: It's complete frozen until I force power it off
[18:30] <Plizzo> hallyn: It does not respond to anything, and all network protocols are shut off
[18:30] <roaksoax> Daviey: we should assume that the new cobblernlist no longer supports user/passwor dright?
[18:31] <hallyn> Plizzo: i'd go ask on #ubuntu-kernel.  i've seen the same thing back in oneiric on my laptop
[18:31] <hallyn> and, when that happened, cpu would top out (so it would overheat eventually)
[18:31] <hallyn> (cause of course it would happen invariably at 3am :)
[18:32] <yurikoles> my ISP tells me that i have 100MB/S
[18:32] <Plizzo> hallyn: I have an LCD on my chassi that I installed, and that freezes as well, but when it does, the CPU is at 0.0
[18:32] <fakhir> hello. I installed freeradius but I cant find any of the client configuration files that the documentation references such as /etc/radiusclient
[18:32] <yurikoles> can someone download file from my pc in multithreaded mode?
[18:32] <hallyn> Plizzo: well it might be worth trying to see if alt-sysrq-T etc show anything
[18:32] <Plizzo> What is that?
[18:33] <hallyn> hit alt plus the sysrq key plus '?' for a list of keybindings
[18:33] <hallyn> alt-sysrq-t will show a list of tasks
[18:33] <Plizzo> What is the sysrq key?
[18:34] <hallyn> you'll have to look for it.  usually under f12 or something
[18:35] <Plizzo> Ah, found it
[18:36] <Plizzo> hallyn: Should I run that now?
[18:36] <hallyn> no, when it is hung
[18:37] <hallyn> chances are, it'll be so hung you'll see nothing, but it's worth a try
[18:37] <hallyn> still i'd go ask on #ubuntu-kernel
[18:37] <Plizzo> Okay
[18:37] <Plizzo> Thanks!
[18:37] <Plizzo> My consoles freeze as well when it freezes, so no commands have worked earlier
[18:37] <Plizzo> But I'll give it a shot
[18:37] <hallyn> Plizzo: are you running X?
[18:38] <Plizzo> hallyn: I am running XBMC at the moment, but even when X is not running, it still freezes
[18:38] <hallyn> If so, try hitting ctrl-alt-f1 whenever you leave.  then if it crashes you'll be on console
[18:38] <hallyn> if you're not on console whe you hit alt-syrq-? you probably won't see the output
[18:38] <Plizzo> I am always on console
[18:38] <Plizzo> I am not currently running XBMC as I'm testing it
[18:38] <hallyn> ok
[18:39] <Plizzo> I have an Nvidia 520 GPU installed, and I was thinking maybe it's what's causing it
[18:39] <Plizzo> I guess I'll have to take it out and de-install the drivers to test
[18:39] <hallyn> which drivers are you running?
[18:39] <hallyn> wait,
[18:40] <hallyn> this isn't the right channel for that.  ppl will get edgy
[18:40] <jamespage> adam_g, is that creating issue? we can disable
[18:42] <adam_g> jamespage: i dont think it is
[18:50] <Plizzo> hallyn: I'm running the nvidia-current plus the vdpau drivers
[18:59] <Cryp71c> I'm helping admin a server which runs some minecraft server instances...I was curious, what's the functional differences between vnc, ssh, and something like freenx ?
[19:00] <Cryp71c> Also, I know vnc runs off port 5900 by default (that's what we're using at present), does freenx use a specific port?
[19:01] <PedroGomes> Hi, can i define pass-num in with d-i partman?
[19:15] <SpamapS> Cryp71c: VNC and freenx are pretty similar
[19:15] <SpamapS> Cryp71c: they are GUI's, and, IMO, useless on a server. :)
[19:15] <SpamapS> Cryp71c: ssh is a terminal based interface, and includes encryption/authentication. Its at a lower level than the others, and is far more useful for server administration.
[19:15] <Cryp71c> :P tbh I would love to turn off X (I have the power to do so), my fear is fucking something up then having the guy who is physically near the server have the trouble of restarting it / fixing X or whatever.
[19:16] <Cryp71c> Mostly, just looking for a snappy way to admin this server.
[19:16] <SpamapS> Cryp71c: does minecraft server require X?
[19:16] <Cryp71c> no, each instance runs in a terminal
[19:17] <SpamapS> Cryp71c: ok, so you can use 'screen' to do that without X
[19:18] <SpamapS> Cryp71c: X is more likely to break your server than help you fix it. :)
[19:18] <Cryp71c> I've heard of screen, but never used it (my home system is 100% gaming, so no linux there).
[19:18] <Cryp71c> (so I typically don't have the need to view what was up on my workstation at my home...which - I think - is one of the purposes of screen?)
[19:18] <Tm_T> no
[19:19] <Tm_T> well, in a way perhaps (:
[19:19] <Tm_T> screen holds the terminal session even when there's no terminal session attached to the screen session
[19:20] <Tm_T> this way you can leave apps running and you can attach to the screen session later and continue from where it was left
[19:20] <Tm_T> very neat on remote use, but also on local
[19:20] <SpamapS> Cryp71c: actually tmux is better than screen. :)
[19:21]  * Tm_T sees flamewar incoming
[19:21] <PedroGomes> also a supporter of Tmux
[19:21] <SpamapS> I use tmux and byobu (an enhanced tmux/screen) to start long running stuff before I go down stairs .. then I can pop them back up and check their status on my tablet. :)
[19:21] <Cryp71c> Tm_T, yeah that sounds like what I had heard others using it for (among other purposes, I'm sure)
[19:21]  * kirkland high fives SpamapS :-)
[19:22] <Cryp71c> SpamapS, I'd love to do all of this, believe me...but I'm quite afraid of - now that the server is at least running - messing things up :)
[19:22] <SpamapS> Tm_T: heh.. in this case, there's no flame war. screen is basically dead as an upstream project.. tmux is a new implementation, that is rapidly improving.
[19:22] <Cryp71c> furthermore, SSH is still blocked...waiting on server owner to open up 22.
[19:22] <SpamapS> kirkland: hey, while I have your attention..
[19:22] <Tm_T> SpamapS: I must have lost few screws during the years, I often use screen sessions inside tmux
[19:22] <kirkland> SpamapS: yo!
[19:22] <SpamapS> kirkland: if I attach to a byobu+tmux that is already attached to a smaller viewport ... how do I say "no, make it bigger" ?
[19:23] <SpamapS> Tm_T: yeah, thats.. weird. ;)
[19:23] <kirkland> SpamapS: ctrl-a :set-window-option -g aggressive-resize off
[19:23] <kirkland> SpamapS: I'm actually looking for input on what's the most sane option there
[19:23] <SpamapS> Cryp71c: being afraid of messing up the server is so 2003 .. you need to be comfortable with your automation to a point where you can rebuild a new server in 20 minutes. :)
[19:23] <kirkland> SpamapS: limit to the smallest, or override to the largest
[19:23] <kirkland> SpamapS: opinion?
[19:24] <SpamapS> kirkland: ahhh so aggressive-resize is the culprit.. I'd have thought it would do the opposite of what it is doing
[19:24] <kirkland> SpamapS: or, perhaps I should bind a hot key to toggling that
[19:24] <SpamapS> kirkland: no I like the way it works now.. just sometimes I want to flip-flop them.
[19:24] <kirkland> SpamapS: right, me too...  I think I might hotkey it
[19:25] <Cryp71c> SpamapS, not really a sysadmin :) So..not much confidence in precisely what I'm doing at any given moment.
[19:25] <smoser> roaksoax, here now.
[19:25] <kirkland> SpamapS: while I have YOUR attention ... did you catch our Sh*t IT Security guys say?  I thought you'd particularly enjoy it :-)
[19:27] <SpamapS> kirkland: Hah, yes, I died.
[19:27] <kirkland> SpamapS: :-)  awesome
[19:28] <kirkland> SpamapS: as we were filming, I though, damn, I wish Clint were here, he'd kill at this!
[19:29] <SpamapS> kirkland: "You don't have to forward me that email. I've already seen it. In fact, EVERYBODY has seen it."
[19:29] <Cryp71c> SpamapS, I would like to be more comfortable in sysadmin and whatnot...I don't suppose you have any comprehensive material I might review? Perhaps a modern book?
[19:30] <kirkland> SpamapS: :-)  thank you, thank you, that was one of the lines I wrote (but did not deliver)
[19:30] <kirkland> SpamapS: we're currently working on a parody of Spinal Tap's Big Bottom --->  Big Data
[19:31] <SpamapS> kirkland: jcastro and I have been trying to think up something to parody w/ juju..
[19:32] <SpamapS> Cryp71c: google for "devops" ... see you in a year. :)
[19:32] <Cryp71c> SpamapS, -_-
[19:32] <SpamapS> Cryp71c: no but really.. puppet.. chef.. juju ... pick one. :)
[19:32] <Cryp71c> puppet, chef, juju ?
[19:33] <kirkland> SpamapS: maybe Phil Collins?  Sussudio?  Jujudio?
[19:33] <jcastro> hey alright, party in the server channel
[19:33] <jcastro> que tal kirkland!
[19:33] <kirkland> jcastro: yo yo!
[19:34] <kirkland> okay, go to this page, and tell me that mdz doesn't look like phil collins in that picture ... http://en.wikipedia.org/wiki/Sussudio
[19:37] <zul> adam_g: ping
[19:38] <koolhead17> kirkland: heh
[19:39] <roaksoax> waaaaaaaaaaaaaaaa fire alarm
[19:46] <adam_g> zul: pong
[19:47] <zul> adam_g: i think that high load might be happening because of usb tablet in the libvirt xml template
[19:48] <zul> adam_g: are you seeing it on the ci builds now?
[19:48]  * koolhead17 wonders if roaksoax has safely evacuated!! :P
[19:51] <adam_g> zul: no, i haven't seen it other than that one time
[19:51] <adam_g> zul: whats the usb tablet? it might be libvirt related, since i saw it happening on volume attachment / detach
[19:52] <zul> https://github.com/openstack/nova/blob/master/nova/virt/libvirt/connection.py#L107
[19:53] <zul> i see it when running libvirt-lxc at least though
[19:55] <adam_g> zul: so enabling --use_usb_tablet causing it to bloat?
[19:55] <zul> adam_g: i think so
[20:24] <CharlieSu> could anyone tell me if this is an issue with my computers archtype or if the remote InRelease file is corrupt? https://gist.github.com/95feb8c9c240bc087afc
[20:33] <hallyn> stgraber: apt-get dist-upgrade of a server just gave me
[20:33] <hallyn> resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
[20:33] <hallyn> ignore?
[20:33] <hallyn> (if so, should the msg be silenced?)
[20:34] <stgraber> hallyn: the warning is for users who manually disabled resolvconf by turning /etc/resolv.conf to a file instead of the symlink
[20:34] <stgraber> hallyn: if you didn't do that manually, then something is wrong because /etc/resolv.conf should be a symlink
[20:35] <hallyn> i just started a stock precise cloud iamge
[20:35] <hallyn> updated it
[20:35] <hallyn> got that
[20:35] <stgraber> it should have shipped with a symlink until it's a pretty old image
[20:35] <stgraber> *unless
[20:35] <hallyn> feb 7
[20:35]  * stgraber looks at resolvconf changelog
[20:36] <hallyn> well, i guess normal users aren't supposed to be using precise yet, so this doesn't affect them, hence maybe isn't a problem?
[20:37] <stgraber> hmm, this was fixed on the 2nd of February in theory
[20:38] <stgraber> if it's fixed in a recent cloud image, it's not a problem indeed, otherwise something is messing with the cloud images in interesting ways
[20:40] <CharlieSu> Would anyone please help me.  this has to be a easy question..  Please help me understand if this is an issue w/ my system or if it is the remote package repo..  https://gist.github.com/95feb8c9c240bc087afc
[20:43] <hallyn> stgraber: it's the most recent cloud image in canonistack...
[20:57] <hallyn> stgraber: separate question: do you ever use macvlan nics in containers?
[20:58] <stgraber> hallyn: I tried once but it's a mess, won't work on wifi (because you're limited to a single mac) and containers can't talk to each other
[20:58] <hallyn> stgraber: with vepa mode contaienrs are supposed to be able to talk to each other,
[20:59] <hallyn> but I can't get macvlan to work on a cloud instance
[20:59] <hallyn> (let alone wireless, of course :)
[20:59] <hallyn> all right, was hoping you had some magic to maek it work :)  thanks
[21:02] <hallyn> there i go again typing reboot in the wrong window
[21:34] <guntbert> BlInK: trouble with your connection?
[21:35] <BlInK> yeah...sorry... im just gonna log off
[21:43] <adam_g> zul: we really need to find a way to avoid the dbconfig-common prompts during keystone install
[21:44] <zul> adam_g: agreed
[21:44] <hallyn> rbasak: did you ever figure out the btrfs problem with containers?
[21:45] <adam_g> zul: what if we just didnt use it? and do what we dow ith all other packages, just configure sqlite by default
[21:45] <hallyn> stgraber: rbasak: http://people.canonical.com/~serge/lxc.serverguide.tex (and .pdf) are updated.  I'm written out for a bit.
[21:46] <zul> adam_g: im leaning towards removing it, but i want to explore options a bit more
[21:46] <zul> Daviey: ^^^
[21:48] <adam_g> zul: what are the downsides /w going the sqlite-by-default route?
[21:49] <stgraber> hallyn: "/srv/lxccahe
[21:50] <zul> adam_g: it will just make using mysql a bit more harder to use but we do that anyways
[21:50] <stgraber> hallyn: also, why doing the bind mount + the symlink? shouldn't it be one or the other?
[21:51] <zul> adam_g: but i dont like the interactivity we have with keystone now
[21:53] <hallyn> stgraber: yes it is one or the other.  I was just showing both ways
[21:54] <stgraber> hallyn: right, but the first example shows using symlinks and the second shows using symlinks + bindmounts. I'd have expected the second to be only bind-mounts
[21:54] <hallyn> it was meant to be.  will fix, thx
[21:55] <hallyn> stgraber: pls give extra scrutiny to the arch section :)  (in ubuntu template subsection, and in configuration file section)
[21:55] <stgraber> hallyn: the guide is starting to look really good. Might be worth adding a table of all the lxc-* and their role (including mentioning that -attach won't work)
[21:56] <stgraber> hallyn: s/providinghierarchical
[21:56] <stgraber>  /providing hierarchical/
[21:56] <stgraber> (not sure what's wrong with me and line breaks today ...)
[21:58] <hallyn> stgraber: i'm not sure i got that in the end :)  could you rephrase?
[21:58] <Daviey> zul: dbconfig-common... hmm, i had something similar on a package previously.. managed to get rid of them, but it was a apin
[21:58] <Daviey> what is causing them to show?
[21:59] <zul> Daviey: asking users if they want to use mysql, postgresql etc
[21:59] <stgraber> hallyn: unrelated to the guide, it's just that for some reason whenever I copy/paste something I get the carriage return with it... I meant my previous senstence to be 's/providinghierarchical/providing hierarchical/' on one line :)
[22:00] <hallyn> ok but i didn't see providinghierarchical anywhere
[22:00] <Daviey> zul: drop it to debconf low, and default to sqlite?
[22:00] <Daviey> sqlite is the recommended, right?
[22:00] <stgraber> hallyn: 3.8 first line
[22:00] <zul> it is...but i havent figured out how to drop the debconf
[22:00] <hallyn> ooooh.  ok :)
[22:01] <stgraber> hallyn: might be worth mentioning that lxc.arch is the equivalent of doing 'setarch' to set the personality flag and so 'armel/armhf/...' aren't valid values on x86
[22:01] <stgraber> though I remember fixing the upstream code to not crash in such case at least ;)
[22:01] <stgraber> (that's one thing I caught during the sprint in Austin)
[22:01] <hallyn> stgraber: what's fuzzy to me is how that works with the arm emulation using qemu-user, which
[22:01] <hallyn> is why i was hoping you'd update my section :)(
[22:02] <hallyn> stgraber: on the table of lxc-* commands, you mean in addition to the descriptions i already have, right?  with ultra-brief synopsis?
[22:02] <stgraber> hallyn: well, my understanding is that anything running under qemu-user-status will have uname() being caught and handled anyway, so the value of lxc.arch is only going to affect the native arch binaries running in that container
[22:03] <stgraber> hallyn: which in our case means the arch seen by upstart, mountall, iproute and isc-dhcp-client
[22:03] <stgraber> hallyn: right, just a table with a line per command would be great
[22:04] <hallyn> so, you specify lxc-create -t ubuntu -- -a armhf,
[22:04] <stgraber> yep and you don't have to care about lxc.arch, IIRC it simply won't be set
[22:04] <hallyn> lxc ignores the lxc.arch = armh4 entry?  and the kernel just causes the armhf binaries to be rfun by qemu?
[22:04] <hallyn> ok
[22:04] <hallyn> i'll update that (and try it out)
[22:13] <dforthman> Is there a channel for GroundWork Nagios front end?
[22:38] <zul> Daviey/adam_g: figured it out will have something tonight/tomorrow hopefully
[22:45] <Daviey> zul: oh?
[22:52] <jMCg> Hello happy people!
[22:52] <jMCg> Is there a particular reason why /boot/vmlinuz-* is 600 on Ubuntu?
[23:04] <zul> Daviey: it will need some bells and whistles but nothing i cant handle :)
[23:24] <Daviey> zul: it's in safe hands :)
[23:25] <adam_g> zul: cool, whatya gonna do
[23:26] <zul> adam_g: ill preseed some db_conf before running dbconfig
[23:30] <Daviey> zul: err, can't you set a Default value in the template?
[23:30] <zul> Daviey: yeah you can
[23:31] <Daviey> isn't that cleaner?
[23:31] <Daviey> and setting a priority of low should mean it is used by default?
[23:31] <zul> right
[23:31] <Daviey> unless overridden