[00:34] <rbasak> teward: thanks! I was thinking a 'server' tag for server-related questions.
[00:35] <rbasak> teward: not exclusively to flag our team or anything, but something more generally defined and one our team could try to watch.
[00:35] <rbasak> teward: if askubuntu.com editors and moderators knew we were doing that, perhaps they might specifically tag relevant things 'server' when otherwise they might not?
[05:33] <cpaelzer> jamespage: I see you worked on OVS 2.8.1 but some self-tests fail - I subscribed myself to the bileto ticket you used
[05:33] <cpaelzer> jamespage: I have a few OVS related DPDK issues I got reported so I'd be interested if 2.8.1 is going to make it - let me know if there is more I can/should follow than the ticket
[05:44] <pankaj> How can I get list of all the ppa and repositories that i am using currently?
[05:55] <pankaj> How can I get list of all the ppa and repositories that i am using currently?
[05:55] <cpaelzer> pankaj: apt-cache policy
[05:55] <cpaelzer> ?
[07:06] <pankaj> Why packages from each repository have to be authenticaited when getting installed by apt-get?
[07:20] <lordievader> Good morning
[09:02] <cpaelzer> late but good morning to you as well lordievader
[09:05] <lordievader> Hi cpaelzer  . How are you doing?
[09:31] <cpaelzer> lordievader: fine enough (trying to convince myself of it) :-)
[09:46] <deadrom> hi
[09:47] <deadrom> there was some news coverage recently on LTS and how the 5 year support does not exactly cover all packages. is there an official statement on that?
[09:52] <deadrom> nvm, found sth
[11:23] <jamespage> cpaelzer: I may have to blacklist them
[11:23] <jamespage> cpaelzer: Ill endeavour to get to those today
[11:23] <cpaelzer> thanks jamespage
[14:35] <Jenshae> Hi everyone
[14:36] <Jenshae> lordievader: ACPI -V = "The program "acpi" is not currently installed. etc
[14:36] <SplunkKernelPani> I've exhausted my Googling ability here - for some reason my remote server goes into a kernel panic on startup now.  I booted into the rescue system and chrooted in.   I've mount --bind'ed proc, dev, and sys.  But I keep getting this error, and errors currently related to it: awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
[14:36] <Jenshae> An error with shutdown I have seen is, "Not tainted 4.4.0-96-generic #``9-Ubuntu
[14:36] <SplunkKernelPani> I've tried binding /libs, symlinking /libs, and all kinds of iterations thereof.
[14:37] <Jenshae> Tried getting the libreadline.so set again, SplunkKernelPani?
[14:38] <SplunkKernelPani> Jen, I have not.
[14:38] <lordievader> Jenshae: Install acpi ;)
[14:38]  * Jenshae looks at lordievader suspiciously.
[14:39] <Jenshae> What does it do and how much does it cost? :P
[14:39] <lordievader> Jenshae: It is a program to control acpi stuff in your computer.
[14:39] <Jenshae> Does it need a gui environment or all terminal?
[14:40] <lordievader> Apt says: "acpi - displays information on ACPI devices"
[14:40] <joelio> sudo apt-get install acpi
[14:40] <SplunkKernelPani> Jenshae: How would I go about setting libreadline.so?
[14:40] <lordievader> No, it is a cli app.
[14:41] <Jenshae> I usually just try and install a required dependency, APT tells me that it is in program X or Y and I pick one, then that library is often shared and picked up by what ever actually needs it.
[14:41] <Jenshae> Worked okay, so far SplunkKernelPani
[14:42] <Jenshae> acpi version 1.7 now installed.
[14:44] <SplunkKernelPani> Jenshae: when I try to install anything with apt, this is what I get: https://puu.sh/xVwtR/e3faa291ed.png
[14:44] <lordievader> It doesn't generate errors when run? Jenshae
[14:44] <SplunkKernelPani> Apologies for not using a pastebin, that was taken earlier
[14:44] <Jenshae> acpi -V x86_pkg_temp no state. | Intel-powerclamp no state
[14:45] <joelio> SplunkKernelPani: disk ok? Does that directory exist and contain files.. if so try and file {file} and see if you get an IO error
[14:45] <joelio> if so fsck the disk and try again
[14:46] <SplunkKernelPani> ok, trying.
[14:46] <joelio> if still erroring, the disk is broken
[14:47] <Jenshae> Yup. I/O errors = good luck from me. :)
[14:48] <SplunkKernelPani> Attempting to fsck yields this: https://paste.ubuntu.com/25720586/
[14:48] <Jenshae> lordievader: "No support for device type: power_supply" when I run acpi without any parameters.
[14:49] <joelio> SplunkKernelPani: you'll need to boot into a proper live cd and retry, even your rescue system is a bit fubar
[14:49] <SplunkKernelPani> Ok, thanks.
[14:49] <SplunkKernelPani> The rescue system is Debian
[14:49] <lordievader> Jenshae:  Hmm, I suppose that doesn't matter too much. I guess the server has some acpi support so that should not be the reason why it sometimes does and sometimes does not shut down.
[14:51] <joelio> SplunkKernelPani: oh, is that not the ubuntu rescue?
[14:51] <SplunkKernelPani> No, it's the server provider's rescue
[14:52] <joelio> there's something fruity with the file system anyway, whether that's disk issue or fs issue or something been rm'd etc
[14:52] <joelio> I'd try and fsck and see what happens first
[14:52] <joelio> it could just be that those files are missing, but I thin you'd get a different error (file not found) not an IO error which looks to be inode wobblw
[14:53] <SplunkKernelPani> Ok, thanks, I'll try from an Ubuntu rescue
[14:53] <SplunkKernelPani> or livecd
[14:54] <joelio> no worries
[14:55] <SplunkKernelPani> Oh I did try this joelio, it also kernel panics
[14:55] <SplunkKernelPani> I'll see if I can fsck from the rescue OS
[14:56] <nacc> rbasak: ping
[14:56] <rbasak> nacc: o/
[14:56] <nacc> rbasak: want to jump in standup? I can recap what I hit yesterday
[14:57] <rbasak> Yep
[14:57] <rbasak> omw
[14:57] <SplunkKernelPani> fscking
[14:59] <SplunkKernelPani> https://paste.ubuntu.com/25720648/
[15:00] <joelio> SplunkKernelPani: you can pass in options to force yes and all
[15:00] <SplunkKernelPani> Oh yeah, there are a lot of problems going on.
[15:01] <SplunkKernelPani> joelio, yeah, I'm regretting not dropping the yes flag already
[15:01] <joelio> can ctrl-c out
[15:01] <joelio> although I've known someone who pushed a coin in between the 'T' and 'Y' key on old fsck that didn't support it ;)
[15:02] <joelio> if you'e got a lot of errors though, you may have disk issues
[15:02] <joelio> you can check with SMART tools
[15:02] <SplunkKernelPani> I'mma feel real dumb if my server's been down for two weeks and the only issue was that I needed to fsck
[15:02] <joelio> maybe there are bad blocks on disk
[15:02] <joelio> hey, we've all been there :)
[15:03] <SplunkKernelPani> Still kernel panic.  Let me go back into rescue and see if I can at least run things without that error now
[15:06] <Jenshae> lordievader: It is an HP 8200EeC so the power management is probably very rudimentary.
[15:07] <joelio> SplunkKernelPani: the issue may be that fsck will only go so far, if there's corruption on disk then always going to be a bit :/
[15:08] <SplunkKernelPani> https://paste.ubuntu.com/25720686/
[15:08] <SplunkKernelPani> I'm running into that now
[15:08] <joelio> yea, the fs looks hosed dude
[15:09] <Jenshae> Slave it with a live USB and copy off what ever you can to an external drive.
[15:09] <joelio> I'd backup any content of it you needs, check the disks for bad blocks (or just bin) and redo
[15:10] <SplunkKernelPani> I think I may have screwed it up earlier when I deleted bash.  I successfully reinstalled it by just copying it to /bin from the rescue system.  But I;m wondering if there might be lingering issues.
[15:11] <SplunkKernelPani> (why I deleted bash is a long story)
[15:11] <Ussat> deleted bash.....
[15:11] <Jenshae>  ... ... ... yeah ... redo it time.
[15:12] <SplunkKernelPani> lol
[15:12] <SplunkKernelPani> It wasn't even bad advice.  It was just poorly interpreted Googling.
[15:12] <Ussat> no, it was a bad idea
[15:13] <SplunkKernelPani> A forum post stated that a similar issue was because bash needed to be reinstalled.  I tried to reinstall bash, but apt notified me that it was already installed.
[15:13] <Jenshae> "Guys, I just formatted my machine and white washed my drives. I have never used backups. How do I get my data back?"
[15:14] <Jenshae> Be suspicious of all posts. Some people troll.
[15:14] <SplunkKernelPani> Is it possible to install Bash from outside the chroot?  I can access all files on the drive
[15:14] <Jenshae> There is always a delay before I act on advice here because I go and look up what they are saying first.
[15:14] <SplunkKernelPani> Can't I just dpkg it somehow but tell it to use the other filesystem
[15:16] <Jenshae> While you are at it. Why not try delete a system32 folder off a Windohs machine and copy it again from a different one? :P
[15:17] <Jenshae> Joking aside, it looks like you have screwed your core system files and need to start again from scratch.
[15:18] <SplunkKernelPani> Can I bind /bin/bash from the rescue to /bin/bash in the chroot?
[15:18] <Ussat> reinstall
[15:19] <SplunkKernelPani> Horrid.
[15:19] <Ussat> Yes, or restore from backup
[15:21] <Jenshae> You can grab some of your conf files and save yourself some pain.
[15:21] <Ussat> I am gonna assume, prod ?
[15:21] <SplunkKernelPani> prod?
[15:21] <Ussat> production
[15:22] <SplunkKernelPani> It's just a seedbox.  the biggest loss if I nuked it would be movies, music, and TV shows.  But I have a 5TB at another location I can send everything to prior to the nuking.
[15:22] <SplunkKernelPani> But yes, "production", lol
[15:23] <SplunkKernelPani> I hope someone with my level of Linux knowledge wouldn't be running anything in a professional production environment
[15:23] <SplunkKernelPani> I'll check back in later, thanks
[15:24] <Jenshae> Umm... been teaching myself Linux only since end of 2015 and ... well ... doing okay so far as the IT guy in this company. :P
[15:26] <Jenshae> I have three things on my Nix list, 1)  Find out why remote sound only works half the time. 2) Find a shadowing solution. 3) Setup this archive server.
[15:28] <Jenshae> 2) Can be by and large managed by upgrading from R1 to R2.
[15:29] <Jenshae> 1) Is low priority and 3) is a side project of mine.
[15:30] <Jenshae> Hope this helps someone - http://www.terminally-incoherent.com/blog/2007/05/21/a-day-without-x/
[16:00] <Jenshae> Ciao o7
[16:09] <drab> .o/ moin
[17:39] <Smokie> hey guys, im trying to mount a windows network share to ubuntu server and i keep getting "mount error(79): Can not access a needed shared library"
[17:39] <Smokie> my /etc/fstab line and full errors are listed here https://gist.github.com/anonymous/17f669dbb33868a498ae3790fe271c9c
[17:39] <Smokie> any help would be appreciated
[17:40] <drab> Smokie: try to remove iocharset=uft8 for a test and mount again
[17:40] <drab> see if that works
[17:41] <drab> Smokie: also if you look at /var/log/dmesg, do you see any error about utf8/nls_utf8.ko not being found?
[17:42] <Smokie> drab, let me try, one sec
[17:43] <Smokie> it says nothing has been logged yet
[17:43] <Smokie> let me try to remove iocharset
[17:43] <drab> oh lol
[17:43] <drab> did you copy paste that configuration from a stackoverflow answer? :P
[17:44] <drab> redentials=/home/media/.smbc,iocharset=uft8 <----,gid.. uft8 instead of UTF8
[17:45] <drab> so try that instead
[17:45] <drab> Smokie: ^^^
[17:45] <drab> also if you did what I just did, ie put the error you pasted in google and clicked on the 4th link you'd found just that
[17:45] <Smokie> i actually followed some "guide", yeah
[17:45] <drab> some guy reporting the same error and then posting "oh, what an idiot, typo, problem solved"
[17:45] <Smokie> i googled a lot and couldnt find something that worked
[17:46] <drab> fair enough
[17:46] <drab> anyway, try to fix the typo and see if it works
[17:46] <drab> it may be something else after all
[17:46] <drab> but there's a high chance that's your issue
[17:46] <drab> https://www.max2play.com/en/forums/topic/mount-error79/#post-26833
[17:47] <Smokie> it mounted fine without using iocharset so i guess this was it
[17:48] <Smokie> testing now
[17:49] <drab> if not, this seems also related and a good lead, basically a kernel module for the charset is missing as it's not shipped with stock kernel: https://github.com/chef/bento/issues/804
[17:51] <Smokie> yeah, didnt work even after fixing the miss spell
[17:51] <drab> ok, so check that link for the kernel module and see if you have it
[17:51] <drab> but basically you already proved it's something to do with the charset
[17:51] <drab> since removing the parameter makes the mount work, correct?
[17:55] <Smokie> drab, that is correct
[17:55] <sdeziel> man mount.cifs shows that iocharset doesn't take any argument, have you tried that Smokie
[17:55] <Smokie> and tbh, im not sure why is uft8 charset is needed
[17:56] <Smokie> sdeziel, iocharset only gives an invalid arguement
[17:57] <sdeziel> Smokie: I just now saw the "Can not access a needed shared library". Have you tried strace'ing the mount command?
[17:58] <Smokie> sdeziel, it mounts find if i remove iocharset from the command line
[17:58] <Smokie> the paths are not the issue
[18:00] <sdeziel> well, I'm assuming that using iocharset is what makes mount try to find a new shared lib, hence the strace idea
[18:10] <Smokie> heh.. got disconnected without knowing
[18:16] <drab> sdeziel: it is, more specifically, it loads a kernel module, which I guess in turn needs the lib or something
[18:16] <drab> Smokie: did you look at the other link for the additional kernel and kernel module?
[18:16] <drab> that may be the issue, it seems to still exist in 16.04 according to it since that's what the bug was filed against
[18:24] <Smokie> i am on 16.04 LTS
[18:24] <Smokie> uname -r is 4.4.0-87-generic
[18:25] <drab> yes, like the guy in the bug report I linked
[18:25] <Smokie> exactly
[18:25] <drab> he's even got a more recent kernel than yours
[18:26] <drab> I'm actually on 96 and have that module
[18:26] <Smokie> so need to upgrade
[18:26] <drab> -rw-r--r-- 1 root root 6166 Sep 12 11:01 /lib/modules/4.4.0-96-generic/kernel/fs/nls/nls_utf8.ko
[18:26] <drab> I've seen another couple links reporting same issue and saying the module was present but still issues
[18:26] <drab> I'd do what sdeziel suggested and strace mount.cifs
[18:26] <drab> or even possibly ldd it, to see to what libs it links
[18:27] <drab> if you do strace -e open mount.cifs .... it should tell you all the files it tries to open including libs
[18:27] <drab> that may indicate what libs is missing
[18:27] <drab> fwiw I'm doing this myself and have no issues
[18:27] <drab> been spending the last week figuring out samba as we
[18:27] <drab> 're moving our desktop's network home dirs over to it instead of nds
[18:27] <drab> nfs*
[18:28] <drab> sarnold: btw I pretty much figured out all the issues with pam_cifs and have a working solution so ditching the autofs hack
[18:29] <sdeziel> Smokie: you could also try to figure out which module is tentatively loaded with "sysctl kernel.modprobe=/usr/bin/logger"
[18:30] <drab> bbl
[18:31] <Smokie> thats a bit advanced for what i know about linux specially running it from terminal only like ubuntu server hehehe
[18:31] <drab> just copy paste :P
[18:32] <sdeziel> Smokie: I just tried locally to mount a cifs dir with iocharset, dmesg shows: CIFS: Unknown mount option "iocharset"
[18:33] <sdeziel> funny enough, passing iocharset=utf8 removes the dmesg but seems to have 0 impact
[18:34] <sdeziel> 0 impact: no new modules gets loaded and /proc/mounts doesn't show this option. As if it was silently ignored
[18:34] <sdeziel> Smokie: why exactly you want to pass this iocharset param?
[18:34] <Smokie> and it mounted fine?
[18:34] <sdeziel> yup
[18:34] <Smokie> sdeziel, im not, tbh i was following a guide and it was in the command line
[18:34] <Smokie> when removed it mounted fine
[18:35] <sdeziel> Smokie: OK. I think it's safe the conclude the guide and the man page would need an update :)
[18:35] <Smokie> this is simply for a small media center so if mounting a windows share directory doesnt need utf8 iocharset then im ok without it
[18:36] <sdeziel> Smokie: my cifs mount has accented (French) char and they display just fine
[18:37] <Smokie> thats good enough for me since i have docs in french too
[18:38] <sarnold> drab: hah, so, what did you settle on in the end? is it still two samba servers?
[18:39] <Smokie> sdeziel, a noobster question, updating the system doesnt always update the kernel, right?
[18:39] <Smokie> kernel has to be updated manually ?
[18:39] <sdeziel> Smokie: FYI, the UTF8 support (that's enabled by default) is only meaningful for the directory/file names, it has nothing to do with the encoding used inside the files
[18:40] <Smokie> ah.. so its kinda needed if the file is named français for example ?
[18:40] <sdeziel> Smokie: the kernel gets updated like the rest. One key difference though is that you need to reboot to jump on the patched kernel
[18:40] <sdeziel> Smokie: yes
[18:40] <Smokie> uname -r
[18:40] <Smokie> 4.4.0-97-generic
[18:41] <Smokie> after the update
[18:41] <sdeziel> Smokie: your kernel is "-87" based on the uname -r output you shared. once updated and rebooted, it should be "-97"
[18:41] <sdeziel> right
[18:43] <Smokie> i just tested now after the kernel update and it worked with the iocharset in the command line
[18:43] <Smokie> thanks a bunch
[18:45] <blizzow> I have only the following line in /etc/apt/apt.conf.d/50unattended-upgrades:
[18:45] <blizzow> Unattended-Upgrade::Allowed-Origins {"${distro_id}:${distro_codename}-security";};
[18:46] <blizzow> Will running unattended-upgrades -d just install security updates or will it do the whole mess?
[18:53] <sarnold> Smokie: another option is to install the livepatch feature which will automatically patch some of the kernel issues on the fly https://www.ubuntu.com/server/livepatch
[18:56]  * Ussat does not trust live patch
[18:56] <Ussat> on ANY system
[18:56] <sdeziel> blizzow: I don't know the direct answer to your question but I'd try "unattended-upgrades --dry-run --verbose" and see what it does
[18:57] <sdeziel> Ussat: why is that? Did it fail you?
[18:57] <Ussat> it has
[18:57] <Ussat> I have monthly patch times, where I reboot now
[18:58] <sdeziel> not good, any more specific as to how it failed?
[18:58] <Ussat> was a while ago
[18:58] <Ussat> I dont remember the specifics
[18:59] <Ussat> but I now have a monthly patch time/down time that includes a reboot if needed
[19:00] <sdeziel> it's always good to have those if you can afford the downtime as you then benefits from the regular bug fixes as well
[19:01] <Ussat> yup
[19:02] <Ussat> II look at it like how can you not afford to
[19:45] <hallyn> GOD I hate the unlock screen on artful.  Over remote video over a slow link, that swipe up is SO annoying
[19:45] <hallyn> What mac-loving loser come up with that crap?
[19:46] <hallyn> Sorry that came out harsher than I intended.
[19:46] <hallyn> Meant to disguise my resentment a bit
[19:58] <blizzow> Ussat: I've been bitten so many times by upgrades, both unattended and scheduled. I don't have the energy to fight security teams anymore either. So the best I can do is make frequent full backups of machines and clench my butt-cheeks.
[21:12] <tafa2> how I can make sure unnatended updates run at a specific time?
[22:02] <drab> sarnold: one server, stuff mounted at login. I'm working on get the ssh part sorted out
[22:02] <drab> altho there's really nos olution for key auth since that literally bypasses passwords, but we're ok with it since no desktop user ssh into things, only admins do, and those have a local home for safety (in case local logins is needed)
[22:03] <drab> so it's pretty clean/sane right now, no hacks except this mount.cifs problem I'm trying to figure out
[22:08] <sarnold> drab: sweet :D
[22:14] <drab> for some reason the mount.cifs they ship works just fine, but the stock distro sits there waiting for a password
[22:14] <drab> so I need to get the sources and start comparing them or something like that, I bet the ABI changed and the way you pass pwd in is no longer the same
[22:14] <drab> hopefully it's that simple
[22:23] <drab> sarnold: do you happen to know what's the beef between /lib/security and /lib/x86_64-linux-gnu/security/ ?
[22:23] <sarnold> drab: I assume it's debian multiarch stuff that I've been content to ignore for a dozen years :)
[22:23] <drab> trying to figure out where I should install the pam module, the current makefile puts in /lib/security but that doesn't seem to work
[22:23] <drab> lol, ok
[22:24] <drab> np, I'll grab the src for another pam package and see what they do
[22:24] <drab> pam_mount gets installed there so they must be handling it somehow
[22:39] <meh23> hi, i updated  my ubuntu server and for some reason i cannot resolve hostnames anymore.. i can ping IPs fine, any thoughts?
[22:41] <sarnold> what's your /etc/resolv.conf look like? how about your hosts: line from /etc/nsswitch.conf ?
[22:41] <meh23> i didnt change /etc/resolv.conf
[22:41] <meh23> i thought that shouldnt be touched after adding dns-servers to /etc/network/interfaces
[22:42] <meh23> i just double checked and its empty
[22:42] <sarnold> aha :)
[22:44] <meh23> hehehe what does aha mean?
[22:47] <sarnold> it means you probably found why you can't do DNS lookups :)
[22:49] <meh23> sarnold: im confused.. this is the msgs in resolve.conf "DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN"
[22:49] <meh23> i didnt have to edit resolv.conf before this last server update i did
[22:49] <sarnold> meh23: yeah, and that's not wrong, but if you fix it up, you can do dns things now, and figure out what went wrong elsewhere in the plumbing in the meantime :)
[22:55] <meh23> thats what im trying :)
[23:30] <nacc> rbasak: welp, MP is up. https://code.launchpad.net/~nacc/usd-importer/+git/usd-importer/+merge/332160
[23:30] <nacc> rbasak: I think it makes sense, and the code is not terrible, but it could use some review time.
[23:32] <nacc> rbasak: so i think most of the MPs that are currently pending are now waiting on you :/
[23:32] <nacc> i know that's not great, timing wise