/srv/irclogs.ubuntu.com/2018/09/06/#ubuntu.txt

jeremy31qwebirc64497 all I have is https://wiki.debian.org/BuildingTutorial and I know I found a better one somewhere00:00
SuperLagRHEL has kickstart configurator for giving you at least a template to work with for a kickstart file. Is there an equivalent for Ubuntu preseed files, to generate them?00:15
gbellinozIf my system only knows about my ISP's nameservers, how does dig +trace work?00:31
katamoSuperLag https://help.ubuntu.com/lts/installation-guide/example-preseed.txt00:36
katamoSuperLag I spent 3 weeks in that documentation recently for a project on my desk. It goes significantly deeper than tha00:37
texlaUbuntu 18.04 ubuntu/gnome de When I boot num lk pad and light are active thru login them light turns off and back on but numlk pad buttons(keys) are dead..Have to use keyboard to enter any numbers..Switch to cinnamon and all systems work properly00:44
=== Sven_vB_ is now known as Sven_vB
=== rax-Y is now known as rax-
satrioircif my syslog is full of records like: Creating SSL connection to host // SSL connection using ECDHE_RSA_CHACHA20_POLY1305 // Sent mail for my@email (221 2.0.0 closing connection i125-v6sm5077864wmd.23 - gsmtp) uid=0 username=root outbytes=587701:23
satrioircthat means sthing bad, right?01:24
satrioirci spammed my logs to full the other day when i launched a sparta script test against my ssh, but now im receiving messages when the system is idle. how to get harden my defenses against this?01:29
gbellinozSame messages now as from when sparta was running?01:31
hays_is there a way a user can get into a group other then /etc/groups03:26
=== wodencafe is now known as WodenCAfe
=== WodenCAfe is now known as WodenCafe
hays_i seem to be in the users group, but i don't see it in /etc/passwd03:31
realiesdoing a touch Tiësto in an ubuntu:bionic docker container generates a 'Ti'$'\303\253''sto' file03:33
realiesthis doesn't make it go away http://www.iasptk.com/ubuntu-fix-locale-issue/03:33
hays_i should say /etc/group03:33
realieshow to fix?03:34
realiesnone of the locales are registered still03:35
realiessetting them manually also doesn't register them03:36
realieswhat03:36
=== havenstance_ is now known as havenstance
fullstackmy hi04:25
fullstackMy underscore _ is mysteriously missing in my terminal, I can't see it. It shows up as a space and it is really annoying. I had this problem before, any reason?04:29
fullstack_ <--- I see nothing04:29
lotuspsychjefullstack: did you check terminal settings?04:29
lotuspsychjefullstack: try change to blinking cursor04:31
laudecayhi so my python install is hopelessly screwed because i was stupid earlier. what do i need to do to completely remove it from my system and start fresh?04:31
lotuspsychjelaudecay: can you explain what you did exactly?04:31
laudecaylotuspsychje: well, i ran pip as sudo, somehow ended up with python3 and python3.6, and also somehow pip, pip2, pip3, and pip3.6 all point to pip3.6.04:32
lotuspsychjelaudecay: your ubuntu version please?04:32
laudecayi am not entirely sure how it got this way, may not have been entirely me too04:32
fullstackIts system wide not just my terminal, except for graphical X11 application04:33
laudecayis there a reason lsb_release isn't working04:33
laudecaywtf04:33
lotuspsychjeplz no cursing here laudecay04:34
laudecayokie04:34
lotuspsychjelaudecay: lsb_release -a04:34
laudecaylsb-release: command not found <- i just installed lsb and lsb-release04:34
laudecaysomething is horrendously broken04:35
laudecayok im stupid04:35
lotuspsychjelaudecay: your forgot the -a04:35
laudecaynever mind that was an underscore help04:35
laudecayUbuntu 16.04.5 LTS04:35
laudecaynah i had a dash not an underscore04:36
lotuspsychjelaudecay: ok, so did youa dd external ppa's to your system?04:36
lotuspsychjeadd04:36
laudecayi did, i have one that gets me python3.604:36
lotuspsychjewe dont support external ppa's here laudecay04:36
laudecaywhat should i do to get python3.6 then?04:36
lotuspsychjelaudecay: we advice to go back to vanilla sources.list to unscramble your system04:36
lotuspsychje!ppapurge | laudecay04:37
ubottulaudecay: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:<repository-name>/<subdirectory> » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html04:37
lotuspsychjelaudecay: we also advice to stick to package versions, meant for your ubuntu version04:37
laudecayhow do i list ppas? sorry im an arch user idk much about aptitude04:37
fullstackWhat in Ubuntu would make the underscore invisible? This is completely bewildering me and causing lots of bugs and headaches04:38
fullstackI have to be able to type, using my keyboard, and see the key, on the display. Its a fundamental concept in computers04:39
laudecayfullstack: font bug04:39
laudecaydefinitely a font bug04:39
laudecayif it was a parsing thing your system would definitely be imploding a lot more than it is right now04:40
fullstackI've been googing this for hours and not found a thing. Just tried "font bug" with all my queries... nothing useful04:40
laudecayhttps://github.com/Microsoft/vscode/issues/3813304:41
laudecayhttps://github.com/SWI-Prolog/issues/issues/4204:41
laudecayi googled "font rendering bugs ubuntu underscore"04:41
laudecaylots and lots of results! go play04:41
fullstackI read those already04:42
fullstackI am not using vs code. This is Xterm or even this chat terminal Hexchat. Everything except chrome/firefox04:42
laudecaychrome def has weird font rendering going on04:42
laudecayi remember when i had a rendering bug it didn't affect chrome04:42
laudecayhm this second one thinks you should mess with resolution settings04:43
laudecayi think that that's a likely culprit, make sure you're using the right resolution for your monitor.04:43
laudecayor try another default font04:43
fullstackok yeah if I change the font on xterm, and change it back, it displays it04:45
fullstacknow I can see _04:45
fullstack_ <-- don't see it in hexchat though04:45
laudecayseriously have you looked at your resolution04:46
fullstackI can't change my resolution. It is fixed at 4k04:51
laudecayhuh idk then04:53
=== Dreaman is now known as CrackerJack
neilduganI am trying to get simple-scan to work properly.... if I run simple-scan as root (i.e. using sudo) it work fiine... but when run as a user it fails to find the scanner ... how can I fix this?05:29
energizerfullstack: i've had that issue before. i just changed my fonts to something else and it worked.05:43
lotuspsychjeneildugan: is your system up to date to latest?05:46
Triffid_Hunterneildugan: probably need to add yourself to a group, plugdev maybe, or fiddle with udev rules so the thing's device node gets appropriate permissions05:57
neilduganlotuspsychje, yes06:04
lotuspsychjeneildugan: i had an issue before like that, then simple-scan offered me to find the driver for the scanner button06:06
neilduganTriffid_Hunter, adding myself to the plugdev group had no effect06:07
neilduganlotuspsychje, I don't think it a driver problem... it works as root06:07
lotuspsychjeneildugan: is it a combo printer/scanner?06:08
Triffid_Hunterneildugan: if it works as root then it's a permissions problem. strace can help with those06:10
neilduganlotuspsychje, yes it is06:10
neilduganTriffid_Hunter, I tried strace but it output 100's of lines most of which I don't know how to read06:11
lotuspsychjeneildugan: can you open simple-scan from terminal? see what it says?06:12
talxhello guys,06:12
neilduganlotuspsychje, nothing06:12
talxdid anyone ever used06:12
talxhttps://help.ubuntu.com/community/RemoveOldKernels#Configure_Unattended_Upgrades_to_Remove_Unneeded_Kernels_Automatically06:12
lotuspsychjetalx: welcome, what can we do for you?06:12
talx?06:12
lotuspsychjetalx: unattended upgrades has now auto kernel cleanup06:12
talxI'm having an issue with 30-40 virtual machines06:12
talxthey have /boot of 500mb06:13
lotuspsychjetalx: wich ubuntu version please?06:13
talxand old kernels taking all the space06:13
talx16.406:13
talx16.0406:13
lotuspsychjetalx: up to date to latest?06:13
lotuspsychjeneildugan: could try on another user perhaps?06:14
lotuspsychjeneildugan: might be indeed a permission thing as Triffid_Hunter mentioned06:14
talxlotuspsychje: I'm not sure but I think not06:14
lotuspsychjetalx: update your systems to latest 16.04.5 and try to enable unattended-upgrades06:15
talxwhat if there is not enough space in boot06:15
lotuspsychje!kernelcleanup | talx for manual06:15
ubottutalx for manual: For information about removing old kernels to free up space on /boot, see https://help.ubuntu.com/community/RemoveOldKernels06:15
talxI know how to remove actually06:15
lotuspsychjeread the link talx06:15
talxwould you think its a better option then making a new /boot partiton ?06:16
lotuspsychjeno06:16
talxhad to do it yesterday06:17
talxbut what if I can't update those machines ?06:17
lotuspsychjetalx: its not safe to not-update06:17
talxyeah but I meant06:17
talxto unattended upgrades06:17
talxif its not latest and I can't do an update?06:18
talxits says 16.04.0406:18
talxatm06:18
lotuspsychjetalx: sudo apt update && sudo apt full-upgrade please06:18
lotuspsychjetalx: always keep your systems to latest06:19
talxwon't I face new bugs?06:19
talxheh :P06:19
talxI love to upgrade but its always abit scary06:20
cim209how is the performance of ubuntu mate 18 on a 2007 machine?06:20
lotuspsychjetalx: you need to change the thinking, its when you leave behind on older versions that security flaws can occur06:20
lotuspsychjecim209: what kind of specs mate?06:21
talxokay I'm making the upgrade06:21
talxonly because its a test machine06:21
talxheh06:21
cim2092.5gb ram intel core 2 duo06:21
lotuspsychjecim209: think that will run fine, 18.04 has also a minimal option in setup you could choose06:21
cim209hmm, i'm running 16.04 right now06:22
cim209what would be the benefit of upgrading to 18?06:23
AHemlocksLieI'm trying to install the AMD drivers for my RX 580 graphics card, and the installer fails to install a package, libdrm-amdgpu-common. It recommends I run apt --fix-broken install to fix it, but that doesn't work. Anyone familiar with this issue?06:23
lotuspsychjecim209: its the users choice06:23
lotuspsychjecim209: 16.04 has still time of support so, you choose whats important to yourself06:23
cim209is there any performance gain in 18?06:24
lotuspsychjecim209: 18.04 has newer kernel, newer packages, for speed ask in #ubuntu-mate please06:24
cim209ok06:24
lotuspsychjecim209: i would think mate is already lightweight..speed differences will be close06:25
lotuspsychjeAHemlocksLie: wich ubuntu version please?06:25
AHemlocksLielotuspsychje, 18.0406:26
lotuspsychjeAHemlocksLie: https://linuxconfig.org/how-to-install-the-latest-amd-radeon-drivers-on-ubuntu-18-04-bionic-beaver-linux06:26
AHemlocksLielotuspsychje, that's pretty much what I did, but it failed to install one of its packages properly06:28
lotuspsychjeAHemlocksLie: is it possible to hastebin the output?06:29
cim209lotuspsychje, what's the command to clean unused packages?06:29
cim209was it autoremove?06:29
lotuspsychjecim209: is apt autoremove what you need?06:29
AHemlocksLielotuspsychje, just a sec, I'll get the initial output06:30
cim209lotuspsychje, what does that command do exactly?06:30
lotuspsychjecim209: it can help clean/sort apt problems06:30
talxlotuspsychje: an update is not an option right now but I will check about the unattended, though regardless to security updates, the unattended removal tool should work06:30
talxright?06:30
lotuspsychjecim209: its safe to do06:30
cim209ok06:31
cim209i'll run it this one time cause i was installing some themes and stuff06:31
AHemlocksLielotuspsychje, https://paste.ubuntu.com/p/QjyF7Trtft/06:31
talxYou can remove old kernels with a simple autoremove command in a terminal:06:31
talxsudo apt-get autoremove --purge06:31
talxthats from the lotuspsychje shared06:31
talxfrom the link*06:31
lotuspsychjetalx: im not sure if it will work on a non-updated system, i would strongly advice to update your systems..06:32
cim209one more thing, why run apt-get, sudo apt <command> runs fine06:32
AHemlocksLieHmmm looks like it's conflicting with ids-amdgpu...06:32
lotuspsychjeAHemlocksLie: i think its fighting with versions: Unpacking amdgpu-dkms (18.30-641594) over (18.20-606296) ...06:33
AHemlocksLieids-amdgpu is listed in the packages that were automatically installed and no longer required, so I think I can just rip it out and continue...06:33
AHemlocksLie...How do I remove a package while I'm having dependency issues? When I try, it throws a fit about unmet dependencies, which I could fix if it'd let me REMOVE THE CONFLICTING PACKAGE06:35
lotuspsychjecim209: another way to test, is trying a 18.04.1 mate liveusb, and see for yourself if you like? like=>install06:35
cim209indeed06:35
lotuspsychjeAHemlocksLie: let me ask first, did you add external ppa's of any kind?06:35
cim209i'll wait until after my backups are done. i'm running 2 shell scripts to ssh into my servers and download the backups06:35
cim209running on cron06:35
AHemlocksLielotuspsychje, not as a separate step in this install, but the logs suggest the install script sets up something like a ppa for its own use kinda06:35
AHemlocksLielotuspsychje, although it looks like I might have another PPA, but I don't think it should be serving any of the relevant packages06:38
lotuspsychjeAHemlocksLie: did you do the update & upgrade part in the link i provided?06:38
lotuspsychjeAHemlocksLie: and a sudo apt autoremove could do some magic too06:40
AHemlocksLielotuspsychje, that's not part of installing the proprietary drivers, but I did do and update to at least refresh the package list06:40
AHemlocksLielotuspsychje, and autoremove is ALSO broken until I can fix this dependency issue06:40
AHemlocksLieapt is basically refusing to work until I fix this, but... I need apt to work to fix it.06:41
AHemlocksLieI'm 99% sure I know what I need to remove, but I can't touch it. It'd probably be removed by autoremove, yeah, but I can't do that or specifically remove the problem package06:41
lotuspsychjeAHemlocksLie: could it be your kernel is still at .29?06:41
AHemlocksLielotuspsychje, yeah, 4.15.0-29-generic06:42
AHemlocksLieaccording to uname -r06:42
lotuspsychjeAHemlocksLie: always update your system to latest before installing packages like this, to avoid dependecie nightmares06:43
cim209would be wise to upgrade from 16 to 18?06:43
lotuspsychjecim209: you already asked that..06:43
cim209i mean is it safe?06:43
lotuspsychjecim209: that depends what you mean by safe?06:44
AHemlocksLielotuspsychje, I'll definitely keep that in mind next time06:44
AHemlocksLieIn the meantime, does anyone know how to unscrew apt?06:44
cim209it won't brick my system?06:44
lotuspsychjeAHemlocksLie: can you rollback, perhaps try a purge, then update system and try again?06:44
lotuspsychjecim209: make a good backup before you upgrade..06:45
ducasseAHemlocksLie: can you pastebin the full output of 'apt install -f'?06:47
cim209ok06:47
AHemlocksLieOkay, pretty sure I fixed it. Found something that says apt is totally broke in such a situation, and you have to use dpkg, which I had COMPLETELY forgotten about.06:49
ducasseAHemlocksLie: dpkg can often fix messes apt can't resolve06:50
AHemlocksLieducasse, I didn't run that specifically, but I'm guessing it gets the same error message as literally every other conceivable apt command got, immediately nagging about the broken dependencies06:51
lotuspsychjeAHemlocksLie: amd web says amdgpu-pro-uninstall to uninstall06:53
talxlotuspsychje I want to try the unattended kernels removal06:53
ducasseAHemlocksLie: it will try to resolve the problem, but if it can't it will usually tell you which package(s) to purge with dpkg06:53
talxdid you say its already enabled ?06:53
lotuspsychjetalx: check in software&sources and enable it, after that kernels will auto remove06:53
lotuspsychjetalx: but again, i dont know if it works on non-updated systems..06:54
talxhmm06:54
AHemlocksLielotuspsychje, which would have helped, I bet, if it had come with it. For whatever reason, it did not.06:54
talxNote: This way will not remove all automatically installed old kernel providing packages as fallback versions are kept; the list of kept kernels is maintained and automatically updated in the file /etc/apt/apt.conf.d/01autoremove-kernels as a list of matching regular expressions.06:54
talxI don't really get this part06:54
AHemlocksLieducasse, it just told me to try apt --fix-broken install, which led to the exact same error06:55
AHemlocksLieBut it's installed! So I really appreciate you guys trying to help, lotuspsychje and ducasse06:55
lotuspsychje!yay | AHemlocksLie06:55
ubottuAHemlocksLie: Glad you made it! :-)06:55
lotuspsychjeAHemlocksLie: now quick, update your system :p06:56
AHemlocksLielotuspsychje, lol I'm all over that06:57
lotuspsychjetalx: just make it easy for yourself, update system to latest .5 perhaps move to the hwe kernel and enable unattended upgrades07:06
=== astra`` is now known as astra
=== Dreaman is now known as Blade
=== astra is now known as astra``
talxlotuspsychje: what is hwe kernel07:17
talxhardware enablement07:17
talx:p07:17
ducasse!hwe07:17
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack07:17
talxsomething is not clear for me though07:18
talxif the machine is not connected to the internet how does it reproduce new kernels ?07:19
fullstackenergizer, do you remember how you changed your font?07:21
energizerfullstack: there's a default font menu somewhere in the gnome settings07:22
energizeror unity or whatever07:22
fullstacki'm using fluxbox07:22
fullstackit also happens when I don't use x11, like screen terminal07:22
energizeri dont know what that is, but probably there's a 'set default font' menu somewhere07:22
talxlotuspsychje: are you still here?07:36
lotus|NUCtalx: yes07:37
lotus|NUCtalx: whats up?07:37
talxI found something else07:39
talxinstalling byobu07:39
talxand the purge-old-kernels07:39
talxhttp://ubuntuhandbook.org/wp-content/uploads/2016/05/purge-old-kernel-script.jpg07:39
talxwhat do you think of it ?07:40
lotus|NUCtalx: thats old07:40
talxto stick with unattended then ?07:40
lotus|NUCtalx: i told you few times what i think mate, update your systems, enable unattended upgrades, and auto kernel remove will be active07:42
talxokay07:42
talxsorry, ty.07:42
lotus|NUC!hwe | talx consider also07:44
ubottutalx consider also: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack07:44
xrandr_macHi there. I am having an issue connecting a gluster node on ubuntu to a gluster server running CentOS08:40
xrandr_macI keep getting PEER_CONNECT and PEER_DISCONNECT events in the logs08:40
=== Richard is now known as Guest96041
ducassexrandr_mac: try #ubuntu-server08:48
xrandr_macOk, thanks08:48
blackpopehey peeps!08:51
blackpopeanyone there?08:51
zaggynlblackpope: welcome to IRC, most people are idle and don't monitor the chat, if you have a question fire away, someone may respond at any time08:54
blackpopeThanks for that zaggynl! Just a quick dobut, i am new to IRC, i am using a term based client! Are there any cool things you might wanna share with me regarding IRC?08:55
ryuoWelcome to IRC. Time for the traditional greeting.08:56
* ryuo slaps blackpope around for a bit with a large trout.08:56
blackpopeAlso, Can you please guide me how can i make a private channel where I can privately talk to my friend?08:57
blackpopehaha ryuo thanks!08:57
ryuo> /msg08:57
ducasseblackpope: like what? for irc support, ask in #freenode, this channel is for ubuntu support08:57
ryuofor 1 to 1. if you need a group, make a channel.08:57
blackpopeso how do i make a channel? /CONNECT -add channel? like this, idk what i have written xD08:59
ryuo> /join09:00
blackpopeor wait do i just /join <myrandomchannelname> ?09:00
ryuoIt may or may not work.09:00
ryuoFreenode restricts channel names.09:01
blackpopeand then /msg chanserv REGISTER #channelname password description09:01
ryuoor w/e. I don't have any channels registered.09:01
blackpopealright, are there any cool things on this channel?09:01
ryuoUh... it's a support channel. What do you expect?09:02
blackpopeidk, I am a bash enthusiast, and wanted to share my github work! Was expecting some feedback, idk why but yeah thats why i joined09:03
blackpopelol09:03
zaggynlThere might be some bash specific channels09:03
blackpopealright i'll lookup online, nice to meet you guys, will come back later with some ubuntu specific doubts!09:03
zaggynlYou might find more feed back at other social media like reddit09:03
blackpopecheers09:03
blackpopesigning off!09:04
zaggynlbye09:04
paul98does any one use sendemail? i'm trying to send a email from command line but the password has ;!/@@} in the password and when i try to send it i get event not found with half the password from ! I tried using incasing it with " / ` and ' but then i get auth fail09:09
ikoniaubuntu dosn't use sendmail by default09:10
ikoniahave you removed postfix09:10
paul98i haven't removed postfix09:11
paul98i know it doesn't by default09:11
ikoniapostfix can't exist with sendmail09:12
ikoniaso if you've not removed postfix how are you using sendmail09:12
paul98I said sendemail09:13
paul98not sendmail09:13
ikoniaoops, sorry09:14
paul98no worries09:14
paul98basically I want to send a email based on someone logging on, so was going to use sendemail09:14
paul98but if something more default ?09:15
lesshasteis there any way to access onedrive ? I thought "online accounts" through gnome might do it and it has a long list but not onedrive it seems09:15
ryuolesshaste: browser. otherwise I don't know of one.09:16
lesshasteryuo, can you drag and drop files via the browser?09:16
ryuolesshaste: No idea. You can give it a try.09:17
ryuolesshaste: I recall drag & drop being a feature of modern browsers, but it's still up to the websites whether it works.09:17
ducasselesshaste: there's a software called duplicati that can use it for storage of backups, but that's all i know about09:17
lesshasteryuo, I will try that09:17
lesshasteducasse, interesting.. given the list that online accounts gives you, I can't see why onedrive isn't there09:18
TJ-paul98: "!" is interpreted by bash - enclose the password in single-quotes09:18
lesshasteryuo, seems drag and drop works!09:19
ryuolesshaste: all about support. these are proprietary cloud systems, so native clients may not always exist.09:21
paul98single quotes being ' TJ- ?09:27
paul98still gives me auth failed, although I 100% know it's correct and i'm using this emaila ccount for other email relays etc and they are working09:32
=== jluc_ is now known as JLuc
satrioircgbellinoz, you still up?09:36
satrioirci fell asleep :D09:37
TJ-paul98: you can try escaping the ! using \! instead09:43
paul98it gives me auth failed if in ' ' if i remove it it tells me file not found09:45
geirhaescaping the ! with \ won't work09:47
geirhathe only way to escape ! from history expansion is with single quotes09:48
geirhaor by simply disabling history expansion, of course. set +H09:48
Triffid_Huntermsmtp allows me to use a credentials file, no need to stuff around with shells eating stuff and putting your password in ps output09:48
paul98i used an account with a normal password and that come up with auth failed aswell09:49
paul98so i don't think password is the issue here09:49
=== r0Oter is now known as r00ter
jostHi! Is there a way to increase the space of a disk temporarily, without unmounting that disk? Maybe by attaching some RAM to it? Situation is that a long-running process has almost exhausted the disks space, and I really don't want it to error because of disk full.09:50
jostThere is nothing on that disk I could delete09:50
Triffid_Hunterpaul98: perhaps your smtp server doesn't like your passwords?09:50
paul98it's gmail09:51
Triffid_Hunterjost: what filesystem? btrfs? you can add more storage09:51
paul98we use this account else where so i know it works09:51
Triffid_Hunterpaul98: yeah you need to set up a separate app password and enable low security apps or something09:51
[twisti]i somehow messed up my network setup. any attempts to ping outside ips (as in not lan) result in 'network unreachable'09:51
[twisti]any advice on how to debug ? i can ping lan ips and i can resolve names to ips fine09:52
pumbatrying to use an ethernet usb adapter on 18 bionic getting [  225.834205] usb 1-2: device descriptor read/64, error -7109:52
pumbacan someone help09:52
Triffid_Hunter[twisti]: you have no default gateway09:52
pumba[  225.054133] usb 1-2: device not accepting address 10, error -7109:52
[twisti]Triffid_Hunter: how would i go about repairing that ?09:52
TxRaspPigmail only likes ssl passwords09:52
Triffid_Hunterpumba: that usually means that either the usb cable, the device, or the usb port is damaged09:52
[twisti](ideally on a permanent base, rebooting has not helped)09:53
jostTriffid_Hunter: ext409:53
Triffid_Hunter[twisti]: add one.. sudo ip route add default via (router ip)09:53
Triffid_Hunter[twisti]: permanent? fix your dhcp server09:53
Triffid_Hunterjost: no can do then09:53
[twisti]it is incredibly unlikely that this is a problem by my dhcp server09:53
jostTriffid_Hunter: D'oh09:53
[twisti]i was just messing with my network settings when it broke, what are the odds that the dhcp server randomly broke at the same time ?09:54
gloomylotus|NUC: Hey there :) Sorry, I didn't see your last messages drom yesterday09:54
Triffid_Hunter[twisti]: wireshark will tell you for sure.. if your dhcp responses have gateway but your dhcp client isn't using them, then something very weird is happening with your networking client setup09:54
gloomyWhat was that laptop-tools thing you mentioned?09:54
Triffid_Hunter[twisti]: heh you were messing with network settings? set something to manual perhaps?09:54
[twisti]Triffid_Hunter: i dont know, it was a docker image that messed up somehow, im not entirely sure what it did09:55
[twisti]but thats of course entirely possible09:55
[twisti]the dhcp lease includes a gateway, so somehow the docker container must have overridden it. can i somehow say 'go back to using the dhcp settings' ?09:58
Triffid_Hunter[twisti]: depends what network setup you're using.. personally I'd just dhcpcd -n enp3s0 and I'd be set, but that's 'cos I'm using openrc+dhcpcd here09:59
Triffid_Hunterwith systemd/networkmanager I have absolutely zero clue09:59
ikonia /join #theforeman10:02
ikoniaoops10:02
[twisti]Triffid_Hunter: thank you, that worked (after manually adding the gateway in order to download dhcpcd and the nrunning the command with my interface name (enp0s8)10:04
gloomyI'm trying to fix an issue where closing the lid of my laptop doesn't trigger 'suspend'10:05
paul98Triffid_Hunter: but it works from all other services like gitlab, teamcity our own website etc.10:05
Triffid_Hunterpaul98: well perhaps sendemail is broken? try msmtp10:06
gloomyI'm quite new to ubuntu's architecture so I'm not quite sure where to look exactly. I read that I should modify /etc/systemd/logind.conf, so I set the lines `HandleLidSwitch=suspend` and `HandleLidSwitchDocked=suspend10:07
gloomy`10:07
gloomyBut it didn't solve the issue10:07
gloomyrunning acpi_listen shows `button/lid LID close` and `button/lid LID open` upon closing/opening the lid, so the issue isn't there10:08
gloomy(I'm running budgie(bionic) on a macbook pro btw)10:09
MacroManlibtirpc1 updated to version 0.2.5 today and now access to my NFS share is slow, in the region of 12mb/s. It was easily in the region of 60-80mb/s before this update. What could be happening?10:09
gloomyIdeas?10:09
paul98Triffid_Hunter: must be as msmtp works :D10:15
paul98thank you i been banging my head for hours lol10:15
gloomyOn a side note: suggestions for a nice, modern terminal emulator?10:15
gloomyI'm used to iTerm3 on macOS, something similar would be nice10:16
SimonNLhttps://github.com/systemd/systemd/issues/7137     gloomy any useful info there ?10:18
zambai have a running system that i'm able to access remotely using ssh.. i already have a running X session there.. how can i connect to this session remotely?10:18
gloomySimonNL: Going through it, it may take a while as I'm not familiar with most of the utilities ;)10:20
SimonNLme neither :)10:20
gloomyHmm, this entry is suspicious:10:22
gloomy     Who: luca (UID 1000/luca, PID 1426/gsd-power)10:22
gloomy    What: handle-lid-switch10:22
gloomy     Why: Multiple displays attached10:22
gloomy    Mode: block10:22
gloomy(hope I'm not above the paste limit :p)10:22
gloomyAh, but that's one of the possible blocks, it doesn't mean it's currently active10:23
blackflowgloomy: anything more than one line should go to paste10:24
blackflow*bin10:24
gloomyDuly noted, sorry :-)10:24
gloomySimonNL: Yes, seems to be the same issue10:33
gloomySo now I know the responsible is `gsd-power`10:33
gloomy*the mystery unfolds*10:34
SimonNLgloomy: use ubuntu options to handle lidclose/open10:34
SimonNLpower management or screen saver I think10:34
gloomyMy flavor (budgie) doesn't seem to offer those settings in the GUI10:34
arndffHello! I am new to Ubuntu and have a problem with "sudo apt-get update". Didn't find a solution myself, so would like you to help me.10:35
d2r2HI10:35
arndffHere you can see the last few lines which cause the problem: http://snippi.com/s/kkg4lgx10:35
arndffThank you in advance, lads. Cheers!10:35
d2r2I am trying to install specific version of sqlite what should be the command?10:36
d2r2I want sqlite 3.7.8 as the book uses that one and recommends it10:36
d2r2I am using learn sql the hard way book so please help me with that if u have any idea10:37
=== mnemonic is now known as semeion
d2r2no body? :(10:54
enzotibd2r2: you cannot install from repos the version you want, ubuntu doesn't work this way10:55
arndff@enzotib: could you answer my question as well?10:56
d2r2enzotib: so can I only have the latest version? TY for reply :)10:56
enzotibd2r2, I don't think it will be much of a difference10:57
enzotibarndff, you have a PPA configured, why? Remove it10:57
d2r2arndff: Hi arndff What are you working on?10:57
d2r2enzotib: ok TYSM have a great day10:57
arndffHave a problem with sudo apt-get update and that's the last few lines which cause the problem: http://snippi.com/s/kkg4lgx10:58
arndff@enzotib, so if I remove that PPA and later on want to update my themes, what shall I do?10:58
arndffSorry for the noob questions but as I said I am very new to Linux and Ubuntu :)10:58
d2r2arndff: Sorry I'm a noob as well lol. I hope someone helps you10:59
arndffCheers11:00
arndffNo worries, will wait to see what enzotib can say11:00
enzotibarndff, I can help to remove the PPA, that seems to be broken, cannot say how to update11:00
arndffI succeded in removing it11:00
arndffOpened 'Software and Updates' -> 'Other Software'11:01
arndffThen removed that PPA and sudo apt-get update goes well now11:01
arndffOk, thanks11:01
arndffAnd one last Q -- just seen that GNOME 3.30 has been released. Is it available to download or not yet?11:02
blackflowarndff: package versions are tied to ubuntu releases with some minor exceptions, like firefox for example. so you can't just randomly install any version of any package. doesn't work like that. if you must, then you need to use containers11:04
blackflow(which is probably not going to work for something so core like a desktop environment)11:04
arndffLet's see whether I got that right. When Ubuntu decides to release a new version, most prob it'll use GNOME 3.30, right?11:05
arndffUntil that, I have to stick with Ubuntu 18.04 and Gnome 3.2811:06
blackflowarndff: no idea. right, gnome in the next release of Ubuntu, which is 18.10 pending this October is 3.28. Which version will be released with 19.04 in April 2019? no guarantees it'll be 3.30.11:08
blackflow*right now11:08
arndffI see. Thanks for your explanations!11:09
blackflowarndff: note there are "snaps", which are containerized applications, designed so that vendors can release at their own pace, regardless of what's supported by official Ubuntu maintainers, via apt.11:10
blackflow!snaps | arndff11:10
ubottuarndff: Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io11:10
blackflowmeaning, who knows, gnome might become a snap and you'll be able to enjoy latest release as it comes out upstream. though personally I doubt that, a DE is very deep in the system and one can't just randomly use different versions on demand11:11
BluesKajHey folks11:16
d2r2I learn so much randomly just reading here haha11:19
d2r2and it's not boring at all11:19
d2r2who knew there firefox is a snap11:20
d2r2are all the software that I can update in the ubuntu software center, snaps?11:21
blackflowd2r2: no, not all are snaps11:22
d2r2blackflow: ah! ok, so I do I find out which one are?11:23
blackflowd2r2: through software center? I have no idea, never used the thing. through command line, there's 'snap' command and its functions like list, search, etc...  or use snapcraft.io/store11:24
d2r2so i did snap list but it doesn't show firefox. why is that? It shows VLC and OBS11:26
blackflowd2r2: I see "Source: Snap Store" might be the clue, in he software center, when you click to view an item.11:27
albechtrying to get 18.04 running on my old mac mini. I managed to get the installation working with 'nomodeset' boot option. This resulted in the system not being able to detect multiple monitors. Then i installed lightgdm and is not able to get the login manager running without the nomodeset, but i cannot get x to start after login. Any suggestions?11:27
ducassed2r2: because the firefox snap is not installed. try 'snap find firefox'11:27
blackflowd2r2: so you don't have FF installed from snaps, but from regular package11:27
blackflowNot sure what will happen if you install Firefox from snaps in parallel with Firefox from packages.... sounds... fishy :)11:28
albechthe system is running on a geforce 320M, but using nouveau drivers11:29
d2r2blackflow: yes "snap store" found out but it's not always necessarily true right? like it shows blender is from ubuntu-bionic-universe  but we can upgrade it mannually too11:31
d2r2yeah I installed firefox from cmd line. Would it's source be snap store if installed from software center?11:34
hateballd2r2: I think that is the default yes, same with Steam11:35
hateballand you probably dont want that, since the snap doesnt create proper udev rules like the apt package does11:35
blackflowd2r2: there's an overlap in that some applications exist both in snaps and in regular packages via apt. that's why I dislike the software center and prefer being explicit in what I want to install and how, on the command line.  snap vs apt.11:36
d2r2blackflow: yeah right. good to know though. I never discriminated apps like that. Now I know :)11:38
blackflowd2r2: that's a big problem, IMHO. because with snaps, one should be VERY careful which snaps they install, as anyone can upload a snap to the store. we already had an issue wiht.... "malware" being present in one.11:39
blackflowsnaps are excellent idea, but they're removed from official ubuntu maintainership so one must do extra checks and trust the vendor.11:40
d2r2But if we compare them with android or ios store aren't all mobile apps some kind of snaps? These stores seem to handle them very well I guess. So does chrome web store right11:42
blackflowd2r2: snaps are containers, like flatpaks. that means they carry all the required dependencies and operating system parts (minus the kernel) that they need to run. there are some exceptions to that with "runtime" snaps providing common facilities, but the general gist is that they're containers, and thus isolated and independed filesystems on their own, from the main OS.11:44
blackflowI don't know how android or ios software delivery compares to that.11:45
ilias_grHi all. I just cleanly install on a notebook with an Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz with 4 gb ram the new 18.04.1 distro and I realized that in idle position the system needs 570 mb ram without any application open. On the other hand on an another notebook with exactly the same hardware's configuration (an Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz with 4 gb ram) with 16.04.5 on idle position needs only 270 ram approximately. I ch11:45
ilias_gr ecked 'Session and Start up' and both systems have the same autostart applications. Does new distro need more ram to run or do I have to make any other configuration to reduce the ram the new system needs ?11:45
blackflowilias_gr: yeah. xenial is lightdm+unity, bionic is gdm+gnome. full gnome. gnome is a RAM eater. gnome loooooooves RAMs.11:46
gloomyHi again :-) I'm investigating an issue where closing my laptop lid doesn't trigger sleep11:46
gloomyAnd delving into how power management works in ubuntu at the same time (Installed it 3 days ago)11:47
gloomyWhere can I see logs of stuff like "suspended", "hibernated", etc.?11:48
blackflowgloomy: journalctl11:48
gloomyI found that `acpi_listen` displays physical actions like closing the lid and pressing the power button11:48
blackflowgloomy: you mentioned earlier you fiddled with logind.conf? I've heard/read somewhere that changes there might be required in such situations11:48
gloomyblackflow: Thanks, will look11:48
ilias_grblackflow: thanks. any idea to bypass this and reduce memory's need recourses using xubuntu bionic distro?11:49
blackflowilias_gr: xubuntu is xfce, that should be using much less RAM on start up11:49
gloomyYes, but the issue that Simonious (I think) pointed to seemed to imply that those settings were overridden by gsd-power11:50
blackflowy'all should be more precise in your opening questions. ubuntu is gnome now. xubuntu is, always was, xfce.11:50
ilias_grblackflow: sure it is and uses 570 on start up but this the double on comarison with xenial11:50
blackflowilias_gr: so you're having more startup memory consumed, on xfce, between bionic and xenial?11:50
gloomyblackflow: so what do I find with journalctl as opposed to /var/logs?11:51
blackflowgloomy: that I don't know, sorry.11:51
ilias_grblackflow: that;s right! that's the point !11:51
blackflowgloomy: I don't know about gsd-power, I mean11:51
d2r2blackflow: Ok so does that mean you need to add extra stuff in snaps to communicate with os than the apt? Does that makes the size larger?11:51
blackflowilias_gr: dunno. could you pastebin   ps --sort -rss axu | head -n 2011:53
blackflowd2r2: apt is a tool that manages .deb packages. snap manages whole containers which are full OS trees of all the software required, MINUS teh kernel and minus common stuff installed with the "core" snap11:53
blackflowd2r2: so a .deb package only carries the files for the software in question, and maintainers scrips, configs, ....    a container is full OS tree.11:54
gloomyWhat's the go-to wiki/website for researching stuff like journalctl/systemd/etc ? most of the stuff I find on google dates many years back11:54
gloomyAnd manpages are a bit too beginner-unfriendly :p11:54
ilias_gron both systems? when both are idle on start up?11:55
blackflowgloomy: google with filter to show last year's content only :)     ain't kiddin'   that's what I do11:55
gloomyhuh11:55
blackflowilias_gr: primarily on bionic. wanted to see what the main consumers of memory were11:55
gloomyok :]11:55
d2r2blackflow: TY :)11:55
ducassegloomy: i like the arch wiki, depending on what you're looking for11:55
blackflowgloomy: meanwhile the manpages should be up to date11:55
gloomyManpages are quite terse for generic information like this :)11:56
d2r2You are awesome. have a great Dah11:56
ilias_grblackflow: in a moment please as I am on xenial system right now and I have to boot the other system with bionic11:56
blackflowgloomy: and what information are you looking for?11:56
blackflowilias_gr: in that case do both, so we can compare...11:57
gloomyanything that will help me learn how everything fits together :-)11:57
blackflowgloomy: then start with any tutorial no matter its age. manpages are for specific up to date details. and what ducasse mentioned, arch wiki is a great repository of mostly up to date knowledge.11:58
blackflowbut it's arch and many things don't fit in ubuntu on face value / verbatim.11:58
ilias_grblackflow: ok , I have to reboot also xenial system11:58
gloomyAlright, will do11:58
blackflowgloomy: the principal systemd developer's blog is also a great source of knowledge, as he explains the concepts and things they do.   http://0pointer.net/blog/11:59
gloomyThanks. I don't even really know what systemd is so I think I'll start there ;)12:00
blackflowgloomy: it's primarily a whole repository of tools and utilities for a middleware between the kernel and userland applications. it's second function is that it's the main process manager / PID1 for modern linux distros. So it's important to know what you're reading, when you're reading, is it about the process manager / PID 1,  or about the whole middleware repo of additional, not strictly required,12:02
blackflowtools.12:02
blackflowand ignore the hate. most hate comes from total misunderstanding of what system the PID1 does and how it does it. people think it's drop-in replacement for the old sysv init, and it's totally not.12:02
gloomySo every process in ubuntu is a child of systemd?12:02
gloomy*every user process12:03
blackflowdirectly or indirectly, yes12:03
blackflowof PID1, always, be it system'd, sysv, ...12:03
neredsenvyIs there a way to watch service status messages ?12:15
neredsenvyThe service who's status I want to watch does not have a log file.12:16
blackflowneredsenvy: can you elaborate?    systemctl status some.service   not it?   or   journalctl -u some.service     even -f with that12:16
neredsenvyAh that works12:17
neredsenvyThanks12:17
blackflowyw12:17
ilias_grblackflow: https://pastebin.com/vyxEKaTz12:18
blackflowneredsenvy: btw you can have a log file by adding a regex to rsyslog. by default journal forwards all messages to rsyslog12:18
blackflowilias_gr: yeah it seems newer versions eat up a bit more ram and that cumulatively totals up.   also look at that xorg. weird it's not in top 20 on xenial12:20
blackflowoh wait, it is.... just not at the top12:20
blackflowwell.... bloatware, increasing codebase and feature creep as time passes. the scourge of any softare, FOSS or proprietary.12:22
ilias_grblackflow: so, any solution ?12:22
blackflowilias_gr: none other than removing stuff you don't really need. consider if you need a full DE even. perhaps a (tiling) wm based minimalism is what you'd like?12:23
blackflowI mean.... that weather applet eats 32MB of friggin' ram. do you need it? system load 25MB. that's 50+MB just like that!  *snaps fingers*12:25
ilias_grblackflow: i can live with minimalism but i like XFCE as I use it for years until now. I think I run only basics12:25
ilias_grblackflow: i understand...12:26
ilias_grblackflow: i can live without weather although is useful but load monitor is really more useful12:27
ilias_grblackflow: two more questions12:28
ilias_grblackflow: xenial will receive updates till 2021 isn't it? but it will stop xfce updates on 2019 ?12:29
blackflowno, bionic will until 2021 and xenial up to next year12:30
blackflowfor xubuntu that is.12:30
ilias_grblackflow: oh ok ! so update is no way to avoid it.12:31
blackflowavoid what exctly?12:31
ilias_grblackflow: avoid an update to bionic which seems to consume more ram12:32
blackflowlooks like it.12:32
ilias_grblackflow: OK. I 'll see what to do in recent future. Do you know why in bionic there is no directory '.Private' and '.ecryptfs' although the hd is encrypted? In xenial both are under /home.12:35
blackflowilias_gr: Bionic doesn't do ecryptfs by default any more. not sure what happens when you upgrade from xenial to bionic, I guess it does support that use case12:36
blackflowfull disk encryption with LUKS is the way forward.   also, check the release notes for other changes.12:37
ducasseit does12:37
ilias_grblackflow: i cleanly install bionic from scratch12:37
blackflowilias_gr: yeah, "encryption" then only means FDE with LUKS and LVM12:39
ilias_grblackflow: i just compare both two systems and on xenial exist both dirs but on bionic no dirs are present12:39
blackflowthose dirs are created by ecryptfs. ecryptfs is useful when you only want to encrypt some directories.12:40
blackflowin previous releases that meant encrypting only your $HOME12:40
narakrishI've 2 PCs running Ubuntu. The PCs are from different vendors. They have IO port interface via RJ11 connector. They are used for accessing the cash drawer. On one PC, I'm able to access the cash drawer at 0x48C. But the same does not work on the other PC. I do not have the spec for both cash drawer and the PC.  I would like to know how can I get the IO port address to access the cash drawer. I've tried cat /proc/ioports, but not ab12:42
ilias_grblackflow: oh yes ! you have right ! i remeber that user have to check home directory encryption too . At this case /home will be encrypted too as an extra option. But i don't remember if i saw his option during installation. That's it anyway.12:42
blackflownarakrish: #ubuntu is not the best place for that question. some things to check first: ubuntu versions, kernel modules / drivers, are they the same between the PCs. otherwise you'll need specific hardware manuals for programming for them that low12:44
ilias_grblackflow: thank you for advises today !12:45
blackflowyou're welcoome12:45
qslHey,12:46
qslIf I want to encrypt some local files on my pc would you suggest veracrypt, cryptomator or something different?12:47
tomreynqsl: if it's just a few files, and you dont need to change them regularly, tar + gpg212:50
tomreynqsl: if it's many files or you'll edit them regularly, a crypto container such created by dmcrypt-luks12:50
blackflowtomreyn: even a loopback mounted image file would suffice for the container, right?12:52
tomreynsure12:52
blackflowI mean dmcrypt-luks works with block devices only afaik, or does it use other node types?12:52
tomreynnot that i know of, only block devices12:53
blackflowyeah. qsl, so if there's no room to spare for a dedicated partition, a loopback could be used12:53
blackflowI'll have to look up why ecryptfs was dropped and isn't recommended any more12:53
tomreynbut creating an image file is easy, and if you'll use nautilus or any other gvfs-backed graphical file browser, you'll be able to use the GUI to mount it12:54
blackflowoh hey, ext4 can now do encryption built-in  too12:56
qslI only need a few files once in a while that i want to encrypt,12:56
qslI only have a small 223gb ssd on this laptop so I dont have that much space12:56
tomreynblackflow: i dont think this is stable, yet, or is it?12:56
qslwhops why did i double send this msg12:56
qsloh nvm12:56
blackflowtomreyn: dunno. it's been years. i'll have to look it up12:57
aglaiahi12:57
blackflowqsl: mounting an image file via loopback with LUKS would be my preferred way. you can copy/carry/backup   one file, that's a filesystem internall, very easily.12:57
blackflows/loopback with/loopback, and with/12:58
aglaiaI am running an AWS EC2 instance with ubuntu 18 with a few simple process on it and very simple tasks. About once per day, randomly, the CPU goes to 100% without reason. It looks like it is kswapd that hits the CPU, during about 20 minutes, then all comes back to normal. I cannot figure out with there is this CPU spike.13:00
blackflowtomreyn: looks like "not yet"   https://askubuntu.com/questions/1029249/how-to-encrypt-home-on-ubuntu-18-04/1031509#103150913:00
blackflowaglaia: does it correspond to apt-daily timers triggering?13:01
blackflowaglaia: systemctl list-timers   will show when individual timers have hit last. apt-daily by default is all over the place with large randomized delay13:02
tomreynright, probably soonish13:02
aglaiablackflow i don't know, what is apt-daily timers ? this issue occurs randomly, never at the same hour.13:02
blackflowaglaia: right, see what I just posted13:03
aglaiaok, trying13:03
blackflowanyway, if kswapd is running during those spikes, then something is having a memory spike and swapd is on the call.13:04
qslblackflow: i just read about loopback and LUKS a bit13:04
qslbut tbh, atm Im still learning to get used to working with the terminal ^^13:04
qsldo you maybe have a tutorial or some help site you could link me?13:04
aglaiablackflow looks like it doesn't correspond with daily timers. This morning this issue happend at 5:00 am, and systemctl list-timers shows nothing at this time13:04
aglaiablackflow indeed, but i have tried to log everything, i have all logs about CPU and memory at the moment the issue appears, but i can't know which process do it13:05
aglaiablackflow all seems ok13:05
aglaiai have been working on this bug 3 last days... getting desperate13:06
ubottubug 3 in mono (Ubuntu) "Custom information for each translation team" [Undecided,Fix committed] https://launchpad.net/bugs/313:06
blackflowaglaia: what "all logs about CPU and memory"?  are you using sar?13:08
aglaiablackflow: yes, using sar, top and atop13:08
aglaiablackflow: i will show you the sar log13:08
blackflowyah that has 5 minute resolution. not sure it'll help13:08
aglaiablackflow: that is the sar log of yesterday morning, the issue started at 6:45 till 7:20 : https://pastebin.com/C5s9uST913:11
blackflowqsl: I don't, you'll have to hit up google.   Use `truncate` to create an image file. Use `losetup` to create the loopback. Use cryptsetup to create a LUKS container atop of the /dev/loopX you created with losetup. use mkfs.ext4 or whatever fs you want, with /dev/mapper/...  device you opened for the LUKS container.    these are all hints to look up specific commands and how to use them.13:11
aglaiablackflow: it starts with %iowait during 15 minutes, then %system during 20 minutes13:12
blackflowaglaia: it's been a while since I used sar, does it not also store snapshots of process activity too?13:12
aglaiablackflow: no but i have logs of process with top, i will show you13:13
blackflowaglaia: oh wait... sudden large iowait could indicate storage layer issues. not uncommon with aws13:13
aibanyone able to set up certificate auto-renewal in 18.04 with letsencrypt and nginx?13:13
aglaiablackflow: ah yes ?13:13
blackflowin other words, something clogs the storage layer outside of your VM and then every little I/O becomes hugely delayed, everything grinds to a halt, errors start cropping up if it's taking longer than 120s. did you check dmesg for corresponding kernel errors about I/O being stalled?13:14
blackflowaib: yes, with dehydrated, my favorite "light" acme client13:15
pragmaticenigmaaib: Yes, I was able to with the instructions provided by the letencrypt/certbot13:15
aglaiablackflow: no, i don't know about dmesg. I will try that. (and, if needed, this is the top log at the time of the issue : https://pastebin.com/pFWfEiKG )13:16
aibblackflow: pragmaticenigma: sorry, I forgot to add "without installing external packages"13:16
aibblackflow: I will check out dehydrated, though, thanks!13:17
blackflowaib: ehh no go. you need an acme client or write your own.13:17
aibpragmaticenigma: hmm, did you have to install certbot?13:17
na2sOn 18.04, the "sleep" button on my USB keyboard puts the system in suspend mode, and I want to disable this.  Changing dconf settings like "button-sleep", "button-suspend", "button-hibernate" in org.gnome.settings-daemon.plugins.power has no effect.  Ideas?13:17
=== w0dencafe is now known as wodencafe
pragmaticenigmaaib: What are you trying to do exactly? There is no way around installing external packages... certbot is a Python based script, so it leverages Python which is already installed on your computer anyways13:17
na2sI can't even figure out what daemon is causing it to suspend!13:18
aibblackflow: letsencrypt (ubuntu package now) does an okay job on its own. the webroot plugin seems to be able to renew automatically, too. I just need an nginx restart. and a mechanism to schedule all this13:18
blackflowaib: funny thing, kswapd0 grinding the CPU but there's no swap13:18
blackflowaglaia: ^^^^13:18
huckHello. I'm getting the following error when trying to run CUDA application: CUDA ERROR: Memory alloc (eventsData bufer): CUDA driver version is insufficient for CUDA runtime version. I have CUDA 9.2 and the nvidia driver 396.44. Any idea?13:18
aibpragmaticenigma: I mean without bothering with PPAs and/or repositories. `letsencrypt` looks like a dumbed-down certbot and works okay for obtaining and renewing certificates. it's an ubuntu package13:18
aglaiablackflow: yes, that is why i'm getting crazy... it looks so strange. And the top command with MEMORY doesn't show anything relevant. Just common memory consume with php (about 20 % of memory) and mysql (20 % too)13:19
pragmaticenigmaaib: The best way to install is through the PPA... that way when there are security updates, you will receive them automatically13:19
darkn33sshi13:19
darkn33ssanyone on?13:19
pragmaticenigma!ask | darkn33ss13:20
ubottudarkn33ss: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience13:20
aibpragmaticenigma: yeah but there's also a way without PPA (the letsencrypt package) I'm just wondering if anyone has managed auto-renewal with it yet13:20
blackflowaib: if it works for you...... personally I don't like certbot, it's bloated, opinionated behemoth that wants permissions to (re)start services and I ain't giving it that. dehydrated works fine for me, and I can easily add shell script hooks for various stages, so it's all automated, with nice privilege separation. I just need to build an apparmor profile for it13:20
blackflowaglaia: I have no idea what would kswapd do like that with no swap in use.13:20
pragmaticenigmaaib: In all the documentation I have read, the recommeded way is to use the packages from the PPA for Ubuntu. They are modified specifically for the setup and environmnet of Ubuntu. Going your own way, you will have to figure out the differences between what the Developers computer environment was, and how yours is actually setup13:21
blackflowaglaia: here's an idea. since oyu don't have swap, see if setting vm.swappiness = 0   sysctl helps. that should13:21
blackflowaglaia: s/that should//13:21
aglaiablackflow: ok. thanks.  i will try that13:21
pragmaticenigmaaib: The whole point of a package management system is to avoid that. letting the Ubuntu developers take care of that for you, so your not left running in circles trying to figure out why this config file is placed here instead of over there.13:22
grumbelCan anybody recommend a font viewer? Looking for something that takes a .ttf (without installing it) and a custom string and shows me how that string would be rendered.13:22
pragmaticenigmaaib: Also, this channel will be better equiped to support your future questions, should you have any. We only support the packages provided through the PPAs because they're documented according to Ubuntu's environment.13:23
aibpragmaticenigma: sorry, are you talking about PPAs as opposed to official ubuntu packages?13:23
pragmaticenigmaaib: For the moment, I'm treating them one in the same. Offical ubuntu packages is what I implied13:24
blackflowpragmaticenigma: I thought PPAs weren't really supported here? as in, who knows what their maintainers are doing....13:24
pragmaticenigmablackflow: Technically the Ubuntu main repos are PPAs... 3rd party ppas are not supported13:24
blackflow(other than how to add/purge a PPA, obvs)13:24
aibpragmaticenigma: I am talking about the official ubuntu `letsencrypt` package. I'm trying to about PPAs and other custom solutions. I'm wondering if there's any way to use the official `letsencrypt` package to automate certificate renewal without writing custom scripts13:24
blackflowpragmaticenigma: not quite, PPA = Personal Package Archive. the official ubuntu repos are not the first P ;)13:25
pragmaticenigmablackflow: fair enough13:25
blackflowthat's teh important difference, as who knows what individual PPA maintainers are doing13:25
aibsorry, brainfart there. Ignore the weird sentence13:25
pragmaticenigmaaib: I'll simplify... this channel is not able to support custom solutions or the official letsencrypt package.13:25
pragmaticenigmaaib: for assistance with those, you will have to seek out their support forums13:26
blackflowaib: not going against what pragmaticenigma just wrote, but I'd really recommend you to look into dehydrated. you only need two lines of shell code, in appropriate hook files (its' all documented) to copy the cert files to wherver you want, and to reload nginx13:26
aibpragmaticenigma: https://paste.ubuntu.com/p/gCRbqpMy2g/13:27
aibpragmaticenigma: I don't understand your distinction between packages in the official ubuntu repo and "official ubuntu packages"13:28
leftyfbaib: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04#step-3-%E2%80%94-verifying-certbot-auto-renewal13:29
leftyfbaib: that should work with the official ubuntu packages13:30
leftyfbaib: no need for the ppa or the python package13:30
pragmaticenigmaaib: Official Ubuntu packages are provided through the official Ubuntu repositories... I don't see what's difficult in understanding that13:31
pragmaticenigmaleftyfb: The instructions you linked to are for the certbot renewal package... it's written in Python13:32
leftyfbpragmaticenigma: the cron will work with the packaged version of "certbot"13:33
leftyfbthough to be honest, I've been using the certbot-auto from the official github page for ages13:33
pragmaticenigmaleftyfb: I know... I'm saying the application "certbot" is written in python...13:33
leftyfbok? What difference does that make?13:33
leftyfboh!13:34
leftyfbby python package I meant the python-certbot-apache from the link13:34
leftyfbthat shouldn't be needed13:34
aibpragmaticenigma: what's difficult is that I'm trying to tell you that there is an official ubuntu package called `letsencrypt` and you keep talking about 3rd party solutions and PPAs13:35
pragmaticenigmaaib: Because you're trying to ask us about custom installations and using software that isn't provided in the Ubuntu software repos13:35
aibI don't want to install custom packages or PPAs is precisely why I'm asking if there is a recommended solution using the official `letsencrypt` package in the official ubuntu repositories13:35
leftyfbaib: use the official package. Stick the certbot renew command in a cron. Done13:36
pragmaticenigmaleftyfb: I assume aib contraint is they're not allowed to use anything that isn't provided in the default Ubuntu repos13:37
leftyfbagain13:37
leftyfbuse the official package. Stick the certbot renew command in a cron. Done13:37
leftyfbas in, the ubuntu repo package13:37
leftyfbI don't see what's so difficult about this13:37
pragmaticenigmaleftyfb: because at the moment you are not quantifying what you mean by official... Ubuntu Offical meaning from Ubuntu maintained software channels... The let's encrypt offical client provided through the certbot ppa... etc...13:38
darkn33sshey13:38
pragmaticenigma!chat darkn33ss13:38
pragmaticenigma!chat | darkn33ss13:39
ubottudarkn33ss: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!13:39
darkn33ssi need help13:39
pragmaticenigma!ask | darkn33ss13:39
ubottudarkn33ss: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience13:39
darkn33ssneed to hide my ip on freenode13:39
leftyfbsudo apt install letsencrypt -y && echo "0 5 * * 1 certbot renew" | sudo tee -a /var/spool/cron/crontabs/root13:40
pragmaticenigmadarkn33ss: that question belongs in #freenode13:40
leftyfbaib: ^13:40
darkn33sssorry my bad13:40
huckHello. I'm getting the following error when trying to run CUDA application: CUDA ERROR: Memory alloc (eventsData bufer): CUDA driver version is insufficient for CUDA runtime version. I have CUDA 9.2 and the nvidia driver 396.44. Any idea?13:40
pragmaticenigma!details | huck: what application?13:41
ubottuhuck: what application?: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.13:41
m_i_k_eaib: https://certbot.eff.org/13:41
aibleftyfb: the default config doesn't play well with nginx. the nginx plugin doesn't seem to be available. webroot works, but needs a manual nginx restart afterwards. updating everything to see if any new versions are better13:42
leftyfb!info python-certbot-nginx13:43
ubottupython-certbot-nginx (source: python-certbot-nginx): transitional dummy package. In component universe, is extra. Version 0.23.0-1 (bionic), package size 1 kB, installed size 9 kB13:43
leftyfbaib: that plugin most certainly exits13:44
huckubottu: Ubuntu 18.04. The application is mine and it was working fine. Today I typed: "apt install cuda-9.0" (just because I'm getting toubles installing TensorFlow - it searches for libraries from CUDA 9.0. Actually I thought that is will install in /usr/local/cuda9.1). After this I got that message on the cuda driver (not sufficient for the runtime that I have). I installed again cuda 9.2 but still I getting this error: CUDA ERROR: M13:46
blackflowhuck: you're talking to a bot.13:46
leftyfbhuck: ubuntu packages will not install to /usr/local ... that would be if you were compiling application13:47
huckblackflow, what I'm missing here?13:47
huckThanks leftyfb.13:48
aibleftyfb: ah, installing package python-cerbot-nginx installs a plugin for package certbot? that makes my life much easier13:50
leftyfbaib: you should really learn how to read documentation and research things on google13:52
aibleftyfb: please tell me where the idiosyncrasies in the ubuntu package naming system is documented13:54
leftyfbaib: if you google for "ubuntu letsencrypt nginx" the very first link helps you13:55
aibleftyfb: and where certbot says it scans my system for installed python packages and configures itself accordingly13:55
leftyfbaib: ignoring the PPA since the package in bionic is adequate13:56
aibnever read past the ppa part13:57
aibor are you telling me doing part of what a webpage says is good practice?13:57
leftyfbaib: https://certbot.eff.org/lets-encrypt/ubuntuartful-nginx13:58
leftyfbfollow except for the ppa13:58
leftyfbplease go read, research and understand13:59
leftyfbaib: good luck13:59
pragmaticenigmaaib: what leftyfb is telling you is to read the entire page, and then do a little research to see what best applies to your situation14:01
aglaiablackflow: Hi again. Trying dmesg i got something interesting14:03
aglaiablackflow: at the time of the issue : [Thu Sep  6 05:08:12 2018] Out of memory: Kill process 6463 (php-fpm7.2) score 294 or sacrifice child [Thu Sep  6 05:08:12 2018] Killed process 6463 (php-fpm7.2) total-vm:840376kB, anon-rss:267396kB, file-rss:2580kB, shmem-rss:25620kB14:04
blackflowaglaia: yeah, something wants RAM and it gets kswapd worked up, but you have no swap14:05
aglaiablackflow: do you think i should focus on this php-fpm7.2 process ?14:05
aglaiablackflow: sure, as you advised, i will set the swapiness to 0. But, beside that, if there is an issue with this php-fpm process, i could try to fix too14:06
blackflowaglaia: not sure, that needn't be the process that caused overcommit14:06
aglaiaah... too bad14:06
aglaiai hoped14:06
pragmaticenigmaaglaia: The message that is logged was what was deemed sacrificial due to the requirement for more ram. Another way to put it, low hanging fruit. What triggered the out of memory would have been on the other end of the list14:07
pragmaticenigmaaglaia: You mentioned that it's once per day? correct?14:08
aglaiapragmaticenigma: yes, but the the server is in use only between about midnight till i wake up. I suppose that if it was running 24/24, the issue could occur more than once a day. (i don't know)14:09
aibleftyfb: and you be nicer to people who did not grow up with software with inadequate manual pages that warrant online browsing and software which scan your system for libraries dynamically, okay?14:09
aibleftyfb: I spent 10 minutes trying to explain pragmaticenigma that there is an official `letsencrypt` package in the official ubuntu repository14:10
aibactually... never mind14:10
blackflowaglaia: what I'd do.... create and enable some swap. then when the same situation happens, hopefully swap would help and the system won't OOM anything. then you can inspect which process had increase in RSS during the time that swap increased. sar should have all the info for that14:10
very_sneakyhi all not sure if this is the right channel for this; I'm trying to modify the ps2 mouse driver such that the axes are inverted. I *think* I've narrowed it down to psmouse-base.c and the psmouse_process_byte function, but I'm strugglingt o interpret the functions and what everything does. Is there comprehensive documentation on each of the functions anywhere? I haven't been able to find anything14:10
pragmaticenigmaaglaia: Do you have auto-updates enabled? I know that I get processor spikes when apt goes and does its daily update14:11
compdocdynamically scanning libraries?  sounds fascinating14:11
leftyfbaib: That's fine if you're asking about installing Firefox or something. But you're trying to install a package that manages SSL certificates on a public server hosting webpages. There's an assumption of competency when managing such an environment.14:11
pragmaticenigmaaglaia: and dpkg goes and does its optomize14:11
blackflowpragmaticenigma: random times, so not cron based, and apparently not correlating with recorded systemd timer triggers14:11
aglaiapragmaticenigma: i don't know if i have auto-updates unabled14:11
pragmaticenigmavery_sneaky: This is not the best forum for those questions. Programming and software development should be in #programming14:12
pragmaticenigmavery_sneaky: Or try #kernel14:12
very_sneakypragmaticenigma: sweet as, thanks mate14:12
aibleftyfb: do you seriously expect me to read articles that start with "install this 3rd party program" to the end to learn how to configure this official package with a different name?14:13
leftyfbaib: yes. It's called research and learning.14:14
aibleftyfb: and it's a painful process thanks to people like you14:14
pragmaticenigmaaib: Please stay on topic. If you have an issue with another individual in this channel you are best to either ignore them or leave. This isn't a place for that14:14
leftyfbaib: you're welcome.14:14
aibnowhere does it even say that letsencrypt si the same thing as certbot...14:14
blackflowaib: certbot messed things up there, it used to be called "letsencrypt" then a few trademark issues later, it renamed to "certbot"14:16
blackflowoh they left.14:16
blackflowand if they listened and used dehydrated, they'd be up and running long time ago.    *shrug*14:17
aglaiablackflow: when i do less /var/log/apt/history.log i don't see any update at the time of issues14:18
blackflowaglaia: your best bet is finding the process that increases RSS at the same time swaping does. for that you'll need a swap(file).  maybe you could run without it, and rely on OOM killer to free up space, but the key is to observe rss of processes and see what's going up with the OOM slaughter starts.14:19
blackflow*when the14:20
aglaiablackflow: if i understand you well, if i enable a swap file, then the sar and top commands should then give me more relevant informations at the time the memory grows ?14:20
blackflowaglaia: it's more about not causing pathological states with OOM killing, because OOM could kill exactly the process trying to eat more RAM, and you wouldn't know then. with swap, you ease the situation so the culprit can gobble up RSS in peace.14:22
blackflowaglaia: but yes, in short, when that happens, when swap starts going up, you must find which process' RSS starts to grow. that correlation is indication of your memory eater.14:22
aglaiablackflow: i agree i definitely need to know what the process causes this OOM14:23
blackflowright. ideally you should not overcommit, especially not without swap. that means every service must be limited so that total sum of limits isn't bigger than available RAM.14:24
blackflowaglaia: also... that's a good idea. limit processes' RSS in their service files. the one wanting more ram will fail, hopefully loudly in the logs, so that's another way to find it.14:24
aglaiablackflow: so far, top command only show "kswapd". If i add a swap file, will it show the real process eating memory ?14:25
gloomyHi again :-)14:25
gloomyI want an easy way to share data between macOS and ubuntu (dual booting)14:26
gloomyShould a make a 'shared' partition formatted as exFAT?14:26
blackflowaglaia: no, the swap file would only be to help the memory pressure so the process eating memory can do so in peace. you catch it by observing the rss changes when swapping increases14:26
gloomyOther (better) ways?14:26
gloomymacOS partition currently has apfs, and ubuntu ext414:26
blackflowaglaia: otherwise you can't see which process is being swapped out, it doesn't work like that. the kernel is paging out based in usage, not process ownership.14:26
blackflow(you could after the fact check how much of individual process is in swap, via procfs status for the pid)14:27
blackflowbut the process eating ram won't necessarily be the one swapped out. swapping is about _unused_ pages, so it's actually the the opposite, the one using active ram _won't_ be swapped out14:27
gloomyAlso, is it better to add/resize partitions from Ubuntu (gparted) or from macos (diskutil)?14:28
aglaiablackflow: ok ok... (thinking, it's so hard and new for me !)14:29
gloomyOr, maybe install some ext driver in macos and put the shared data in the linux partition14:29
aglaiablackflow: thanks for all your explanations, i was far to know and understand all that14:29
gloomyLinux definitely can't read apfs14:29
pragmaticenigmagloomy: my intial search of the web says to do any disk partition within macos... and mac can read ext4 if you install osxfuse... for both, they're out of scope for this channel. You might want to find a channel specializing in Linux on Mac14:30
aglaiablackflow: last thing : if i enable a swap file, i guess i shouldn't set the swapiness to 0 as you told at the begining ?14:30
blackflowaglaia: correct, not 0. you could leave it at default 60. or even increase it so the kernel swaps out more aggressively, that really depends on the use case. if you're not sure, leave default (don't set any swappiness via sysctl)14:31
aglaiablackflow: okie14:32
gloomypragmaticenigma: Well, if I ask on #osx they'll tell me to ask on #ubuntu, so I gotta try somewhere ;)14:32
gloomySimonious: How do you manage that? :-)14:32
gloomyAlso #ubuntu people are generally more friendly than #osx people (*subtle manipulation attempt*)14:33
aglaiablackflow: i will try and see how it goes next time. I hope it will provide me more information14:33
blackflowaglaia: maybe you can already do it based on existing sar data14:33
aglaiablackflow: ah yes ? how would i proceed ?14:34
blackflowaglaia: compare "before" and "during" process snapshots, if anything has increased RSS14:34
blackflowbeen a while since I used sar, but iirc it stores ps tree snapshots14:34
blackflowrss, or memory%, anything that would hint at increase in memory usage14:35
aglaiablackflow: i did it, i pasted the result : https://pastebin.com/Xgu7XipT14:35
pragmaticenigmagloomy: we can help to a degree... this channel attempts to stay within scope of Ubuntu specific topics. Per what I've read, I would create the partition in MacOS side. Pick a filesystem that is readily supported by both OSs, MacOS is more restrictive, which is another reason to choose there. You already know that Linux/Ubuntu can support nearly any filesystem except apfs.14:35
intrepidsilencedoes anyone know if there is a cli interface to add/delete entries in the ad_access_filter field in sssd.conf - yes I know one can edit it with vi14:35
blackflowaglaia: no, you need ps snapshots.  like output of "top"14:35
aglaiablackflow: i also have outputs of top, that i log each 2 minutes (CPU and Memory)14:36
gloomyFair enough.14:36
blackflowaglaia: and that's exactly what you need14:36
aglaiablackflow: ok, let me show you14:37
blackflowaglaia: check if a process increases memory% or rss when kswapd starts to hog the cpu14:37
pragmaticenigmaintrepidsilence: I doubt it... unless the developer provided a utiltity, it's rare to see another project. Most configuration files are meant to be edited with a text editor.14:37
intrepidsilencepragmaticenigma: yep, i get it - just looking for a way to enable this for our lesser capable folks - when using authentication method of simple then you can use realm permit and deny14:38
intrepidsilencebut it does not appear that they have added the same kind of permit/deny commands for auth ad14:39
blackflowaglaia: I'm sure you don't expect me to put those numbers in a table and see what's increasing over time :)14:39
blackflowthat's the work _you_ have to do. look for any process that's increasing memory% or rss during that period.14:39
pragmaticenigmaintrepidsilence: I'm not too familiar with ad_access_filter... Does the config file support an automatic "look in directory for more configs" ability?14:39
blackflowa.k.a   the conf.d  pattern14:40
aglaiablackflow: so this is the ouput of top command looged at the time of the CPU spike : https://pastebin.com/kEQ9xnwh and this is the output of top at the same time, with memory option : https://pastebin.com/MmL1ZnrZ14:40
pragmaticenigmaintrepidsilence: Like Apache or DNSMasq... where you have the primary config file, and then can define something like a apach.conf.d directory to put additional configs within?14:40
intrepidsilencepragmaticenigma: no, this is a field in the /etc/sssd/sssd.conf file for specifying what AD users and groups can login14:41
blackflowaglaia: right, and this other, sorted by memory, you need to compare _before_ and _after_ the kswapd spike14:41
blackflowor before and _during_ more precisely14:42
pragmaticenigmaintrepidsilence: So you're looking for a quick/safe way to add remove users/groups from that config14:42
intrepidsilencepragmaticenigma: right, without having to use vi - the format of the field is cryptic and error prone and i was hoping to find an easier way for our level 1 and 2 folks to use14:43
aglaiablackflow: ok, this is 2 hours before, when all is perfectly quiete and peaceful : https://pastebin.com/Vcfpf1vZ and this is during the kswapd spike (same as i posted above) : https://pastebin.com/MmL1ZnrZ I don't see a big difference !14:43
pragmaticenigmaintrepidsilence: I'm sure something exists, short and sweet would be to build a bash script that accepts a user or group as a parameter and does the heavy lifting14:44
blackflowaglaia: right, so at a first glance, pid 6462 went from 146M to 222M14:45
ExoUNXmorning14:46
ExoUNXis there a way to enable a "testing" repo for Ubuntu 18.0414:46
aglaiablackflow: yes... this php-fpm process receives one image per minute. For each image, it applies a simple transformation on it with image-magick. That could be the cause, althought that is a very very simple and common image transformation (just a resize)14:47
pragmaticenigmaExoUNX: Can you elaborate further on what you are trying to do and what you mean by "testing" repo?14:47
intrepidsilencepragmaticenigma: that is not nearly as short and sweet as you might think - it would have to take a short user or group name, then do a lookup in AD and find the object path, convert the path to ldap format, then check against what is already in the file, and finally add the info if not already there14:47
blackflowaglaia: but then 6463 was at 163M, disappeared later. that's the problem with transient peaks like that, pids can come and go, and are very hard to catch14:47
intrepidsilencepragmaticenigma: certainly it can be done, but not short and sweet - probably why it does not exist yet14:47
blackflowaglaia: "just a resize" has to unpack the image into memory, which takes at least 3 bytes for each pixel in it. so how big are those.14:47
ExoUNXpragmaticenigma, I'm hoping to install restic 0.9.2 but the universe repo only has 0.8.3.14:47
pragmaticenigma!latest | ExoUNX14:47
ubottuExoUNX: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa.14:47
pragmaticenigmaExoUNX: Any reason for attempting to get the latest?14:48
ExoUNXI understand, it's only for restic14:48
aglaiablackflow: images are average 50 k size14:48
blackflowaglaia: anyway, this is getting beyond the scope of the channel. you know what you have to do: log/grap/trace memory usage before and _during_ the incident to see what's causing it.  consider using swap to have less pathological states with OOM. definitely don't overcommit and limit service max memory usage.14:48
blackflows/grap/graph/14:48
pragmaticenigmaExoUNX: If restic provides a PPA (not supported here) you can use that. Otherwise, you'd have to compile it yourself (also not supported here)14:48
ExoUNXI use CentOS, I have to fight to get bleeding-edge sometimes14:49
pragmaticenigmaExoUNX: You realize this is an Ubuntu support channel? not CentOS14:49
blackflowaglaia: with a picture worth a tousand words, really consider creating a graph from those numbers. spikes will be immediately obvious.14:50
ExoUNXI know this, I was just explaining why I'm well aware of stability,backports,etc14:50
blackflowExoUNX: there are other distros suited better for bleeding edge. with ubuntu, it's either DIY or maybe there's a snap/flatpak straight from teh vendor.14:51
pragmaticenigmaExoUNX: Okay, still, the latest version isn't always the best. If there is a specific feature you require, that makes sense. But to have the latest just for having the latest isn't always a great idea in Linux/Unix world14:51
pragmaticenigmaExoUNX: Most of us here are going to advocate using what is readily available. As blackflow stated, there are distros better suited for obtaining bleeding edge14:52
aglaiablackflow: ok... looks like i'm far to figure out, with an issue i cannot reproduce and that happens randomly each night14:52
ducasseExoUNX: see https://github.com/restic/restic/issues/35514:53
blackflowaglaia: quick question, how is FPM configured wrt max process count and max memory per php process? are you overcommitting with php?14:53
ExoUNXducasse, yah I was just on that14:54
aglaiablackflow: i don't know at all...14:54
aglaiablackflow: i will check14:54
ducasseExoUNX: a comment there says the debian package is installable on ubuntu as-is, at your own risk, ymmv etc14:55
aglaiablackflow: actualy my first suspicion is not about fpm, but the single php7.2 process. That is a thread that deals with websockets. Only one websocket, but pinging all the time each 10 second14:55
blackflowaglaia: yeah fpm the daemon itself is probably not the culprit but worker processes. still, it's in the domain of fpm config, process count, and php.ini for memory limits14:56
ExoUNXducasse, as far as I can tell 0.3.3 is the debian version, which is much older14:56
pragmaticenigmaintrepidsilence: Have you seen this? https://ldap.com/ldap-tools/14:56
ExoUNXbut I'm looking at this - https://tracker.debian.org/pkg/restic14:56
aglaiablackflow:  memory_limit 128 M for fpm14:57
blackflowaglaia: you mean php.ini?14:57
aglaiablackflow: yes the php.ini of php-fpm14:58
blackflowand the process count?14:58
blackflowI'm guessing default on-demand fpm mode, so what's the max process count and does that number, times 128MB fit into available RAM14:58
hggdhExoUNX: for for the record, restic 0.9.2 is being built for Cosmic (future 18.10). Currently Cosmic has restic 0.9.1. I would not expect 0.9.2 to appear in any previous versions, unless from a PPA15:00
aglaiablackflow: pm.max_children = 515:00
aglaiablackflow: and there is both php and php-fpm running. php for a long time running script that manages a websocket, and php-fpm that receives and manages images.15:02
blackflowaglaia: I see. well, you know what to do. the only way to find the culprit is to allow it to take the ram and catch it. ideally graph the rss requirements of top 10 processes and you'll find it easily. I have to leave now, good luck.15:02
aglaiablackflow: ok, thanks for your help15:03
satrioircif im running a plain ubuntu 18.04 LTS server w some security (which were recommended on many sites, such as hardening the transport layer, RSA authentication for SSH, etc) for educational purposes, and using openssh, ssmtp, ufw, fail2ban, and psad, what can spam my syslog with tons of "Creating SSL connection to host // SSL connection using ECDHE_RSA_CHACHA20_POLY1305 // Sent mail for my@email (22115:07
satrioirc2.0.0 closing connection z11-v6sm7725756wrm.94 - gsmtp) uid=0 username=root outbytes=4435" like messages even when the system is idle? and if its a hack in progress, how can i prevent it?15:07
satrioircno ports forwarded to the host other than 2215:09
pragmaticenigmasatrioirc: The only options are to furlough the message to another process that will also indicate that there is an active attempt to access the machine.15:09
TJ-satrioirc: is z11-v6...94 a hostname of that server?15:09
pragmaticenigmasatrioirc: Also, in all those articles, should have been the recommendation to not run your SSH server on a default port15:09
subvhomeI'm running VLC with a unix socket interface. the socket is ~/vlc.sock15:10
pragmaticenigma!ask | subvhome15:10
ubottusubvhome: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience15:10
pragmaticenigma!details | subvhome15:10
ubottusubvhome: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.15:10
subvhomeproblem is when i send a command like: nc -U ~/vlc.sock <<< "pause"   .. it works but im stuck in the nc command and needs me to CTRL-C to drop back to shell.. is there any other way i can write to the socket without staying trapped in netcat?15:11
pragmaticenigmasubvhome: suggest reading up on netcat... see "man nc"15:12
subvhomegot it.15:12
subvhomedoing that now15:12
qwebirc39514I did follow the Ubuntu's recommendations to protect my machine against L1TF by updating the Kernel, but I am still vulnerable :-(15:15
qwebirc39514$ cat /sys/devices/system/cpu/vulnerabilities/l1tf Vulnerable15:15
subvhomeused socat15:16
subvhomeworks like a charm15:16
pragmaticenigmasubvhome: or nc with "-q 0"15:16
satrioircTJ: nope, it has a differenct hostname.15:16
pragmaticenigmasubvhome: but best to use with the right tool ;-)15:16
subvhomestill reading the man pages for nc.. but thanks... yes socat will work :)15:17
subvhomeappreciate the push15:17
satrioircpragmaticenigma: indeed. should i switch to a non.default port then? and what process you mean?15:17
tomreynqwebirc39514: which recommendation areyou referring to specifically, which actions have you taken to mitiagte the vulnerability?15:18
pragmaticenigmasatrioirc: By process I mean, you could create a firewall rule to block the IP of the incoming conenction, but then the firewall will alert that it is blocking connections to that IP.15:18
tomreynqwebirc39514: and which ubuntu release and kernel version were and are you running now?15:18
pragmaticenigmasatrioirc: Any port above 2000 is unreserved and can be used.15:19
tomreynqwebirc39514: also the version of intel-microcode would matter15:19
satrioircpragmaticenigma: ye i wanted to, my fail2ban is set to permaban auth retries, but the thing is: syslog doesnt show any ip for those messages, so there is no attacker to get rid of o_O15:20
pragmaticenigmasatrioirc: I don't know the origins of the message... it almost appears interanlly originated15:23
qwebirc39514tomreyn: Ubuntu recommends to update the kernel so i tried different kernel on Ubuntu Xenial 4.4.154, and Bionic 4.1515:23
qwebirc39514tomreyn: my CPU is Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz15:24
pragmaticenigmaqwebirc39514: Where did you find this recommendation?15:24
qwebirc39514pragmaticenigma: I found it there https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/L1TF15:25
tomreynqwebirc39514: so which kernel versions did you have after applying the patches?15:25
qwebirc39514tomreyn: I tried 4.4.154 and 4.1515:26
pragmaticenigmaqwebirc39514: Also, why are you manually updating these kernels? Also noted, did you read the entire article? Specifically: In some cases, which are believed to be rare, there may be no mitigation available due to the PTE inversion technique being incompatible with the number of physical address bits used by the processor and the amount of memory installed in the system. In these cases, the file will indicate the15:27
pragmaticenigmano mitigations are in place and that the system is vulnerable15:27
tomreynqwebirc39514: please provide the output of "dpkg -l linux-image\* intel-microcode" and "cat /proc/version" on systems you have patched15:27
satrioircpragmaticenigma: thanks anyways. port change: will do. if the messages will keep to show up, that will be a proof of something internal jobs generating them, but still, what the heck? :D15:29
pragmaticenigmasatrioirc: can't hurt... easy enough to switch back15:29
crazyisaac Hey i have been trying to autorun Guake when i startx but it doesn´t work.I tried to use crontab and     sudo cp /usr/share/applications/guake.desktop /etc/xdg/autostart/ too, but nothing works. Can someone help me?15:29
iateadonutsnap packages: they can't see any files.  can i fix this?  what are the alternatives?15:29
pragmaticenigma!details | iateadonut15:29
ubottuiateadonut: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.15:29
qwebirc39514qwebirc39514: here it is : https://pastebin.com/ySPxwwwL with last kernel for Xenial LTS15:30
pragmaticenigmacrazyisaac: Set it up per the documentation. crontab is not the correct location15:30
iateadonutsnap packages, like pdftk, or telegram, cannot find files that have permissions from my user.15:31
qwebirc39514pragmaticenigma: I did read this but my CPU is very common15:31
pragmaticenigmacrazyisaac: guake requires an active DE to run, and all DEs have a settings area for specifying autolaunch applications15:31
iateadonutso if i try to drag a file to telegram, telegram cannot accept it.15:31
pragmaticenigmaiateadonut: Are you certain it's not telegram preventing drag-and-drop?15:31
iateadonutor if i try to merge several pdf's with pdftk, that won't work either - it simply doesn't see files, as if the user running the executable from the snap package does not own the files.15:31
iateadonutpragmaticenigma, yes, i'm sure, because it happens on pdftk, too, and because of this thread: https://askubuntu.com/questions/964377/snap-application-doesnt-see-files-from-another-partition15:32
pragmaticenigmaiateadonut: did you read the solution? because the answer is right there15:33
pragmaticenigmaiateadonut: it may not be exactly the same solution, but that should set you in the right direction15:33
iateadonutno, it didn't work for me.15:35
tomreynqwebirc39514: can you show the exact version of intel-microcode you have installed there, again, it was cut off15:37
tomreynqwebirc39514: dpkg -l intel-microcode | cat15:37
qwebirc39514tomreyn: ii  intel-microcode 3.20180807a.0ubuntu0.16.04.1 amd64        Processor microcode firmware for Intel CPUs15:38
pragmaticenigmaiateadonut: You will need to reach out to the developer/maintainer of the SNAP application you are using for support than.15:38
tomreynqwebirc39514: thanks. so i guess this suggests that this is one of the few CPUs which cannot be fixed (but i'll try to verify this).15:38
iateadonutprgamaticenigma - it did lead me in the right direction.  i'll have to take it further.15:39
qwebirc39514tomreyn: thanks15:39
iateadonuti have all my stuff mounted on /mnt but will have to change it to /media instead15:40
iateadonutthat's about a 10 year old habit, though.  time to get with the times, i guess.15:40
qwebirc39514tomreyn: how can you keep me updated ? are you chatting here often?15:40
iateadonutanyway, thanks.15:41
tomreynqwebirc39514: yes, i'm here regularly. also if you can stay around for another 60 minutes i *may* be able to give a better reply already. i'lltry to chekc this with someone from the security team.15:42
qwebirc39514tomreyn: thanks, I stay here15:42
tomreynqwebirc39514: here's the question i asked, can you confirm that i'm stating the facts correctly?15:46
tomreynA user is reporting that they have a xenial system with intel-microcode 3.20180807a.0ubuntu0.16.04.1 and linux-image-4.4.0-134-generic 4.4.0-134.160 (booted into, confirmed via /proc/version), and an Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, and that "cat /sys/devices/system/cpu/vulnerabilities/l1tf" still reports "Vulnerable".15:46
Sven_vBwhat's a good program to draw equalizer curves in a narrow frequency range? I tried audacity's equalizer but when I make the window so huge that the interesting range is large enough to edit stuff, the editor becomes so slow it's unusable.15:47
qwebirc39514tomreyn: yes perfect and accurate15:48
tomreynqwebirc39514: thanks. would you also like to review these details for the other system you said is also affected?15:48
qwebirc39514tomreyn: I only have this problem with this machine/CPU15:49
tomreynqwebirc39514: you stated that a system running ubnntu bioniuc, kernel 4.15, was also affected. is this the same system then?15:51
qwebirc39514tomreyn: yes it was on the same system15:52
tomreynqwebirc39514: i see. so i've not gotten a response, yet, which is to be expected at this time of day (we'Re beyond UK business hours). would you like to file a bug on this to make sure you don't miss a reply?15:55
qwebirc39514tomreyn: yes, with pleasure15:55
tomreynqwebirc39514: you'd just need to run "ubuntu-bug linux" on the affected system. it will then print a URL (after some seconds or a minute), which you can then access form a web browser.15:56
tomreyn... to complete filing the bug15:56
tomreynyou'll need to register with lauchpad.net in the process (unless you already have an account)15:56
qwebirc39514tomreyn: do I need to install a specific package to run ubuntu-bug ?15:57
tomreynqwebirc39514: apport, but it should already be installed15:58
Lopehow can I modify nvidia's UDEV rules to only load the driver if the device is present? currently it pegs the CPU at 100% when I boot up in a diff machine. I don't want to change the udev rule files every time, It should be possible to probe for the device before loading udev? http://codepad.org/AYRxqsGK15:59
qwebirc39514tomreyn: ok I am doing it16:02
tomreynqwebirc39514: cool, (if you don't mind) please let me know the url of the bug report after you have finished the submission from your webbrowser16:03
=== SimonNL is now known as SimonNL_Afk
Sia-Hi, my issue is i have a m.b with 2 SSD sda and sdb, if i install any **ubuntu last setup failed because trying to install grub on sda. and sda is hackintosh. Why can't self chose the bootloader disk as we have in Debian or Solus and manjaro?16:04
Sia-is possible to let the installer install the bootloader on sdb and not the firs disk?16:04
tomreynqwebirc39514: if this is not a production system and you can afford to reboot it to bionic again, it'd be great to add the version details (of the versioned kernel image package and the intel-microcode package, combined with the outputs of "cat /proc/version" and finally "cat /sys/devices/system/cpu/vulnerabilities/l1tf", to the same bug report, too.16:05
tomreynSia-: normally (if more than one device is detected) you can choose the target device for the boot loader installation. which ubuntu version and variant were you installing there?16:08
Sia-tomreyn 18.4.116:09
qwebirc39514tomreyn: I did it, i pm you the link16:09
Sia-i've tried with kubuntu, ubuntu ..etc same issue as last setup. Doesn't let me to chose the bootloader disk16:09
tomreynSia-: so you're installing using desktop installers, right?16:10
Sia-yes16:10
Sia-it let me to chose the installation disk, but the bootloader is sda by default can't change or don't have this option16:11
tomreynSia-: did you try manual partitioning?16:12
Sia-no16:12
Sia-autos16:12
tomreynSia-: on the manual partitioning install screen, you can choose the target device for boot loader installation on the bottom (drop down box):  https://i.stack.imgur.com/3DBJC.png16:13
Sia-aha thanks16:13
tomreynSia-: i assume that in automated mode it will just try to install to the first disk, which is usually the first bios disk, which will usually be the one the bios tries to boot (first, or only).16:16
tomreynit's a bit different for uefi, but the same assumptions may apply there.16:16
HanumaanI have Multi-OS (Fedora, Ubuntu and Windows) With Fedora managing the Grub now trying to upgrade Ubuntu from 16.04.5 to 18.04.1 .. however I get this error : https://paste.ubuntu.com/p/FcvkZz8SqP/16:43
=== capella|away is now known as capella
HanumaanEFI is managed by Fedora and so it is not in Ubuntu how do skip this error and upgrade?16:51
NoImNotNineVoltis ubuntu-for-windows offtopic here?16:54
lotus|NUC!ubuwin | NoImNotNineVolt16:54
ubottuNoImNotNineVolt: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide16:54
NoImNotNineVoltthanks.16:54
TJ-Hanumaan: on that 16.04 is grub-efi or efibootmgr installed?16:54
HanumaanTJ-: I suppose not installed or at least it is not getting used, how do I confirm that?16:55
HanumaanTJ-: When I tried to install I always used to get this error and was not needed probably as it is managed by fedora: http://dpaste.com/03WGYK016:58
TJ-Hanumaan: I'e looked at the d-r-u source; it checks for this list of packages. if any are installed you'll see that message: "bootloaders = ["shim-signed", "grub-efi-amd64", "grub-efi-ia32", "grub-efi-arm", "grub-efi-arm64", "sicherboot"]"16:58
TJ-Hanumaan: ensure those are not installed on 16.04 and it should go ahead16:59
=== SimonNL_Afk is now known as SimonNL
texlaubuntu 18.04  ubuntu/gnome My numLK pad works thru login ..then the light blinks off/on and the numLK pad number no longer work..If I switch to cinnamon all keypad numbers work correctly17:03
tomreyntexla: try: gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state true17:08
texlatomreyn, tried that gsettings with no positive results17:11
lotus|NUCtexla: did you reboot after?17:12
tomreyntexla: so you ran the command and rebooted since, and numlock still turned off?17:12
TJ-texla: what does this report? "gsettings get org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state"17:13
texlatomreyn, that is correct tried it yesterday and have rebooted numerous times numLK still turns off after login17:13
=== davor_ is now known as davor
texlatomreyn, gsettings get org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state17:15
texlatrue17:15
ioriatexla, universal access -> point & click -> mouse keys   (is On or Off  ?)17:18
texlaioria, point & click is on17:21
ioriatexla, set to Off17:21
texlaioria, Switched to off 123 see the numbers from numLK17:23
ioriatexla, meaning ?17:24
texlaIoria tomreyn TJ thanks to every one will reboot and see if it still working after boot and login17:25
ioriaok17:25
skrAnyone could explain what am I doing wrong with squidguard? conf is here https://pastebin.com/73agZihx17:25
mohnishIs it possible to install lxqt on xubuntu?17:26
ioriamohnish, never tried on xfce , but i think you can17:27
mohnishioria: Okay, so it's possible, but does it break your system?17:27
ioriamohnish, nope... why ?17:28
mohnishJust asking ioria17:28
mohnishI'm gonna be installing lxqt in mine17:28
ioriamohnish, http://xubuntuhowto.blogspot.com/2016/11/trying-lxqt-desktop-on-xubuntu-1604.html17:28
mohnishioria: What is openbox by the way?17:29
ioriamohnish, a wm17:29
ioria!info openbox17:29
ubottuopenbox (source: openbox): standards-compliant, fast, light-weight and extensible window manager. In component universe, is optional. Version 3.6.1-7 (bionic), package size 281 kB, installed size 1281 kB17:29
texlaioria, Back on line worked at login...these numbers from numLK pad 5460 all working again Thanks for the help17:30
ioriatexla, good, no prob17:30
mohnishioria: What is i3 used for?17:30
Lopewhat's the min disk space for a minimal ubuntu server install?17:30
ioriamohnish, it's a good tiling wm17:30
mohnishioria: Can I run applications like Firefox in it?17:31
ioriamohnish, sure ... no overlapping windows17:31
mohnishioria: What do you mean no overlapping windows?17:32
ioriamohnish,  https://en.wikipedia.org/wiki/Tiling_window_manager17:32
ioriamohnish,  overlying if you prefer the word17:33
mohnishokay17:33
mohnishIf I run my games in it, will they run faster? ioria17:34
ioriamohnish,  idk for sure, but you'll  need fewer resources17:34
mohnishioria: Fewer resources, that's a good thing17:35
ioriasure17:35
mohnishI'll be sure to check it out17:35
pragmaticenigmamohnish: i3wm isn't really designed for games.17:35
mohnishOh, okay17:35
pragmaticenigmamohnish: While your game may run, your experience may not be what you expect17:36
mohnishThank you for your time though ioria17:36
ioriamohnish, ok17:36
mohnishOkay, I'd rather use lqxt then17:36
mohnishDoes lxqt require openbox??17:36
ioriamohnish, yep... let me check17:37
mohnishokay17:37
mohnish!info arch17:37
ubottuPackage arch does not exist in bionic17:37
ioriamohnish, yes17:37
mohnishokay17:38
luka_33I use arch btw17:38
mohnishSo I need openbox for running lxqt?17:38
pragmaticenigmamohnish, ioria : Yes, LXQT uses openbox as its default window manager17:38
ioriayep17:38
mohnishOkay17:39
RabidWeezleStupid question... you think a 3ghz pentium 4 with hyperthreading could run ubuntu server?17:53
RabidWeezlewith like 2gb of ram, 32-bit17:53
pragmaticenigmaRabidWeezle: Yes, I've run one with the same specifications. As well as a Celeron 2Ghz Laptop with 1GB of RAM in a laptop running server17:54
RabidWeezleahh nice. I didn't know if server was still shipped in the 32-bit variety :)17:55
subvhomeI have a bash script with if else conditions and statements.. I know the conditions work since one of the statements is "touch ~/test1" ... however the following statement doesn't work for some reason:  socat UNIX-CONNECT:/home/user/vlc.sock - <<< "add /mnt/sdcard/Videos/Playlist/AM.m3u"17:55
subvhomeam i supposed to use certain single or double quotes somewhere?17:55
ioriaRabidWeezle, not 18.0417:55
RabidWeezle16.04?17:56
ioriaRabidWeezle, yup17:56
RabidWeezlenice17:56
RabidWeezleI use that on my company mail server, so that should be a breeze17:56
subvhomeRabidWeezle: server hardware runs on practically anything. im running 18.04.1 on 1gb ram Intel Compute Stick...17:56
ioriai think so17:56
subvhomebut 64bit17:56
jehornI use an old atom netbook as a file / git server at home. So yeah you can use older hw.17:56
RabidWeezleI use an atom zbox for our mail server, dual core with hyper-threading with 4gb of ram :)17:57
RabidWeezlebut I didn't know about 32-bit support, so guess it's 16.04 for that17:58
subvhomeRabidWeezle: product: Intel(R) Atom(TM) CPU  Z3735F @ 1.33GHz17:58
RabidWeezlesubvhome: nice17:58
RabidWeezleAtom + linux = happiness17:58
RabidWeezlenothing like a 16 watt server17:59
leftyfbsubvhome: you should try #bash for your question17:59
RabidWeezleRight now I'm running 2 servers in VM at home, but I'd rather not leave my 8700k running 24/7 with a custom loop that could potentially spring a leak while I'm at work :/18:00
mohnishWhat is the desktop environment the takes the least resources??18:01
tarzeauwmaker or amiwm18:02
tarzeaubut it's probably not a desktop environment18:02
mohnishOh18:02
RabidWeezlelubuntu uses lxde, it's pretty light18:02
mohnishHow about lxqt18:02
* tarzeau runs them on his raspberry pi or other elder hardware18:02
RabidWeezlelast I checked18:02
jehornLXDE, LXqt for desktop, or something like blackbox or such for a window manager only.18:02
mohnishOkay okay18:02
Anthaas_Hi guys - I have 2 computers in my house - this one (running Linux) has stopped connecting to the internet via powerline adapter.18:02
RabidWeezleblackbox is super light, aka fluxbox18:02
mohnishI'm installing lxqt18:03
jk0neAnthaas_: have you reset your powerline adapters (both sides?)18:03
compdocAnthaas_, what ip address does the non-working computer have? do you use dhcp?18:03
mohnishexit18:04
mohnishOops, I thought I was in a terminat'18:04
compdocyou can never leave, mohnish18:04
mohnishterminal18:04
mohnishcompdoc: LOL why?18:04
compdocwe are in control now18:04
mohnishI thought my terminal was open18:04
Anthaas_Uhhh, I have reset.18:05
mohnishcompdoc: Oh my god! I can't even shut down my pc and leave oh no! LOL18:05
Anthaas_DHCP? I think my router does this?18:05
compdocone of those  powerline adapters have probably died18:05
Anthaas_aaaand, the IP address? Haha - I'll be honest, I have 2 from `ip address show` and Im not sure which it is.18:06
mohnishI'm gonna get back here once I'm logged in to my lxqt desktop18:06
mohnishBye!18:06
Anthaas_compdoc: It does connect for like 5 minutes after turning the machine on, but after that it disconnects and doesn't reconnect...18:06
compdocand it worked fine when you first got them?18:07
Anthaas_Uhh, it worked fine until I connected the 2nd PC up with a powerline adapter it seems.18:07
Anthaas_It _seems_ that only one computer can be connected via powerline at a time...18:07
compdocoh. how about using another power outlet?18:07
compdocthats not good18:08
Anthaas_I'll try that in a bit - my birthday, about to go out for dinner, but I'm not hopeful on that one.18:09
Anthaas_For sure if that is the case, then it'll be the Windows machine that needs to be swapped.18:09
Anthaas_The weird thing is, the windows machine connects absolutely fine. This one is the one that has stopped holding a steady connection.18:09
Anthaas_I am currently tethering from my mobile phone.18:09
pragmaticenigma18.04 is availble for 32 bit... You won't be able to use the regular installers. You can install via the mini.iso though18:09
pragmaticenigmaioria: 32-bit is still supported, the installer is only available in the mini.iso thought18:10
albechGave up on getting 18.04 running on my old Mac Mini. Ubuntu Mate installed with no issues and ran out of the box. Cheers to those who tried to fix the issues.18:10
pragmaticenigmaRabidWeezle: You can install 32-bit 18.04... You will have to install via the mini.iso is all.18:10
=== dakar is now known as tester
HanumaanTJ-: great it worked and I was able to upgrade18:17
pragmaticenigmaHanumaan: TJ- has departed... glad to hear you're up and running18:18
seanrdevSo I am getting an error when installing anything on my ubuntu server machine. It isn't allowed to remove older linux-header files. To be specific dpkg: error processing package linux-headers-4.15.0-29 (--remove):18:22
naccseanrdev: there will be more lines than that, use a pastebin and paste the whole command and output18:22
fedorafanhey I got System program problem detected how to fix it?18:24
pragmaticenigma!details | fedorafan18:24
ubottufedorafan: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.18:24
fedorafanI dont know it pops up and can cancel or report problem18:24
cim209!pastebin18:24
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:24
naccfedorafan: typically that means something crashed, either in the current or prior boot.18:25
naccfedorafan: and it's just trying to ask you to report the bug. There's nothing to 'fix' without knowing what the issue is.18:25
fedorafanok18:25
seanrdevnacc: https://pastebin.com/HgT8gRbb18:26
naccseanrdev: can you stat that path?18:26
naccseanrdev: on line 1818:27
fedorafanhow to upgrade kernel?18:27
fedorafan!kernelupgrade18:27
naccfedorafan: ... what do you mean? the kernel is just a package, use apt/apt-get like normal.18:28
pragmaticenigmafedorafan: Kernel updates are provided through regular updates. Unless you disabled features of system update, you will receive a notification when updates are avaialble to be installed.18:28
fedorafannacc I didnt get it before with newer kernel but I had problems with ethernet so I deleted it by a package manager18:28
fedorafannow I would like to upgrade again manually18:28
naccfedorafan: i don't follow? what was the "it" you deleted?18:29
seanrdevnacc: https://pastebin.com/uWBWGYeP18:29
fedorafanby synaptic I chose all kernels expect the one I use now18:29
fedorafan4.13.0-45-generic18:29
naccfedorafan: what version of ubuntu are you on?18:30
fedorafanI guess 16.0418:30
naccfedorafan: 4.13 is not a supported version of any ubuntu currently18:30
fedorafanok18:30
naccseanrdev: hrm; as root can you delete that file manually? (`sudo rm /usr/src/linux-headers-4.15.0-29/net/bridge`)? Did you see any errors in `dmesg` from when the apt-get ran.18:30
fedorafanyeah it is 16.0418:33
naccfedorafan: well, only 4.4 and 4.15 are supported on 16.0418:34
fedorafanok18:34
naccfedorafan: the appropriate ubuntu packages of each18:34
fedorafanhow to install them18:34
naccfedorafan: either linux-image-generic or for 4.15 (hwe): https://wiki.ubuntu.com/Kernel/LTSEnablementStack18:35
naccfedorafan: and stop removing metapackages if you don't understand what they are for.18:35
fedorafanI followed instructions just wanted to get rid of them18:35
naccfedorafan: ... yes, don't do that. It easily makes your system unsupported.18:36
pragmaticenigmafedorafan: followed by you coming here with a broken system or system issues and expecting us to fix them. You need to stop doing that18:36
naccfedorafan: and means you have not had any security or bugfix updates in some time.18:36
fedorafanand what are you doing if you got a big collection of kernels?18:36
naccfedorafan: that's why you use the metapackage and follow the autoremove advice that apt always spits out.18:36
fedorafanI didnt expect anything just asked what to do18:37
pragmaticenigmafedorafan: There is already a documented process for removing older kernels18:37
seanrdevnacc: I get an input/output error...  rm: cannot remove '/usr/src/linux-headers-4.15.0-29/net/bridge/Kconfig': Input/output error18:37
fedorafanso with apt ok18:37
naccseanrdev: when you do that, do you get an error or any logs in `dmesg` ?18:37
pragmaticenigmafedorafan: all software changes, including kernels, are handled through package management. When new kernels are installed, older kernels can be removed with "sudo apt autoremove" which will remove all unneeded packages and/or unused kernels18:38
fedorafangot it18:38
pragmaticenigmafedorafan: if the kernel isn't listed for autoremove, then you shouldn't force it.18:38
fedorafanok18:38
seanrdevnacc: I tried doing a simple 'ls' and got an IO Error. I grabbed the dmesg during that command.. https://pastebin.com/yMKKJ6Bd18:40
naccseanrdev: it would appear your disk is failing.18:40
naccseanrdev: and your filesystem may have errors.18:40
naccseanrdev: you should reboot and force a fsck18:40
naccseanrdev: well, actually, that may not fix it alone, if your disk is failing18:40
seanrdevnacc: Damn.... Thanks a lot!! I appreciate your help. It's a 15 year old laptop I'm using as a log server so I guess that makes since.18:42
pragmaticenigmaThat's a huge set of log files!18:42
fedorafanpragmaticenigma what is enigma in your case18:43
pragmaticenigma!chat | fedorafan18:43
ubottufedorafan: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!18:43
fedorafanso not here18:43
pragmaticenigmano18:43
naccseanrdev: yeah, that isn't great, sorry :(18:44
ShaunRI have a weird issue that I cant seam to figure out.  I'm usint the apache2 build from ubuntu 18.04 btw.  I have confiugred apache for 3 virtualhosts, domain1.com, domain2.com, and sub1.domain.com.  Those sites load as expected. Whats weird is when i try to create sub2.domain.com. When i do that all of a sudden domain1.com starts showing content from sub1.domain.com  and I cant seam to figure18:44
ShaunRout why.18:44
pragmaticenigmaShaunR: Possibly a cut and paste issue?18:45
fedorafansorry for asking :)18:46
pragmaticenigmaShaunR: It's hard to determine from your example domains... is sub2.domain.com a sub domain of either domain1.com or domain2.com?18:47
ShaunRpragmaticenigma: I dont see how.  I've even copied the sub1.domain.com to sub2.domain.com and did a search and replace for sub1 to sub218:47
m_i_k_eShaunR: same ip? same directory path? issue pragmaticenigma asked?18:47
ShaunRsame ip18:47
ShaunRdirectory different18:47
m_i_k_eare you viewing by the domain name or ip?18:47
m_i_k_ein the browser18:48
albechin ubuntu 16.04 i would disable dnsmasq to get dns servers configured right when connecting to an openvpn server, but it seems like this was changed in 18.04. any hints?18:48
pragmaticenigmaalbech: dnsmasq is used as a local caching dns server in 18.04... disabling it will break all connectivity18:49
pragmaticenigmaalbech: not sure why you were disabling it in 16.04 ... that should not have been needed18:50
pragmaticenigmaShaunR: did you see my earlier question about the sub domains?18:50
m_i_k_eShaunR: do you have "ServerName" in the configuration file?18:50
albechpragmaticenigma: i really just want to use the DNS servers my DHCP and VPN server is handing out or at lease use them as upstream DNS servers18:52
naccalbech: that doesn't require disabling dnsmasq (afaik)18:52
albechnacc: in 16.04 it was the only ay i could reliably make openvpn connections use a DNS server in the data center for internal name resolving.18:53
ioriaalbech, 18.04 uses systemd-resolved service if this can help you18:53
pragmaticenigmaalbech: So your system connecting to the VPN needs to have access to local machine on the local network as well?18:54
pragmaticenigmaalbech: So your system connecting to the VPN needs to have access to local machines on the local network as well?18:54
naccalbech: i think that might mean you misconfigured your VPN to perhaps handle all traffic or something. Were you using NM to configure the VPN?18:55
albechnacc: no it only routes traffic destined to the VPN networks through the VPN18:55
pragmaticenigmaalbech: so the system was acting as a gateway for traffic bound to go over the VPN?18:56
albechpragmaticenigma: 2 sec. locating the documentation18:58
pragmaticenigmaalbech: I'll return in about an hour... have a meeting to attend19:00
fedorafanhttps://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/19:00
fedorafanim using the bourne shell but got problems with the line JAVA_HOME = jdk-install-dir19:01
fedorafancommand not known19:01
fedorafanits bash not bourn sorry19:02
subvhomeleftyfb: thanks will do!19:02
fedorafanexport not found19:03
naccfedorafan: no spaces. That help is formatted terribly.19:04
naccfedorafan: and obviously not literrlly 'jdk-install-dir'19:04
nacc*literally.19:04
fedorafanok19:04
fedorafanso within ''19:04
naccalbech: right, but did the vpn connection override the DNS maybe?19:05
fedorafannot a valid identifier19:05
naccfedorafan: ... what?19:05
fedorafanwhat do I need to type19:05
ShaunRHere are the apache confs19:05
ShaunRhttps://pastebin.com/vL0J2HNK19:05
fedorafanexport JAVA_HOME=bla there no spaces?19:05
albechnacc: it did.. and thats what i wanted.19:05
fedorafandoesnt work19:06
naccfedorafan: use a pastebin, stop just saying it doesn't work.19:06
fedorafanIm on a laptop and doing stuff on desktop machine19:06
naccfedorafan: why does that matter?19:06
fedorafanit works ok19:06
fedorafanit doesnt matter19:07
fedorafanyoure right the format isnt that good19:07
albechacc: i wish to use other DNS servers (internal) when on the VPN..19:07
albechnacc: see lots of other people having same issue19:10
fedorafanjava cannot be found19:10
fedorafanI followed the lines in the guide19:11
fedorafanpastebin.com/vmKsrtbc19:12
leftyfbfedorafan: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-0419:12
leftyfbfedorafan: use that to install java on Ubuntu 16.0419:12
fedorafanthanks leftyfb19:13
albechnacc: https://github.com/systemd/systemd/issues/607619:14
fedorafanI would like to get it worked by the instructions given by the officials19:16
fedorafan!export19:17
=== msalvatore_ is now known as msalvatore
leftyfbfedorafan: If you want it to work correctly on your system, use the link I gave you. Otherwise, seek support from Oracle with it19:17
fedorafanno I think thats a good way now im just curious to get it run by the link I already posted here19:17
leftyfbfedorafan: good luck. You're on your own with that.19:18
fedorafanstubborn sorry but you have helped me a lot I appreciate19:19
fedorafan:)19:19
fedorafanwhat does export do?19:25
fedorafanits a nick dont want to highlight you19:26
naccfedorafan: you want #bash or `man bash`19:27
RabidWeezleno joke, #bash is super helpful19:27
fedorafanI did echo $SHELL and it says /bin/bash so its bash right19:28
leftyfbfedorafan: go to #bash for help with BASH19:28
RabidWeezleI love those guys19:28
fedorafanim going there :)19:28
madLyfethis is odd and not the first time its happened but i cant power off my pc. it turns off and i can hear the power(fans/drives spin down) go off then the computer boots back up again.19:29
albechdisappointing to see that resolved does not honor DNS servers handed to it by openvpn and the hacks suggested in this thread is not feasible to the ordinary user. I am guessing this will affect LOTS of users: https://github.com/systemd/systemd/issues/607619:33
RabidWeezlemadLyfe: do you have the setting on in uefi that turns on as soon as it detects power hitting the system?19:33
RabidWeezleI use that on my server19:34
RabidWeezlein case of total outage/ups failure19:34
pragmaticenigmaShaunR: I think the issue comes from load order of the config files in apache... try enumerating the config file names with a numerical prefix like 0001_dev1.domain.com 0002_dev.domain.com19:34
madLyfeRabidWeezle: nah. this doesnt happen all the time. it functions properly, until it doesnt.19:34
madLyfei saw this but i dont think: https://www.linuxquestions.org/questions/ubuntu-63/lubuntu-won%27t-shutdown-reboots-it%27s-the-microcode-firmware-4175635589/19:35
pragmaticenigmaShaunR: I'm not 100% certain as I've never had wildcards with subdomains before19:35
RabidWeezlemadLyfe: a short in the switch?19:35
RabidWeezlewires pressing against an internal power button on some motherboards?19:35
madLyfeim not using the switch, im using shutdown on the desktop.19:35
RabidWeezleo_O19:35
RabidWeezleweird19:35
MokreshI'm having some troubles booting Ubuntu 18 after fresh install. First Reboot after completing install will dump me to a black screen with no GRUB menu etc19:39
Mokreshhttp://pastebin.ubuntu.com/p/Zw3mTsHt3S/19:39
pragmaticenigmamadLyfe: remove all devices from USB and other ports. Except for your monitor, keyboard and mouse. TRy then... if it stays off, then one of your USB or periphial devices is trigger the boot up19:40
madLyfepragmaticenigma: could it be that a USB device doesn't trigger it every time but sometimes?19:42
pragmaticenigmamadLyfe: could be a lot of things... bad power supply, stuck power button, residual power in a peripheral device giving feedback, static electricity in the air around the computer, power surge in the mainline power, etc.19:43
xp0int3rwhat is the name of the screenshooter application on ubuntu?19:44
madLyfepragmaticenigma: well it worked the first time with the usb drive removed. still doing it now.19:46
xp0int3rnvm. it is gnome-screenshot.19:47
pragmaticenigmamadLyfe: Could also be a sign that the Power Supply Unit is failing. Hardware isn't really something we can troubleshoot over the internet. You would need to find someone with experiencing in electronics that might be able to help diagnose that issue.19:48
madLyfeok thanks for the help. though if I halt the system manually and then hold the power button down till it shuts off it doesn't turn back on.19:50
madLyfethis is only when I use the software shutdown button on desktop.19:51
madLyfehaven't tried the command shutdown19:51
pragmaticenigmamadLyfe: menu command issues the same "shutdown" command19:53
somenewhi19:54
somenewanyone here19:54
pragmaticenigma!ask | somenew19:54
ubottusomenew: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience19:54
pragmaticenigma!chat | somenew19:54
ubottusomenew: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!19:54
Lopewhen I run `nbd-server -C /dev/null 0.0.0.0@1234 /dev/sdb1` it forks and when a client connects, nbd-server segfaults. If I run it with -d appended meaning "don't fork" it works perfectly, I've tested many clients with local and remote clients, same version client and diff version. Any ideas?19:55
somenewI have a PC with 8gb ram and an ssd, and whenever I use up too much ram, my system freezes and completely. I have 6gb of swap but it doesnt even look like its really being used, what can i do?19:55
pragmaticenigmasomenew: What are you doing at the time the computer freezes?19:56
Lopesomenew, your freeze might be unrelated to ram usage.19:56
Lopesomenew, lots of things to check. CPU temp, memtest.19:56
somenewit is always different19:58
somenewsometimes i run a game, sometimes i run virtualbox19:58
somenewor an IDE19:58
somenewsomething that consumes a lot of ram19:58
=== hey_joe is now known as KipperedSnack
pragmaticenigmasomenew: That's making an assumption that it's something consuming ram.. all those items sound like stressing the machine and like Lope mentioned... possible the computer is overheating or other issues20:00
=== KipperedSnack is now known as hey_joe
=== hey_joe is now known as KipperedSnack
naccLope: https://github.com/NetworkBlockDevice/nbd/issues/77 ?20:01
=== KipperedSnack is now known as hey_joe
somenewpragmaticenigma: i have an i5 -8250 and its below 30% usage most of the time20:02
madLyfepragmaticenigma: i had power on by lan set in the bios, i turned that off and was able to shutdown. not sure why it would have been shutting down fine until now? or if i used the power button it would shutdown fine.20:06
madLyfewhy would an internal(non OS) drive all of the sudden only be read only?20:09
madLyfeall other internal drives/network drives are RW.20:10
leftyfbmadLyfe: either a config change or the drive has a physical issue20:11
madLyfeactually thats a lie. my other internal drive, win 10 drive, is also now only readable.20:11
madLyfeits a dual boot system with 3 internal drives. nix/win10/storage.20:12
madLyfenix/win10 are ssds.20:12
EriC^look at dmesg and smart tests20:12
madLyfewin10/storage are read only now.20:12
madLyfei see these errors: https://paste.ubuntu.com/p/gBjKMkt8r3/20:18
pragmaticenigmamadLyfe: With the forced shutdowns, the drives may have been flagged with unclean shutdown and are in write mode to protect from corruption20:19
madLyfethis is the full dmesg: https://paste.ubuntu.com/p/7rtjP9KxMg/20:20
pragmaticenigmamadLyfe: Boot windows, see if asks for a checkdisk20:22
madLyfewell the drive issue was first. then the not being able to shutdown started. but that had happened before.20:22
=== hey_joe is now known as mindamp
leftyfbmadLyfe: sounds like a hardware problem to me20:24
madLyfenah I can boot windows fine and read/write to the other drive that was read only under nix.20:25
naccmadLyfe: what filesystem is the win10 one?20:27
madLyfeNTFS I believe20:27
naccmadLyfe: and did you respond to what pragmaticenigma said about the forced shutdowns?20:27
=== mindamp is now known as hey_joe
madLyfeI don't know how to respond to it. the drives are working fine outside of nix. I didn't have any force shutdowns when the drives issue started.20:28
naccmadLyfe: which disk is the one that's readonly?20:29
leftyfbtypically if NTFS is "dirty", it'll complain when you're trying to mount it and won't mount it at all. I don't think this has to do with the NTFS filesystem being left in a dirty state20:29
madLyfe2 internal drives that are not the nix drive. one is a win10 drive and one is just a storage drive.20:30
madLyfeboth read only drives are mounted and i can view contents and copy from them.20:30
leftyfbmadLyfe: to help with details, "nix", "win10" and "storage" are not drive or filesystem types.20:30
naccmadLyfe: ... i meant which disk in the system by path.20:30
naccmadLyfe: we can't parse the log to know which disk is which without that information20:31
naccmadLyfe: is it simply mounted readonly?20:31
madLyfethe drives are /dev/sdb and /dev/sdc20:33
naccmadLyfe: which are which!20:33
madLyfeit could be, how do i check that?20:33
madLyfewin 10 is sdb and storage is sdc20:34
naccmadLyfe: i know what drives are on your system, they are clearly listed in `dmesg`. I do not know what filesystem should be on which, etc.20:34
naccmadLyfe: ok20:34
naccmadLyfe: look the output of `mount` ?20:34
madLyfeboth are ntfs20:34
madLyfehttps://paste.ubuntu.com/p/Y7pxfFgmkd/20:35
naccmadLyfe: /dev/sdb4 and /dev/sdc1 are mounted readonly.20:35
madLyfethey were RW until today for some reason.20:36
naccdoes ntfs use fuse? I thought it used the ntfs module20:36
naccleftyfb: --^ do you know?20:36
naccmadLyfe: yes, i understand. YOu don't need to repeat that. Have you tried remounting them read-write?20:37
naccmadLyfe: if the fs has errors, it will complain about them20:37
leftyfbyes20:37
madLyfei havent tried that.20:37
leftyfbNTFS support is done with ntfs-3g which uses FUSE20:37
naccleftyfb: ah! thanks20:37
madLyfedo i just want to remount that sdb4 and sdc1 rather than sdb and sdc?20:40
leftyfbyes20:40
naccmadLyfe: yes, you mount partitions, not disks.20:41
leftyfbsdb4 is the 4th partition on the sdb drive20:41
leftyfbif you're mounting an entire drive, you're doing it wrong :)20:41
madLyfe`sudo mount -o remount,rw /partition/identifier /mount/point` ?20:41
madLyfe`sudo mount -o remount,rw /dev/sdc1 /media/kinghat/Staging Storage`?20:43
IarlaAnybody know how to burn a CD from a .cue file? The .cue references a .iso and several .wav files. Normally I just burn .iso files to CD but the .wavs are required.20:43
madLyfe'mount: bad usage'20:44
IarlaBrasero recognises .cue but asks me whether to burn the .iso as a file in the CD or something else. So I'm confused.20:44
leftyfbmadLyfe: sudo mount -o remount,rw /mount/point20:44
leftyfbIarla: where did this .cue file come from?20:45
naccmadLyfe: it's already mounted, so you don't need to tell it what to remount. Just the mountpoint to remount.20:45
IarlaIt's part of an archive I downloaded. To be burned to CD for a games console.20:45
madLyfehey that worked20:46
Iarlaleftyfb: ^20:46
leftyfbIarla: an archive of what?20:46
madLyfedoes it need to be set to be always mounted as rw?20:46
madLyfeor will it be that from now on?20:46
Iarlaleftyfb: a .cue, a .iso and several .wav files.20:46
leftyfbmadLyfe: edit your fstab and change the ro's to rw20:46
compdocif it were failing20:47
compdocif it were failing20:47
compdocooops20:47
madLyfei acutally looked there the first thing and they arent in there and from attaching my samba share via fstab i dont remember them ever being in there.20:47
Iarlaleftyfb: I'm told the .cue is important because it tells the burning software what order t add the iso and .wav contents. But the others are using Nero and can't help with Brasero.20:47
leftyfbIarla: What exactly is the iso of?20:48
Iarlaleftyfb: the .iso is a bootable filesystem.20:48
IarlaFor the Amiga cd-32.20:49
IarlaBrasero asks: Do you want to create a disc from the contents of the image or with the image file inside?20:49
madLyfeleftyfb: ya they are not in fstab.20:49
leftyfbIarla: What you are doing is not a typical activity amongst Ubuntu users and not documented. It also has nothing to do with ubuntu and everything to do with your emulator. You should seek support from where you got the files20:51
Iarlaleftyfb: it's not for an emulator. It's going in a CD tray. As I understand .cue files are relatively standard and burning software (even Brasero) knows how to use them. I just don't know. But maybe I will try a very approaches and test the resulting CDs when I am next at the lab.20:55
=== Lope2 is now known as Lope
Iarlaleftyfb: thanks for checking the docs, much appreciated!20:56
fedorafanleftyfb the channel wasnt that nice but now it runs20:58
leftyfbfedorafan: good luck in your future dealings. You will not be receiving help from me any longer20:58
fedorafanlol20:58
fedorafanwhy20:58
=== hey_joe is now known as KipperedSnack
Chris56Hello there... Does anyone have experience using the cp command in the exec section of the find command?21:16
hggdhChris56: it should be just -exec cp {} /some/where/else/{} \;21:18
Chris56yes!... but, when I use cp -n (no-clobber) it does nothing21:18
Chris56-exec cp --no-clobber {} /mnt/s3-drive/backup/hanab1/monthly/ \; => does nothing21:20
Chris56-exec cp --no-clobber {} /mnt/s3-drive/backup/hanab1/monthly/{} \; => cannot create regular file21:20
=== cryptodan_mobile is now known as cryptodan
hggdhChris56: indeed the second would fail because {} carries the fully-qualified file name. My fault21:21
SeveasChris56: -exec cp -t /mnt/s3-drive/backup/hanab1/monthly/21:21
Seveasno need for {} tricks :)21:22
=== cryptodan is now known as cryptodan_mobile
Chris56yeah, but I need to copy and not overwrite existing21:23
Chris56that's why the -n parameter21:23
Seveasyou can still have the --no-clobber21:23
Chris56let me check21:23
Seveas-exec cp --no-clobber -t /mnt/s3-drive/backup/hanab1/monthly/21:23
Chris56Seveas => cp: missing file operand21:24
Seveaswhat's the full commandline?21:25
Chris56the original one: find /mnt/s3-drive/backup/hanab1/data -type f -newermt "2018-08-31 00:00:00" ! -newermt "2018-08-31 23:59:59" -exec cp -n {} /mnt/s3-drive/backup/hanab1/monthly/ \;21:25
Chris56if I remove the -n it copies the file, but that is a trouble21:26
mobile_chow do i force the installation of an already installed package21:28
Chris56I think it should work with: apt-get --reinstall install rsync21:29
SeveasChris56: you may need to quote the {} in that one21:30
Chris56let me check21:30
Chris56Seveas same thing21:31
mobile_chow do i get past this21:31
mobile_cE: The repository 'http://ppa.launchpad.net/flosoft/cross-apple/ubuntu bionic Release' does not have a Release file.21:31
mobile_cN: Updating from such a repository can't be done securely, and is therefore disabled by default.21:31
mobile_chttps://launchpad.net/~flosoft/+archive/ubuntu/cross-apple21:32
ducassemobile_c: there are no packages for bionic in that ppa, only for really old ubuntu releases21:34
SeveasChris56: ok, time to go for the axe. find /mnt/s3-drive/backup/hanab1/data -type f -newermt "2018-08-31 00:00:00" ! -newermt "2018-08-31 23:59:59" -print0 | xargs -0 -r cp -n -t /mnt/s3-drive/backup/hanab1/monthly/21:34
Chris56omg... let me check21:35
mobile_chow do i remove it but still be able to aquire packages from that ppa21:35
Chris56Seveas same thing D:21:35
Seveasmobile_c: that means that the ppa doesn't support bionic. Try using its artful or zesty variant.21:36
SeveasChris56: which same thing? You've had various errors with the different variante21:37
Chris56it does nothing21:37
Seveasno errors? That means there may be nothing to do :D21:37
mobile_ccan it be inctalled manually by adding these to sources?21:37
mobile_cdeb http://ppa.launchpad.net/flosoft/cross-apple/ubuntu precise main21:37
mobile_cdeb-src http://ppa.launchpad.net/flosoft/cross-apple/ubuntu precise main21:38
hggdhChris56: replace -exec by -ok -- this will force find to ask you if it should execute the command. You can then see if it is doing something21:38
Seveasmobile_c: precise is *ancient*, packages built for precise are very unlikely to work.21:38
mobile_cor will apt stil default to attempting to aquire the bionic release from that ppa21:38
Chris56hggdh => cp ... /mnt/s3-drive/backup/hanab1/data/SCHEDULED_2018-08-31_0200.tar.gz > ?21:38
hggdhChris56: there you go, it *is* finding the file and trying to -exec21:39
Chris56yes, but it does not copy the files21:39
hggdhChris56: would the files, by any chance, have the same name?21:40
Chris56the path is empty :S21:40
mobile_ccan i recompile them for bionic?21:40
Chris56if I remove tne -n it copies the file with no problems21:41
mobile_cby adding the src ppa21:41
hggdhChris56: -ok will not show you the full command21:41
mobile_cif so how do i add 1024R/679C4EC6014ED9DF9F4E18A4730943C4D0611AA0 to the key thing21:41
Seveasmobile_c: you can try :) Add the source ppa for recise, apt-get source to get the sources; dpkg-buildpackage and pray :)21:42
Seveasapt-key adv --recv-keys 679C4EC6014ED9DF9F4E18A4730943C4D0611AA021:42
mobile_cW: GPG error: http://ppa.launchpad.net/flosoft/cross-apple/ubuntu precise Release: The following signatures were invalid: 679C4EC6014ED9DF9F4E18A4730943C4D0611AA021:43
mobile_cE: The repository 'http://ppa.launchpad.net/flosoft/cross-apple/ubuntu precise Release' is not signed.21:43
Seveasfun! Just dget the .dsc files21:44
mobile_cExecuting: /tmp/apt-key-gpghome.4gZQr30I83/gpg.1.sh --recv-keys 679C4EC6014ED9DF9F4E18A4730943C4D0611AA021:44
mobile_cgpg: key 730943C4D0611AA0: "Launchpad PPA for FloSoft" not changed21:44
Chris56strange... the file is found, the destination path is empty, but not copying21:44
mobile_ci still get W: GPG error: http://ppa.launchpad.net/flosoft/cross-apple/ubuntu precise Release: The following signatures were invalid: 679C4EC6014ED9DF9F4E18A4730943C4D0611AA021:45
Seveasmobile_c: dget -u http://ppa.launchpad.net/flosoft/cross-apple/ubuntu/pool/main/a/apple-uni-boost/apple-uni-boost_1.55-0flosoft2.dsc21:45
Seveasrepeat for the other packages21:45
Chris56well... gotta go now... will see it tomorrow... hope you're here... take care :)21:46
=== gr33n7007h is now known as al2o3-cr
jazizheya22:06
jazizI'm trying to dual boot windows/ubuntu on two separate hard drives22:06
jazizI've got this m2 ssd that I've installed it on, but it's not being detected on boot22:07
jazizthe windows hdd is being detected just fine, though22:07
jazizis it a matter of installing the bootloader in the corret place?22:07
jaziznot sure where to go22:07
jazizfuckit, I'll format some things again and see how it goes haha22:13
jazizI got no data on there anyway22:14
hggdhjaziz: please mind your language22:15
jazizhggdh, apologies22:15
jazizHm, I don't understand22:20
jazizit's just not being detected22:21
ryuojaziz: is it NVMe?22:22
jazizryuo, what's that22:22
ryuojaziz: well... m.2 supports two main types of SSDs. SATA and NVMe. NVMe isn't supported by all BIOS as a boot device.22:23
jazizoh, is this the same as m2?22:23
jazizoh okay22:23
ryuobasically, NVMe is a storage device hooked directly into PCIE.22:24
jazizit's the ssd that the computer came with, I think, so I wouldn't see why it wouldn't detect it22:24
ryuoI see.22:24
jazizreal strange22:25
ryuoCould always be some BIOS issue.22:25
jazizmy boot devices are listed at 1)windows boot manager 2)yes22:25
jazizsad stuff22:25
jazizwhat if I did something like install the bootloader on the hdd that is detected?22:26
jazizbut install the os on the ssd?22:26
ryuoMight work, but eh. What's the machine model?22:26
jazizAcer E5-57522:27
ryuoHm.22:28
jazizwhat's up22:29
jazizexact model here https://www.cnet.com/products/acer-aspire-e-15-e5-575-521w-15-6-core-i5-6200u-8-gb-ram-256-gb-ssd-us-international/specs/22:29
jaziz(I think)22:29
ryuoWhat's your BIOS version?22:29
jazizInsydeH2022:30
jazizor is that capital O22:30
ryuoNo, the version.22:30
jazizoh22:30
ryuoInsyde is a type of BIOS.22:30
jazizwhoopsies22:30
jazizv1.0422:30
ryuoWow.22:30
ryuoYou really should update the BIOS.22:31
ryuoYou're still using the first release of it.22:31
ryuoIt's up to 1.4522:31
ryuoYou can update it from Windows I believe.22:31
zimabluehey, does anyone know how/whether it's possible to both dual boot into ubuntu and run it inside hyper V? I can't find any discussion of how to do22:31
ryuoI can't be certain, but it could help with your issue too.22:31
ryuojaziz: i've had BIOS updates fix various Linux issues before.22:32
jazizoh dang22:32
jazizwell22:32
jazizthat I'll do then22:32
ryuoLike my Probook 455 G5 function keys finally work correctly after a recent update.22:32
ryuoBIOS update22:32
jazizinto windows we boot22:32
ryuojaziz: well, you don't have to, but it's generally a good idea to keep them up to date.22:33
ryuojaziz: i think this might be it, but you'll need to confirm it for yourself.22:33
ryuojaziz: https://www.acer.com/ac/en/US/content/support-product/6752?b=122:33
jaziz1alrighty22:35
jaziz1let's see what we got here22:35
hans_the entries in `contab -e`, where do their default stdout/stderr go?  /dev/null ?22:39
nacchans_: yes, not logged by default, afaik.22:40
=== semeion is now known as mnemonic
hans_kk22:40
nacchans_: if you set up local mail delivery, they will be mailed to the local user22:40
hans_huh, ok22:40
nacchans_: i should say, mail delivery at all -- the easiest is local22:41
hans_nothing wrong with giving them a screen session?22:41
nacchans_: not sure i follow22:41
hans_hold on a min22:43
ryuojaziz1: it worked ok?22:44
hans_nacc, well http://paste.debian.net/plain/104106722:46
nacchans_: oh i see what you are saying. yes, that would be fine, to do. It may make more sense to make it a proper service rather than a cron entry if you're trying to make it long-lived22:49
hans_hmm, i don't know how to write a init.d script, and i suck at bash scripting22:51
roadkilladd your commands to the end of the file.22:52
roadkillcommands you would otherwise type in shell.22:52
hans_roadkill, do you mean `to the end of the crontab -e file` ?22:53
nacchans_: well, i was not going to sugget an init.d script, as that's sysv and old22:53
nacchans_: you want systemd units22:53
hans_don't know how to write those either, any getting started tutorials?22:53
nacchans_: `man systemd.unit`22:54
hans_right, thanks22:54
nacchans_: there are a bunch of such manpages22:55
fedorafannacc23:03
lotuspsychjeask your question in the channel fedorafan23:04
fedorafanno didnt want to send it23:05
lotuspsychjeoh ok23:05
naccfedorafan: did you need something?23:07
fedorafanscroll up please23:07
=== guiver_d is now known as guiverc
jfrahello23:19
tomreynhi there23:21
lotuspsychjewhat can we do for you jfra23:21
jfraho, i juste come for idle, and if possible, grab some tips xD23:21
hans_how do you modify this https://i.imgur.com/HOYU7vK.png and this https://i.imgur.com/RYuoxed.png  post-installation ?23:25
hans_apparently the answer to the first 1 is `sudo hostname <new_name>`23:26
nacchans_: that's not accurate any longer, afaik23:27
nacci believe you are supposed to use hostnamectl23:27
naccthe latter, i think, could be controlled by `domainname`, and i think only affects the fqdn expressed locally and then /etc/resolv.conf23:28
roadkillanyone in here have experience dealing with intel bluetooth/wifi combo chipset issues? Ubuntu recognizes the bluetooth part, wifi part is completely missing from lsusb. I know one fix is to disable bluetooth but when I manually do that in modprobe, it doesn't seem to enable wifi.23:28
lotuspsychjeroadkill: your ubuntu version and chipset please?23:31
hans_roadkill, does `lspci` list your wifi perhaps?23:31
HellFireroadkill: the wifi part is usually PCI(e)23:31
roadkilllotuspsychje: 18.04, 17.10, 16.04, Fedora 28. Same issue across all. Gemini Lake chipset from Intel. Pentiun N4100. Intel Wireless-AC 316523:31
HellFirewith a built-in USB hub for the bluetooth23:32
roadkillit's a USB device.23:32
HellFirewhat model?23:32
HellFireoh, you said23:32
roadkillDevice ID is 8086-3165 in Win10.23:32
roadkillWhen listing in lsusb, bluetooth's device ID shows, wifi does not.23:32
roadkillThis specific chipset seems to have been fully supported since kernel 4.423:32
lotuspsychjeroadkill: is your system up to date to latest? aka .33 kernel?23:32
hans_roadkill, `uname -a` ?23:33
roadkillI did the latest kernel last night, yes, but with no changes in wifi. I had to wipe the install to reinstall Win10 to get the usb device ids so I'm currently reflashing the USB to reinstall with 18.0423:33
naccHellFire: also may be useful to provide the dmesg when you unplug/plug the device in23:34
roadkillit's built into the motherboard.23:34
naccerr, roadkill sorry23:34
nacchttps://codeyarns.com/2017/02/04/how-to-make-intel-wireless-ac-3165-work-in-ubuntu/23:35
roadkillI followed that guide. No dice.23:35
naccroadkill: without logs, it's hard to help23:35
roadkillI dumped the latest intel firmwares into /lib/firmware without any results.23:35
roadkillAnd I'm aware, which is why I'm reinstalling now.23:36
naccit's also certified in all these systems: https://certification.ubuntu.com/catalog/component/pci/8086%3A3166/23:36
roadkillbeen at this for 3 days, btw. heh.23:36
naccsorry, https://certification.ubuntu.com/catalog/component/pci/8086%3A3165/23:36
roadkillSo glad I kept that USB Ethernet dongle...23:37
naccthis doesn't happen to be you? https://ubuntuforums.org/showthread.php?t=238268223:37
roadkillNope.23:37
roadkillI have a Teclast F5,23:38
nacccheck their results23:38
naccroadkill: also, based upon that user's logs, the wireless is definitely pci attached23:39
naccroadkill: s/results/diagnostic steps/23:40
lotuspsychjeroadkill: try that tail -f /var/log/syslog and plugout/plug in to paste the errors as nacc suggested23:40
naccyeah, that would be the easiest first step23:40
naccdon't do any remediation steps without first establishing the baseline23:40
HellFireroadkill: i'm guessing this is a laptop? what model?23:42
HellFirehttps://forums.linuxmint.com/viewtopic.php?t=241071 could be your issue if it's a Lenovo laptop23:42
naccHellFire: they said it's a "Teclast F5"23:43
HellFireah, missed that23:44
naccalthough one review i read said that ubuntu wasn't supported on it at all, so there is that23:44
naccoh but a german one says 18.04 worked23:44
roadkillIt boots, almost everything works. The german guy didn't seem to try to get online with it in his review.23:45
roadkillTouchpad works after a kernel update.23:45
roadkillDon't care about touchscreen.23:45
roadkillInstalled. Restarting so I can start the logging.23:47
roadkilldmesg | grep iwl = nothing23:52
naccroadkill: can you pastebin the dmesg, `lsusb`, and `lspci` output?23:53
naccroadkill: oh and `uname -a` ?23:53
roadkillI'm ircing from a different system. give me a moment to switch over23:53
naccroadkill: and i suppose the output of the commands from that AU article23:53
tomreynxonsider ssh'ing instead23:54
roadkillwell my irc is on a rpi so I SSH in anyway23:54
naccroadkill: i mean, to pastebin the commands you can use pastebinit23:55
naccthe commands' output, i mean23:55
roadkillhttps://pastebin.com/HwK8gQre23:57
roadkillwhew. 1920x1080 with xfce at 11" is kinda hard to read. heh23:59

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