[01:54] <webfox> Hello folks!
[01:55] <webfox> When I try to check for ruby at my server the following error message happens : https://gist.github.com/anonymous/9283668, what can I do?
[01:56] <sarnold> webfox: interesting
[01:56] <webfox> sarnold: yes
[01:56] <sarnold> webfox: command-not-found is a little helper program that will tell you if a command that isn't found is a small typo or if there is a specific package that you should install
[01:57] <sarnold> webfox: please do file the bug report that it suggests -- but the short answer is you do'nt currently have ruby installed
[01:57] <webfox> yes, I already restarted the machine and the error still there.
[01:57] <webfox> sarnold: how can I check which is the latest ruby package available at apt-get repository?
[01:59] <sarnold> webfox: apt-cache search ruby | grep ^ruby
[01:59] <sarnold> webfox: (the grep is just to make the list more manageble :)
[02:01] <webfox> sarnold: \o/ thank you!
[02:03] <webfox> sarnold: man, it shows several versions. Do you use Ruby by any chance?
[02:04] <sarnold> webfox: not much these days..
[02:05] <sarnold> webfox: which release are you on? we've changed which version is in main over time.. 1.9.3 is in main in precise, quantal, saucy, and trusty (maybe we'll drop trusty before release?) -- and ruby2.0 is in main in trusty
[02:06] <webfox> Not sure what version is running at this server.
[02:06] <sarnold> lsb_release -a  should say
[02:06] <webfox> I think those errors are Python related, gem -v command generates the same error.
[02:06] <sarnold> (that should say something useful on any linux system)
[02:07] <sarnold> webfox: chances are, you've got a locale set on your local machine that doesn't exist on the remote machine. but that's just me guessing..
[02:07] <webfox> sarnold: that error is happening in this case as well.
[02:08] <webfox> Perhaps I should do a downgrade on Python..
[02:08] <webfox> Currently running version 3.3.2
[02:08] <sarnold> webfox: that is unlikely to fix it; probably you can install a langpack or something similar to build your missing locale information
[02:09] <webfox> sarnold: do you mean for Python or the OS?
[02:09] <sarnold> webfox: the os
[02:09] <webfox> how do I do that?
[02:10] <sarnold> webfox: check out apt-cache search language-pack
[02:10] <webfox> langpack is not a known package
[02:11] <webfox> apt-cache or apt-get?
[02:11] <sarnold> apt-cache
[02:11] <sarnold> apt-cache helps you search your computer's local versions of the lists
[02:11] <sarnold> 'apt-cache search' is easily 50% of why I switched to debian back in 1998 or 99..
[02:12] <webfox> Oh, ok, there are tons of packages, I should filter this result somehow.
[02:13] <sarnold> webfox: probably you want language-pack-pt  -- you might also want language-pack-gnome-pt or language-pack-kde-pt if you use one or the other of those environments
[02:13] <sarnold> (just guessing based on your hostname :)
[02:14] <webfox> sarnold: I don't use any UI, is it necessary to install kde or gnome?
[02:14] <sarnold> webfox: no. skip those. :)
[02:15] <webfox> sarnold: how about if I install language-pack-us?
[02:16] <sarnold> webfox: what LANG= do you have on that machine and your local machine?
[02:17] <webfox> sarnold: probably us-base. Is there acommand to verify that?
[02:17] <sarnold> webfox: echo $LANG
[02:18] <webfox> en_US.UTF-8
[02:18] <webfox> yeah this is the latest us-base language package.
[02:18] <sarnold> oh wow, I hadn't expected that.
[02:19] <webfox> sarnold: yeah, I prefer english.
[02:19] <sarnold> webfox: it seems most better admins do :) I had assumed pt_BR had leaked through from a client somewhere. sigh. :)
[02:20] <webfox> :)
[02:21] <webfox> sarnold: so, am I dead then?
[02:22] <sarnold> webfox: nah, just some error messages will be extremely annoying
[02:22] <sarnold> webfox: i'm out of ideas on making them go away -- follow the intructions there to file a bug report, hopefully someone else will know what to do to make those annoyances go away :)
[02:23] <webfox> sarnold: all right. Thank you for your help!
[02:23] <sarnold> webfox: have fun :)
[02:30] <MavKen> any reason to use 64bit OS if on a 2GB ram VPS?
[02:31] <sarnold> MavKen: more registers, longer registers, better nx support in the page tables, and you can standardize on 64bit isos and tools and so forth
[02:32] <MavKen> ok
[02:39] <hawa> can anybody tell me how to find the original mac address of cloned mac???
[03:09] <MavKen> what is the most lightweight thing to install so that php scripts can send out mail?  I have 12 different domains on a vps and want the scripts to be sent from their domain.  I tried exim4 but all domains were appearing as from "domain2.com via domain1.com"  only the primary domain would appear correctly
[05:17] <jak2000> hia ll
[05:18] <jak2000> why when i run this command: sudo a2ensite itsol.mx i get an error: ERROR: Site itsol.mx does not exist!  the file exists: in /etc/apache2/sites-available   itsol.mx  thanks in ubuntu 12.40 worked, but in ubuntu 13.10 not any advice?
[05:19] <sarnold> jak2000: no idea; can you run strace a2ensite itsol.mx and look through the output to see what it's doing?
[05:24] <jak2000> sarnold: http://pastebin.com/SidFav4p
[05:25] <sarnold> jak2000: cool! check out lines 1141 through 1145
[05:26] <sarnold> jak2000: I think you just need to rename the file to itsol.mx.conf
[05:27] <jak2000> ok done and work
[05:27] <sarnold> great :)
[05:27] <jak2000> but its correct: in sites-enabled i see now a file: itsol.mx.enabled (in color cyan, the letters)
[05:39] <jak2000> sarnold?
[05:41] <sarnold> jak2000: yes?
[05:42] <jak2000> when restart apache i get this error: AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/000-default.conf: AllowOverride not allowed here
[05:42] <sarnold> jak2000: hrm, in apache 2.4 the rules may have changes
[05:42] <sarnold> s/changes/changed/
[05:43] <jak2000> yes
[05:43] <jak2000> :(
[05:43] <sarnold> jak2000: looks like it can only be used in a <directory> block http://httpd.apache.org/docs/current/mod/core.html#allowoverride
[05:45] <jak2000> comment the line 30 reload the apache and work
[05:45] <jak2000> continue working
[05:45] <jak2000> thanks sarnold
[05:46] <sarnold> jak2000: cool; it would be worth making sure things are still correct..
[05:54] <jak2000> sarnold mmm bether uninstall 13.10 and install 12.04
[05:55] <sarnold> jak2000: uhoh, more problems?
[05:55] <jak2000> yes
[05:55] <jak2000> and reading reading
[05:55] <jak2000> the 13.10 is unestable right?
[05:56] <sarnold> jak2000: it'd be worth doing the reading eventually, because 14.04 will also have apache 2.4
[05:57] <sarnold> jak2000: but 13.10 will only be supported until july -- 12.04 will be supported for a while, you can make the transition on your own schedule if you use 12.04
[05:57] <sarnold> 13.10 should be stable, but 12.04 has been deployed a lot longer and has received more testing work
[05:58] <jak2000> yes
[08:58] <love> i am using  MRTG in ubuntu server  i have already installed mrtg  but when i try  cfgmaker --global 'WorkDir: /home/http/mrtg' --output /etc/mrtg/mrtg.cfg public@ localhost to test there is an error is there any help please?
[11:51] <streulma> hi what's the simplest way to do an upgrade? from Ubuntu server in April, do-release-upgrade?
[12:06] <alaing> hi ppl
[12:07] <alaing> I want to change a permissions for a folder am I right in thinkink that this is what I need to run from cmd line. sudo chmod 0755 myFolder
[12:08] <alaing> also is 0755 and 755 the same? I've only ever seen 3 digits
[16:11] <MavKen> I just installed ubuntu on a new VPS.  I am moving over 12 domains that have been on shared hosting.  What can I install so that each domain can send out mail via their php scripts and it appear as coming from that domain?  I tried yesterday and each virtual site was sending from the primary domain on the vps.  Starting over today.
[16:22] <kyle__> Trying to fix an old sad 10.10 server.  It keeps hanging after it claims to be done with init, after it's remounted it's drives.
[16:22] <kyle__> Any ideas?  Even single user mode doesn't seem to work
[16:23] <RoyK> kyle__: could you reinstall it with 12.04 or something?
[16:23] <RoyK> that is - do you have its data on a separate partition?
[16:24] <kyle__> RoyK: A not my server, B There's tons of (what looks to be) very bad custom code on here, and the person who wrote and maintained it has been gone for two years.
[16:25] <kyle__> Most of the data is in /var, which is on a separate drive now.
[16:25] <RoyK> vm or physical?
[16:26] <RoyK> perhaps booting on a memory stick and doing an fsck on the thing would be a start
[16:26] <kyle__> RoyK: VM.  And I thought the same thing, so I booted from an iso image and fscked both drives.  No issues with either (but it claims to have gone over 2k days without a check).
[16:27] <RoyK> fsck -f ?
[16:28] <RoyK> without -f it won't do much if the fs is flagged as ok
[16:28] <kyle__> Hum.  You know, I didn't do the -f.  Will try again
[16:34] <shauno> MavKen: you can override php's From: address in your virtualhost configs, see http://serverfault.com/questions/165499/
[16:37] <MavKen> thanks
[16:38] <MavKen> I have 12 sites that I am moving from a shared host to my new VPS... should I just create a user for each and then add public_html dir in each /home/user/ ?
[16:57] <kyle__> That didn't do it.   Is it possible the remount of / is masking /var?
[17:18] <RoyK> any idea how to install 1204 on non-pae hardware?
[17:21] <OliPicard> Hi Guys, i am editing the sshconfig, Changed the port number etc on Ubuntu 14.10, Tried to disable the Root Login via SSH and keep getting an error message.
[17:22] <RoyK> OliPicard: can I borrow your time machine? ;)
[17:22] <OliPicard> XD Why Roy? Is it on Automatically?
[17:23] <RoyK> was just thinking about 14.10 );
[17:23] <RoyK> (;
[17:23] <OliPicard> ah ops 13.10 my bad
[17:23] <OliPicard> was thinking about 14.10 as well!
[17:23] <RoyK> I've disabled root login on most of my boxes
[17:23] <RoyK> works well
[17:24] <OliPicard> PermitRootLogin no < thats what ive set it to on my box but when i SSHD into the box it provides an error about a bad config.
[17:25] <RoyK> PermitRootLogin no <-- that's from my sshd_config
[17:25] <RoyK> perhaps you have some special characters there?
[17:26] <OliPicard> http://paste.reynir.dk/8 < thats my config :)
[17:27] <RoyK> try to type the line in by hand - might be special characters around
[17:27] <RoyK> also - why do you disable key auth?
[17:27] <RoyK> and perhaps it wants its ciphers
[17:27] <OliPicard> thats what it came with when i got the server :)
[17:27] <OliPicard> Using a Digital Ocean Image :)
[17:27] <RoyK> ok
[17:28] <shauno> just a hunch, I think PermitRootLogin goes in sshd_config, not ssh_config?  ( you have the client config, rootlogin is a server option)
[17:28] <shauno> (per the first two lines of the comments/file)
[17:29] <OliPicard> shuno: Ah Yes Doh on my side thanks :D
[17:29] <OliPicard> sorry shauno
[17:33] <shauno> You really want to listen to RoyK about keys though.  they're 'best practice' for very good reasons
[17:36] <OliPicard> How do you set the SSHD keys up?
[17:36] <OliPicard> Yup i agree, i normally wont be using SSH anyway :) i prefer to use a VNC
[17:44] <RoyK> vnc to a server?!?
[17:44] <RoyK> OliPicard: ssh-keygen & ssh-copy-id user@host
[17:44] <bekks> OliPicard: VNX, unencrypted, totally insecure, over the internet?
[17:44] <bekks> *VNC even
[17:46] <RoyK> bekks: exactly - insanity
[17:50] <bekks> You dont need any security precautions then at all - that server will be taken over withing minutes.
[17:56] <OliPicard> Im double checking with the host
[18:11] <bekks> You should use ssh, honestly.
[18:11] <OliPicard> I will once i can get a stable connection thats the problem right now
[18:11] <OliPicard> i used to use PuTTY but my ADSL connection has been so bad recently.
[18:13] <OliPicard> Ok doing some research on the system it seems the VNC is on the HyperVisor its self.
[18:13] <bekks> What? No :)
[18:13] <bekks> Which hypervisor is that? :)
[18:14] <OliPicard> KVM
[18:15] <bekks> You can configure KVM to run VNC on localhost only, and NOT expose it to the internet.
[18:26] <OliPicard> hmm not herd anything back from the host,
[18:32] <RoyK> any idea how to install ubuntu on non-pae?
[18:36] <OliPicard> one more question :D im editing the etc/sysctl.conf i noticed that some of the redefined items such as net.ipv4.tcp_max_sync_backlog=2080 have a gap after the = and some don't just wondering should i include the gap so for example  backlog = 2080
[18:38] <bekks> OliPicard: The gap doesnt matter, actually.
[18:38] <OliPicard> Awesome thanks bekks
[19:05] <kyle__> I got it fixed. It was ureadahead.  It caused everythign to choke up with /var on a separate partition than /.  Ugh.  And no (obvious) clean way of disabling it either.
[19:08] <ancaster> hi. I manage the workstations and NFS server of a small university lab. Having /home shared is great because people can move around, but the desktops freeze if the NFS server goes down.
[19:08] <kyle__> ancaster: That's kindof expected if the NFS server goes down.  With their files & drive disappearing and all.
[19:09] <kyle__> ancaster: Generally, you try and keep servers that are in use from going down....
[19:10] <ancaster> kyle__: Yeah... :-) I get that bit. Is there any way of making a fallback NFS server?
[19:10] <ancaster> or another solution that doesn't use NFS at all?
[19:10] <kyle__> Humm.  I've never seen a way of doing a failback NFS server, but that's not to say it's impossible....
[19:10] <ancaster> hmm, okay.
[19:11] <kyle__> Are you thinking of something like how windows does portable homes, so it syncs the users files on login locally, then syncs them back to the server on logout?  That I haven't seen, but I suppose it's quite possible.
[19:11] <ancaster> It's just not fun for anyone when the entire lab has to stop working whilst I sort out some problem.
[19:11] <ancaster> Yeah, something like that could work. I was thinking of doing some rsync on logging in and out...
[19:12] <ancaster> Or perhaps using gluster... but my experience with it hasn't be positive.
[19:13] <kyle__> gluster is great in a few use cases, but outside of those, even when it __should__ work, it's painful or broken.
[19:13] <ancaster> Heh. Good to know.
[19:14] <ancaster> alrighty, so I'm not missing some bit of technology that everyone else knows about. :-)
[19:14] <kyle__> I know you can use libpam-mount to mount a user's directory at the time they login... I wonder if it's possible to use that, or some other part of pam, to sync their directory...
[19:14] <kyle__> Nope :)
[19:15] <soren> You can have a backup nfs server that just takes over the IP of the broken one.
[19:15] <soren> There's nothing identifying the server other than its IP.
[19:16] <ancaster> Is it common to have the entire user's home directory mounted? We find there is constant traffic from gnome (just moving a window around even).
[19:16] <soren> It's usually the whole home dir, yes.
[19:17] <ancaster> soren: interesting. is there software you recommend that does this (IP failover)?
[19:18] <soren> ancaster: Well, the plan only really works if you have the data synchronized between the two servers. Do you?
[19:18] <soren> Otherwise, I imagine things will get.. interesting.
[19:19] <shauno> you should be able to knock something together with drbd (keep two nfs servers in sync) and heartbeat (for failover)?
[19:19] <ancaster> soren: :-) true. well, I don't have anything in place to do this at the moment.
[19:19] <soren> ancaster: Do that first. :)
[19:20] <ancaster> soren: shauno. :-) okay.
[19:20] <kyle__> It looks like you can use the pam_script module to run login and logout hooks per user.  May be able to play with that.
[19:23] <ancaster> kyle__: oh cool. thanks. something about this idea seems less complicated maybe.
[19:28] <ancaster> thanks all.  I have some ideas to play with now.
[20:39] <OliPicard> HI Guys, does anyone here have experince compiling sqlite for ubnutu?
[20:39] <OliPicard> on node.js
[21:26] <alaing> try #Node.js
[21:37] <psyferre> Hey folks, I made a git noob error and overwrote a working copy.  I've tried rebooting into a livecd and running extundelete (ext4 on an lvm), but no dice with --restore-all --after [date].  I tried debugfs -w and lsdel says there are no deleted Inodes in that directory.  Am I SOL?  Is there something I haven't tried or am missing?
[21:38] <xnox> psyferre: you need old commit from git?
[21:38] <psyferre> xnox: nope - wasn't that smart.  I didn't have my working copy committed.
[21:39] <xnox> psyferre: did you atleast $ git add ? files you wanted?
[21:39] <psyferre> I was trying to resolve a merge problem and reset back to HEAD, forgetting that I had uncommitted changes on one file that I really wanted to keep.
[21:40] <psyferre> I'm rather new to git (always used subversion) and just forgot about the uncommitted file.
[21:41] <psyferre> So it was overwritten by what was in the repo and I lost a large amount of work.  Any other way I'm missing to get at the old contents?
[21:42] <kyle__> psyferre: Git doesn't do magic.  It downloads and writes files, and it uploads files.  It doesn't hide your old files someplace else.  There may be some sort of undelete utility that could work, but that's a stretch.
[21:49] <psyferre> kyle__: right - the undelete utilty is what I'm looking for.  After doing some research I used sysrq to do an emergency sync, then umount/remount read-only.  After some more research, I booted to a live CD and used extundelete, which only managed to undelete .git in that directory.  I also tried running debugfs, but lsdel says there are no deleted inodes in that directory.
[21:49] <psyferre> I'm casting about for anything that I could try that I don't yet know about.
[21:50] <kyle__> psyferre: This one may help, again it's a stretch. http://www.cgsecurity.org/wiki/PhotoRec
[21:50] <kyle__> There's one more I'm wracking my brain for, I'll let you know when I remember it's name.
[21:51] <psyferre> kyle__: Awesome, thanks!  I'll give it a try.
[21:52] <kyle__> Hu... There is also an extundelete, and it's even in the ubuntu repos...
[21:52] <kyle__> Haven't tried that one.
[21:54] <psyferre> Yup, tried extundelete first - no dice, unless I've used it incorrectly
[21:55] <kyle__> You probably didn't :/  Most of these are designed for the situation where you accidently delete or format a file you need.  Not the situation where you wrote over it.  If it's made as a new file, there's a chance the file overwritten will still exist, but it's not a terribly great chance.
[21:57] <psyferre> Yeah... I figure it's a longshot.  If I got lucky it'd save me several days worth of work, though.  =-/
[22:01] <kyle__> Ouch.  Sorry man.  If you have a separate machine with a buch of space on it, there are things you can do to prevent this sort of problem in the future.  HOldon, finding article...
[22:03] <kyle__>  Not the exact one I was thinking of, but this may help for the future.  http://blog.interlinked.org/tutorials/rsync_time_machine.html
[22:04] <kyle__> This is the one I was thinking of.  It does essentially the same thing, but explains every working part in detail, so it's worth a read even if you don't want to do it.  http://www.mikerubel.org/computers/rsync_snapshots/
[22:05] <psyferre> Thanks, kyle__.  Most of my other servers have amanda backing up everything important every night.  This was a new machine for a project that hasn't gotten to staging yet, so I hadn't set that up yet.  Live and learn, I suppose.
[22:06] <kyle__> psyferre: That second link is what I've done when I had several, shall we say, bad users, who would accidently delete things when they were panicked.
[22:07] <kyle__> I had it take hourly snapshots which it kept for 7 days, Saturday through Thursday.  And on Friday, since it was the day they screwed up the most, I had it do them every 15 minutes.
[22:07] <psyferre> lol
[22:07] <psyferre> That's fantastic.
[22:07] <kyle__> Big samba server, used by everyone in the company.  Saved their hides more times than I can count, and saved me a ton of trouble.
[22:24] <kyle__> night
[22:58] <matt2000> Hi! Various utils on my Ubuntu 12.04 server cant fetch things via HTTPS. `npm` and  `docker pull` are examples. curl works fine, and HTTP urls work fine. Any ideas?
[23:03] <wam> matt2000: http://i.imgur.com/3ezM6.jpg
[23:05] <wam> more like http://codeworkx.de/wordpress/wp-content/uploads/2011/12/jacoj.jpg
[23:05] <wam> sry
[23:05] <wam> google images fuzzed me


