/srv/irclogs.ubuntu.com/2017/10/11/#ubuntu.txt

Seveasbencc: did you restart sshd after that change?00:01
benccSeveas: the name of the service is "sshd" and not "ssh" ?00:03
Seveasthe service name is ssh, the binary name sshd :)00:03
benccSeveas: I'm restarting it with ansible: "service: name=ssh state=restarted"00:04
benccwill check if it is correct00:04
benccthanks00:04
Seveasthat should work00:04
Seveasonly other thing that comes to mind is controlmaster connections that are lingering from before the restart00:05
benccSeveas: restarting the server (not just ssh) fixed it. I'll check if the ansible handler actually run if it is doing what it should00:05
Seveasbencc: there's no handler involved here, just the service module00:06
benccSeveas: I see you know ansible :)00:06
benccright. I have ansible handler that gets notify from tasks and restarts the ssh server00:07
Seveasah, ok00:07
Seveasso that line was a handler and now you wonder whether the handler is actually firing when you expect it to. Gotcha.00:07
benccok. I have a server with bad locale. I'll try to call "sudo systemctl restart ssh.server" manually00:08
Seveasssh, not ssh.server (ssh.service would work too, but the .service is not necessary)00:08
bencc"ssh.service" typo00:08
benccok00:08
benccyes. that did the trick00:08
benccnow I'll check if ansible actually call it. thanks00:09
destinydrivenHey 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:09
destinydrivenI'm using 16.0400:10
Bashing-om!info wkhtmltopdf:i386 | xenial00:11
ubottuxenial: Package wkhtmltopdfi386 does not exist in zesty00:11
Bashing-om!info wkhtmltopdf | xenial00:11
ubottuxenial: wkhtmltopdf (source: wkhtmltopdf): Command line utilities to convert html to pdf or image using WebKit. In component universe, is extra. Version 0.12.3.2-3 (zesty), package size 183 kB, installed size 928 kB00:11
destinydrivenBashing-om, thanks00:12
Bashing-omdestinydriven: Not confirmed ! .. but maybe install as wkhtmltopdf:i386 .00:14
Bashing-omdestinydriven: Per https://packages.ubuntu.com/search?keywords=wkhtmltopdf&searchon=names&suite=xenial&section=all the 32 bit package exists .00:15
destinydrivenWhat I understood from what you linked to is that the 32bit package doesn't exist for 16.0400:15
destinydrivenWon't that give some package not found error?00:15
destinydrivenAhh ok00:16
destinydrivenDidn't know I could so something like sudo apt install wkhtmltopdf:i38600:17
destinydrivenI will try in a bit. I messed up my VM and had to rebuild it so I have a little wait00:18
Bashing-omdestinydriven: ' dpkg --print-foreign-architectures ' shows 32 bit available to your system ?00:18
scummoshello00:18
scummoshow do I report a bug00:18
destinydrivenBashing-om, I have no wait to confirm as yet . . . gotta wait for my VM to rebulid00:19
scummosI go to launchpad and click "report a bug" and it takes me to a twenty-page wiki site00:19
Bashing-om!bug | scummos00:20
ubottuscummos: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.00:20
scummosBashing-om: it's not really in a specific package00:20
scummosso what do I do00:20
Bashing-omscummos: Then I am as lost as you are :(00:21
scummoshm ok00:21
scummosso should I just report it against a random package and have a dev re-assign it00:21
scummosalso that I cannot report a bug without having an ubuntu system is a bit ... sigh00:24
scummosI 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
scummosjust saying, I would find a bug tracker where I can just enter a bug quite useful :D00:25
bcowanscummos: you can file bugs from a browser to launchpad00:29
scummosbcowan: how?00:29
bcowanscummos: bugs.launchpad.net00:30
scummosbcowan: sorry I'm in all seriousness too stupid to find the button which takes me to the report form00:30
scummoswhere is it?00:32
bcowanscummos: on mine when I log in it has report a bug on the top right00:33
scummosbcowan: huh, mine has not, just a link to the profile and a logout button00:34
scummosand https://bugs.launchpad.net/ubuntu/+filebug takes me to the wiki00:36
ymphi everyone, I am compiling fetchmail 6.3.26 with socks5 support, but failed to find a libsocks5 library00:36
ympDoes anyone know where I can find one? Thanks a lot!00:37
scummosooh https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect works00:39
scummosvery easy to find00:39
bcowanscummos: I see that...I filed a bug a couple days ago from web....very obfuscated, should be a hell of allot easier00:40
scummosbcowan: yes indeed, it just took me like twenty minutes to find this link00:40
scummos:/00:40
=== KindTwo is now known as KindOne
jameswmyselfHello, how can I reset package configuration files back to defaults?02:45
swift110-phonehey02:53
DGUERREROGood Day Everyone03:07
swift110-phonehey man03:08
DGUERREROI 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:11
DGUERREROthe 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:  4003:12
swift110-phonehmm03:12
=== andyhuzhill1 is now known as andyhuzhill
KF5WYXApologies 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:19
swift110-phonekm03:21
butteredpopcornmy network interface is coming up as rename4 and I cant connect to it. Is there something I need to do?03:21
ktechmidasKF5WYX, run "df -h"03:21
ktechmidasI reckon your /boot partition is full03:21
ktechmidasKF5WYX, if so follow this: https://askubuntu.com/a/43094403:22
KF5WYXktechmidas : 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
KF5WYXI'd reserved > 100MB, but I guess with partition alignment it's not perfect.03:24
ktechmidasKF5WYX, it will automatically reverse 10% or so03:24
ktechmidas*reserve03:24
ktechmidasalthough using it is a pain...03:25
ktechmidasbut anyway, I'd make /boot at least 500M03:25
KF5WYXThanks - given that this is such a fresh installation - I think it'll be easier, and cleaner if I just reinstall.03:25
ktechmidasmost likely, resizing /boot after install is a pain due to the partitions next to it03:25
KF5WYXktechmidas : I appreciate the help - going to reboot and reserve at least 512.03:26
CreateChangealright, quick question - where do i find a list, even if not quite exhaustive, of the various snap packages out there03:37
bazhangCreateChange, have you tried asking in #snappy yet03:38
CreateChangenope, i will check there03:38
CreateChangethanks for the direction03:38
bazhangnp03:38
=== leion1 is now known as leion
DGUERREROany idea from where xorg pulls the configuration for the hdmi output?04:30
lotuspsychjeDGUERRERO: whats it for mate, whats your actual issue?04:31
DGUERREROI 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 luck04:32
lotuspsychjeDGUERRERO: ubuntu version and DE? graphics card chipset and driver?04:33
DGUERREROlotuspsychje: Kubuntu 16.04.3, nvidia gt540m, nvidia 375.6604:37
lotuspsychjeDGUERRERO: have you tryed other flavors like unity or gnome to hdmi?04:38
lotuspsychjeDGUERRERO: just as compare test04:38
DGUERREROyep, tried unity and lxde with same results04:39
lotuspsychjeDGUERRERO: tryed xrandr --auto also? press the Fn + F(screen) key ?04:40
newly_bashedI 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 awk04:42
DGUERREROlotuspsychje:  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 output04:42
lotuspsychjeDGUERRERO: thats weird04:43
DGUERREROabout the fn key, my laptop doesn't support that shorcut04:43
lotuspsychjeDGUERRERO: checkout arandr also perhaps04:43
lotuspsychje!info arandr04:43
ubottuarandr (source: arandr): Simple visual front end for XRandR. In component universe, is optional. Version 0.1.9-2 (zesty), package size 50 kB, installed size 309 kB04:43
DGUERREROlotuspsychje: I'll try it out and come back, thank you04:44
newly_bashedI just want direction04:44
=== Dreamulador|Off is now known as Dreamulador
lotuspsychjenewly_bashed: there is a nice #awk channel if you like04:48
newly_bashedWhen i install ubuntu or live boot ubuntu on my MacBook Pro 2016 with touch bar05:00
newly_bashedKeyboard and mouse doesn't work05:00
newly_bashedIs ubuntu supported in my laptop or fully compatible with it05:01
newly_bashed?05:01
lotuspsychje!mac | newly_bashed depends on mac type05:03
ubottunewly_bashed depends on mac type: For help on installing and using Ubuntu on a Mac, see: https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages05:03
newly_bashedType?05:04
newly_bashedI said that it is MacBook Pro 2016 with touchbae05:04
newly_bashedTouchbar05:04
newly_bashedNeed any other information05:04
newly_bashed?05:04
newly_bashedOk got that05:05
newly_bashedWill try and come back05:05
newly_bashedThank you05:05
=== leion1 is now known as leion
charmeri'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:19
lotuspsychjecharmer: join #ubuntu+1 for artfull issues05:20
charmerlotuspsychje: thank you!05:20
=== Jochen_wvdT is now known as Schlawiner
=== jelly-home is now known as jelly
lotuspsychjemorning alkisg05:56
alkisgGood morning lotuspsychje, good morning all :)05:57
ducasse\o05:59
=== r0Oter is now known as r00ter
=== JanC is now known as Guest86327
=== JanC_ is now known as JanC
=== andyhuzhill1 is now known as andyhuzhill
pankajHello. Please, can anybody make me understand the concept of these package keys used in ubuntu?07:29
pankajOr is their is any good resource.07:29
glitsj16pankaj: have you seen https://help.ubuntu.com/community/SecureApt yet?07:31
pankajglitsj16: yes07:32
pankajglitsj16: But what is its significance even though package can be installed without being authenticated.07:33
pankajglitsj16: Hello07:37
glitsj16pankaj: 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 packager07:38
glitsj16pankaj: what exactly did you mean "without being authenticated"?07:38
=== jackNemrod_ is now known as jackNemrod
pankajglitsj16: 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:39
EriC^^pankaj: he's asked whether to continue or not07:40
EriC^^it's installed but he can't know if it was fully downloaded or the code was tampered with by someone07:41
pankajglitsj16: 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
pankajEriC^^: What?07:41
glitsj16pankaj: correct, that's why adding the signing key is part of adding repos, even with PPA's07:41
EriC^^pankaj: ?07:42
pankajglitsj16: 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
pankajEriC^^: your first question to me.07:43
laceylaneyHI 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#post1369645507:44
pankajglitsj16: Hello07:46
glitsj16pankaj: 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 available07:47
pankajglitsj16: So, It means that I can enter it manually.07:48
glitsj16pankaj: yes, was that what you meant originally? I understand now I think07:49
glitsj16pankaj: apt has a parameter "--allow-unauthenticated" if I recall correctly07:50
pankajglitsj16: Yes, I was a little confused about how this key stuff go around in ubuntu.07:50
pankajglitsj16: 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
glitsj16pankaj: I see, it's not specifically Ubuntu, all debian based distros using apt as package manager work the same way07:51
pankajglitsj16: Sorry, My mistake. I understand07:52
pankajglitsj16: Only the last thing. How to assign key maunally. Assume that the repository is added.07:52
glitsj16pankaj: no need to apologize, things are confusing sometimes :)07:52
pankajglitsj16: hello07:55
glitsj16pankaj: 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 keyring07:55
pankajglitsj16: The document looks pretty interesting to read. OK. Thanks07:56
glitsj16pankaj: 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 sometimes07:58
KryptonianBefore i run this, what will it do. sudo apt-get install php php-apc php-intl mariadb-server apache2.07:58
pankajglitsj16: ok07:59
ducasseKryptonian: it will install those packages07:59
KryptonianI hope the guide is up to date, and i am installing up to date stuff. My end goal is mediawiki installed08:00
Kryptonianin short it says i need php, database server & a web server like apache08:01
ducasseKryptonian: it will install the latest versions for your release08:01
Kryptonianphp-apc package is not available.08:05
ducassewhich release is this?08:07
Kryptoniandoes that mean which version of ubuntu am i in? (very new to ubuntu os)08:08
ducasseyes08:08
Kryptonianubuntu 17.04-server-amd6408:08
Kryptonianran some desktop installer a short while ago08:08
Kryptoniansudo apt-get install ubuntu-desktop I used that08:09
ducassethat package does not exist in 17.04, no08:09
Kryptoniani see, i could download the previous version. Any suggestions?08:11
ducasseit's not in 16.04 either afaict08:11
glitsj16php-apcu might be the better alternative, as PHP 7 defaults to using opcache, APCu is the userland counterpart if I recall correctly08:12
KryptonianTrying to follow this guide https://www.mediawiki.org/wiki/Manual:Installation_requirements08:12
Kryptonianphp-apcu, will try that08:12
glitsj16Kryptonian: you might be interested in adding https://launchpad.net/~ondrej/+archive/ubuntu/php, the page you linked mentions there's problems with PHP 7.108:17
=== Attoy_ is now known as Attoy
Kryptonianglitsj16, thank you, i will take a look at that website and download stuff08:21
glitsj16Kryptonian: 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 launchpad08:25
xcom169hello08:30
xcom169What is the purpose of /lib/firmware/amdgpu/ ? Is it used by the kernel driver?08:30
lesshastemy keyboard layout has suddenly changed for some reason on my linux box so I get \ instead of #. How can I permanently fix this?08:43
justanooblethi 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:44
justanoobletcan anyone here help with dns ?08:51
FroL_OnnHello 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 as08:53
ubottuLaunchpad bug 781365 in Déjà Dup "duplicate for #907849 resuming a backup should be obvious in the UI" [Low,Confirmed]08:53
FroL_Onnit seems to me.08:53
FroL_OnnDid I chose a wrong app for my backups?)08:53
FroL_OnnI'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.08:54
xcom169What is the purpose of /lib/firmware/amdgpu/ ? Is it used by the kernel driver?09:00
lesshastehow can I set my keyboard to a UK layout?09:02
alkisglesshaste: setxkbmap -query shows what you have09:03
alkisgsetxkbmap uk sets it to uk, probably09:03
MacroManI think one of my servers is under a ddos attack09:03
lesshastealkisg, thanks! It says layout:     us,gb09:03
alkisglesshaste: then setxkbmap gb09:03
lesshastealkisg, thanks.. is that permanent?09:03
lesshasteI mean after rebooting09:03
alkisgNo, for permanent it depends on the desktop environment09:04
lesshastealkisg, ok so how can I do that?09:04
alkisgWhich desktop environment are you using?09:04
alkisglubuntu, xubuntu, unity etc?09:04
justanooblethi 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
lesshastealkisg, hmm... unity it seems09:06
alkisglesshaste: i'm not using unity, wait for someone else to tell you the control panel details09:07
lesshasteok thanks09:07
lesshasteand thanks for your help09:07
Tin_manlesshaste, might try this link. >> http://linuxblog.darkduck.com/2013/10/how-to-configure-keyboard-layouts-in-unity-gnome3-kde.html09:16
lesshasteTin_man,  thanks09:17
Tin_mannp09:17
justanoobletnobody here knows ubuntu dns?09:20
=== SimonNL is now known as SimonNL_Afk
newly_bashedhello everyone09:38
newly_bashedafter googling :))09:38
newly_bashedi was unable to make folder and it's content that no one can read or right09:39
newly_bashednot even root09:39
newly_bashedwrite*09:39
newly_bashedonly one user can access it09:40
newly_bashedand root can't login as that one user without password as well09:40
ruicruzhello 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 required09:42
ruicruzhowever 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
Ben64newly_bashed: what's the question09:42
KegzHey 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_bashedquestion hmm : frist question is is it even possible ?09:42
newly_bashedsome say yes some sy no09:42
KegzWell it says its partitioned the disk until I leave the utility and then it says its not anymore.09:43
Ben64newly_bashed: only if it's encrypted i guess09:43
Ben64but root could still get in if they really want to09:43
EriC^^Kegz: maybe you need to press on a "write" button or something09:44
newly_bashedroot and decrypt easyly09:44
EriC^^Kegz: try using "gparted"09:44
newly_bashedther is some programs or kernals09:44
KegzYeah in fdisk I hit w and it closes out and then nothing I've done actually writes.09:44
newly_bashedlike selinux09:44
EriC^^Kegz: try "sudo partprobe"09:45
KegzYeah I've tried that also and it does nothing :(09:45
EriC^^Kegz: can you show the output of "sudo parted -l" ?09:46
KegzAlso, gparted is GUI based? I don't have gui installed.09:46
EriC^^!paste | Kegz09:46
ubottuKegz: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.09:46
KegzDo you want all the drives? Or just the one I'm having issues with?09:47
EriC^^Kegz: just the one09:47
Kegzhttp://paste.ubuntu.com/25719039/09:48
Ben64Kegz: thats all it shows?09:49
EriC^^Kegz: try sudo dd if=/dev/zero of=/dev/sda count=10009:49
KegzBen64: yeah after partitioning it thats all it was showing.09:50
KegzEriC^^: Done, whats that do?09:50
EriC^^Kegz: it removes the partition table09:50
EriC^^i wanted to see if you could "write" to the disk09:51
KegzYeah it does that fine.09:51
Ben64does it though09:51
EriC^^Kegz: type "sudo fdisk /dev/sda"09:51
KegzYup09:52
EriC^^Kegz: press "o"09:52
KegzBen64, I believe so09:52
EriC^^how many partitions do you want to make?09:52
KegzJust the 109:52
KegzIt's going to be my OS drive.09:52
KegzI am planning on copying everying over to it once I can get it to partition.09:52
EriC^^Kegz: ok, after o, press "n" then keep hitting enter09:53
Kegz Yeah, done. I've done this about 5 times lol.09:53
EriC^^Kegz: press "w"09:53
KegzTried 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:53
EriC^^Kegz: did you check "dmesg" ?09:54
KegzNo, what is that?09:54
EriC^^Kegz: it shows errors from the kernel09:54
KegzI'll look in there.09:54
EriC^^(and other stuff)09:54
KegzBecause when I do sudo fdisk -l now it says the same as it did prior to running through the partitioning.09:55
Ben64did you partition again just now after running the dd09:55
EriC^^Kegz: can you type "sudo hexdump -C /dev/sda | head -40" and pastebin it?09:55
Kegzyeah I partitioned it again when EriC^^ asked.09:56
EriC^^Kegz: cat /proc/partitions shows nothing?09:56
Kegzhttp://paste.ubuntu.com/25719093/09:57
Kegz  8        0  125034840 sda09:58
Kegzand then shows the rest of my drives too09:58
KegzIt only has sda though, doesn't add a sda109:58
theablestmanhow do i change my hostname?09:58
EriC^^Kegz: well it seems like the first part of the disk is only zeros09:59
EriC^^so the partition table didn't infact write09:59
EriC^^!hostname | theablestman09:59
ubottutheablestman: Use hostname <somehostname> to set the hostname, or to do it permanently: edit /etc/hosts to include BOTH the old and new hostname and then change /etc/hostname to the new one. WARNING! Make sure that your current hostname and /etc/hosts match, otherwise sudo may not work properly.09:59
KegzMakes 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
alkisgKegz: try: sudo dd if=/dev/urandom of=/dev/sdb bs=512 count=110:00
EriC^^Kegz: try sudo dd if=/dev/urandom... ^10:00
alkisgThis will try to fill junk in your partition table10:00
KegzI've also changed the sata port it was connected to and changed the hdd aswell.10:00
EriC^^wait10:00
EriC^^/dev/sda not /dev/sdb10:00
alkisgyeah was typing about the letter ^ :)10:01
KegzI'll do a pste of dmesg for you10:01
theablestmanericc how i do it permantly10:01
Ben64theablestman: it says right there10:01
EriC^^theablestman: that does it permanently10:01
Ben64Kegz: what's 'ls -la /dev/sda' show10:02
theablestmani dont know how to do it10:02
Ben64theablestman: read the line ubottu put10:03
theablestmannvm i got10:03
Kegzhttp://paste.ubuntu.com/25719111/10:03
KegzThats like the last page of the dmesg10:03
theablestmani got to keep doing hostname <somehostname>?10:03
Ben64theablestman: read the whole line...10:04
Kegzbrw-rw---- 1 root disk 8, 0 Oct 11 10:03 /dev/sda10:04
theablestmani got to keep doing hostname <somehostname> edit /etc/hosts?10:05
Ben64Kegz: oh well, worth a shot. i had an issue once where that file wasn't correct10:05
Ben64theablestman: no. read the whole line10:05
KegzI'm honestly open to EVERYTHING at,10:05
Kegzatm*10:05
theablestmani dont understand10:05
EriC^^Kegz: try sudo dd if=/dev/urandom of=/dev/sda count=1 && sudo hexdump -C /dev/sda | head10:05
Ben64theablestman: what do you not understand10:05
KegzI've spent a long time researching this and trying it over and over again to no result.10:05
EriC^^Kegz: did you try rebooting the server?10:06
theablestmantheablestman@terminal:~$ edit /etc/hosts10:06
theablestmanWarning: unknown mime-type for "/etc/hosts" -- using "application/octet-stream"10:06
theablestmanError: no write permission for file "/etc/hosts10:06
Kegzyeah a couple times10:06
theablestmanadd sudo?10:06
Kegzhttp://paste.ubuntu.com/25719124/10:06
Ben64theablestman: first, read and understand the entire line from ubottu10:06
alkisgKegz: seems like a worn out disk10:06
Ben64yeah, writes aren't happening10:07
KegzIt is a semi old SSD10:07
Ben64hardware issue seems likely10:07
Kegzbut as I say it came straight out of my working windows machince.10:07
theablestmani know the first part not the edit10:07
Kegzmachine*10:07
Ben64theablestman: maybe don't try to change your hostname then10:08
theablestmani changed it but i want to stay10:08
Ben64theablestman: if you can't figure it out with the instructions above, then it may be above your ability10:08
theablestmanlol10:09
EriC^^Kegz: try sudo apt-get install smartmontools && sudo smartctl -a /dev/sda10:09
theablestmani did sudo /etc/hostname terminal10:10
theablestmansay can be found10:11
Kegzsudo vim /etc/hostname10:11
theablestmansudo: vim: command not found10:12
KegzSMART overall-health self-assessment test result: PASSED10:12
KegzWhat else did you want from that command10:12
Kegzsudo nano /etc/hostname10:13
Kegzvi should be installed though :S10:13
theablestmanok how i save?10:14
theablestmanctrl c10:14
theablestmanctrl o10:14
KegzEric^^ http://paste.ubuntu.com/25719179/10:14
hateballtheablestman: ctrl+x to save and exit in nano10:15
theablestmanok ty10:15
theablestmanok done ty10:15
EriC^^Kegz: ssd is on its way out10:26
Kegzgod damn it10:27
EriC^^i think, maybe someone can confirm10:27
KegzI'll swap it over to my other one and run it again.10:28
KegzBut they're both from the same era so I'd assume they're both in the same condition.10:28
* tomreyn has not seen raw values like "1/5654548" before10:30
Kegzfrom what google tells me higher results in a lot of these things are better, its a "life remaining" counter.10:33
tomreynwhich models are these?10:34
Kegzadata sp90010:34
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 minutes10:35
KegzI'll try this over night10:38
KegzIts doing a long test atm10:38
KegzBut 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/410:40
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 what10:41
KegzIm really unsure what to think or do with this now.10:44
tomreynhere's what a Samsung SSD 850 EVO gives - looks completely different (also / mostly due to different data structure revision) https://pastebin.com/raw/P9XUKX0X10:44
KegzIm really unsure what to think or do with this now.10:46
Kegz231 SSD_Life_Left           0x0013   098   098   010    Pre-fail  Always       -       429496729710:47
KegzThis line here confuses me too.10:47
tomreynyou could try asking in ##hardware , too10:51
xcom169What is the purpose of /lib/firmware/amdgpu/ ? Is it used by the kernel driver?11:45
oerheksxcom169, yes.11:47
xcom169oerheks: yes, .. hm?11:48
xcom169oerheks: does it do any good for me if I have there a firmware?11:48
oerheksxcom169,  you should use it, as the firmware is crucial for the working of the driver.11:49
oerheksno need to fiddle around with that.11:49
xcom169oerheks: because when I updated my kernel to 4.13.5 on my 16.04 ubuntu11:50
xcom169oerheks: I had warning messages that .. polaris firmware is missing11:50
xcom169oerheks: I CPd there some firmwares, but is it good?11:50
xcom169oerheks: I have RX 460 amd gpu11:50
oerheksnot sure you can use an older amdgpu driver with such new kernel.11:51
oerheksi 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 work11:53
BluesKajHey folks11:55
xcom169oerheks: amdgpu driver is in the kernel, right?11:56
xcom169oerheks: it's not a different module11:57
oerheksxcom169, you see the amdgpu bin firmware, that is needed for the kernel module.11:57
xcom169oerheks: so this eg. is useless for me ?  polaris10_me.bin ?11:58
lfowlrhelo it says needs to restart to finish installing updates, so how do I do it without resstarting I used the software updaterr.11:58
oerheksso if that 4.13 kernel does not give a fresh amdgpu, you are on your own11:58
oerhekslfowlr, not. you need to restart.11:59
lfowlrthis is not windows12:00
lfowlridiot12:00
lfowlrgrub update?12:00
xcom169oerheks: I got it from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.5/ . I think it contains every important kernel modules, like amdgpu12:00
oerheksxcom169, mainline is oke, but if it does not provide the correct driver/firmware, that ppa is just for testing, not supported here.12:01
oerheks!mainline12:02
ubottuThe kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds12:02
oerheksbest thing you can do on 16.04 is enable HWE, to get a newer kernel, with supported amdgpu12:03
oerheks!hwe12:04
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack12:04
oerheksthis will get you on 4.10 ( zesty 17.04)12:04
tomatopeelhey 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
tomatopeelI'm doing some airgap/offline stuff12:05
oerhekstomatopeel,  the 'persistance' option was removed in usb-creator, here is the wiki to add it manually https://help.ubuntu.com/community/LiveCD/Persistence12:07
oerheksor https://wiki.ubuntu.com/LiveUsbPendrivePersistent12:07
goofy_hi12:08
goofy_{APACHE_LOCK_DIR}12:08
goofy_do you know the real path?12:08
darkadHi all, is a amd64 iso fully compatible with a 64bit Atom processor?12:09
oerheksdarkad, yes, don't get confused by the AMD part.12:10
SwedeMikedarkad: amd64 is for all 64bit "x86" processors12:10
oerheksAMD was just the 1st that delivered a full compatible 32 + 64 bit cpu12:10
xcom169oerheks: I can anytime delete this ppa kernel and return to the stock 4.1012:12
darkadI was a bit undecided between atom amd64 and arm6412:12
oerheksxcom169,  you can boot in an older kernel, and remove 4.13, sure ( and update grub after that)12:12
=== beaver is now known as evilnewbie
BluesKajdarkad, arm64 is for raspberrypi boards etc, not for regular pcs or laptops12:18
darkadyes I'm comparing atom and arm computers12:20
BluesKajdarkad, ok12:23
adachow do I purge the iptables-persistent rules?12:24
adacon restart, even if I wiped out my iptables rules, they are coming back :D12:25
wavepropsometimes ps shows cron and CRON what is the diff12:36
=== KindTwo is now known as KindOne
wavepropno difference at all? okay12:50
* waveprop swollow both12:50
=== KindTwo is now known as KindOne
=== xtron_ is now known as xtron
=== xtron is now known as Guest40342
IhrFusselDo file writes become slower the more files exist in a directory?13:18
EriC^^IhrFussel: no13:19
tomreynbut jounral updates do on ext file systems with journalling, i think13:23
tomreynumm sorry i somehow read "more files in directrory" as "file system almost full", so ignore what i said.13:25
=== juboxi is now known as jubo2
xtronhow we can generate software interrupts?14:00
geodb27People : 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:09
geodb27My 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:10
rfleminggeodb27: sounds like ftponly is an ldap group14:11
geodb27rfleming: the fact is that there is no such entry in my ldap.14:12
rflemingif it isn't local, then it has to be remote14:14
geodb27I'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
alkisgAny caching?14:14
alkisgI.e. from previously deleted ldap group...14:14
geodb27alkisg: The first thing I did was to shot nscd :-)14:14
alkisgWell,if you temporarily remove ldap from "files ldap", it'll tell you it's not local...14:15
geodb27indeed, let me give it a try :-)14:15
geodb27Right. Removing the "ldap" from group: files ldap line of nsswitch.conf gave no entry for this group... Interresting...14:16
cyphasedoes 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 executions14:17
geodb27End of the day, wrong ldap... Well, shame on me. Anyway, many thanks for your help, alkisg and rfleming !14:23
UltimaNitroAXI think I screwed up my installation of Ubuntu trying to upgrade from 14.04 to 16.04.14:43
UltimaNitroAXHmm.14:48
naccUltimaNitroAX: how did you upgrade?14:56
UltimaNitroAXnacc, well it gave me a notification telling me that I could upgrade, something like that.14:56
naccUltimaNitroAX: the GUI?14:57
UltimaNitroAXYeah.14:57
UltimaNitroAXSo I upgraded, I told it that it could upgrade.. But it was in the middle of upgrading..14:57
UltimaNitroAXAnd the screen just went to a blank, black terminal.14:57
UltimaNitroAXNot 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:57
m3rlinUltimaNitroAX: https://www.howtoforge.com/tutorial/ubuntu-lts-update-dist-upgrade/ maybe it work but I didn't try before14:58
UltimaNitroAXBut 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
UltimaNitroAXAt 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.14:59
alkisgsudo parted -l => to pastebin...15:00
UltimaNitroAXHmm?15:01
UltimaNitroAXSounds like a terminal command.15:01
UltimaNitroAXalkisg, did you want me to do something with that?15:02
Dreamanwhy not 16.0415:03
UltimaNitroAXI 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:03
UltimaNitroAX@ Dreaman15:04
oerheksbefore upgradings, always have an USB with the iso ready15:04
Dreamanflash usb15:04
Dreamanboot install15:04
UltimaNitroAXI don't have any USBs either though.15:04
Dreamannot need cd dvd15:04
Dreamanok15:04
UltimaNitroAXMy only means of installation are DVD-Rs.15:04
UltimaNitroAXI ran out of them though.15:04
Dreaman4 gb usb stick is 3 4 $15:05
UltimaNitroAXWell I don't have the money.15:05
UltimaNitroAXAll I want to know right now, is how to get into my Ubuntu partition again.15:05
Dreamanunetbootin15:05
Dreamanold ubuntu download new and boot to isntall15:06
Dreamaninstall15:06
UltimaNitroAXI need to back up files to a 900 GB USB hard drive first..15:06
UltimaNitroAXBut I can't get into the actual Ubuntu partition!15:06
Dreamanok15:06
tomreynUltimaNitroAX: 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:08
UltimaNitroAXI just can't figure out how to access the data.15:10
oerhekshold shift @ boot and choose an older kernel?15:10
UltimaNitroAXHmm...15:10
UltimaNitroAXYou mean, the current hard drive installation?15:11
UltimaNitroAXSo, 14.04 is still on there and it's working?15:11
UltimaNitroAXI know what you're talking about, choosing an older kernel.. I  think I'll do that.15:11
oerheksit might work15:11
UltimaNitroAXYeah, I'll come back to you on the Live Disc if it doesn't work15:11
UltimaNitroAXIf it does I'll come back to you on my 14.04 installation or whatever is working15:11
tomreynso you have a live disk, what's on it?15:12
UltimaNitroAXUbuntu 14.04.515:12
tomreynoh okay, and the installation is the same system, so you can recover15:12
UltimaNitroAXOh, I can recover?15:12
UltimaNitroAXHow's that work?15:12
tomreynthe way oerheks suggested is the easiest if it works15:13
tomreyn!rescue15:13
ubottuIf your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode15:13
UltimaNitroAXI think I'm gonna try the Shift at boot thing.15:14
UltimaNitroAXIf that doesn't work, I'll just come back and ping you for help on recovery again, I guess.15:15
oerheksgood luck there15:15
tomreynthe live cd approahc is this https://help.ubuntu.com/community/LiveCdRecovery15:15
tomreynyes, do that15:15
oerhekstomreyn +215:15
pascalouhi15:29
pascalouwhich process does the hardware probing and module loading at boot ?15:29
pascaloui kinda fu**ed up while removign modules and would not like to reboot15:30
=== jstein_ is now known as jstein
BluesKajremoving which modules?15:31
pascalouall the ones named wifi15:31
pascalouthen did dmesg and lost my history15:32
alkisgType "history" to see it15:32
naccpascalou: `history`.15:32
pascaloumade a loop and forgot to store the module names ina  variable for loading them later15:32
naccpascalou: why did you unload them in the first place?15:32
pascalouupgraded the firmware15:33
BluesKajthat's not the method to use to upgrade drivers/firmware15:33
marsjedoes anyone know if mkfs.ext4 creates a UUID for the fs (without the -U option)?15:37
alkisgof course15:38
marsjealkisg: 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 uuid15:44
oerheksjust formatting does not change uuid15:46
marsjeoerheks: ok, that would be good in my case... just wasn't sure if not provider -U would end up with a uuid-less partition15:48
EriC^^marsje: running mkfs.ext4 makes a new filesystem with a uuid15:49
marsjeEriC^^: ok, great15:49
EriC^^marsje: maybe you can pass it -U <old uuid> to it doesn't think a new disk was inserted15:50
EriC^^*so it15:50
marsjeEriC^^: oerheks just said that it wouldn't change... the man page does not say anything about it15:51
EriC^^marsje: it does change it15:51
EriC^^iirc15:51
oerheksI remember not seeing a change, as i didn't change the size..15:52
=== jelly-home is now known as jelly
EriC^^oerheks: i think the PTUUID stays the same15:53
EriC^^pretty sure that mkfs generates some random uuid each time it runs15:53
marsjethe plot thickens... I'm getting my UUID from some udev thingy (called ID_FS_UUID)15:56
marsjeif it does change it, I might end up in some mkfs loop and I then should indeed pass the old uuid15:57
pankajI 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:57
EriC^^pankaj: no, it gives write permission to the dir, without being able to delete others files15:59
pankajpankaj: I do not know whether their is any correction in the statement of the book or not.16:00
pankajEriC^^: Is this the only use of sticky bit?16:01
pankajEriC^^: : I do not know whether their is any correction in the statement of the book or not.16:01
skinuxHow 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
naccskinux: probably easiest would be a snap.16:01
EriC^^letting a user create any file he wants in a dir, but not delete the ones that others have created there16:02
naccskinux: but if it comes in binary form, I don't know why you need to package it.16:03
naccskinux: you could also look at checkinstall16:03
pankajEriC^^: Thanks. I was always confused about it all the time because no one gave a simple and short explanation like you.16:04
skinuxWEll, 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=91071716:04
EriC^^pankaj: no problem16:04
naccskinux: but there are no dependencies, so I'm not sure why it matters16:05
naccskinux: to install: download and then just run it.16:05
naccskinux: to remove: rm the binary16:06
naccskinux: a package doesn't really get you much else16:06
naccEriC^^: good link (although it makes me cringe a bit) :)16:06
pankajEriC^^: Do you know any good resources to study disk quotas practically.16:06
EriC^^pankaj: nope, sorry16:07
pankajEriC^^:  OK.16:07
naccpankaj: your questionns don't seem very Ubuntu specific, maybe better for ##linux16:08
naccpankaj: and also I don't quite know what "study disk quotas practically" would even mean16:08
pankajnacc: Sorry. Now, trying that channel also.16:08
pankajnacc: 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
naccpankaj: do you mean how quotas are implemented?16:10
pankajnacc: Yes.16:11
naccpankaj: 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:12
EriC^^i think he wants to know how he can limit user's disk usage and stuff with examples16:13
pankajnacc: EriC^^  is absolutely right.16:13
naccpankaj: ok, so that has nothing to do with the implementation.16:13
naccpankaj: read `man quota`16:13
pankajnacc: 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:15
=== SimonNL_Afk is now known as SimonNL
naccpankaj: 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
naccpankaj: also, why do you care about quotas? what is the actual use case?16:18
pankajEriC^^: 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:18
pankajnacc: OK. Now, you said so surely I will read the whole page and try to understand properly.16:19
EriC^^"'16:21
EriC^^typo16:21
pankajEriC^^: What16:22
EriC^^nevermind the "'16:22
EriC^^pankaj: since you own the first dir you created in the sticky bit'd dir, you can delete it16:23
pankajEriC^^: I think you said that if applied on directory we can create files but not delete previous files stored in it.16:25
EriC^^delete files created by other users16:26
naccpankaj: maybe read `man chmod` "Restricted Deletion Flag or Sticky Bit" section.16:27
pankajnacc: I am going round and round.16:28
naccpankaj: ?16:28
EriC^^read "man bash" while loop section for that16:28
EriC^^j/k16:29
pankajnacc: 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:30
EriC^^pankaj: /tmp is sticky bit, it lets users create whatever they want, but they can't delete eachothers stuff16:31
naccpankaj: You want to know what the sticky bit does, not how it does what it does.16:31
naccpankaj: read the manpage, as I said, it tells you clearly what it does, as did EriC^^, twice now.16:32
pankajEriC^^: OK. I checked16:32
pankajnacc: 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:32
blacknred0why if i have this `usernameALL=(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 try16:33
EriC^^blacknred0: what does "sudo -l" give you?16:34
naccblacknred0: I really don't recommend a NOPASSWD setting in sudoers. I assume you actually changed "username"?16:34
pankajnacc: I tried logging as another user and creating another file in same directory but it was deleted. Let me read man page.16:35
naccpankaj: you are not describing your test or result sufficiently. Use a pastebin.16:35
naccpankaj: "it was deleted" -- by whom?16:35
blacknred0https://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: /dir16:35
blacknred0EriC^^:16:35
blacknred0nacc: no, i haven't change the username16:36
eirikirirhi 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
eirikirirAnybody 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
pankajEriC^^: It sounds much complicated then I first encountered it.16:36
pankajEriC^^: I am going to experiment in various ways till I understand using man page.16:37
netsrotHi, 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:38
naccblacknred0: ok, your pastebin lists two different values (irving and username). Did you edit the output?16:39
ducasse!artful | netsrot16:39
ubottunetsrot: Ubuntu 17.10 (Artful Aardvark) will be the 27th release of Ubuntu.  It is due to be released in October 2017. Discussion in #ubuntu+116:39
blacknred0nacc: yes... the username is the same = irving16:40
naccblacknred0: yes you edited it?16:40
blacknred0nacc: yes16:41
pankajEriC^^: 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:45
eirikirirhi 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
eirikirirAnybody 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:47
blacknred0nacc: what would you recommend if not to use `NOPASSWD`?16:48
EriC^^pankaj: yes16:48
oerheksstarting nautilus from terminal, those warnings are normal, ignore them. to fix nautilus, remove the ~/.config/nautilus/  folder and restart nautilus ?16:48
blacknred0i would like not to enter a password when i use sudo (going to automate somethings and need to skip asking for it) :)16:48
naccblacknred0: well, it immediately becomes rather insecure16:49
naccblacknred0: so I don't think you're doing the right thing, probably :)16:49
pankajEriC^^: 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:49
eirikiriroerheks: thanks, but did not work..16:51
oerhekseirikirir, then reinstall nautilus perhaps?16:52
eirikirirdone it 3 times already..16:52
blacknred0nacc: 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 self16:53
eirikiriroerheks i guess its total re-install again :) also global menu is acting weird.. thanks anyway16:53
blacknred0i guess i could pass it through chron as a command, but i rather fix it16:53
naccblacknred0: what are you automating that requires sudo in cron?16:54
naccblacknred0: that implies, to me, you're doing something wrong16:54
blacknred0nacc: 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 script16:55
blacknred0my idea was ... that if this doesn't work, that maybe i pass it though cron as a command (env variable)16:55
naccblacknred0: what does that script do?16:56
naccblacknred0: it feels like you might be trying to invent something that already exists16:56
blacknred0nacc: it grabs the programs that i have on my pc and some sources in /etc/ and /usr/local to a backup folder16:56
naccblacknred0: so it's a backup tool?16:58
naccblacknred0: why not use an actual backup tool?16:58
naccblacknred0: and if it's only readig from /etc and /usr/local, it does not need root. Is your backup directory root-owned?16:58
blacknred0nacc: yes is a backuping up the stuff that i consider crucial17:00
blacknred0nacc: and yes... by default both dirs are owned by root:root17:00
naccblacknred0: which dirs?17:00
blacknred0nacc: /etc and /usr/local17:00
naccblacknred0: as I just said, you can still *read* them17:01
naccblacknred0: as non-root17:01
naccblacknred0: which is all a backup script needs to be able to do, afaict17:01
blacknred0nacc: read, but not copy them17:01
=== juboxi is now known as jubo2
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:01
ubottublacknred0: also, just use one of the many backup tools and you don't need to make sure you're doing it rigth.: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup and !cloning17:01
naccblacknred0: what do you think copy is? it's a read and a write (somewhere else)17:02
blacknred0nacc: thanks for the resources.... i've looked at those as well and it doesn't fit my current case17:02
blacknred0nacc: let's take a quick step back.... essentially this `usernameALL=(ALL) NOPASSWD: ALL` should do the trick where it should not ask me for my password when i do sudo, correct?17:03
naccblacknred0: have you logged out and in?17:04
blacknred0nacc: yes17:04
blacknred0would tab or spaces matter? i wouldn't think so17:04
naccblacknred0: I don't recall, and you changed "username" to "irving", right?17:05
blacknred0and for the record... it did work the day that i implemented, but not since i rebooted :/17:05
blacknred0nacc: yes... and that's what i have on /etc/sudoers17:06
naccblacknred0: I believe what you wrote is true, but I've never tried it17:07
blacknred0nacc: ok, thanks for your help!17:07
blacknred0i'll keep investigating17:07
blacknred0just wanted to triple check that i wasn't going crazy or something rofl17:07
blacknred0(which it could be part of it) lol17:08
ericushowdy17:09
atb033I cannot connect to wifi17:10
blacknred0nacc: 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
blacknred0maybe some of the other sudo commands within /etc/sudoers were overwriting mine17:10
naccblacknred0: ah that could be17:10
naccblacknred0: i'd need to check the manpage, but i do think there might be an ordering rule17:10
blacknred0nacc: nah, no worries, i can do that mate ;)17:11
ericusHow do I su to a user with --disabled-login? The user has a service that needs an update17:11
rflemingericus: set the password for the user, then log in17:11
rflemingor use passwd -l on the account if you know it17:12
ericusrfleming, okay, but how would I disable login again after?17:12
rflemingsorry... -u17:12
naccblacknred0: 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 root17:12
rflemingnot -l17:12
blacknred0nacc: yep, i got you ;)17:13
rflemingericus: use -u (unlock) and -l (lock)17:13
blacknred0i'm in testing mode... so once i'm done i'll be creating a user to do this in the background instead 😉17:13
fishcookerwhat's the copy paste tool clipboard for with full integration with terminal?17:14
rflemingfishcooker: which terminal?17:15
rflemingfishcooker: on mine it's ctrl-shift-[c,v,x]17:16
fishcookerlx-terminal17:18
fishcookeri expect to verify first the copy paste buffer list before pasting to the terminal17:19
fishcookerbecause the input paste could be crazy input for the terminal17:19
fishcookeris there any gui for this purpose rfleming17:20
kevinsanUbuntu 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
kevinsanCan anyone suggest where to look?17:21
ducassefishcooker: with clipit you can get a list of clipboard history from the systray icon17:21
kevinsanI should add, acpid is installed (dependency of nvidia-304), but no events for suspend are configured, so far as I can tell)17:22
DarxusI 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:27
atb033Hey, I cannot connect to my wifi. I have spent over a week trying to find a solution. Can someone help me out?17:37
arch-nemesisatb033 no promises, can try. I assume you're using NetworkManager? Do you see the AP at all?17:39
atb033arch-nemesis, what is AP?17:45
arch-nemesisThe access point, I mean.17:46
atb033no i cant see ap17:46
arch-nemesisOkay. Is there a hardware RF kill swith on the laptop, or is it disabled in software?17:47
atb033it seems like ubuntu doesnt have a driver for my laptop17:47
arch-nemesisrfkill list all will show if the radio is turned off in software.17:47
atb033it says no to both softblock and hard block17:48
atb033but it is just showing bluetooth17:48
arch-nemesisDriver was what I was going to ask next. What's the wireless card?17:48
atb033not wifi17:48
atb033Realtek17:49
arch-nemesisI'm sure there's a driver for a realtek card.17:49
atb033i tried several ways to install the driver17:50
atb033but wasnt successful17:50
ducasserealtek chipsets are often problematic, exactly which one do you have?17:50
atb033even tried ndiswrapper17:50
atb033can you tell me the command to check that?17:51
ducasselspci/lsusb, depending on type of connection17:51
DarxusDescription:    Ubuntu 16.04.3 LTS17:52
atb033Realtek Semiconductor Co., Ltd. Device d72317:52
DarxusSorry, different conversation.17:53
atb033 *-network UNCLAIMED17:54
atb033       description: Network controller17:54
atb033       product: Realtek Semiconductor Co., Ltd.17:54
atb033       vendor: Realtek Semiconductor Co., Ltd.17:54
atb033       physical id: 017:54
atb033       bus info: pci@0000:03:00.017:54
FrostyBytesatb033: please learn to use a pastebin17:54
ducasseatb033: that chipset is not supported yet17:55
arch-nemesisInteresting.17:55
atb033FrostyBytes, sorry. it is my first time here17:55
atb033ducasse, so there's nothing i can do?17:55
ducasseatb033: use a usb dongle instead17:56
oerheksatb033,  we don t know your BCM device ..17:56
atb033i bought a usb dongle.. but even it doesnt seem to work :(17:57
ducassehttps://askubuntu.com/questions/959641/rtl8723de-wireless-card-not-working-in-hp-15bs015dx-laptop17:58
atb033anyways, thanks for helping out guys.17:58
atb033:)17:59
ducassenp17:59
EDinNYIs there a version of lash that works with 16.04?18:01
ArMedicWhen 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
EDinNYIs there a version of FLASH that works with 16.04?18:02
ArMedicMy only option is "Something Else" for a dual boot.18:02
ducasseEDinNY: install 'adobe-flashplugin'18:02
EDinNYducasse: I have flashplugin-nonfree installed...should I uninstall that first?18:04
ducasseyes, as that doesn't exist for xenial. did you upgrade from another version?18:06
ArMedicThe actual top reads "This computer currently has no detected operating systems"18:06
=== ECDHE_RSA_AES256 is now known as ecdhe
ArMedicDang, slow day around here.18:15
syhiya all18:22
=== jackNemrod_ is now known as jackNemrod
bierdieb: error while loading shared libraries: libnvidia-ml.so.1: cannot open shared object file: No such file or directory19:26
bierdieb hello. is it enough to install nvidia-375 package to solve those message?19:26
EriC^^!find libnvidia-ml19:27
ubottuFound: W:, W:, W:, W:, W:, W:, W:, W:, W:, W: (and 116 others) http://packages.ubuntu.com/search?keywords=libnvidia-ml&searchon=names&suite=zesty&section=all19:27
EriC^^!find libnvidia-ml.so.119:27
ubottuFile libnvidia-ml.so.1 found in nvidia-304, nvidia-340, nvidia-37519:27
EriC^^bierdieb: yes19:27
bierdieband there is no other things i need to do? uninstall standard drivers or something similar?19:28
EriC^^bierdieb: nope19:29
bierdiebok, so ill give it a try then^19:29
ioriabierdieb, bare metal, vm, docker, aws ...  ?19:29
cerionfor the ones that tried 17.10 beta, what do yout hink of it ? (no trolls)19:29
bierdiebioria, hi, i dont actually understand your question19:30
ioriabierdieb,  just asking you what kind of installation do you have ...19:30
bierdiebubuntu 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 runtoo19:31
ioriabierdieb,  ok19:32
arch-nemesisIf I go to get.adobe.com/flashplayer it says version 27. Does it not work?19:51
arch-nemesisnevermind that.19:51
arch-nemesisI'm responding to old messages.19:52
hethkarwhat could be the problem here- https://imgur.com/a/o6CeU this is ubuntu 14.04 machine19:55
arch-nemesisBad drive19:56
arch-nemesishethkar19:56
w3pttHello, 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 working19:56
w3pttAny ideas?19:56
w3ptt:319:58
genii!nomodeset19:58
ubottuA common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter19:58
w3pttYes, but how can I get into the grub menu to set it?19:59
geniiTry ESC instead19:59
w3pttWill do, one min19:59
BluesKajw3ptt, hold you left shift key down right after your BIOS/post screen20:00
Bashing-omw3ptt: 1st thought : is nouveau still blacklisted ? '  grep 'blacklist.*nouveau' /etc/modprobe.d/* ' .20:00
w3pttI can't get to a command prompt to check20:00
w3pttgoing to try and get into the grub menu20:01
Bashing-omw3ptt: K' maybe from the login screen -> ctl+alt+F1 to gain a console interface ?20:02
w3pttI tried that as well20:02
w3pttNothing shows up20:02
Bashing-omw3ptt: Ouch !20:02
w3pttSHIFT didn't work after bios screen20:02
w3pttI'll try escape, it just sucks because this system takes like 3 minutes to boot to BIOS screen. I think because it has 1tb ram20:03
littlethere 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 here20:06
w3pttEscape didn't work :|20:10
Bashing-omw3ptt: Then we are looking at booting the install from a live(DVD)USB .20:12
w3pttYeah, I'll have to find it20:12
arch-nemesislittle: I think you mean 'du -hs /data'20:12
jerlittle, 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 up20:14
littlesure20:14
littlebut any thing else is the problem?20:14
arch-nemesislittle: If 'du' still shows 0 and the disk is full, I suspect there are files held open. you can see that with 'lsof'20:14
littleok20:15
jercould 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 out20:15
arch-nemesisThat would happen if you went in and rm'd a large file while it was still being written.20:15
phelixCan 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 again20:15
jertruth is it could be a bunch of different things20:15
littlearch-nemesis: how to remove those files?20:15
phelixsudo dpkg-reconfigure resolvconf I have ran this I have done so much stuff I have found online but nothing is fixing the problem20:15
arch-nemesisIf you do 'lsof' and see some program wirting to a file there, you can restart the program that's writing20:16
jerlittle, 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 program20:16
arch-nemesisYeah, 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
littlejer: arch-nemesis: sure20:16
littlebut by killing can a process become a zombie process?20:17
jerdepends on what the process is doing at the time; usually not, but it's possible20:17
arch-nemesisWell 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
littlealso how to identify zombie process?20:18
littlelets 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:18
arch-nemesisps 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-omlittle: ' ps aux | grep 'Z' ' .20:19
littleBashing-om: is it just this ps aux | grep 'Z'?20:19
arch-nemesisYes. Z for zombie.20:19
littleor  ' ps aux | grep 'Z' ' .20:19
Bashing-omlittle: ps aux | grep 'Z'20:20
littleBashing-om: arch-nemesis what is the difference between a zombie and an orphan process?20:22
littledue to which a process could enter in these states?20:22
arch-nemesisAll 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 process20:24
Bashing-omlittle: 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-nemesisbut 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:24
littlearch-nemesis: great explanations Bashing-om arch-nemesis20:25
littlearch-nemesis: your take on orphan process please?20:25
arch-nemesisWell 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:25
littlearch-nemesis: so for zombie also you told the same explanation20:26
Fluffy007hello eveyone20:26
littlearch-nemesis: in both the cases the parent dies?20:27
arch-nemesisOn 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-nemesisyes, 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:27
littleaah 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 interface20:29
Bashing-omlittle: See: http://askubuntu.com/questions/111422/how-to-find-zombie-process20:30
houamiAny replies guys?20:32
littleBashing-om: sure20:32
oerhekshouami, "command to find the  packets dropped " ??? thery are gone, dropped.20:33
Fluffy007ty Bashing-om20:35
houami@oerheks: yes, i want to find how much packets have been dropped since 24 hours20:36
Bashing-omFluffy007: ?? In what manner do I deserve a thanks ?20:37
oerhekshouami, journalctl would tell, journalctl -u NetworkManager , or /var/log/syslog20:37
Fluffy007well thanks for sharing20:38
* Fluffy007 the info20:38
Bashing-omFluffy007: :) It's open source at it's best - we are all in this together .20:38
Fluffy007Lol yes...20:40
houami@oerheks how about tracert and ping?20:41
Fluffy007oerheks are you from the Netherlands ?20:42
oerhekshouami, 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-me20:43
Fluffy007i have to get used to ubuntu for sure after 3-4 years windows love... ;-)20:46
littlelets 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 here20:48
jerlittle, so a request for memory != use of that memory20:50
jeryou 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
oerhekslittle, homework?20:50
jerlittle, read up on how linux overcomitting works20:51
littleoerheks: no,this was asked by an interviewer and I was thinking how this can be answered20:51
littlejer: sure,but what happens if B fully uses 6GB and A needs to use 5GB20:52
oerheksso it is homework.20:52
jerlittle, so virtual memory allocations do not directly map to physical storage available20:52
jerto satisfy them20:52
jerso basically, you're gonna crash when your process tries to use that memory that's overcomitted20:52
* oerheks mumbles swap20:53
jeragain i suggest if you really want to understand what's going on here, read up on how virtual memory works wrt overcomitting20:53
littleoerheks: it would not say that,I am trying to get knowledge on stuff which I did not know20:53
littlesure jer20:53
jeroerheks, 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 storage20:54
Fluffy007vvv20:56
Fluffy007woeps20:56
memo1Hi, 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:09
Bashing-ommemo1: See: https://wiki.ubuntu.com/SystemdForUpstartUsers .21:10
=== aloo_shu is now known as Fendalf
=== Fendalf is now known as badseed
=== badseed is now known as aloo_shu
=== ErrantEg_ is now known as ErrantEgo`
tater?OTRv23?21:44
xMopxShelllooks 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
xMopxShellsort of thing *22:12
oerheks!apparmor22:15
ubottuFor information about the AppArmor security framework employed in Ubuntu (since Gutsy Gibbon), see https://help.ubuntu.com/community/AppArmor22:15
oerhekswe have it enabled since 7.1022:15
naccxMopxShell: so it's more the other way around, in some ways22:16
oerheksnever knew debian is considering using it, do they use selinux?22:17
naccoerheks: they just announced that bit (the considering it on by default part)22:18
xMopxShellnacc: make sense, i feel like ubuntu gets more exposure22:18
xMopxShellmakes *22:18
naccxMopxShell: i would expect, at least in this case, there's quite a bit of cooperation between ubuntu and debian22:19
naccoerheks: i'm not sure what's on by default, tbh22:19
naccoerheks: i thinkn selinux is available but disabled by default, just like apparmor22:19
oerheksi see .. https://wiki.debian.org/SELinux22:20
oerheksdidn't notice this at all22:20
=== capella is now known as capella|away
jerichowasahoax!xenial | jerichowasahoax22:50
ubottujerichowasahoax, please see my private message22:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!