[00:01] <Seveas> bencc: did you restart sshd after that change?
[00:03] <bencc> Seveas: the name of the service is "sshd" and not "ssh" ?
[00:03] <Seveas> the service name is ssh, the binary name sshd :)
[00:04] <bencc> Seveas: I'm restarting it with ansible: "service: name=ssh state=restarted"
[00:04] <bencc> will check if it is correct
[00:04] <bencc> thanks
[00:04] <Seveas> that should work
[00:05] <Seveas> only other thing that comes to mind is controlmaster connections that are lingering from before the restart
[00:05] <bencc> Seveas: restarting the server (not just ssh) fixed it. I'll check if the ansible handler actually run if it is doing what it should
[00:06] <Seveas> bencc: there's no handler involved here, just the service module
[00:06] <bencc> Seveas: I see you know ansible :)
[00:07] <bencc> right. I have ansible handler that gets notify from tasks and restarts the ssh server
[00:07] <Seveas> ah, ok
[00:07] <Seveas> so that line was a handler and now you wonder whether the handler is actually firing when you expect it to. Gotcha.
[00:08] <bencc> ok. I have a server with bad locale. I'll try to call "sudo systemctl restart ssh.server" manually
[00:08] <Seveas> ssh, not ssh.server (ssh.service would work too, but the .service is not necessary)
[00:08] <bencc> "ssh.service" typo
[00:08] <bencc> ok
[00:08] <bencc> yes. that did the trick
[00:09] <bencc> now I'll check if ansible actually call it. thanks
[00:09] <destinydriven> Hey guys, how do I know whether I am installing 64-bit or 32-bit version of wkhtmltopdf when I do 'sudo apt install wkhtmltopdf' and how can I force it to install 32 bit version?
[00:10] <destinydriven> I'm using 16.04
[00:11] <Bashing-om> !info wkhtmltopdf:i386 | xenial
[00:11] <Bashing-om> !info wkhtmltopdf | xenial
[00:12] <destinydriven> Bashing-om, thanks
[00:14] <Bashing-om> destinydriven: Not confirmed ! .. but maybe install as wkhtmltopdf:i386 .
[00:15] <Bashing-om> destinydriven: Per https://packages.ubuntu.com/search?keywords=wkhtmltopdf&searchon=names&suite=xenial&section=all the 32 bit package exists .
[00:15] <destinydriven> What I understood from what you linked to is that the 32bit package doesn't exist for 16.04
[00:15] <destinydriven> Won't that give some package not found error?
[00:16] <destinydriven> Ahh ok
[00:17] <destinydriven> Didn't know I could so something like sudo apt install wkhtmltopdf:i386
[00:18] <destinydriven> I will try in a bit. I messed up my VM and had to rebuild it so I have a little wait
[00:18] <Bashing-om> destinydriven: ' dpkg --print-foreign-architectures ' shows 32 bit available to your system ?
[00:18] <scummos> hello
[00:18] <scummos> how do I report a bug
[00:19] <destinydriven> Bashing-om, I have no wait to confirm as yet . . . gotta wait for my VM to rebulid
[00:19] <scummos> I go to launchpad and click "report a bug" and it takes me to a twenty-page wiki site
[00:20] <Bashing-om> !bug | scummos
[00:20] <scummos> Bashing-om: it's not really in a specific package
[00:20] <scummos> so what do I do
[00:21] <Bashing-om> scummos: Then I am as lost as you are :(
[00:21] <scummos> hm ok
[00:21] <scummos> so should I just report it against a random package and have a dev re-assign it
[00:24] <scummos> also that I cannot report a bug without having an ubuntu system is a bit ... sigh
[00:25] <scummos> I see users having issues with how software is packaged in ubuntu and I have no way of communicating this to the ubuntu peopole without ... installing ubuntu in a VM?
[00:25] <scummos> just saying, I would find a bug tracker where I can just enter a bug quite useful :D
[00:29] <bcowan> scummos: you can file bugs from a browser to launchpad
[00:29] <scummos> bcowan: how?
[00:30] <bcowan> scummos: bugs.launchpad.net
[00:30] <scummos> bcowan: sorry I'm in all seriousness too stupid to find the button which takes me to the report form
[00:32] <scummos> where is it?
[00:33] <bcowan> scummos: on mine when I log in it has report a bug on the top right
[00:34] <scummos> bcowan: huh, mine has not, just a link to the profile and a logout button
[00:36] <scummos> and https://bugs.launchpad.net/ubuntu/+filebug takes me to the wiki
[00:36] <ymp> hi everyone, I am compiling fetchmail 6.3.26 with socks5 support, but failed to find a libsocks5 library
[00:37] <ymp> Does anyone know where I can find one? Thanks a lot!
[00:39] <scummos> ooh https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect works
[00:39] <scummos> very easy to find
[00:40] <bcowan> scummos: I see that...I filed a bug a couple days ago from web....very obfuscated, should be a hell of allot easier
[00:40] <scummos> bcowan: yes indeed, it just took me like twenty minutes to find this link
[00:40] <scummos> :/
[02:45] <jameswmyself> Hello, how can I reset package configuration files back to defaults?
[02:53] <swift110-phone> hey
[03:07] <DGUERRERO> Good Day Everyone
[03:08] <swift110-phone> hey man
[03:11] <DGUERRERO> I just bought a UHD tv and wanted to connect it to my laptop via HDMI, but the max resolution avaliable is 1980x1024, I already tried to add the resolution with xrandr but I couldn't, and also "can't" modify xorg.conf (i have a pesky nvidia optimus card and it's a hell modify the xorg.conf)
[03:12] <DGUERRERO> the xrandr gives me: X Error of failed request:  BadMatch (invalid parameter attributes)  Major opcode of failed request:  140 (RANDR)   Minor opcode of failed request:  18 (RRAddOutputMode)   Serial number of failed request:  39   Current serial number in output stream:  40
[03:12] <swift110-phone> hmm
[03:19] <KF5WYX> Apologies for a repeat for anyone in #kubuntu - having issues with package manager after an error during installation: Please see: https://pastebin.com/wiDpjPVL - I have no idea how to resolve, can anyone help?
[03:21] <swift110-phone> km
[03:21] <butteredpopcorn> my network interface is coming up as rename4 and I cant connect to it. Is there something I need to do?
[03:21] <ktechmidas> KF5WYX, run "df -h"
[03:21] <ktechmidas> I reckon your /boot partition is full
[03:22] <ktechmidas> KF5WYX, if so follow this: https://askubuntu.com/a/430944
[03:24] <KF5WYX> ktechmidas : Odd, it tells me the partition is only 91M of which 84M used, 573K available - the numbers don't quite add up, so I'd guess you're right. I should have reserved more space.
[03:24] <KF5WYX> I'd reserved > 100MB, but I guess with partition alignment it's not perfect.
[03:24] <ktechmidas> KF5WYX, it will automatically reverse 10% or so
[03:24] <ktechmidas> *reserve
[03:25] <ktechmidas> although using it is a pain...
[03:25] <ktechmidas> but anyway, I'd make /boot at least 500M
[03:25] <KF5WYX> Thanks - given that this is such a fresh installation - I think it'll be easier, and cleaner if I just reinstall.
[03:25] <ktechmidas> most likely, resizing /boot after install is a pain due to the partitions next to it
[03:26] <KF5WYX> ktechmidas : I appreciate the help - going to reboot and reserve at least 512.
[03:37] <CreateChange> alright, quick question - where do i find a list, even if not quite exhaustive, of the various snap packages out there
[03:38] <bazhang> CreateChange, have you tried asking in #snappy yet
[03:38] <CreateChange> nope, i will check there
[03:38] <CreateChange> thanks for the direction
[03:38] <bazhang> np
[04:30] <DGUERRERO> any idea from where xorg pulls the configuration for the hdmi output?
[04:31] <lotuspsychje> DGUERRERO: whats it for mate, whats your actual issue?
[04:32] <DGUERRERO> I just bought a UHD tv and wanted to connect it to my laptop via HDMI, but the max resolution avaliable is 1980x1024, I already tried to add the resolution with xrandr with no luck
[04:33] <lotuspsychje> DGUERRERO: ubuntu version and DE? graphics card chipset and driver?
[04:37] <DGUERRERO> lotuspsychje: Kubuntu 16.04.3, nvidia gt540m, nvidia 375.66
[04:38] <lotuspsychje> DGUERRERO: have you tryed other flavors like unity or gnome to hdmi?
[04:38] <lotuspsychje> DGUERRERO: just as compare test
[04:39] <DGUERRERO> yep, tried unity and lxde with same results
[04:40] <lotuspsychje> DGUERRERO: tryed xrandr --auto also? press the Fn + F(screen) key ?
[04:42] <newly_bashed> I have output with value I get from awk and now I want to echo " this is sentence with variable $variable in this is case output got from awk
[04:42] <DGUERRERO> lotuspsychje:  tried xrandr, but that's the max resolution by default, also tried to add my own resolution but doesn't let me add it to the HDMI output
[04:43] <lotuspsychje> DGUERRERO: thats weird
[04:43] <DGUERRERO> about the fn key, my laptop doesn't support that shorcut
[04:43] <lotuspsychje> DGUERRERO: checkout arandr also perhaps
[04:43] <lotuspsychje> !info arandr
[04:44] <DGUERRERO> lotuspsychje: I'll try it out and come back, thank you
[04:44] <newly_bashed> I just want direction
[04:48] <lotuspsychje> newly_bashed: there is a nice #awk channel if you like
[05:00] <newly_bashed> When i install ubuntu or live boot ubuntu on my MacBook Pro 2016 with touch bar
[05:00] <newly_bashed> Keyboard and mouse doesn't work
[05:01] <newly_bashed> Is ubuntu supported in my laptop or fully compatible with it
[05:01] <newly_bashed> ?
[05:03] <lotuspsychje> !mac | newly_bashed depends on mac type
[05:04] <newly_bashed> Type?
[05:04] <newly_bashed> I said that it is MacBook Pro 2016 with touchbae
[05:04] <newly_bashed> Touchbar
[05:04] <newly_bashed> Need any other information
[05:04] <newly_bashed> ?
[05:05] <newly_bashed> Ok got that
[05:05] <newly_bashed> Will try and come back
[05:05] <newly_bashed> Thank you
[05:19] <charmer> i'm trying to install Kubuntu 17.10 beta2 on my new Lenovo p51 laptop and it fails.  I tried to install Ubuntu 17.10 beta2 and its even worse.  how should i report this on Launchpad?
[05:20] <lotuspsychje> charmer: join #ubuntu+1 for artfull issues
[05:20] <charmer> lotuspsychje: thank you!
[05:56] <lotuspsychje> morning alkisg
[05:57] <alkisg> Good morning lotuspsychje, good morning all :)
[05:59] <ducasse> \o
[07:29] <pankaj> Hello. Please, can anybody make me understand the concept of these package keys used in ubuntu?
[07:29] <pankaj> Or is their is any good resource.
[07:31] <glitsj16> pankaj: have you seen https://help.ubuntu.com/community/SecureApt yet?
[07:32] <pankaj> glitsj16: yes
[07:33] <pankaj> glitsj16: But what is its significance even though package can be installed without being authenticated.
[07:37] <pankaj> glitsj16: Hello
[07:38] <glitsj16> pankaj: authenticated? the checksums are used to verify that (a) correct package is downloaded and (b) the content of the package is as intended by the packager
[07:38] <glitsj16> pankaj: what exactly did you mean "without being authenticated"?
[07:39] <pankaj> glitsj16: I read an answer in which the man was saying that whever he installs a package he gets an error that package cannot be authenticated but the package gets installed successfully.
[07:40] <EriC^^> pankaj: he's asked whether to continue or not
[07:41] <EriC^^> it's installed but he can't know if it was fully downloaded or the code was tampered with by someone
[07:41] <pankaj> glitsj16: OK. So, It means that whevever I add a repository I get a public key to properly authenticate and install the package downloaded from that repository. Right?
[07:41] <pankaj> EriC^^: What?
[07:41] <glitsj16> pankaj: correct, that's why adding the signing key is part of adding repos, even with PPA's
[07:42] <EriC^^> pankaj: ?
[07:43] <pankaj> glitsj16: That is what I wanted to be made sure. OK. Can this happen that I added a repository, updated and unable to download keys? If yes then what to do and how>
[07:43] <pankaj> EriC^^: your first question to me.
[07:44] <laceylaney> HI guys. Can anyone here offer up any help ?? I'm having some trouble getting w3m-img to work correctly with xfce4-terminal. Full details here >> https://ubuntuforums.org/showthread.php?t=2373903&p=13696455#post13696455
[07:46] <pankaj> glitsj16: Hello
[07:47] <glitsj16> pankaj: it can happen yes, in that case apt will warn you about it with a GPG error mentioning the public key in question is not available
[07:48] <pankaj> glitsj16: So, It means that I can enter it manually.
[07:49] <glitsj16> pankaj: yes, was that what you meant originally? I understand now I think
[07:50] <glitsj16> pankaj: apt has a parameter "--allow-unauthenticated" if I recall correctly
[07:50] <pankaj> glitsj16: Yes, I was a little confused about how this key stuff go around in ubuntu.
[07:51] <pankaj> glitsj16: yes. That is what when I was reading the blogpost I saw the answer being provided to one who had asked the question.
[07:51] <glitsj16> pankaj: I see, it's not specifically Ubuntu, all debian based distros using apt as package manager work the same way
[07:52] <pankaj> glitsj16: Sorry, My mistake. I understand
[07:52] <pankaj> glitsj16: Only the last thing. How to assign key maunally. Assume that the repository is added.
[07:52] <glitsj16> pankaj: no need to apologize, things are confusing sometimes :)
[07:55] <pankaj> glitsj16: hello
[07:55] <glitsj16> pankaj: https://wiki.debian.org/SecureApt is perhaps more clear about how to do that.. look at the part telling you how to add a key to your personal keyring, and exporting that to apt's keyring
[07:56] <pankaj> glitsj16: The document looks pretty interesting to read. OK. Thanks
[07:58] <glitsj16> pankaj: you're welcome.. there's no "one rule applies to all situations" here.. only convention, so that means you might need to hunt down the key sometimes
[07:58] <Kryptonian> Before i run this, what will it do. sudo apt-get install php php-apc php-intl mariadb-server apache2.
[07:59] <pankaj> glitsj16: ok
[07:59] <ducasse> Kryptonian: it will install those packages
[08:00] <Kryptonian> I hope the guide is up to date, and i am installing up to date stuff. My end goal is mediawiki installed
[08:01] <Kryptonian> in short it says i need php, database server & a web server like apache
[08:01] <ducasse> Kryptonian: it will install the latest versions for your release
[08:05] <Kryptonian> php-apc package is not available.
[08:07] <ducasse> which release is this?
[08:08] <Kryptonian> does that mean which version of ubuntu am i in? (very new to ubuntu os)
[08:08] <ducasse> yes
[08:08] <Kryptonian> ubuntu 17.04-server-amd64
[08:08] <Kryptonian> ran some desktop installer a short while ago
[08:09] <Kryptonian> sudo apt-get install ubuntu-desktop I used that
[08:09] <ducasse> that package does not exist in 17.04, no
[08:11] <Kryptonian> i see, i could download the previous version. Any suggestions?
[08:11] <ducasse> it's not in 16.04 either afaict
[08:12] <glitsj16> php-apcu might be the better alternative, as PHP 7 defaults to using opcache, APCu is the userland counterpart if I recall correctly
[08:12] <Kryptonian> Trying to follow this guide https://www.mediawiki.org/wiki/Manual:Installation_requirements
[08:12] <Kryptonian> php-apcu, will try that
[08:17] <glitsj16> Kryptonian: you might be interested in adding https://launchpad.net/~ondrej/+archive/ubuntu/php, the page you linked mentions there's problems with PHP 7.1
[08:21] <Kryptonian> glitsj16, thank you, i will take a look at that website and download stuff
[08:25] <glitsj16> Kryptonian: just follow the instructions on that page on how to add the repository, no need to download manually.. which is the advised way of dealing with PPA's in general.. note that PPA's are not officially supported here, so if you encounter a problem, you will need to contact the PPA maintainer thru launchpad
[08:30] <xcom169> hello
[08:30] <xcom169> What is the purpose of /lib/firmware/amdgpu/ ? Is it used by the kernel driver?
[08:43] <lesshaste> my keyboard layout has suddenly changed for some reason on my linux box so I get \ instead of #. How can I permanently fix this?
[08:44] <justanooblet> hi i believe my server was hacked and is now redirecting the dns, i get this message when i putty Your web root is located at /var/www/html and can be seen from http://128.199.131.251/ - this however is not my dns, how do i put it back to the default dns?
[08:51] <justanooblet> can anyone here help with dns ?
[08:53] <FroL_Onn> Hello there! I've a question on using Deja-Dup for backups. I've started the first backup and used "Resume later" button to suspend my laptop for the night. This morning I don't know how to continue the back up! Where is the "Resume" button there?  If I simply use "Back Up Now" button it seems to start a new one, asking for a password etc.  And there is this "bug" 6 years old  https://bugs.launchpad.net/deja-dup/+bug/907849  triaged but not addressed as
[08:53] <FroL_Onn> it seems to me.
[08:53] <FroL_Onn> Did I chose a wrong app for my backups?)
[08:54] <FroL_Onn> I've gone the "Back up now" way just hoping that it will look the destination directory, find out that the last backup was suspended and continue from where it left.
[09:00] <xcom169> What is the purpose of /lib/firmware/amdgpu/ ? Is it used by the kernel driver?
[09:02] <lesshaste> how can I set my keyboard to a UK layout?
[09:03] <alkisg> lesshaste: setxkbmap -query shows what you have
[09:03] <alkisg> setxkbmap uk sets it to uk, probably
[09:03] <MacroMan> I think one of my servers is under a ddos attack
[09:03] <lesshaste> alkisg, thanks! It says layout:     us,gb
[09:03] <alkisg> lesshaste: then setxkbmap gb
[09:03] <lesshaste> alkisg, thanks.. is that permanent?
[09:03] <lesshaste> I mean after rebooting
[09:04] <alkisg> No, for permanent it depends on the desktop environment
[09:04] <lesshaste> alkisg, ok so how can I do that?
[09:04] <alkisg> Which desktop environment are you using?
[09:04] <alkisg> lubuntu, xubuntu, unity etc?
[09:06] <justanooblet> hi i believe my server was hacked and is now redirecting the dns, i get this message when i putty Your web root is located at /var/www/html and can be seen from http://128.199.131.251/ - this however is not my dns, how do i put it back to the default dns?
[09:06] <lesshaste> alkisg, hmm... unity it seems
[09:07] <alkisg> lesshaste: i'm not using unity, wait for someone else to tell you the control panel details
[09:07] <lesshaste> ok thanks
[09:07] <lesshaste> and thanks for your help
[09:16] <Tin_man> lesshaste, might try this link. >> http://linuxblog.darkduck.com/2013/10/how-to-configure-keyboard-layouts-in-unity-gnome3-kde.html
[09:17] <lesshaste> Tin_man,  thanks
[09:17] <Tin_man> np
[09:20] <justanooblet> nobody here knows ubuntu dns?
[09:38] <newly_bashed> hello everyone
[09:38] <newly_bashed> after googling :))
[09:39] <newly_bashed> i was unable to make folder and it's content that no one can read or right
[09:39] <newly_bashed> not even root
[09:39] <newly_bashed> write*
[09:40] <newly_bashed> only one user can access it
[09:40] <newly_bashed> and root can't login as that one user without password as well
[09:42] <ruicruz> hello there. I'm trying to run an app that says You appear to be using Node v4.2.6, however, Node 6 or later is required
[09:42] <ruicruz> however my apt-get is up to date on update or upgrade. how can I fix this and install the last node release by apt-get?
[09:42] <Ben64> newly_bashed: what's the question
[09:42] <Kegz> Hey guys, looking for a bit of quick help here semi new to CLI unix running a ubuntu server mainly for file sharing and I've just put a new SSD into my server and can't seem to get fdisk or parted to partition the disk.
[09:42] <newly_bashed> question hmm : frist question is is it even possible ?
[09:42] <newly_bashed> some say yes some sy no
[09:43] <Kegz> Well it says its partitioned the disk until I leave the utility and then it says its not anymore.
[09:43] <Ben64> newly_bashed: only if it's encrypted i guess
[09:43] <Ben64> but root could still get in if they really want to
[09:44] <EriC^^> Kegz: maybe you need to press on a "write" button or something
[09:44] <newly_bashed> root and decrypt easyly
[09:44] <EriC^^> Kegz: try using "gparted"
[09:44] <newly_bashed> ther is some programs or kernals
[09:44] <Kegz> Yeah in fdisk I hit w and it closes out and then nothing I've done actually writes.
[09:44] <newly_bashed> like selinux
[09:45] <EriC^^> Kegz: try "sudo partprobe"
[09:45] <Kegz> Yeah I've tried that also and it does nothing :(
[09:46] <EriC^^> Kegz: can you show the output of "sudo parted -l" ?
[09:46] <Kegz> Also, gparted is GUI based? I don't have gui installed.
[09:46] <EriC^^> !paste | Kegz
[09:47] <Kegz> Do you want all the drives? Or just the one I'm having issues with?
[09:47] <EriC^^> Kegz: just the one
[09:48] <Kegz> http://paste.ubuntu.com/25719039/
[09:49] <Ben64> Kegz: thats all it shows?
[09:49] <EriC^^> Kegz: try sudo dd if=/dev/zero of=/dev/sda count=100
[09:50] <Kegz> Ben64: yeah after partitioning it thats all it was showing.
[09:50] <Kegz> EriC^^: Done, whats that do?
[09:50] <EriC^^> Kegz: it removes the partition table
[09:51] <EriC^^> i wanted to see if you could "write" to the disk
[09:51] <Kegz> Yeah it does that fine.
[09:51] <Ben64> does it though
[09:51] <EriC^^> Kegz: type "sudo fdisk /dev/sda"
[09:52] <Kegz> Yup
[09:52] <EriC^^> Kegz: press "o"
[09:52] <Kegz> Ben64, I believe so
[09:52] <EriC^^> how many partitions do you want to make?
[09:52] <Kegz> Just the 1
[09:52] <Kegz> It's going to be my OS drive.
[09:52] <Kegz> I am planning on copying everying over to it once I can get it to partition.
[09:53] <EriC^^> Kegz: ok, after o, press "n" then keep hitting enter
[09:53] <Kegz>  Yeah, done. I've done this about 5 times lol.
[09:53] <EriC^^> Kegz: press "w"
[09:53] <Kegz> Tried it multiple ways to see if I can get it to give me an error or something but it doesn't.
[09:53] <EriC^^> then quit and type "sudo partprobe"
[09:54] <EriC^^> Kegz: did you check "dmesg" ?
[09:54] <Kegz> No, what is that?
[09:54] <EriC^^> Kegz: it shows errors from the kernel
[09:54] <Kegz> I'll look in there.
[09:54] <EriC^^> (and other stuff)
[09:55] <Kegz> Because when I do sudo fdisk -l now it says the same as it did prior to running through the partitioning.
[09:55] <Ben64> did you partition again just now after running the dd
[09:55] <EriC^^> Kegz: can you type "sudo hexdump -C /dev/sda | head -40" and pastebin it?
[09:56] <Kegz> yeah I partitioned it again when EriC^^ asked.
[09:56] <EriC^^> Kegz: cat /proc/partitions shows nothing?
[09:57] <Kegz> http://paste.ubuntu.com/25719093/
[09:58] <Kegz>   8        0  125034840 sda
[09:58] <Kegz> and then shows the rest of my drives too
[09:58] <Kegz> It only has sda though, doesn't add a sda1
[09:58] <theablestman> how do i change my hostname?
[09:59] <EriC^^> Kegz: well it seems like the first part of the disk is only zeros
[09:59] <EriC^^> so the partition table didn't infact write
[09:59] <EriC^^> !hostname | theablestman
[10:00] <Kegz> Makes no sense, it was my old windows OS about a week ago and had no issues then.
[10:00] <EriC^^> Kegz: did dmesg show anything?
[10:00] <alkisg> Kegz: try: sudo dd if=/dev/urandom of=/dev/sdb bs=512 count=1
[10:00] <EriC^^> Kegz: try sudo dd if=/dev/urandom... ^
[10:00] <alkisg> This will try to fill junk in your partition table
[10:00] <Kegz> I've also changed the sata port it was connected to and changed the hdd aswell.
[10:00] <EriC^^> wait
[10:00] <EriC^^> /dev/sda not /dev/sdb
[10:01] <alkisg> yeah was typing about the letter ^ :)
[10:01] <Kegz> I'll do a pste of dmesg for you
[10:01] <theablestman> ericc how i do it permantly
[10:01] <Ben64> theablestman: it says right there
[10:01] <EriC^^> theablestman: that does it permanently
[10:02] <Ben64> Kegz: what's 'ls -la /dev/sda' show
[10:02] <theablestman> i dont know how to do it
[10:03] <Ben64> theablestman: read the line ubottu put
[10:03] <theablestman> nvm i got
[10:03] <Kegz> http://paste.ubuntu.com/25719111/
[10:03] <Kegz> Thats like the last page of the dmesg
[10:03] <theablestman> i got to keep doing hostname <somehostname>?
[10:04] <Ben64> theablestman: read the whole line...
[10:04] <Kegz> brw-rw---- 1 root disk 8, 0 Oct 11 10:03 /dev/sda
[10:05] <theablestman> i got to keep doing hostname <somehostname> edit /etc/hosts?
[10:05] <Ben64> Kegz: oh well, worth a shot. i had an issue once where that file wasn't correct
[10:05] <Ben64> theablestman: no. read the whole line
[10:05] <Kegz> I'm honestly open to EVERYTHING at,
[10:05] <Kegz> atm*
[10:05] <theablestman> i dont understand
[10:05] <EriC^^> Kegz: try sudo dd if=/dev/urandom of=/dev/sda count=1 && sudo hexdump -C /dev/sda | head
[10:05] <Ben64> theablestman: what do you not understand
[10:05] <Kegz> I've spent a long time researching this and trying it over and over again to no result.
[10:06] <EriC^^> Kegz: did you try rebooting the server?
[10:06] <theablestman> theablestman@terminal:~$ edit /etc/hosts
[10:06] <theablestman> Warning: unknown mime-type for "/etc/hosts" -- using "application/octet-stream"
[10:06] <theablestman> Error: no write permission for file "/etc/hosts
[10:06] <Kegz> yeah a couple times
[10:06] <theablestman> add sudo?
[10:06] <Kegz> http://paste.ubuntu.com/25719124/
[10:06] <Ben64> theablestman: first, read and understand the entire line from ubottu
[10:06] <alkisg> Kegz: seems like a worn out disk
[10:07] <Ben64> yeah, writes aren't happening
[10:07] <Kegz> It is a semi old SSD
[10:07] <Ben64> hardware issue seems likely
[10:07] <Kegz> but as I say it came straight out of my working windows machince.
[10:07] <theablestman> i know the first part not the edit
[10:07] <Kegz> machine*
[10:08] <Ben64> theablestman: maybe don't try to change your hostname then
[10:08] <theablestman> i changed it but i want to stay
[10:08] <Ben64> theablestman: if you can't figure it out with the instructions above, then it may be above your ability
[10:09] <theablestman> lol
[10:09] <EriC^^> Kegz: try sudo apt-get install smartmontools && sudo smartctl -a /dev/sda
[10:10] <theablestman> i did sudo /etc/hostname terminal
[10:11] <theablestman> say can be found
[10:11] <Kegz> sudo vim /etc/hostname
[10:12] <theablestman> sudo: vim: command not found
[10:12] <Kegz> SMART overall-health self-assessment test result: PASSED
[10:12] <Kegz> What else did you want from that command
[10:13] <Kegz> sudo nano /etc/hostname
[10:13] <Kegz> vi should be installed though :S
[10:14] <theablestman> ok how i save?
[10:14] <theablestman> ctrl c
[10:14] <theablestman> ctrl o
[10:14] <Kegz> Eric^^ http://paste.ubuntu.com/25719179/
[10:15] <hateball> theablestman: ctrl+x to save and exit in nano
[10:15] <theablestman> ok ty
[10:15] <theablestman> ok done ty
[10:26] <EriC^^> Kegz: ssd is on its way out
[10:27] <Kegz> god damn it
[10:27] <EriC^^> i think, maybe someone can confirm
[10:28] <Kegz> I'll swap it over to my other one and run it again.
[10:28] <Kegz> But they're both from the same era so I'd assume they're both in the same condition.
[10:30]  * tomreyn has not seen raw values like "1/5654548" before
[10:33] <Kegz> from what google tells me higher results in a lot of these things are better, its a "life remaining" counter.
[10:34] <tomreyn> which models are these?
[10:34] <Kegz> adata sp900
[10:35] <tomreyn>  i don't know whether those do but other SSDs (several models / vendors) have a self-'healing' mode which is triggered by connecting them to just power but not the data channel. keep it running that way for ~45 minutes
[10:38] <Kegz> I'll try this over night
[10:38] <Kegz> Its doing a long test atm
[10:40] <Kegz> But I think I'll test the shit out of these drives and then if I can't get ubuntu to format it I'll chuck it into my windows pc and see if I can get it to partition. I just don't know if there is a windwos util to partition ext3/4
[10:41] <EriC^^> Kegz: the line that had error correctable stuff is usually the one that means bad sectors, not sure if it's the same for ssd's or what
[10:44] <Kegz> Im really unsure what to think or do with this now.
[10:44] <tomreyn> here's what a Samsung SSD 850 EVO gives - looks completely different (also / mostly due to different data structure revision) https://pastebin.com/raw/P9XUKX0X
[10:46] <Kegz> Im really unsure what to think or do with this now.
[10:47] <Kegz> 231 SSD_Life_Left           0x0013   098   098   010    Pre-fail  Always       -       4294967297
[10:47] <Kegz> This line here confuses me too.
[10:51] <tomreyn> you could try asking in ##hardware , too
[11:45] <xcom169> What is the purpose of /lib/firmware/amdgpu/ ? Is it used by the kernel driver?
[11:47] <oerheks> xcom169, yes.
[11:48] <xcom169> oerheks: yes, .. hm?
[11:48] <xcom169> oerheks: does it do any good for me if I have there a firmware?
[11:49] <oerheks> xcom169,  you should use it, as the firmware is crucial for the working of the driver.
[11:49] <oerheks> no need to fiddle around with that.
[11:50] <xcom169> oerheks: because when I updated my kernel to 4.13.5 on my 16.04 ubuntu
[11:50] <xcom169> oerheks: I had warning messages that .. polaris firmware is missing
[11:50] <xcom169> oerheks: I CPd there some firmwares, but is it good?
[11:50] <xcom169> oerheks: I have RX 460 amd gpu
[11:51] <oerheks> not sure you can use an older amdgpu driver with such new kernel.
[11:53] <oerheks> i do see a lot of polaris firmwares https://people.freedesktop.org/~agd5f/radeon_ucode/polaris/ but i have no idea which one you should use, and if this is going to work
[11:55] <BluesKaj> Hey folks
[11:56] <xcom169> oerheks: amdgpu driver is in the kernel, right?
[11:57] <xcom169> oerheks: it's not a different module
[11:57] <oerheks> xcom169, you see the amdgpu bin firmware, that is needed for the kernel module.
[11:58] <xcom169> oerheks: so this eg. is useless for me ?  polaris10_me.bin ?
[11:58] <lfowlr> helo it says needs to restart to finish installing updates, so how do I do it without resstarting I used the software updaterr.
[11:58] <oerheks> so if that 4.13 kernel does not give a fresh amdgpu, you are on your own
[11:59] <oerheks> lfowlr, not. you need to restart.
[12:00] <lfowlr> this is not windows
[12:00] <lfowlr> idiot
[12:00] <lfowlr> grub update?
[12:00] <xcom169> oerheks: I got it from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.5/ . I think it contains every important kernel modules, like amdgpu
[12:01] <oerheks> xcom169, mainline is oke, but if it does not provide the correct driver/firmware, that ppa is just for testing, not supported here.
[12:02] <oerheks> !mainline
[12:03] <oerheks> best thing you can do on 16.04 is enable HWE, to get a newer kernel, with supported amdgpu
[12:04] <oerheks> !hwe
[12:04] <oerheks> this will get you on 4.10 ( zesty 17.04)
[12:05] <tomatopeel> hey I dd'd the ubuntu iso to a USB and I can boot from it, annoying thing is though it mounts the USB as a cd-rom so I can't make other partitions on this USB and use them for storing additional software >.>
[12:05] <tomatopeel> I'm doing some airgap/offline stuff
[12:07] <oerheks> tomatopeel,  the 'persistance' option was removed in usb-creator, here is the wiki to add it manually https://help.ubuntu.com/community/LiveCD/Persistence
[12:07] <oerheks> or https://wiki.ubuntu.com/LiveUsbPendrivePersistent
[12:08] <goofy_> hi
[12:08] <goofy_> {APACHE_LOCK_DIR}
[12:08] <goofy_> do you know the real path?
[12:09] <darkad> Hi all, is a amd64 iso fully compatible with a 64bit Atom processor?
[12:10] <oerheks> darkad, yes, don't get confused by the AMD part.
[12:10] <SwedeMike> darkad: amd64 is for all 64bit "x86" processors
[12:10] <oerheks> AMD was just the 1st that delivered a full compatible 32 + 64 bit cpu
[12:12] <xcom169> oerheks: I can anytime delete this ppa kernel and return to the stock 4.10
[12:12] <darkad> I was a bit undecided between atom amd64 and arm64
[12:12] <oerheks> xcom169,  you can boot in an older kernel, and remove 4.13, sure ( and update grub after that)
[12:18] <BluesKaj> darkad, arm64 is for raspberrypi boards etc, not for regular pcs or laptops
[12:20] <darkad> yes I'm comparing atom and arm computers
[12:23] <BluesKaj> darkad, ok
[12:24] <adac> how do I purge the iptables-persistent rules?
[12:25] <adac> on restart, even if I wiped out my iptables rules, they are coming back :D
[12:36] <waveprop> sometimes ps shows cron and CRON what is the diff
[12:50] <waveprop> no difference at all? okay
[12:50]  * waveprop swollow both
[13:18] <IhrFussel> Do file writes become slower the more files exist in a directory?
[13:19] <EriC^^> IhrFussel: no
[13:23] <tomreyn> but jounral updates do on ext file systems with journalling, i think
[13:25] <tomreyn> umm sorry i somehow read "more files in directrory" as "file system almost full", so ignore what i said.
[14:00] <xtron> how we can generate software interrupts?
[14:09] <geodb27> People : hi ! I'm stuck on one of my machine with system group management. Indeed, getent group ftponly shows an entry for this group with gid 20000, however, there is no line neither in /etc/group; /etc/group- nor in /etc/gshadow.
[14:10] <geodb27> My system is configured to manage users either by files or ldap, and there is no such entry in my ldap neither. Where can the system then fetch this group information, since it is not defined anywhere ?
[14:11] <rfleming> geodb27: sounds like ftponly is an ldap group
[14:12] <geodb27> rfleming: the fact is that there is no such entry in my ldap.
[14:14] <rfleming> if it isn't local, then it has to be remote
[14:14] <geodb27> I've done a ldapsearch on the cn, uid (for the group name) and a ldapsearch for the gidNumber and did not get any result.
[14:14] <alkisg> Any caching?
[14:14] <alkisg> I.e. from previously deleted ldap group...
[14:14] <geodb27> alkisg: The first thing I did was to shot nscd :-)
[14:15] <alkisg> Well,if you temporarily remove ldap from "files ldap", it'll tell you it's not local...
[14:15] <geodb27> indeed, let me give it a try :-)
[14:16] <geodb27> Right. Removing the "ldap" from group: files ldap line of nsswitch.conf gave no entry for this group... Interresting...
[14:17] <cyphase> does anyone know of a good way to trigger commands by pressing a key(combo) N times? besides making a script that runs on each press and keeps track of executions
[14:23] <geodb27> End of the day, wrong ldap... Well, shame on me. Anyway, many thanks for your help, alkisg and rfleming !
[14:43] <UltimaNitroAX> I think I screwed up my installation of Ubuntu trying to upgrade from 14.04 to 16.04.
[14:48] <UltimaNitroAX> Hmm.
[14:56] <nacc> UltimaNitroAX: how did you upgrade?
[14:56] <UltimaNitroAX> nacc, well it gave me a notification telling me that I could upgrade, something like that.
[14:57] <nacc> UltimaNitroAX: the GUI?
[14:57] <UltimaNitroAX> Yeah.
[14:57] <UltimaNitroAX> So I upgraded, I told it that it could upgrade.. But it was in the middle of upgrading..
[14:57] <UltimaNitroAX> And the screen just went to a blank, black terminal.
[14:57] <UltimaNitroAX> Not sure I should've done what I did at that point, but I forced it off, and then now I can't boot it anymore.
[14:58] <m3rlin> UltimaNitroAX: https://www.howtoforge.com/tutorial/ubuntu-lts-update-dist-upgrade/ maybe it work but I didn't try before
[14:59] <UltimaNitroAX> But what I'm really concerned about right now is that I can't even get to the original Ubuntu hard drive from the live disc.
[14:59] <UltimaNitroAX> At the very least, I wanted to re-install Ubuntu 14.04 but I have files on the actual hard drive that I don't wanna lose reinstalling.
[15:00] <alkisg> sudo parted -l => to pastebin...
[15:01] <UltimaNitroAX> Hmm?
[15:01] <UltimaNitroAX> Sounds like a terminal command.
[15:02] <UltimaNitroAX> alkisg, did you want me to do something with that?
[15:03] <Dreaman> why not 16.04
[15:03] <UltimaNitroAX> I don't have any more discs to put newer distros of Ubuntu on, and I can (try to) upgrade to 16.04 once I get 14.04 on again.
[15:04] <UltimaNitroAX> @ Dreaman
[15:04] <oerheks> before upgradings, always have an USB with the iso ready
[15:04] <Dreaman> flash usb
[15:04] <Dreaman> boot install
[15:04] <UltimaNitroAX> I don't have any USBs either though.
[15:04] <Dreaman> not need cd dvd
[15:04] <Dreaman> ok
[15:04] <UltimaNitroAX> My only means of installation are DVD-Rs.
[15:04] <UltimaNitroAX> I ran out of them though.
[15:05] <Dreaman> 4 gb usb stick is 3 4 $
[15:05] <UltimaNitroAX> Well I don't have the money.
[15:05] <UltimaNitroAX> All I want to know right now, is how to get into my Ubuntu partition again.
[15:05] <Dreaman> unetbootin
[15:06] <Dreaman> old ubuntu download new and boot to isntall
[15:06] <Dreaman> install
[15:06] <UltimaNitroAX> I need to back up files to a 900 GB USB hard drive first..
[15:06] <UltimaNitroAX> But I can't get into the actual Ubuntu partition!
[15:06] <Dreaman> ok
[15:08] <tomreyn> UltimaNitroAX: unless you have any compatible system (be it on bare metal or in a VM) you can attach the hard disk to you wont be able to access the data.
[15:10] <UltimaNitroAX> I just can't figure out how to access the data.
[15:10] <oerheks> hold shift @ boot and choose an older kernel?
[15:10] <UltimaNitroAX> Hmm...
[15:11] <UltimaNitroAX> You mean, the current hard drive installation?
[15:11] <UltimaNitroAX> So, 14.04 is still on there and it's working?
[15:11] <UltimaNitroAX> I know what you're talking about, choosing an older kernel.. I  think I'll do that.
[15:11] <oerheks> it might work
[15:11] <UltimaNitroAX> Yeah, I'll come back to you on the Live Disc if it doesn't work
[15:11] <UltimaNitroAX> If it does I'll come back to you on my 14.04 installation or whatever is working
[15:12] <tomreyn> so you have a live disk, what's on it?
[15:12] <UltimaNitroAX> Ubuntu 14.04.5
[15:12] <tomreyn> oh okay, and the installation is the same system, so you can recover
[15:12] <UltimaNitroAX> Oh, I can recover?
[15:12] <UltimaNitroAX> How's that work?
[15:13] <tomreyn> the way oerheks suggested is the easiest if it works
[15:13] <tomreyn> !rescue
[15:14] <UltimaNitroAX> I think I'm gonna try the Shift at boot thing.
[15:15] <UltimaNitroAX> If that doesn't work, I'll just come back and ping you for help on recovery again, I guess.
[15:15] <oerheks> good luck there
[15:15] <tomreyn> the live cd approahc is this https://help.ubuntu.com/community/LiveCdRecovery
[15:15] <tomreyn> yes, do that
[15:15] <oerheks> tomreyn +2
[15:29] <pascalou> hi
[15:29] <pascalou> which process does the hardware probing and module loading at boot ?
[15:30] <pascalou> i kinda fu**ed up while removign modules and would not like to reboot
[15:31] <BluesKaj> removing which modules?
[15:31] <pascalou> all the ones named wifi
[15:32] <pascalou> then did dmesg and lost my history
[15:32] <alkisg> Type "history" to see it
[15:32] <nacc> pascalou: `history`.
[15:32] <pascalou> made a loop and forgot to store the module names ina  variable for loading them later
[15:32] <nacc> pascalou: why did you unload them in the first place?
[15:33] <pascalou> upgraded the firmware
[15:33] <BluesKaj> that's not the method to use to upgrade drivers/firmware
[15:37] <marsje> does anyone know if mkfs.ext4 creates a UUID for the fs (without the -U option)?
[15:38] <alkisg> of course
[15:44] <marsje> alkisg: I made some script that copies files from a disk, and formats it when done and then scan for a new disk, but if found a partition with uuid
[15:46] <oerheks> just formatting does not change uuid
[15:48] <marsje> oerheks: ok, that would be good in my case... just wasn't sure if not provider -U would end up with a uuid-less partition
[15:49] <EriC^^> marsje: running mkfs.ext4 makes a new filesystem with a uuid
[15:49] <marsje> EriC^^: ok, great
[15:50] <EriC^^> marsje: maybe you can pass it -U <old uuid> to it doesn't think a new disk was inserted
[15:50] <EriC^^> *so it
[15:51] <marsje> EriC^^: oerheks just said that it wouldn't change... the man page does not say anything about it
[15:51] <EriC^^> marsje: it does change it
[15:51] <EriC^^> iirc
[15:52] <oerheks> I remember not seeing a change, as i didn't change the size..
[15:53] <EriC^^> oerheks: i think the PTUUID stays the same
[15:53] <EriC^^> pretty sure that mkfs generates some random uuid each time it runs
[15:56] <marsje> the plot thickens... I'm getting my UUID from some udev thingy (called ID_FS_UUID)
[15:57] <marsje> if it does change it, I might end up in some mkfs loop and I then should indeed pass the old uuid
[15:57] <pankaj> I read in a book about sticky bit that 'Files in direcrtory with the sticky bit set can only be deleted or renamed by the root user or the owner of the directory'. But what is special about that. It can already be done usually withot sticky bit set.
[15:59] <EriC^^> pankaj: no, it gives write permission to the dir, without being able to delete others files
[16:00] <pankaj> pankaj: I do not know whether their is any correction in the statement of the book or not.
[16:01] <pankaj> EriC^^: Is this the only use of sticky bit?
[16:01] <pankaj> EriC^^: : I do not know whether their is any correction in the statement of the book or not.
[16:01] <skinux> How do I create a Ubuntu package for software like Sublime Text, which comes in binary form?
[16:01] <EriC^^> pankaj: well that's what it does, it's pretty special, how would you achieve that without it?
[16:01] <nacc> skinux: probably easiest would be a snap.
[16:02] <EriC^^> letting a user create any file he wants in a dir, but not delete the ones that others have created there
[16:03] <nacc> skinux: but if it comes in binary form, I don't know why you need to package it.
[16:03] <nacc> skinux: you could also look at checkinstall
[16:04] <pankaj> EriC^^: Thanks. I was always confused about it all the time because no one gave a simple and short explanation like you.
[16:04] <skinux> WEll, for one thing, anything downloaded as binary and non a Ubuntu package, the system isn't aware of.
[16:04] <EriC^^> skinux: this is a very easy way to make a .deb https://ubuntuforums.org/showthread.php?t=910717
[16:04] <EriC^^> pankaj: no problem
[16:05] <nacc> skinux: but there are no dependencies, so I'm not sure why it matters
[16:05] <nacc> skinux: to install: download and then just run it.
[16:06] <nacc> skinux: to remove: rm the binary
[16:06] <nacc> skinux: a package doesn't really get you much else
[16:06] <nacc> EriC^^: good link (although it makes me cringe a bit) :)
[16:06] <pankaj> EriC^^: Do you know any good resources to study disk quotas practically.
[16:07] <EriC^^> pankaj: nope, sorry
[16:07] <pankaj> EriC^^:  OK.
[16:08] <nacc> pankaj: your questionns don't seem very Ubuntu specific, maybe better for ##linux
[16:08] <nacc> pankaj: and also I don't quite know what "study disk quotas practically" would even mean
[16:08] <pankaj> nacc: Sorry. Now, trying that channel also.
[16:10] <pankaj> nacc: I meant to sat that if the tutorial can teach disk quotas with real examples on computer rather then entangling in theory stuff.
[16:10] <nacc> pankaj: do you mean how quotas are implemented?
[16:11] <pankaj> nacc: Yes.
[16:12] <nacc> pankaj: I feel like you need to know at least a little OS theory to understand that, or at least FS theory. If you are only interested in how to use quotas, you don't really need to know how they are implemented in the OS (beyond trusting they are implemented correctly, and perhaps corner-cases)
[16:13] <EriC^^> i think he wants to know how he can limit user's disk usage and stuff with examples
[16:13] <pankaj> nacc: EriC^^  is absolutely right.
[16:13] <nacc> pankaj: ok, so that has nothing to do with the implementation.
[16:13] <nacc> pankaj: read `man quota`
[16:15] <pankaj> nacc: I want to know some useful commands with examples so that I can play with them and for knowledge how to implement them. Not going to advanced ones.
[16:18] <nacc> pankaj: as I said, read `man quota`. Read the related manpages. I'm not sure if they have examples. I have no idea why you need to know how to implement commands that already exist.
[16:18] <nacc> pankaj: also, why do you care about quotas? what is the actual use case?
[16:18] <pankaj> EriC^^: I applied sticky bit on a directory placed some files, applied sticky bit. Also able to create another file in it. But I was still able to delete previous files.
[16:19] <pankaj> nacc: OK. Now, you said so surely I will read the whole page and try to understand properly.
[16:21] <EriC^^> "'
[16:21] <EriC^^> typo
[16:22] <pankaj> EriC^^: What
[16:22] <EriC^^> nevermind the "'
[16:23] <EriC^^> pankaj: since you own the first dir you created in the sticky bit'd dir, you can delete it
[16:25] <pankaj> EriC^^: I think you said that if applied on directory we can create files but not delete previous files stored in it.
[16:26] <EriC^^> delete files created by other users
[16:27] <nacc> pankaj: maybe read `man chmod` "Restricted Deletion Flag or Sticky Bit" section.
[16:28] <pankaj> nacc: I am going round and round.
[16:28] <nacc> pankaj: ?
[16:28] <EriC^^> read "man bash" while loop section for that
[16:29] <EriC^^> j/k
[16:30] <pankaj> nacc: How sticky bit works. What I have to do to know its usage. practically so that I can experiment on my computer and know its importance if not usage.
[16:31] <EriC^^> pankaj: /tmp is sticky bit, it lets users create whatever they want, but they can't delete eachothers stuff
[16:31] <nacc> pankaj: You want to know what the sticky bit does, not how it does what it does.
[16:32] <nacc> pankaj: read the manpage, as I said, it tells you clearly what it does, as did EriC^^, twice now.
[16:32] <pankaj> EriC^^: OK. I checked
[16:32] <pankaj> nacc: That is the reverse of what I said. I want to try the stuff on my laptop and understand it practically that is why I did above but it did not worked out.
[16:33] <blacknred0> why if i have this `username	ALL=(ALL) NOPASSWD: ALL` on /etc/sudoers.... is still asking me for my password everytime i attempt to run sudo?!
[16:33] <EriC^^> pankaj: you need 2 users to try
[16:34] <EriC^^> blacknred0: what does "sudo -l" give you?
[16:34] <nacc> blacknred0: I really don't recommend a NOPASSWD setting in sudoers. I assume you actually changed "username"?
[16:35] <pankaj> nacc: I tried logging as another user and creating another file in same directory but it was deleted. Let me read man page.
[16:35] <nacc> pankaj: you are not describing your test or result sufficiently. Use a pastebin.
[16:35] <nacc> pankaj: "it was deleted" -- by whom?
[16:35] <blacknred0> https://www.irccloud.com/pastebin/hymcAQwU/
[16:35] <EriC^^> pankaj: it might be that the owner can still delete it maybe, try doing sudo chown root: /dir
[16:35] <blacknred0> EriC^^:
[16:36] <blacknred0> nacc: no, i haven't change the username
[16:36] <eirikirir> hi all.. nautilus keeps on crashing as soon as i start it up, i did some research already online, but cannot seem to find a solution.. this is what i get when i open it in terminal...https://paste.ubuntu.com/25721107/
[16:36] <eirikirir> Anybody got a clue what to do.. think maybe it has something to do with gnome being installed as well as unity (mostly using unity)
[16:36] <pankaj> EriC^^: It sounds much complicated then I first encountered it.
[16:37] <pankaj> EriC^^: I am going to experiment in various ways till I understand using man page.
[16:38] <netsrot> Hi, I'm using artful and it's killing processes when I switch between desktops in xorg/openbox. Has only happened to processes using gpu acceleration on radeon driver.
[16:39] <nacc> blacknred0: ok, your pastebin lists two different values (irving and username). Did you edit the output?
[16:39] <ducasse> !artful | netsrot
[16:40] <blacknred0> nacc: yes... the username is the same = irving
[16:40] <nacc> blacknred0: yes you edited it?
[16:41] <blacknred0> nacc: yes
[16:45] <pankaj> EriC^^: I was creating a user specific directory and applying sticky bit on it. Is it true that I have to make it world writable in order correctly use sticky bit. Or all world 'rwx'.
[16:47] <eirikirir> hi all.. nautilus keeps on crashing as soon as i start it up, i did some research already online, but cannot seem to find a solution.. this is what i get when i open it in terminal...https://paste.ubuntu.com/25721107/
[16:47] <eirikirir> Anybody got a clue what to do.. think maybe it has something to do with gnome being installed as well as unity (mostly using unity)
[16:48] <blacknred0> nacc: what would you recommend if not to use `NOPASSWD`?
[16:48] <EriC^^> pankaj: yes
[16:48] <oerheks> starting nautilus from terminal, those warnings are normal, ignore them. to fix nautilus, remove the ~/.config/nautilus/  folder and restart nautilus ?
[16:48] <blacknred0> i would like not to enter a password when i use sudo (going to automate somethings and need to skip asking for it) :)
[16:49] <nacc> blacknred0: well, it immediately becomes rather insecure
[16:49] <nacc> blacknred0: so I don't think you're doing the right thing, probably :)
[16:49] <pankaj> EriC^^: Their is no use of applying that inside any user's home directory as I can delete any file in it. I think trying inside root directory.
[16:51] <eirikirir> oerheks: thanks, but did not work..
[16:52] <oerheks> eirikirir, then reinstall nautilus perhaps?
[16:52] <eirikirir> done it 3 times already..
[16:53] <blacknred0> nacc: i get that.... for some of the scripts that i have, it requires `sudo` and i think it would be less safe to store the password on the script it self
[16:53] <eirikirir> oerheks i guess its total re-install again :) also global menu is acting weird.. thanks anyway
[16:53] <blacknred0> i guess i could pass it through chron as a command, but i rather fix it
[16:54] <nacc> blacknred0: what are you automating that requires sudo in cron?
[16:54] <nacc> blacknred0: that implies, to me, you're doing something wrong
[16:55] <blacknred0> nacc: no, you misunderstood or i didn't explain my self correctly... i am saying that i got a script that will require to run `sudo` so, within the script
[16:55] <blacknred0> my idea was ... that if this doesn't work, that maybe i pass it though cron as a command (env variable)
[16:56] <nacc> blacknred0: what does that script do?
[16:56] <nacc> blacknred0: it feels like you might be trying to invent something that already exists
[16:56] <blacknred0> nacc: it grabs the programs that i have on my pc and some sources in /etc/ and /usr/local to a backup folder
[16:58] <nacc> blacknred0: so it's a backup tool?
[16:58] <nacc> blacknred0: why not use an actual backup tool?
[16:58] <nacc> blacknred0: and if it's only readig from /etc and /usr/local, it does not need root. Is your backup directory root-owned?
[17:00] <blacknred0> nacc: yes is a backuping up the stuff that i consider crucial
[17:00] <blacknred0> nacc: and yes... by default both dirs are owned by root:root
[17:00] <nacc> blacknred0: which dirs?
[17:00] <blacknred0> nacc: /etc and /usr/local
[17:01] <nacc> blacknred0: as I just said, you can still *read* them
[17:01] <nacc> blacknred0: as non-root
[17:01] <nacc> blacknred0: which is all a backup script needs to be able to do, afaict
[17:01] <blacknred0> nacc: read, but not copy them
[17:01] <nacc> !backup | blacknred0: also, just use one of the many backup tools and you don't need to make sure you're doing it rigth.
[17:02] <nacc> blacknred0: what do you think copy is? it's a read and a write (somewhere else)
[17:02] <blacknred0> nacc: thanks for the resources.... i've looked at those as well and it doesn't fit my current case
[17:03] <blacknred0> nacc: let's take a quick step back.... essentially this `username	ALL=(ALL) NOPASSWD: ALL` should do the trick where it should not ask me for my password when i do sudo, correct?
[17:04] <nacc> blacknred0: have you logged out and in?
[17:04] <blacknred0> nacc: yes
[17:04] <blacknred0> would tab or spaces matter? i wouldn't think so
[17:05] <nacc> blacknred0: I don't recall, and you changed "username" to "irving", right?
[17:05] <blacknred0> and for the record... it did work the day that i implemented, but not since i rebooted :/
[17:06] <blacknred0> nacc: yes... and that's what i have on /etc/sudoers
[17:07] <nacc> blacknred0: I believe what you wrote is true, but I've never tried it
[17:07] <blacknred0> nacc: ok, thanks for your help!
[17:07] <blacknred0> i'll keep investigating
[17:07] <blacknred0> just wanted to triple check that i wasn't going crazy or something rofl
[17:08] <blacknred0> (which it could be part of it) lol
[17:09] <ericus> howdy
[17:10] <atb033> I cannot connect to wifi
[17:10] <blacknred0> nacc: interest... i found this http://jeromejaglale.com/doc/unix/ubuntu_sudo_without_password ... place the command at the end of teh file and tried running it and it worked :/
[17:10] <blacknred0> maybe some of the other sudo commands within /etc/sudoers were overwriting mine
[17:10] <nacc> blacknred0: ah that could be
[17:10] <nacc> blacknred0: i'd need to check the manpage, but i do think there might be an ordering rule
[17:11] <blacknred0> nacc: nah, no worries, i can do that mate ;)
[17:11] <ericus> How do I su to a user with --disabled-login? The user has a service that needs an update
[17:11] <rfleming> ericus: set the password for the user, then log in
[17:12] <rfleming> or use passwd -l on the account if you know it
[17:12] <ericus> rfleming, okay, but how would I disable login again after?
[17:12] <rfleming> sorry... -u
[17:12] <nacc> blacknred0: just to be clear, I would highly suggest you not make your passwordless sudo only allow running some script that is the backup script. Otherwise, if anyone gets your login, they own your system as root
[17:12] <rfleming> not -l
[17:13] <blacknred0> nacc: yep, i got you ;)
[17:13] <rfleming> ericus: use -u (unlock) and -l (lock)
[17:13] <blacknred0> i'm in testing mode... so once i'm done i'll be creating a user to do this in the background instead 😉
[17:14] <fishcooker> what's the copy paste tool clipboard for with full integration with terminal?
[17:15] <rfleming> fishcooker: which terminal?
[17:16] <rfleming> fishcooker: on mine it's ctrl-shift-[c,v,x]
[17:18] <fishcooker> lx-terminal
[17:19] <fishcooker> i expect to verify first the copy paste buffer list before pasting to the terminal
[17:19] <fishcooker> because the input paste could be crazy input for the terminal
[17:20] <fishcooker> is there any gui for this purpose rfleming
[17:21] <kevinsan> Ubuntu 17.04 on a laptop. If I systemctl suspend, the laptop screen wakes up correctly. If I close the lid, or suspend via xfce menu, the screen remains blank on wakeup.
[17:21] <kevinsan> Can anyone suggest where to look?
[17:21] <ducasse> fishcooker: with clipit you can get a list of clipboard history from the systray icon
[17:22] <kevinsan> I should add, acpid is installed (dependency of nvidia-304), but no events for suspend are configured, so far as I can tell)
[17:27] <Darxus> I have a Ubuntu 16.04.3 LTS server that I rebooted for the first time in a while.  Came up with eth0 down, no routes.  "ifup eth0" errored, saying it was already configured.  Doing "ifdown eth0; ifup eth0" got it working.  How do I figure out how to make the thing work on its own after rebooting?
[17:37] <atb033> Hey, I cannot connect to my wifi. I have spent over a week trying to find a solution. Can someone help me out?
[17:39] <arch-nemesis> atb033 no promises, can try. I assume you're using NetworkManager? Do you see the AP at all?
[17:45] <atb033> arch-nemesis, what is AP?
[17:46] <arch-nemesis> The access point, I mean.
[17:46] <atb033> no i cant see ap
[17:47] <arch-nemesis> Okay. Is there a hardware RF kill swith on the laptop, or is it disabled in software?
[17:47] <atb033> it seems like ubuntu doesnt have a driver for my laptop
[17:47] <arch-nemesis> rfkill list all will show if the radio is turned off in software.
[17:48] <atb033> it says no to both softblock and hard block
[17:48] <atb033> but it is just showing bluetooth
[17:48] <arch-nemesis> Driver was what I was going to ask next. What's the wireless card?
[17:48] <atb033> not wifi
[17:49] <atb033> Realtek
[17:49] <arch-nemesis> I'm sure there's a driver for a realtek card.
[17:50] <atb033> i tried several ways to install the driver
[17:50] <atb033> but wasnt successful
[17:50] <ducasse> realtek chipsets are often problematic, exactly which one do you have?
[17:50] <atb033> even tried ndiswrapper
[17:51] <atb033> can you tell me the command to check that?
[17:51] <ducasse> lspci/lsusb, depending on type of connection
[17:52] <Darxus> Description:    Ubuntu 16.04.3 LTS
[17:52] <atb033> Realtek Semiconductor Co., Ltd. Device d723
[17:53] <Darxus> Sorry, different conversation.
[17:54] <atb033>  *-network UNCLAIMED
[17:54] <atb033>        description: Network controller
[17:54] <atb033>        product: Realtek Semiconductor Co., Ltd.
[17:54] <atb033>        vendor: Realtek Semiconductor Co., Ltd.
[17:54] <atb033>        physical id: 0
[17:54] <atb033>        bus info: pci@0000:03:00.0
[17:54] <FrostyBytes> atb033: please learn to use a pastebin
[17:55] <ducasse> atb033: that chipset is not supported yet
[17:55] <arch-nemesis> Interesting.
[17:55] <atb033> FrostyBytes, sorry. it is my first time here
[17:55] <atb033> ducasse, so there's nothing i can do?
[17:56] <ducasse> atb033: use a usb dongle instead
[17:56] <oerheks> atb033,  we don t know your BCM device ..
[17:57] <atb033> i bought a usb dongle.. but even it doesnt seem to work :(
[17:58] <ducasse> https://askubuntu.com/questions/959641/rtl8723de-wireless-card-not-working-in-hp-15bs015dx-laptop
[17:58] <atb033> anyways, thanks for helping out guys.
[17:59] <atb033> :)
[17:59] <ducasse> np
[18:01] <EDinNY> Is there a version of lash that works with 16.04?
[18:02] <ArMedic> When attempting to install Ubuntu alongside windows I dont get that option...The install states "No Operating systems have been found"  WHat is causing Ubuntu to not be able to find Windows 10 on here?
[18:02] <EDinNY> Is there a version of FLASH that works with 16.04?
[18:02] <ArMedic> My only option is "Something Else" for a dual boot.
[18:02] <ducasse> EDinNY: install 'adobe-flashplugin'
[18:04] <EDinNY> ducasse: I have flashplugin-nonfree installed...should I uninstall that first?
[18:06] <ducasse> yes, as that doesn't exist for xenial. did you upgrade from another version?
[18:06] <ArMedic> The actual top reads "This computer currently has no detected operating systems"
[18:15] <ArMedic> Dang, slow day around here.
[18:22] <sy> hiya all
[19:26] <bierdieb> : error while loading shared libraries: libnvidia-ml.so.1: cannot open shared object file: No such file or directory
[19:26] <bierdieb>  hello. is it enough to install nvidia-375 package to solve those message?
[19:27] <EriC^^> !find libnvidia-ml
[19:27] <EriC^^> !find libnvidia-ml.so.1
[19:27] <EriC^^> bierdieb: yes
[19:28] <bierdieb> and there is no other things i need to do? uninstall standard drivers or something similar?
[19:29] <EriC^^> bierdieb: nope
[19:29] <bierdieb> ok, so ill give it a try then^
[19:29] <ioria> bierdieb, bare metal, vm, docker, aws ...  ?
[19:29] <cerion> for the ones that tried 17.10 beta, what do yout hink of it ? (no trolls)
[19:30] <bierdieb> ioria, hi, i dont actually understand your question
[19:30] <ioria> bierdieb,  just asking you what kind of installation do you have ...
[19:31] <bierdieb> ubuntu 17.04 standard. have been running 1 amd gfx device first. now i added two nvidia cards (yeah, its a zombie) and try to make them runtoo
[19:32] <ioria> bierdieb,  ok
[19:51] <arch-nemesis> If I go to get.adobe.com/flashplayer it says version 27. Does it not work?
[19:51] <arch-nemesis> nevermind that.
[19:52] <arch-nemesis> I'm responding to old messages.
[19:55] <hethkar> what could be the problem here- https://imgur.com/a/o6CeU this is ubuntu 14.04 machine
[19:56] <arch-nemesis> Bad drive
[19:56] <arch-nemesis> hethkar
[19:56] <w3ptt> Hello, for whatever reason I decided to switch from the proprietary official nvidia drivers to the "noveau"\open source drivers then rebooted. I'm unable to get a login prompt now. I tried holding down SHIFT after the BIOS welcome screen to get to grub bootloader menu but it doesn't seem to be working
[19:56] <w3ptt> Any ideas?
[19:58] <w3ptt> :3
[19:58] <genii> !nomodeset
[19:59] <w3ptt> Yes, but how can I get into the grub menu to set it?
[19:59] <genii> Try ESC instead
[19:59] <w3ptt> Will do, one min
[20:00] <BluesKaj> w3ptt, hold you left shift key down right after your BIOS/post screen
[20:00] <Bashing-om> w3ptt: 1st thought : is nouveau still blacklisted ? '  grep 'blacklist.*nouveau' /etc/modprobe.d/* ' .
[20:00] <w3ptt> I can't get to a command prompt to check
[20:01] <w3ptt> going to try and get into the grub menu
[20:02] <Bashing-om> w3ptt: K' maybe from the login screen -> ctl+alt+F1 to gain a console interface ?
[20:02] <w3ptt> I tried that as well
[20:02] <w3ptt> Nothing shows up
[20:02] <Bashing-om> w3ptt: Ouch !
[20:02] <w3ptt> SHIFT didn't work after bios screen
[20:03] <w3ptt> I'll try escape, it just sucks because this system takes like 3 minutes to boot to BIOS screen. I think because it has 1tb ram
[20:06] <little> there is a folder /data,when i go inside and that if we du -h,it will show disk usage and i see 0 and when i see df -h i see that folder /data which is a mounted point is full,what can be the reason here
[20:10] <w3ptt> Escape didn't work :|
[20:12] <Bashing-om> w3ptt: Then we are looking at booting the install from a live(DVD)USB .
[20:12] <w3ptt> Yeah, I'll have to find it
[20:12] <arch-nemesis> little: I think you mean 'du -hs /data'
[20:14] <jer> little, just a footnote to your problem, du -- disk space used, df -- disk space free... they are not synonymous. in the common case they should be relatively close to one another, but rarely do they match up
[20:14] <little> sure
[20:14] <little> but any thing else is the problem?
[20:14] <arch-nemesis> little: If 'du' still shows 0 and the disk is full, I suspect there are files held open. you can see that with 'lsof'
[20:15] <little> ok
[20:15] <jer> could be that it's running on a filesystem that doesn't report disk space used that df can read, but du traverses the dir structure so it can figure it out
[20:15] <arch-nemesis> That would happen if you went in and rm'd a large file while it was still being written.
[20:15] <phelix> Can someone please help me figure out my DNS.. no matter what I do I can't get my dns to stay. I can get it working for awhile then the next day its gone again
[20:15] <jer> truth is it could be a bunch of different things
[20:15] <little> arch-nemesis: how to remove those files?
[20:15] <phelix> sudo dpkg-reconfigure resolvconf I have ran this I have done so much stuff I have found online but nothing is fixing the problem
[20:16] <arch-nemesis> If you do 'lsof' and see some program wirting to a file there, you can restart the program that's writing
[20:16] <jer> little, close them -- usually by instructing the program that owns them to release them somehow (sometimes you can close a file for instance, in an editor) other times you might have to kill the program
[20:16] <arch-nemesis> Yeah, depends on what it is. If it's apache or nginx, you can send a signal with kill to close and reopen files.
[20:16] <little> jer: arch-nemesis: sure
[20:17] <little> but by killing can a process become a zombie process?
[20:17] <jer> depends on what the process is doing at the time; usually not, but it's possible
[20:18] <arch-nemesis> Well the 'kill' command just sends a signal. It's poorly named. Some applications are designed to respond to signals and do something useful.
[20:18] <little> also how to identify zombie process?
[20:18] <little> lets say if we do ps -ef and there are 25 process running,how can i find which is the zombie process,do we have a keyword to look for ?
[20:19] <arch-nemesis> ps can show you zombie processes. It's in the 'state' column of ps. So like ps -eo pid,state will show you pid number and state.
[20:19] <Bashing-om> little: ' ps aux | grep 'Z' ' .
[20:19] <little> Bashing-om: is it just this ps aux | grep 'Z'?
[20:19] <arch-nemesis> Yes. Z for zombie.
[20:19] <little> or  ' ps aux | grep 'Z' ' .
[20:20] <Bashing-om> little: ps aux | grep 'Z'
[20:22] <little> Bashing-om: arch-nemesis what is the difference between a zombie and an orphan process?
[20:22] <little> due to which a process could enter in these states?
[20:24] <arch-nemesis> All processes are spawned out of pid-1, like systemd. pid1 starts some programs and those programs start other programs, etc. When everything is good the child process reports its exit status to it's parent process
[20:24] <Bashing-om> little: MY take . a zombie is the child of a killed parent where the clean up was not good .. and a orphan is a dependency issue of the package manager .
[20:24] <arch-nemesis> but when the parent process dies before the children, and the child doesn't know where to report it's return state, that's a zombie.
[20:25] <little> arch-nemesis: great explanations Bashing-om arch-nemesis
[20:25] <little> arch-nemesis: your take on orphan process please?
[20:25] <arch-nemesis> Well and orpan happens when a parent process dies, and the return status will be sent back to pid-1. So when you look at like 'pstree' it looks like pid-1 started the process.
[20:26] <little> arch-nemesis: so for zombie also you told the same explanation
[20:26] <Fluffy007> hello eveyone
[20:27] <little> arch-nemesis: in both the cases the parent dies?
[20:27] <arch-nemesis> On your bash prompt, you type programs and they run where bash is the parent. You can see the return status code by typing "echo $?"
[20:27] <arch-nemesis> yes, in both case the parent has died. But for orpahns, it was handed off to pid-1 and for zombies the return status just goes to nowhere.
[20:29] <little> aah great and is there a way to find the orphan process in ps -ef command or anywhere?
[20:29] <houami>  What is the command to find the  packets dropped in an interface
[20:30] <Bashing-om> little: See: http://askubuntu.com/questions/111422/how-to-find-zombie-process
[20:32] <houami> Any replies guys?
[20:32] <little> Bashing-om: sure
[20:33] <oerheks> houami, "command to find the  packets dropped " ??? thery are gone, dropped.
[20:35] <Fluffy007> ty Bashing-om
[20:36] <houami> @oerheks: yes, i want to find how much packets have been dropped since 24 hours
[20:37] <Bashing-om> Fluffy007: ?? In what manner do I deserve a thanks ?
[20:37] <oerheks> houami, journalctl would tell, journalctl -u NetworkManager , or /var/log/syslog
[20:38] <Fluffy007> well thanks for sharing
[20:38]  * Fluffy007  the info
[20:38] <Bashing-om> Fluffy007: :) It's open source at it's best - we are all in this together .
[20:40] <Fluffy007> Lol yes...
[20:41] <houami> @oerheks how about tracert and ping?
[20:42] <Fluffy007> oerheks are you from the Netherlands ?
[20:43] <oerheks> houami, a log of tracert & ping? you would need to setup a log for that, AFAIK, see the last answer https://askubuntu.com/questions/430069/how-to-monitor-who-is-pinging-me
[20:46] <Fluffy007> i have to get used to ubuntu for sure after 3-4 years windows love... ;-)
[20:48] <little> lets say i have a vm with 10gb memory,then i start a java process A of max heap of 5gb and then one more java process B of 6gb.now B has used complete 6gb,and we are left with 4gb.Lets say now if A request more memory,then what happens here
[20:50] <jer> little, so a request for memory != use of that memory
[20:50] <jer> you can request 100 GB of memory if you want, even if you don't have that amount -- (so long as your cpu of course supports addressing 100 GB of memory)
[20:50] <oerheks> little, homework?
[20:51] <jer> little, read up on how linux overcomitting works
[20:51] <little> oerheks: no,this was asked by an interviewer and I was thinking how this can be answered
[20:52] <little> jer: sure,but what happens if B fully uses 6GB and A needs to use 5GB
[20:52] <oerheks> so it is homework.
[20:52] <jer> little, so virtual memory allocations do not directly map to physical storage available
[20:52] <jer> to satisfy them
[20:52] <jer> so basically, you're gonna crash when your process tries to use that memory that's overcomitted
[20:53]  * oerheks mumbles swap
[20:53] <jer> again i suggest if you really want to understand what's going on here, read up on how virtual memory works wrt overcomitting
[20:53] <little> oerheks: it would not say that,I am trying to get knowledge on stuff which I did not know
[20:53] <little> sure jer
[20:54] <jer> oerheks, swap is just another physical storage medium that's abstracted by virtual memory; malloc returns a pointer to some virtual memory, which isn't necessarily mapped yet to physical storage
[20:56] <Fluffy007> vvv
[20:56] <Fluffy007> woeps
[21:09] <memo1> Hi, i have a question.  I use systemd to lauch service on boot.  Before i use the rc.local to lauch scripts on boot, and append a & sign in case of failure.  How i do the same with systemd?
[21:10] <Bashing-om> memo1: See: https://wiki.ubuntu.com/SystemdForUpstartUsers .
[21:44] <tater> ?OTRv23?
[22:12] <xMopxShell> looks like Debian is considering enabling AppArmor by default. Would this sort of think trickle down into ubuntu? I'm not very familiar with how much design crossover there is.
[22:12] <xMopxShell> sort of thing *
[22:15] <oerheks> !apparmor
[22:15] <oerheks> we have it enabled since 7.10
[22:16] <nacc> xMopxShell: so it's more the other way around, in some ways
[22:17] <oerheks> never knew debian is considering using it, do they use selinux?
[22:18] <nacc> oerheks: they just announced that bit (the considering it on by default part)
[22:18] <xMopxShell> nacc: make sense, i feel like ubuntu gets more exposure
[22:18] <xMopxShell> makes *
[22:19] <nacc> xMopxShell: i would expect, at least in this case, there's quite a bit of cooperation between ubuntu and debian
[22:19] <nacc> oerheks: i'm not sure what's on by default, tbh
[22:19] <nacc> oerheks: i thinkn selinux is available but disabled by default, just like apparmor
[22:20] <oerheks> i see .. https://wiki.debian.org/SELinux
[22:20] <oerheks> didn't notice this at all
[22:50] <jerichowasahoax> !xenial | jerichowasahoax