[01:15] <BraveheartBSD> zpool import still hangs ubuntu server, I have to pull plugs to get back into it.
[01:15] <BraveheartBSD> Server management console indicates drive arry is good, all disks pass.
[01:29] <BraveheartBSD> I've wiped the root drive, reinstalled 22.04, same problem
[01:33] <sarnold> what's the exact command line you're using? are there any messages in journalctl or dmesg?
[01:35] <BraveheartBSD> zpool import <pool_name>
[01:35] <BraveheartBSD> zfs import also fails
[01:36] <BraveheartBSD> nothing related to zfs, cpu is 0.01, mem is 22gb free
[01:36] <sarnold> try it with -d /dev/disk/by-id/
[01:38] <BraveheartBSD> Done that too, same thing. txg_sync and zpool both hang. I let it run for 12 hours the other day.
[01:40] <sarnold> dang :(
[01:40] <sarnold> I almost never import my own pools, and they've only got a few drives in them, but it *feels* like it's pretty quick
[01:41] <sarnold> try popping into #zfsonlinux or #openzfs and maybe you'll get more eyes on it, I really only know how things work when they work fine
[01:41] <sarnold> good luck :)
[01:42] <BraveheartBSD> Ok, thanks
[09:00] <paride> lvoytek, rbasak , hi! The mysql-8.0 autopkgtest OOM is now sorted out, correct? I see Lena's change landed in autopkgtest-package-configs
[15:03] <jdarnley> Why has systemd/udev stopped assigning a "predictable" name to network interfaces after changing a network card?
[15:03] <jdarnley> Same manufacturer, same driver, minor model change.
[15:07] <rbasak> The model change might do it?
[15:08] <rbasak> The intent is to keep the same NIC having the same name over reboots. I don't think there's been any default promise over keeping names following hardware changes.
[15:08] <rbasak> That's probably achievable but might need some configuration
[15:08] <jdarnley> I would just about understand if the bus changed or something (I have seen that on my desktop when adding/removing a video card)
[15:08] <jdarnley> but the new card is not named at all!
[15:09] <jdarnley> eth0 and eth1 rather than ens1f0np0 and ens1f1np1
[15:09] <rbasak> Are you sure that's Ubuntu's default behaviour and not a result of a local configuration change?
[15:10] <jdarnley> Dunno.  The old card was named "correctly" before powering off.


[00:06] <sfsfsfsd> hello guys
[00:06] <sfsfsfsd> i have a one question
[00:07] <sfsfsfsd> anybody can install wine on 16.04 ?
[00:08] <sfsfsfsd> is threre anybody?


 Re seb128 :)
[09:08] <Laney> indeed it was the first session
[09:08] <flexiondotorg> Morning didrocks
[09:08] <seb128> re didrocks :-)
[09:08] <Laney> a lot of people looking a bit s-l-o-w, including me
[09:08] <Laney> hey didrocks
[09:09] <Laney> what's up?
[09:09] <didrocks> in remission from coughing, so hopefully will finally get a little bit of rest this week-end :)
[09:09] <didrocks> and you?
[09:10] <seb128> Laney, they have a few indoor courts but those are usually booked for training of people who play competition&such, also not enough space for the number of people showing up for the free-play evenings
[09:10] <Laney> I got this new huge pillow
[09:10] <Laney> think it's giving me a bad neck /o\
[09:10] <seb128> :-(
[09:10] <Laney> might go back to the old configuration
[09:11] <didrocks> or give it a little bit more time to adjust yourself?
[09:11] <Laney> maaaaaaaaaaaybe
[09:11] <Laney> hoping it squishes down a bit
[09:11] <didrocks> yeah
[10:17] <pitti> bonjour tout le monde !
[10:18]  * pitti hugs Laney, didrocks, seb128 and flexiondotorg
[10:19]  * didrocks hugs pitti back! Hope you are having fun in this first week :-)
[10:19] <seb128> salut pitti! comment ça va dans ton nouveau travail ?
[10:19] <pitti> I do! starting to feel the pain in pointless distro differences :)
[10:19]  * seb128 hugs pitti back
[10:19] <didrocks> haha :)
[10:20] <pitti> but the year started remarkably quiet -- it's an entirely new experience to come back after 3 weeks of holidays with ZERO backlog
[10:20] <seb128> haha
[10:20] <seb128> there wasn't much ubuntu backlog for me this year
[10:20] <pitti> so, plenty of time to dive into Fedora, cockpit, vagrant, and whatnot
[10:21] <Laney> heeeey pitti
[10:21] <pitti> well, I did mean emails and such, but I also meant assigned bugs, WIs and so on
[10:21] <seb128> oh, right
[10:22] <didrocks> yeah :)
[10:22] <seb128> existing work didn't go away during holidays indeed
[10:23] <seb128> but I still remember years starting with stack of emails (lists & launchpad) that would take a full day to do a first pass over
[10:25] <seb128> flexiondotorg, btw, did you end up looking at snapping pidgin?
[10:26] <flexiondotorg> Not yet, but I'm game.
[10:26] <flexiondotorg> I'm just working through my catch up item for Snap now.
[10:26] <flexiondotorg> I'll also contact the project.
[10:26] <seb128> k, good, thanks
[10:26] <seb128> let me know if they reply or when you get a snap to try
[10:27] <flexiondotorg> Wilco
[10:27] <seb128> thx
[13:14] <Laney> pitti: what should I do with proposed changes to autopkgtest itself?
[13:14] <Laney> is there a reviewer now?
[13:50] <pitti> Laney: the usual things, I guess -- attach it to a LP or Debian bug, or mail it to the ML
[13:50] <pitti> Laney: I'm happy to review, or let barry do it -- barry and tdaitx were interested in its maintenance, and on the sprint we did an intro sessino
[13:51] <Laney> pitti: Righto, I was more wondering if anyone is maintaining it now
[13:51] <pitti> Laney: if it's something simple, just pastebin'ing a patch works too of course
[13:51] <Laney> do they have commit access?
[13:51] <pitti> no, not yet; but I didn't stop maintaining it
[13:51] <Laney> nod
[13:51] <pitti> I will just probably be much less proactive about it now
[13:51] <pitti> but still happy to review/test/land stuff
[13:51] <Laney> well, https://bugs.launchpad.net/auto-package-testing/+bug/1654025 then ;-)
[13:51] <ubot5`> Ubuntu bug 1654025 in Auto Package Testing "trusty/armhf dkms tests are killing workers" [Undecided,New]
[13:51] <Laney> I didn't really understand WTF it broke
[13:52] <Laney> but the patch fixes it
[13:52]  * Laney is having lunch
[13:52] <Laney> brb
[13:54] <pitti> Laney: eww -- I thought lxc exec wouldn't make any assumptions about what's running in the container
[13:55] <pitti> Laney: I guess it might be killed by the sendsigs kill-o-rama on shutdown?
[13:56] <pitti> Laney: /etc/init.d/sendsigs
[13:56] <pitti> Laney: does it help to put the exec's shell pid into /run/sendsigs.omit/autopkgtest ?
[13:58] <pitti> Laney: otherwise, if you want to keep this approach, get_uptime() should check the exit code or for non-emptiness, I figure  -- otherwise out.split()[0] will throw an IndexError
[14:34] <desrt> hello everyone
[14:37] <pitti> desrt: hey Allison, happy new year! how are you?
[14:38] <desrt> pretty good.  same old, same old
[14:38] <desrt> how is your new life? :)
[14:38] <pitti> my face is not made for a Fedora!
[14:38] <desrt> maybe red just isn't your colour
[14:38] <desrt> but seriously: sorry about having to run an rpm-based system :(
[14:38] <pitti> honestly, pretty good -- starting the year with ZERO backlog feels great, and I'm in the midst of the "play with new things" phase
[14:39] <desrt> after a life in deb-land, that must seem pretty weird
[14:39] <pitti> some things drive me a bit nuts, but 's ok
[14:40] <andyrock> hey all
[14:40] <desrt> hi andyrock
[14:40] <desrt> i keep forgetting that i know you
[14:41] <andyrock> ahahaha
[14:41] <desrt> it's like "oh.. it's that weird andy guy who is always here...."
[14:41] <desrt> "hi"
[14:41] <desrt> "no wait!  it's andrea!"
[14:42] <desrt> jbicha, mdeslaur: good morning
[14:43] <jbicha> good morning
[14:43] <pitti> desrt: services not starting after installation is a bit hard to get used to, and dnf being effing slow too, but I at least got video playback working :)
[14:43] <mdeslaur> hi desrt
[14:43] <pitti> desrt: and I guess I can get used to the crappy font rendering :)
[14:43] <desrt> pitti: actually, this is something that i think debian should talk about.  debian is kinda terrifying in this regard
[14:44] <desrt> install something relatively innocent-sounding like ssh-import-id, don't pay enough attention to the apt prompt and suddenly your system is listening on port 22
[14:44] <pitti> well, here it's "follow the instructions to install vagrant or whatnot", and wondering why things don't work, but they start working after a reboot
[14:45] <desrt> as someone who uses a relatively weak password on her laptop (since i have disk encryption and i use the lockscreen quite frequently) this is very scary
[14:45] <pitti> having to reboot (or figure out which units to start manually) is rather Windows-y..
[14:45] <pitti> well, then be consistent and also don't enable new services
[14:45] <pitti> anyway, that's a Friday/beer flamewar, not for here :)
[14:45] <jbicha> it's almost Friday!
[14:46] <ogra_> and its always beer !
[14:46] <pitti> tomorrow is a holiday here, so practially it *is* the  last day of the week :)
[14:51] <desrt> so, what you're saying, then, is, .... beer?
[14:51]  * desrt gets annoyed at irccloud
[14:54] <hikiko> I forgot the nick again
[14:55] <desrt> morning, hikiko
[14:55] <hikiko> hi desrt :)
[14:55] <hikiko> it's almost end of day
[14:55] <desrt> ...and we're just getting started over here
[14:55] <hikiko> but I forgot to change my nick after luncj
[14:55] <hikiko> are you back to canada?
[14:55] <hikiko> no more germany?
[14:56] <desrt> more germany later :)
[14:56] <desrt> for now, canada
[15:04] <Laney> pitti: Hmm, would lxc exec still return 0 in the sendsigs case?
[15:04] <Laney> Anyway, slight preference to go with what I have to avoid having to go re-investigate :)
[15:05] <Laney> Can add some error checking; I just figured that if it's borked we want to die anyway - but probably in a more graceful way, granted
[15:10] <pitti> Laney: well, if lxc exec cat fails, that might just be because the container is almost shut down, and /proc unmounted, or what not
[15:10] <pitti> Laney: I don't think a failure there should count as "unexpected"
[15:11] <Laney> pitti: mmm, I suppose we expect to call this when it is dying
[15:12] <Laney> ok, if it really dies then the loop fails and we bomb later on anyway
[15:13] <pitti> Laney: btw, $ lxc file pull t1/proc/uptime -
[15:13] <pitti> Laney: less involved as it doesn't need to start a shell or rely on other things (but this is probably nitpicking)
[15:13] <Laney> Fair enough
[15:14] <Laney> I didn't know you could send it to stdout, nice
[15:14] <pitti> Laney: I meant that there is no handling of an empty result
[15:14] <pitti> Laney: i. e. nothign catches the IndexError then
[15:14] <Laney> Yeah
[15:15] <Laney> Gimme 5 minutes to add this, will ping you back
[15:15] <pitti> also, retry loop: "for retry in range(10):" (saves having to do -= 1 and initialize)
[15:16] <pitti> Laney: is this reproducible with test/testpkg-reboot/ on a trusty container?
[15:16] <pitti> or do the dkms tests do  something magic?
[15:16] <Laney> already did that one actually
[15:16] <Laney> don't know, will try
[15:16] <Laney> It's because it makes the container reboot, so if that test does it then there's a chance
[15:17] <pitti> I tried the exec sleep 3600 in a trusty container, works quite well; but that was on a zesty host, maybe it's different in xenial
[15:17] <Laney> I'm on zesty too, could only make it happen from autopkgtest
[15:17] <Laney> simulating the same thing manually always seemed to work properly
[15:17] <Laney> :|
[15:17] <pitti> Laney: yes, it's a dummy test that reboots twice, and zero test deps or other stuff
[15:17] <Laney> okk, I will try it
[15:17] <Laney> ok*
[15:27] <Laney> if retry == 0: bomb() # doesn't work so well :)
[15:28] <pitti> Laney:
[15:29] <pitti> for retry in range(10):
[15:29] <pitti>    .. do stuff
[15:29] <pitti> else:
[15:29] <pitti>    bomb('timed out')
[15:29] <Laney> what is that construction?
[15:29]  * Laney hasn't seen for / else before
[15:29] <pitti> Laney: else: gets run if the loop completely finishes instead of encountering a "break"
[15:29] <pitti> it's pretty much for this case
[15:30] <pitti> i. e. the "not found" end of iteration
[15:30] <pitti> for needle in haystack:
[15:30] <pitti>    if isok(needle):
[15:30] <pitti>     break
[15:30] <pitti> else:
[15:30] <Laney> https://docs.python.org/3/reference/compound_stmts.html#for
[15:30] <pitti>    print('not found')
[15:32] <Laney> pitti: thanks, sensei!
[15:33] <pitti> print(Laney.explain("sensei", please=True))
[15:34] <Laney> pitti: https://artofvailaya.files.wordpress.com/2013/08/sensei-student.jpg
[15:35]  * pitti bows
[15:37]  * Laney somehow ends up on the floor
[15:37]  * Laney has much to learn
[15:38]  * pitti is reminded of his one year of Judo practice
[15:44] <Laney> pitti: pushed a couple more commits
[15:44] <Laney> now I've got an exit 12 to investigate
[15:44] <Laney> rock and roll
[15:44] <Laney> (completely different issue)
[16:05] <Laney> woah, wait - lxc file pull gives the *host*'s /proc/uptime
[16:06]  * Laney reverts that bit
[16:06] <pitti> Laney: oh argh -- that's a different /proc/uptime than in the container? sorry, didn't notice that
[16:07] <Laney> yeah
[16:09] <Laney> (force pushed)
[16:17] <Laney> pitti: kind of bad - the testcase exhibits the bug if I add a sleep 30 in there, but it exits 0 so is reported as passed
[16:19] <Laney> Anyway
[16:19] <Laney> don't want to burden you with this
[16:19] <pitti> Laney: sorry, which test? tests/autopkgtest LxdRunner if you run it against a trusty image? or test/testpkg-simple/ ?
[16:20] <Laney> testpkg-reboot
[16:23] <Laney> https://paste.ubuntu.com/23747042/
[16:23] <Laney> it should say "all good" too
[16:23] <Laney> (and does after my fix)
[16:24] <pitti> Laney: I'm not following, sorry -- what's wrong about that paste?
[16:25] <Laney> pitti: The final line of the test wasn't printed, because the test was killed by the delayed reboot - and yet autopkgtest says that it passed
[16:26] <Laney> I'm just saying that I don't know how to make the testcase be 'bad' before - my fix still works to fix it
[16:26] <pitti> Laney: ah, so the "continuing after reboot" is not really after rebooting?
[16:27] <Laney> right
[16:27] <Laney> more worrying that we get an exit 0 when the test process is killed by reboot
[16:27] <pitti> I thought the "continuing test after reboot. sleeping for 30s" was from the test itself, as it's not an adtlog.* message
[16:27] <Laney> it is
[16:27] <Laney> it just thinks it's after the reboot, but it's not
[16:27] <pitti> right, the test should fail on spontaneous reboots
[16:28] <pitti> looks like lxc exec actually exits with 0 instead of with some error?
[16:28] <pitti> (that should be fixed)
[16:28] <Laney> I guess so
[16:28] <pitti> would be interesting to test the same with lxc or qemu
[16:28] <Laney> luckily in the production case it was trying to download the source package which proved to be fatal
[16:28] <Laney> still, might have some false passes in other tests due to this
[16:28] <pitti> right, I even had that in a comment "lxc exec exits with 0 on reboot", without thinking of the consequences
[16:29]  * Laney will file a bug at lxd
[16:34] <Laney> weird
[16:35] <Laney> All the lights just went off for a second
[16:35] <Laney> in that exact second there was the sound of an eagle from outside
[16:35] <Laney> ...and my desktop stayed on...
[16:41] <seb128> weird indeed, but good that the desktop stayed on :-)
[16:43] <Laney> yes, as I was typing ^ that lxd bug report on it ;-)
[16:54]  * pitti waves good night, and holiday tomorrow
[16:54] <pitti> Laney: please sub me to a bug report once you have something to push
[16:54] <Laney> pitti: I think this one is good to go now
[16:54] <Laney> but roger, have a nice weekend
[16:55] <Laney> Maybe I'll try the lxd workers on this branch
[17:10] <seb128> pitti, night, enjoy the 3 days w.e :-)
[17:10] <ogra_> pffft ... bavarians ...
[17:10] <ogra_> (northern germany doesnt have a free day)
[17:11]  * Laney will celebrate by removing the christmas tree
[17:11] <ogra_> give it to your local zoo !
[17:11] <ogra_> donkeys and deer love them
[17:12] <Laney> the council are coming to collect it
[17:12] <Laney> wonder what they do with them
[17:12] <ogra_> ah
[18:03] <Laney> night!
[18:06] <seb128> night Laney
[18:06] <seb128> calling a day as well
[18:06] <seb128> see you tomorrow


[01:36] <ShootEmUp> Hello Everyone!
[11:48] <_marx_> snow anyone
[15:04] <ShootEmUp> Hello Everyone!
[16:46] <BugeyeD> _marx_: show here, but then of course you know that already. :)
[16:46] <holstein> crazy snow out this way
[16:46] <holstein> like 8 inches in weaverville im told
[16:46] <BugeyeD> 6+ in wilmington as of around 8am.
[16:56] <holstein> w0w
[20:00] <_marx_> 0" flurries here
[20:11] <jack_> nothing here
[20:11] <jack_> <nc state campus
[20:21]  * _marx_ NW winston
[22:19] <_marx_> oh joy it's drive time snow in 27101-7
[22:23] <_marx_> su just slid her '97 t-bird into the driveway
[22:23] <BugeyeD> the IDIOTS are in full force here. main roads are clear, with snow blowing across them. 55mph roads are being travelled at 20mph. my 20 min commute just took 40+ minutes.
[22:24] <_marx_> reynolda rd out my way is white
[22:24] <BugeyeD> my roads off the highway, however, are slick. went offroading on my own road, same place as i did this am.
[22:26] <_marx_> and reynolda is still five lanes wide out here ;)
[22:27] <_marx_> i'm glad to have somewhere to go in the morning...2 hour delay maybe
[22:41] <BugeyeD> where you headed tomorrow?
[22:42] <_marx_> two jobs in progress, both close by
[22:42] <BugeyeD> i'm back to 5-points, if anywhere. i want/need to be there by 0615, though our "we're closed due to weather" decision/announcement won't happen until after 0630.
[22:47] <_marx_> at that hour...i'd drive
[22:48] <_marx_> not many out
[23:36] <_marx_> https://www.duke-energy.com/progress-energy-merger/?promo=duke-progress-merger-map-1&f=lg


[17:16] <chrisbuchholz> Hey guys
[17:18] <chrisbuchholz> So i am creating this program which need to be able to securely store a password and retrieve it when needed, but im in doubt as to how to do this in a way that dont need specific implementation for gnome, kde, and what about those not using a DE? Is there api i can use that works across all this? Perhabs across most of linux distros?
[18:32] <RobinJ> last time I tried to use gtk with python, i did it with quickly. the result is that now, without using quickly, i don't have a damn clue what to do :/ which package do i need for gi.repository?
[20:23] <rob_w> hi is there a channel for mobile ubuntu hardware support/sdk device portings ?
[20:34] <JanC> rob_w: #ubuntu-phone ?
[20:34] <rob_w> join #ubuntu-phone
[20:35] <rob_w> thanks