/srv/irclogs.ubuntu.com/2019/10/08/#ubuntu.txt

akemhpNever mind i found it.00:02
B|ack0pgood nite00:11
=== ponyride1 is now known as ponyrider
in_cognitohello, ubunters, anyone able to interpret an error message from the boot loader?00:26
in_cognitoi'm losing my mind with the USB install, have absolutely no problem producing an LIVEUSB on 18 or 19 Ubuntu but whenever I try to add persistence I get a mounting error00:27
in_cognito[7.896251] couldn't get size :0X8000000000000e00:32
=== akemhp_ is now known as akemLenovo
akemLenovohttps://pastebin.com/FbZCPEP1 There is some package missing on the repository?00:43
akemLenovoMy virtual box is currently broken because of that. :/00:45
akemLenovoHa ok i think it was needing an update first.00:47
=== BrianG61UK_ is now known as BrianG61UK
sarnoldakemLenovo: all sorted?00:56
akemLenovosarnold, Yep, thanks.00:58
sarnoldcool cool00:58
WaVaken: I'm running Ubuntu on my brand new Lenovo P52. Works beautifully :)00:59
WaVakem*00:59
akemLenovoWaV, nice :) mine is an old one, but it's very well supported, especially i got all the drivers for the hardware, no pblm.01:05
AscavasaionI am trying to delete prtitions nd create one partition readable in Windows... Disks gives me the options of FAT16 <32M, FAT16 0x06, W95 FAT32, W95 FAT32 LBA 0c1c, W95 FAT16 LBA 0x1e.  All I want is to create a file format that a bluetooth speak with a USB input can use.01:31
=== jmcgnh_ is now known as jmcgnh
=== jmcgnh is now known as jmcgnh_
sarnoldAscavasaion: I think I'd try W95 FAT16 LBA 0x1e first01:33
=== jmcgnh_ is now known as jmcgnh
sarnoldAscavasaion: (I've got no real reason for preferring this variant over 0c1c -- I just vaguely think '1e' feels a lot more familiar a number)01:34
Ascavasaionsarnold, Okay hehe  Thank you.01:35
sarnoldAscavasaion: yikes wait01:35
sarnoldAscavasaion: I just now noticed the 'fat16' in that name. that's terrible advice01:35
sarnoldsorry01:35
sarnoldAscavasaion: FAT32 LBA seems most likely to give good results to me, and I misread that last option quite badly01:36
Ascavasaionsarnold, HAHA  No problems... It tells em there is a partition still on the device.  So I think I am either missing something obvious, or the USB stick is dodgy.01:37
sarnoldAscavasaion: well.., there's "fdisk" partition tables and "gpt" partition tables and it's entirely possible that if you've wiped one the other may still be there..01:37
Ascavasaionsarnold, I just took that 32GB USB stick out, replaced it with another 32Gb USB stick and it works.  I think it is a broekn USB stick.  Thansk for the help, and I am relieved because I thought I was losing my mind hehe01:43
=== ben_r_ is now known as ben_r
sarnoldAscavasaion: hah, it wouldn't be the first time I've heard of a busted usb stick :/01:50
sarnoldAscavasaion: nice you had another one handy to test with :) otherwise that could drive you insane..01:51
=== zbenjamin_ is now known as zbenjamin
NickZdoes anyone know how to get strace to output the uid of the process that it attaches to?01:58
sarnoldNickZ: I can't recall seeing a way to force strace to do that; you can grab it from /proc/pid/status (orlikely the other files, too)02:01
NickZsarnold: the problem is that the process dies way too quickly02:46
=== TheFatherMind- is now known as TheFatherMind
adrian_1908Is the MOTD service enabled or disabled on Ubuntu Desktop by default?02:57
um1b0zudoes anyone have a good read on ubuntu networking?03:33
um1b0zuI keep asking about setting up my vpn to route all traffic through it, and the only answer I get is cryptic at best with no actual commands.03:33
um1b0zuHow does networking actually work in Ubuntu. What are the relevant states and commands?03:33
um1b0zuHow do I actually learn how this works. I search for "ubuntu networking" and I get videos that don't actually explain how it works. They're just tutorials trying to solve a problem that isn't mine at all.03:34
Ben64um1b0zu: depends what you're trying to learn about it03:38
um1b0zuI want to learn about ifconfig and these weird words like tun0 and wlan and all this fun stuff about routing03:39
Ben64well that's not ubuntu specific03:40
Ben64i'd suggest learning the basics of networking first, then moving to the linux stuff03:41
um1b0zuis there some form of tutorial or video that explains it with linux examples?03:41
um1b0zulike what is tun0 and wlan?03:42
Ben64tunnel 0 and wireless local area network03:42
um1b0zuso how does routing work with them?03:42
um1b0zuI fell like I manage those... I'm not even sure what those are. services?03:42
Ben64see, i think you need to get the foundations of networking first03:43
um1b0zuyes. what is this magic?03:45
um1b0zuplease say I don't have to read tannenbaum03:45
Ben64it's a good one03:46
=== xrandr_laptop_ is now known as xrandr_laptop
on3pkhello.  I'm trying to setup a daemontools service to keep openvpn alive.  systemd doesn't want to start it anymore.04:10
on3pkI don't know how to set the environment variables in the bash script so it can find the files in /etc/openvpn04:10
ponyrideron3pk: come instructions https://wiki.archlinux.org/index.php/OpenVPN#systemd_service_configuration04:16
on3pkponyrider, I think an updated systemd binary is messing with my vps config.  So I was actually just trying to launch it an alternate way04:18
cluelesspersonsometimes, any link I click on ubuntu, causes the currently running browser to crash05:17
cluelesspersonreally frustrating because I keep losing work.05:17
jrgilmananyone running 19.10 atm? how's gnome 3.34 doing for you05:32
jrgilmanare the performance improvements all they're cracked up to be?05:32
akemhpI think you can ask that in #ubuntu+1.05:33
jrgilmanthanks will do05:34
TJ-Strange issue with Thunar on 18.04 - USB Flash devices mounted via udisks and gvfs show ownership or root:root in the GUI and therefore cannot be changed by the user they are mounted for *but* in shell the user has full control and ownership of the mountpoint, and the mount entry, both show the user as owner!06:00
TJ-s/ownership or/ownership of/06:01
ponyriderTJ-: try dbus-launch thunar06:07
=== lotus|i5 is now known as lotuspsychje
TJ-ponyrider: thanks, I'll try that when I get back on that system.06:30
jpmhI switch users and machines a lot and find the new info that login shows by default in 18.4 server to be annoying, not because of the info, but the delay that it imposes.  Is there a QUICK and easy way that I can disable and re-enable this in a CLEAN manner.  16.4 was so much quicker06:35
EriC^^jpmh: you could maybe remove the internet aspects of it06:36
EriC^^jpmh: i think the stuff is here /etc/update-motd.d06:37
jpmhEriC^^: yes, and that does work, but remember, I want a "quick and easy and clean: way.  I guess I could have a script that makes and reverst the change.  Was hoping for tomethinf cleaner06:37
jpmhEriC^^: you are correct - in terms of where - and that does make the difference I want.  It just stinks to do that06:38
EriC^^chmod -x /etc/update-motd.d/* ?06:38
jpmhEriC^^: I like that idea, let me test that out - that woud be a BRILLIANT and quick and EASY and relatively CLEAN method06:39
akemhp_Hey, anyone knows if there is a way to know first/last block of a file on a hardrive, in order to scan for badblocks just theses sectors?06:40
EriC^^akemhp_: sudo parted /dev/sdX unit s print06:40
kreyrenwhat wine version do you have on ubuntu as latest?06:41
EriC^^akemhp_: you can get the blocks from sectors/block up in the drives description, 512 or 409606:41
EriC^^akemhp_: actually nevermind, i think you just need the sector number which is the block, i think06:43
EriC^^!info wine | kreyren06:43
ubottukreyren: Package wine does not exist in bionic06:43
kreyreno.o06:43
kreyren!info wine-staging06:43
ubottuPackage wine-staging does not exist in bionic06:43
akemhp_EriC^^, I think i can't know the blocks in relation to a specific file with parted.06:44
EriC^^akemhp_: what do you mean by specific file? file within the filesystem?06:44
akemhp_EriC^^, Yes.06:45
EriC^^yeah06:45
akemhp_EriC^^, I have one file that report an IO error in a software, so i wanted to scan only sectors used by this file.06:45
=== freedom_ is now known as freedom
akemhp_Cause scanning the entire disk is like more than 150 hours :/06:46
EriC^^akemhp_: try sudo debugfs -R "stat /home/to/file" /dev/sdxY06:48
EriC^^akemhp_: or sudo hdparm --fibmap /path/to/file06:51
akemhp_EriC^^, Yeah i think i got it with begin_LBA and end_LBA in the second command.06:53
akemhp_Thanks EriC^^.06:53
EriC^^akemhp_: no problem06:56
TuorLUKS+LVM+BTRFS or LUKS+BTRFS?07:02
sonOfRaBTRFS on top of LVM seems silly. BTRFS itself can handle multiple volumes and dynamic sizing, no?07:05
TuorThat's why I ask, I did read a post where they do it with lvm...07:07
TuorThe reason for using LVM inside uf LUKS seems to be swap. I also asked in ##security and this was there point on that question.07:23
TJ-Tuor: recent Ubuntu's favour a swap file rather than dedicated partition07:24
TuorThis is a problem inside of BTRFS07:24
TuorAFAIK07:24
jpmhEriC^^: You idea was GREAT!   Still a little slower than the old system because it tries a bunch of stuff - but MUCH better  thanks so much.  Now thinking of haveing two directories, one with all the files and the other without them and switching them in an out - sort of based on your idea07:24
TuorOr not...07:26
TuorHave to check again.07:27
TuorI'll ask in #btrfs07:28
=== _dbugger is now known as dbugger
TJ-jpmh: you could just stop the update-motd task itself on login07:32
jpmhTJ-: how would I do that?07:33
TJ-jpmh: in /etc/pam.d/login (and /etc/pam.d/sshd) there is "session    optional   pam_motd.so motd=/run/motd.dynamic"07:34
jpmhTJ-: heading to look at that now - ty07:34
EriC^^jpmh: great, good to hear!07:35
jpmhTJ-: that section of the file says it is for the keyring07:36
jpmhTJ-: oops - never mind - there are multiple sections - sorry07:36
TJ-jpmh: if you add "noupdate" to those it'll stop the dynamic update, see "man pam_motd"07:37
jpmhTJ-: TY so much - this is EXACTLY what I need07:37
Tuorswap file inside of btrfs is only working since kernel 5.0 (before there is risk of data loss)07:37
TJ-jpmh: that way the motd-news.service/timer will still work and update the file but it won't be updated on logins07:37
EriC^^!cookie | TJ-07:39
ubottuTJ-: Wow! You're such a great helper, you deserve a cookie!07:39
TJ-oooo breakfast time :)07:40
jpmhTJ-: the "noupdate" on the second line was all that is reqred since the first already has it07:40
TJ-jpmh: right; the 2nd is reading the default static /etc/motd whereas the first reads the dynamic copy07:41
jpmhthis is WHY I LOVE Ubuntu - the supprt here is SO GREAT!  Thank you EriC^^ and TJ-07:42
illuminated_in apt list --installed what does [installed, automatic] and [installed, auto-removable] mean07:58
illuminated_and what man page do I open to read about that07:58
ArchitectZinstalled means you installed that package, auto means it was pulled in by a dependency and could be removed if the dependent package is removed or no longer requires it.08:02
illuminated_what's auto-removable?08:04
lotuspsychjeilluminated_: if you pastebin whats happening to your apt, volunteers can take a look whats happening to your system08:06
illuminated_https://paste.fedoraproject.org/paste/ODklHlUY6dL68TPwk0bRgw08:07
ArchitectZauto-removable means that you did not explicitly install that package, it was pulled in as a dependency of another package or a build dependency and isn't needed anymore.08:07
illuminated_I installed wine64 via apt, then later did an apt update and apt list --upgradable.  showed that wine, among other things was upgradable.  So, I did an apt full-upgrade.  Then it broke my wine.08:09
illuminated_so I'm trying to figure out what happened08:09
lotuspsychjeilluminated_: that paste url lags on my end, perhaps try paste ubuntu, or pastebin?08:09
illuminated_https://paste.ubuntu.com/p/g6tRYWyhz2/08:11
lotuspsychje!uptodate | illuminated_ what happens wehn you:08:12
ubottuilluminated_ what happens wehn you:: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`.08:12
illuminated_I added the winehq repo first before I did apt-update and apt full-upgrade08:13
illuminated_how do I check what repo the package is from?08:13
illuminated_is that possible?08:13
lotuspsychjeilluminated_: we dont support external ppa's and advice to use packages from the official ubuntu repos08:13
illuminated_well, I didn't "mean" to use it when I updated08:14
illuminated_nonetheless, is there a way to check what repo a package installed from?08:14
lotuspsychjeilluminated_: apt policy packagename08:15
lotuspsychjeilluminated_: we often see apt dependency & package conflicts by adding external ppa's here, reccomended to !ppapurge the external ppa's to revert to ubuntu vanilla sources08:16
illuminated_!ppapurge08:16
ubottuTo 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.html08:16
jpmhTJ-: one more question - with that noupdate in pace will my messages EVER get updated?08:21
illuminated_lotuspsychje: sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'  <-- that is the command I issued to add the repo.  It wasn't a ppa.  At least I don't see a ppa name for ppa-purge to do its thing.  It's listed in /etc/sources.list.  Could I just del the line from there?08:22
afidegnumi need a ascii's hex editor which will allow me to visualize the ascii code as i m editing the normal text...08:30
jpmhI have some virtual/hosted servers that run beutifully however there is a horrible pause on booting when it tries to start urandom, I assume bacuse of no entropy, so I installed haveged thinking that it would help, it does not - any other ideas?08:33
=== mouseleums is now known as mouses
lotuspsychjeilluminated_: perhaps in sources.list.d?08:43
=== mouses is now known as mouseleums
InteloI am doing this in system service but no logs.txt is being created. ExecStart=/usr/bin/node /home/ubuntu/api/dist/app.js |tee /home/ubuntu/api/logs.txt08:49
geirhaThere's no shell to parse that |08:51
geirhaso most likely it's just passing '|tee' '...logs.txt' as two arguments to your app08:51
TJ-jpmh: sorry, was away. Yes, as I said, the motd-news.service triggered by the motd-news.timer will do the updates08:57
jpmhTJ-: TY so much - this is the PERFECT solution then - not clear to me why this is not the default08:58
TJ-Intelo: you need to set the StandardOutput= in the unit, but the default should be to capture stdout to journal anyhow08:59
InteloTJ-,  how exactly?08:59
InteloTJ-,  won't this work? ExecStart=/bin/sh -c '/usr/bin/node /home/ubuntu/api/dist/app.js |tee /home/ubuntu/api/logs.txt'08:59
TJ-Intelo: see "man systemd.exec" and the sections on StandardOutput= and StandardError=08:59
thneeI really wonder why Ubuntu has POSIX as default locale in docker containers, when it does not have that in normal installations..09:10
geirhaprobably because any locale they pick will be wrong for someone09:29
geirhaand it's wasted space to have unneeded locales installed09:31
Nighthawk`I All, i have an Ubuntu 16.04 32bit and i try to run UnrealTournament 99, i have installed all, and it's time to activate the script which run the server (and check if it fail to reboot it). I'm getting in the logs the following error: "Couldn't run ucc (ucc-bin). Is UT_DATA_PATH set?", i tried following the fix that is shown here "https://wiki.unrealadmin.org/Server_Install_linux", But still09:43
Nighthawk`without help, can anyone help me a bit ?09:43
NosophorusHi, dudes!09:54
dknowjoin ##security10:04
tomreynNighthawk`: maybe in #unrealengine or ##linux you could get help with this, this software is not part of ubuntu and thus not supported here.10:20
Nighthawk`Ok, you are right :)10:22
chris768443hello, anyone here with mdadm knowledge/experiences?10:38
tomreyn!ask | chris76844310:38
ubottuchris768443: 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 !patience10:38
tomreynalso: hello there.10:40
chris768443I have a md0 raid6 in an "unclear" state.10:40
chris768443dmesg says: "md/raid:md0: cannot start dirty degraded array."10:40
chris768443mdadm --detail /dev/md010:40
chris768443State : active, degraded, Not Started10:40
tomreynpastebinit /proc/mdstat10:41
chris768443https://paste.ubuntu.com/p/2Bxfmj7VW8/10:42
chris768443mdadm --detail /dev/md010:43
chris768443https://paste.ubuntu.com/p/CMfBv4mpmv/10:43
tomreynwhich ubuntu version is this? have you identified the root / original event which caused the raid to become dirty / degraded, yet?10:44
chris768443tl;dr: /dev/sdd failed last morning. After 15min. the rebuild to /dev/sdg "hangs" at  ~130kbs about 8 hours. No reaction for "ls" or something else on the mountpoint. No unmounting, hanging write_job on the hanging mount-point (a btrgs snapshot).10:46
chris768443After killing the snapshot process (and d-stated the process) and cant umount or anything else with the device, i restarted the hole server with uncommenting the automounts in fstab10:47
chris768443now i am in this situation. im not really sure about the state. Is it active (like --detail says) or not (like /proc/mdstat says).10:48
chris768443a --run says nothing, not even with --verbose10:48
chris768443mount says: mount: wrong fs type, bad option, bad superblock on /dev/md010:49
chris768443dmesg says: md/raid:md0: failed to run raid set.10:50
chris768443(after the restart)10:50
chris768443oh and, dmesg says before the "fail": md/raid:md0: cannot start dirty degraded array.10:51
chris768443mdadm --assemble --scan -v: mdadm: Found some drive for an array that is already active: /dev/md010:51
tomreynhmm right, i see how mdadm --detail says md0 is "active, degraded, not started" and mdstat says md5 is "inactive". this doesn't seem to add up10:55
tomreynchris768443: i don't want to provide bad recommendation here, haven't been in this very situation, yet.10:55
tomreynpersonally, if i could not get help in the manuals or on irc, i'd run review smart data on all drives, run a short self test on all drives and review smart data aagain, stop the array, then assemble it again, then start it.10:57
tomreynchris768443: you didn't say which ubuntu version this is. also, which kernel version would be of interest.10:59
chris768443this is a debian server, Debian 4.19.37. I know its not ubuntu, i am using ubuntu on my home servers. at this point i try to help a friend.11:00
tomreynthere's #debian here, just ask there then?11:06
tomreyni have almost no experience with this kernel11:07
chris768443tomreyn thanks for the advice, have a nice day :)11:09
tomreynchris768443: have a nice days, too (and please only ask questions about ubuntu here int he future)11:10
BluesKajHey folks11:13
dknowBluesKaj, hello11:20
=== The_Milkman1 is now known as The_Milkman
NobunI have a question about what package contains a certain lib... where can I ask?11:50
Nobun(question about apt package name)11:50
GusjNobun: This might help... ==> https://packages.ubuntu.com11:52
geirhaand if it's a library that is currently installed, you can see what package installed it with   dpkg -S /path/to/lib11:53
NobunGusj: thank but I can't find there too12:01
Nobungeirha: no... I have not... I need to build a qt5 app whici is using texttospeech qt5 component... but I can't understand in wich package could be found12:02
Nobuns/whici/which12:03
ioria!info libqt5texttospeech5-dev12:03
ubottulibqt5texttospeech5-dev (source: qtspeech-opensource-src): Speech library for Qt - development files. In component universe, is optional. Version 5.9.5-0ubuntu1 (bionic), package size 8 kB, installed size 62 kB12:03
geekPantherHow can i use PAM in Ubuntu. Pamusb is not installable on ubuntu rightnow. SO are there any other ways for PAM in ubuntu?12:03
Nobunioria: it says "cannot find libqt5texttospeech5-dev"12:04
ioria!info libqt5texttospeech5-dev disco12:04
ubottulibqt5texttospeech5-dev (source: qtspeech-opensource-src): Speech library for Qt - development files. In component universe, is optional. Version 5.12.2-1 (disco), package size 8 kB, installed size 64 kB12:04
NobunI am in 16.0412:04
ioria!info libqt5texttospeech5-dev xenial12:04
ubottuPackage libqt5texttospeech5-dev does not exist in xenial12:05
Nobun!info qtspeech xenial12:05
ubottuPackage qtspeech does not exist in xenial12:05
Nobunit is very hard to find -.-12:06
ioriaNobun, what app are you building ?12:07
Nobunioria: an OCR software based on qt512:10
TwoTaIlWhen or How can I upgrade to Ubuntu 19.0412:10
Nobunsince the default OCR software is somehow ugly on translating italian... I would like to try this one... but this component is blocking me12:10
ioriaNobun, run 18.04 in vm12:11
NobunTwoTaIl: if you are evaluating to upgrade to 19.04 I would suggest you to wait for 19.10 wich will be released soon (if not yet released)12:11
BluesKaj!Eoan12:12
ubottuUbuntu 19.10 (Eoan Ermine) will be the 31st release of Ubuntu, scheduled for October 2019 ( https://wiki.ubuntu.com/EoanErmine/ReleaseSchedule ). It will be supported for nine months. Join #ubuntu+1 for support and questions.12:12
TwoTaIlall good, thanks12:14
geekPantherpamusb-tools is not installable on Ubuntu, What can I do to get PAM working with Ubuntu12:17
ioriageekPanther, is  unmaintained12:18
ioriageekPanther, https://launchpad.net/~promasu/+archive/ubuntu/libpam-usb12:19
geekPantherioria: Yes, I have already installed libpam-usb but I need to install pamusb-tools, but it is not installing. Is there any way to perform to PAM, Please givre info12:21
tomreyngeekPanther: please choose between discussing in #ubuntu and ##linux for now. you can continue on the other channel if you haven't gotten a satisfactory reply.12:22
ioriageekPanther, that is just a transitional pkg for pamusb-common (you don't need it , probably)12:24
=== squeezeday is now known as squeezy
ramsub07Hello, how do I see the size of a directory and all the sub directories present ? `ls -lh` doesn't show the total size of a particular directory12:39
tomreyndu -sh12:40
ramsub07tomreyn: thanks!12:40
tomreynramsub07: add -x if you want to limit it to the same file system12:41
ramsub07tomreyn: how do I make that more verbose? For example, it only gives me the total size of a directory. However, i would like to see the sizes of all the files and directories present(total inside the subdirectories)12:41
ramsub07(something like a hybrid between ls -lh and du -sh)12:42
ducasseramsub07: du -sh directory/*12:42
ramsub07ducasse: thanks!12:42
tomreynramsub07: du_recursive https://termbin.com/esma12:44
ducasseramsub07: also check out ncdu12:44
tomreynthe script i posted is a bit buggy though12:45
ramsub07tomreyn: thanks, serves my purpose!12:49
bumblefuzzdoes ufw block ephemeral ports?12:53
pragmaticenigmabumblefuzz: not by default12:54
bumblefuzzwhich ports does it block by default?12:54
pragmaticenigmabumblefuzz: that depends on how you have configured ufw12:54
bumblefuzzby default12:54
ducasseby default, none12:55
pragmaticenigmabumblefuzz: by default ufw isn't enabled in Ubuntu, you have to to turn things on12:55
bumblefuzzso, once it's enabled...12:55
bumblefuzzwhich ports does it block by default12:55
pragmaticenigmabumblefuzz: In it's original configuration it is in a permissive state. It allows data that originated on the machine to leave, unrestricted and come back. Data comming from another computer on the network or internet is blocked12:56
bumblefuzzsudo status ufw verbose indicates: Default: deny (incoming), allow (outgoing), disabled (routed)12:57
pragmaticenigmabumblefuzz: That is exactly what I just described13:00
bumblefuzzk ... think I got it13:00
bumblefuzzwhat does the "any" in "sudo ufw allow from 15.15.15.0/24 to any port 3306" mean?13:00
bumblefuzzwhy isn't it "sudo ufw allow from 15.15.15.0/24 to port 3306" ?13:01
pragmaticenigmabumblefuzz: Because you can have multiple interfaces for network connectivity. Most desktops have an ethernet connection and what is called a loopback connection (accessible via 127.0.0.1). Laptops often have three connections, WiFi, Ethernet and loopback13:02
pragmaticenigmathe any means that any configured network connection will accept a connection to port 330613:02
bumblefuzzah, it's the interface13:02
bumblefuzzthank you13:04
=== Exterminador- is now known as Exterminador
nualaso uhm… on contrast to linked questions… when i add modules to pulse default.pa (no matter if on /etc or ~)  they wont get loaded (qpaeq: 'please make sure you have the pulseaudio dbus module loaded') activating them manually via pactl works fine though o.O https://askubuntu.com/questions/980876/how-do-i-start-pulseaudio-equalizer13:09
nualahttps://askubuntu.com/questions/877485/how-do-i-find-out-what-pulseaudio-module-does-what#87749913:09
=== michele_ is now known as michele
B|ack0phi. is there opensource free cloud file sharing app for linux like dropbox?13:39
squeezynextcloud13:40
B|ack0pthx13:40
B|ack0psqueezy, is it good?13:40
leftyfbB|ack0p: if you had googled that exact question you'd get the answers you're looking for13:42
squeezyB|ack0p: it does the job for me13:48
B|ack0pthx13:50
hggdh113:52
B|ack0pwell.. i followed this instructions to install nextcloud: https://computingforgeeks.com/how-to-install-and-configure-nextcloud-on-debian/14:00
B|ack0pbut i dont know how to open URL http://{serverip|hostname]14:01
JediMasterHi, I've got a number of servers I manage that have dozens of cron jobs, they all send thousands of emails a day and I'd like to log them all instead of sending any emails out. I don't want to have to change every cron job, or add MAILTO='' to every user's crontab on every server, is there another way, e.g. a config somewhere in the cron service?14:02
B|ack0poh i found their support channel here14:03
B|ack0psorry bothering you14:03
makr8100B|ack0p: that just means [insert your URL here]14:04
makr8100IP or hostname, of your machine14:04
B|ack0pmakr8100, hmm is it inet ip?14:05
B|ack0p192.168... ?14:05
makr8100JediMaster: not sure...  Is there a way to run sed on cron?  I've never tried anything like that...14:05
makr8100B|ack0p: yes14:05
tomreynJediMaster: i haven't had a need to do this - if you like discuss what the background / greater need is there, and maybe we can find a better solution?14:05
JediMastermakr8100, these servers are chef managed, but changing the crontab in such a way isn't possible via Chef easily14:06
makr8100ugh...  I'm not familiar with Chef.  No ssh?14:06
tomreynJediMaster: if you'd instead just prefer to continue with your plans, i'd focus on reconfiguring the mail server / servers to write out a copy of these e-mails and drop them.14:06
JediMastermakr8100, Yes, SSH, Chef is used to manage the servers14:07
JediMastertomreyn: these servers are often sending thousands of emails out per day, they end up going to root@somedomain.com based on the config of the webserver, this either annoys the person's domain or in some cases is getting blocked by mail relays like sendgrid (and taking up resources)14:08
makr8100looks like you can run sed on crontab, that's what I would try14:08
JediMastermakr8100, Chef will then re-write the crontab back again14:08
tomreynJediMaster: why do these servers send so much mail then?14:08
makr8100oof...14:09
JediMastertomreyn, because half of the cron jobs output some text when run, which then automatically gets emailed to root14:09
JediMasterand there's many jobs that run every minute, hence thousands of cron emails14:09
tomreynJediMaster: and those users on these servers are not going to be massaged to change it?14:10
JediMasterThere's a mixture of manually created and Chef managed cron jobs, yes, it's *possible* to > /dev/null every single one, but it's a huge job14:10
tomreynJediMaster: this sounds like a VPS host environment or something?14:10
JediMasteryeah, they're webservers, the vast majority are automated cron jobs rather than user's own14:11
tomreynJediMaster: i'd certainly dmanage it centrally, just on your internal / outbound mail servers.14:11
JediMasterI just want to stop cron from sending any out14:11
JediMasterSurely there's a central config or envrionmental variable that can be set in /etc/default/cron or something to stop it sending emails14:11
leftyfbJediMaster: your best solution is to bitbucket the output of the jobs as you already mentioned14:13
JediMasterapparently you can do this in /etc/sysconfig/crond on CentOS: CRONDARGS=-m off14:13
tomreynJediMaster: there's /etc/default/cron which has since moved to the systemd service.14:13
JediMastertomreyn, yeah I saw, but it's weird as the systemd file refers back to it: EnvironmentFile=-/etc/default/cron14:14
tomreynJediMaster: which ubuntu version are you running there?14:15
JediMaster18.0414:15
ioriaJediMaster, iirc should be MAILTO=""14:16
JediMasterioria, can that be set globally, not just per user's crontab?14:16
ioriaJediMaster, idk honestly14:16
tomreynJediMaster: so /etc/default/cron is deprecated and will likely go away in the future.14:17
JediMastertomreyn, That's what it looks like. Where should those arguments be set then? To me it looks like the variable here: ExecStart=/usr/sbin/cron -f $EXTRA_OPTS, however I can see where $EXTRA_OPTS is set14:19
JediMastertomreyn, it seems if you set EXTRA_OPTS within /etc/default/cron it does indeed pass that on to the cron command, however -m off doesn't work lol14:25
tomreynJediMaster: where do you see the -m option?14:26
JediMastertomreyn, various references to cron on CentOS, however, I'm just trying MAILTO="" in /etc/default/cron to see if it reads the environmental variable14:28
iorianot there14:28
tomreynJediMaster: this is #ubuntu, does centos even use vixie cron?14:28
ioriaJediMaster, try in /etc/crontab14:29
makr8100JediMaster: screw Chef, write a cron job to rewrite cron after Chef does it14:29
JediMasterioria, it needs to be global to all cron jobs14:29
JediMasterfor all users14:29
ioriaJediMaster, that is global14:29
JediMastertomreyn, hmm, yeah forgot there were different flavours14:30
ioriaJediMaster, crantab -e (without sudo) is local14:30
tonytcrantab?14:31
ioriacrontab14:31
tonytk14:31
JediMasteryeah MAILTO="" in /etc/default/cron didn't work. I'll try /etc/crontab but don't think it'll apply to the user's cron jobs14:31
ioriaJediMaster, restart cron maybe14:31
JediMasterioria, Just did, but it's still sending emails out14:31
ioriaJediMaster, ther redirect the output14:32
JediMasterioria, I'm looking at many dozens of servers with anywhere from 5 to 30 cron jobs per user with 3-5 users per server14:33
tomreynthere are "cronic" and "cron-deja-vu" for fitering / limiting cron mail14:33
JediMastertomreyn, yeah, but I'd rather stop them at source than filter them if possible14:34
tomreynit's pretty close to source14:34
tomreynyou could also replace the cron implmenetation or have users make use of systemd-timers instead.14:35
JediMasterI suppose I could write a Chef recipe that checks through every crontab for every user to see that MAILTO="" is set, and if not adds it, but that's a pretty dirty hack14:35
tomreynhow do users edit their cron jobs? crontab -e? do they have administrative access?14:36
JediMasterWhy doesn't cron on Ubuntu just let you disable sending emails?14:36
JediMastertomreyn, yes, crontab -e, and a bunch are automated via Chef recipes14:36
tomreynyou restricted usrers run chef reciipes on your servers?14:37
tomreyn*your14:37
JediMastertomreyn, The Chef recipes manage cron jobs for a selection of different users14:39
JediMasterMaybe I'm looking at this the wrong way, how about just disabling all local email to users, as none of them are actually in use, they just need to send email outbound14:40
=== jmcgnh_ is now known as jmcgnh
=== jmcgnh is now known as jmcgnh_
=== jmcgnh_ is now known as jmcgnh
ioriaJediMaster, i don't get it; If MAILTO is defined but empty  no mail will be sent14:41
JediMasterioria, the problem is setting that on every crontab for every user automatically across dozens of servers14:41
ioriai see14:41
tomreyni guess the issue here is that there is no way to administratively enforce a usrs' MAILTO= setting14:41
JediMasterI can easily configure a central config file across all servers, but that is more difficult14:41
=== jmcgnh is now known as jmcgnh_
JediMasterChef actually gives you the ability to set the MAILTO on a per cronjob basis, but not for the entire user, so if the user edits their cronjobs beyond what is automatically set up, then those will send emails14:43
JediMasterI'm really considering just disabling local user's email now14:43
JediMasteras they don't need to receive emails, just send14:43
=== jmcgnh_ is now known as jmcgnh
tomreynJediMaster: do you have per user storage accounting there? if so, i'd choose the opposite: force local delivery for all (restrictive) user generated crond mail14:45
tomreynthat'd make users want to fix their crontabs14:45
tomreyn(you'd still need to provide documentation and support, but that's already the case now since you allow them to use crontabs)14:46
JediMasterThat's a good idea, but that would probably generate more work/support for me ;-)14:46
tomreynnot when you have good enough documentation (a one-time effort for the most part, cron doesn't change much over the years) you can always just point to ("help, my disk is full: because of mail")14:49
royalewithcheesehello15:42
lordcirth_royalewithcheese, welcome15:42
royalewithcheeseThanks, lordcirth15:42
=== ben_r_ is now known as ben_r
pomehahello, LVM question: what should I do if 'lvs' lists some partitions as read-only, but in fact they aren't even in /dev/myVG/ ?15:51
pomehait looks like a bug15:51
pomehait lists that partition with `-ri-------` attr15:52
tomreynpomeha: this is the output of running lsattr on something?15:54
tomreynor lvs?15:55
pomehatomreyn: no, lvs15:55
tomreynso it's just inactive15:55
pomehatomreyn: how to remove it?15:55
tomreynremove what?15:56
pomehatomreyn: lv15:56
tomreynyou want to delete a logical volume? you'd use lvremove15:56
tomreynby the way, "lvs" lists logical volumes, not partitions15:57
pomehatomreyn: tried that: https://paste.ee/p/Y6NdM15:58
tomreynpomeha: which ubuntu version is this, which kernel version?16:01
talinhello. if i want a minimal installation of ubuntu where i get my own window manager etc, which version do i get?16:05
sarnoldNickZ: ahh, I hadn't realized the process was short-lived. how did you manage to attach it before it dies?16:08
makr8100sarnold: https://www.fossmint.com/which-ubuntu-flavor-should-you-choose/16:09
sarnoldtalin: on my most recent install I followed these instructions, which use debootstrap to get a *very* minimal install https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS16:09
makr8100I'd try to search by the wm you want, otherwise xubuntu is probably pretty good16:09
sarnoldtalin: but be aware that it's *very* minimal, taking one of the other flavours may be easier :)16:09
makr8100otherwise you could start with the server (cli only) edition and start adding to it16:09
talinsarnold: cool, thank you16:10
makr8100sarnold's way would probably be better if you're more advanced at things16:10
makr8100I usually shoot for my preferred wm in the initial install16:10
talinthe desktop version has a lot of gnome stuf that i don't want16:12
ioriatalin, https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option16:12
talinhmm, there seems to be a minimal CD as well16:20
=== gtav is now known as rud0lf
bviktorhas anyone had any luck integrating sssd-sudo with polkit? it's driving me nuts. user gets proper sudo rights delegation from AD via SSSD, but the Ubuntu UI just keeps asking for a local admin password17:09
bviktorpretty much ALL google results talk about "add all such users to a hardcoded group" which is pointless and doesn't scale anywhere17:10
bviktordoesn't even scale to more than 1 computer lol17:11
Sven_vByou could probably use a makeshift stopgap like syncing that local group every 15 min17:12
bviktorsync what group from where17:12
bviktorand to where17:12
Sven_vBto whatever active directory says (I guess you mean that with AD)17:12
bviktorthere's no group, to begin with. only sudoRoles.17:12
ioriabviktor, add it to  /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf17:13
bviktorand the problem is not group lookup anyway, group lookups do work. but it doesn't make sense making a separate group for each and every computer to specify the sudo users, THEN point ALL computers to the corresponding groups17:13
bviktorioria, add ... what?17:14
ioriasudoRoles17:14
ioriait's the sudo group, i guess17:14
bviktor<bviktor> there's no group, to begin with. only sudoRoles.17:14
bviktorsudoRole is an AD object and has nothing to do with groups of any kind17:15
bviktors/AD/LDAP/17:15
bviktorthere can be any number of sudoRoles, and each can contain any number of users, hosts, options etc specified17:15
bviktorwhich works perfectly on the command line as `sudo` evaluated that perfectly via sssd-sudo. but not polkit.17:16
bviktorpolkit still lives in the 90s and have no idea about anything besides /etc/group, pretty much17:16
bviktor... or if it does, noone on the internet knows how to configure it17:17
ioriabviktor, https://askubuntu.com/questions/1003558/sssd-windows-domain-users-does-not-have-privileges-over-the-ubuntu-gui17:17
bviktoryes, that's the same nonsesical "answer" i was talking about17:17
bviktormake one global group, make everyone in that member an admin on EVERY computer17:17
bviktorthat's not exactly how a corporate network works. like, at all.17:18
bviktors/in that member/in that group/17:18
tatertotsbviktor: what application in the GUI asks for local sudo?17:25
bviktor~any application that asks for escalation via polkit17:25
bviktordangerous actions, like... connection to a new wifi network17:25
bviktor(why that requires admin privileges, but ONLY via the tray menu, is another story)17:26
ioriabviktor, and this is wrong too ?  https://wiki.contribs.org/Client_Authentication:Ubuntu_via_sssd/ldap#System_Permissions_.26_PolicyKit17:26
LuckyManQuestion is it worthy to buy a graphics board for a Ubuntu PC? I have an i5 intel processor with graphics17:28
tatertotsbviktor: my ubuntu that's AD joined AD admins can simply run the GUI apps from terminal using their AD creds and the app elevates and functions as designed...sucks you're having such a hard time managing it in your environment17:29
LuckyMan(and I only play simple games)17:29
bviktorioria, unfortunately, that seems the same, yeah.17:30
tatertotsbviktor: updates for example in the gui...the AD admin and launch it from terminal and update the system W/O local account use17:30
bviktortatertots, yes, i can tell all coworkers, that if they make changes in the ui and it suddenly asks for a password, just close the app, find the command for the app, run it with sudo, and redo all the changes, every time17:31
bviktorit just looks extremely stupid17:31
bviktorand you'll never guess what most our users silently resorted to: just changed the password of the local IT admin pw so that they don't have to deal with this crap17:32
bviktorand obviously they always blame it on IT, "why can't we just make it work"17:32
lordcirth_LuckyMan, well, is there a game that you play, that doesn't run fast enough?17:33
renn0xtk9I mount a remote computer like this sudo sshfs -o allow_other max@dell:/ /media/max/dell17:33
LuckyManlordcirth_, not yet17:33
lordcirth_LuckyMan, then no need :)17:33
renn0xtk9the tings is that the symlink  on the remote machine pointing to e/g/ /usr/bin/foo/bar now point to my machine not more to /media/max/dell/usr/bin/foo/bar17:34
renn0xtk9is there anymout to define to mount options so that it will kind of prefix the symlink or somehow keep it?17:34
LuckyManlordcirth_, but if I invest on a graphics board, will it use the new board or the processor one?17:34
lordcirth_LuckyMan, the new one, if you set it up correctly.17:35
LuckyManlordcirth_, what's setting it up correctly?17:35
lordcirth_LuckyMan, plugging it in properly. Plugging your monitor into the new card instead of the motherboard (common mistake).17:35
LuckyManlordcirth_, I see, and can I switch between one and the other by software?17:37
lordcirth_LuckyMan, not really. Why would you want to?17:37
LuckyManlordcirth_, just curious17:37
LuckyMansome laptops come with a software switch to do that17:38
ducasseLuckyMan: they have special hardware to enable that17:39
LuckyManI allways wonder why they had that17:39
LuckyManbtw, my memory seems ok for all I need but memory has drop prices, I have 8 gb, would you buy 8 more and why17:40
ducasseLuckyMan: that depends on what you're doing with the pc17:41
LuckyMansorry if this is offtopic17:41
LuckyManI'll be running virtual machines17:41
ducassethen i'd buy more17:42
LuckyManok thanks17:42
xebrahi, is there an easy way to hide desktop icons while you are recording a screencast?17:42
LuckyManxebra, usually there's an option for that17:43
lordcirth_xebra, what Ubuntu version?17:43
LuckyManoh sorry, I thought you were talking about the recorder itself17:43
lordcirth_xebra, should be under desktop or Nautilus settings.17:44
doug16kxebra, `gsettings set org.gnome.desktop.background show-desktop-icons false`17:46
doug16ktrue will turn them back on17:47
xebradoug16k, interesting. Actually, my desktop is XFCE, and I just found the setting: icon type = none. I thought it wasn't possible. Good to know. Thanks everyone17:47
LuckyManthat would probably be easy to implement on a small app17:47
LuckyMan(or script)17:48
LuckyManby the way is there a easy way to save files to desktop in ubuntu 19.04?17:50
LuckyManI mean create files/drag and drop to desktop17:50
doug16kLuckyMan, the desktop a directory called Desktop in your home directory17:51
lordcirth_Drag and drop should work fine. But I don't recommend putting files in your desktop...17:51
doug16k~/Desktop in bash17:51
LuckyManlordcirth_, why not?17:51
rud0lfhello.. while installing oracle-java11-installer-local package, it failed because of missing file; i don't want it any more at all, but now every time i run "apt install" of any kind it launches also this oracle installer script and fails again17:52
rud0lfwhere should i look for the culprit?17:52
lordcirth_LuckyMan, everything should have a place. Putting files on the desktop is like deciding that the correct place for this piece of paper is "on top of that pile over there"17:53
lordcirth_Documents go in Documents, etc.17:53
lordcirth_I don't have any desktop icons; only the taskbar.17:53
lordcirth_rud0lf, what Ubuntu version?17:54
rud0lfxubuntu 18.04 bionic, why?17:54
doug16kI have desktop icons off and never use it either. I understand though that most people like files on the desktop17:54
LuckyManlordcirth_, I know that but sometimes you need to drag a file temporarily in there to use it elsewhere17:54
lordcirth_LuckyMan, why would you need to do that?17:54
rud0lfto be clear: i want to remove oracle-java11-installer-local script which is stuck in apt install17:54
lordcirth_rud0lf, and 'apt purge oracle-java11-installer-local' doesn't work?17:55
LuckyManlordcirth_, because you are organizing your files, or working on a file17:55
talindoes the mini.iso installer have the same drivers as e.g. the desktop or server editions?17:55
LuckyManfor instance, when you put a usb drive17:55
doug16kI have a friend who complains that windows messes up his desktop icon layout just because he turned off a monitor. I tell him never to use the desktop. he never listens, even then :D17:55
rud0lflordcirth_: thanks, it worked.. when i tried "apt remove oracle<TAB>" it didn't autocomplete like usually17:55
lordcirth_LuckyMan, I don't see why you would need to put files in Desktop then either. My ~/Desktop hasn't changed since March, apparently.17:56
LuckyManlordcirth_, you should see my real desktop17:56
LuckyMan(its a mess)17:56
lordcirth_LuckyMan, oh my desk is messy too :P anyway we are getting off topic.17:56
doug16kpeople waving their mouse around searching for a program... they can just press windows key and type three letters to find the program, but no, they insist, the must find that icon17:58
NickZcurse the man who invented the mouse! curse Douglas Englebart!17:59
bogdomaniaHi guys, trying to boot ubuntu from a usb stick, on a lenovo ideapad, with e18:00
bogdomaniaeMMC18:00
bogdomaniaAnd I get this error18:01
bogdomaniahttps://postimg.cc/87TFPxgN18:01
sarnoldbogdomania: if you're lucky it's just bad media and you can buy a new one18:02
bogdomanianah, had win10 on it, and linux mint18:02
bogdomaniaThe netbook is brand new18:02
lordcirth_bogdomania, and you booted those on the same laptop?18:02
bogdomaniaAye18:02
doug16klooks like bad media to me too18:02
lordcirth_bogdomania, did you checksum the downloaded Ubuntu ISO?18:02
bogdomaniaNo, I didn't18:03
lordcirth_Always do that. Errors there don't happen often, but when they do they can run you in circles for ages.18:03
lordcirth_But that sure does look like media failure.18:03
bogdomaniaOnlyinux distro that booted fine, was mint, with 4.15 kernel, and last night I upgraded the kernel to 5.0.x18:04
bogdomaniaAnd I got the same error18:04
doug16kI've seen windows happily and silently write files to a flash media device, no errors, seems fine. nothing actually being written. linux actually reports problems though18:04
doug16ksame thing can be happening on reads18:05
NickZbogdomania: what did you use to write to it? rufus?18:05
bogdomaniaNo, just dd18:05
bogdomaniaI wrote the ubuntu from mint18:05
NickZi'd recommend using rufus18:05
NickZevery time i've had problems with installing from media, i've always redone it using rufus and that tends to fix it18:05
NickZhttps://rufus.ie/18:06
bogdomaniaWell, I dont have access to a win machine18:07
bogdomaniaSo, Rufus is of no help18:07
NickZi also recommend this too: https://www.balena.io/etcher/18:07
sarnoldtry badblocks on the block device that's throwing all those errors18:08
NickZ^ that too18:08
bogdomaniaI did use balena to write fedora, had the same issue18:08
sarnoldyou can try it under both the 4.x kernel that worked fine and the 5.x kernel that failed; if it comes down to the kernel then you can do a git bisect to find a fault18:08
sarnold(but I still suspect failed media to be most likely)18:08
NickZyeah, that really feels like a failed media. it's possible that the bad blocks just weren't used by your previous images on there. testing with another piece of media seems prudent18:09
bogdomaniaOk, the eMMC worked flawless until I updated the kernel to 5.0.0.x18:10
bogdomaniaLast night18:10
bogdomaniaAfter reboot, I got the same isdue18:10
bogdomaniaIssue"18:10
doug16kif you didn't autoremove yet, you can reboot and select the 4.x kernel in grub and see if your problem disappears again18:11
sarnoldit could just be that the blocks used for modules with your 5.x kernel are on dead sectors18:11
bogdomaniaOk18:11
sarnoldand the blocks used for modules with your 4.x kernel were on good sectors18:11
sarnoldwhich is why I think badblocks would be useful -- scan the whoie device18:11
bogdomaniaK, the 4.15 boots instantly, to login screen18:12
doug16kbogdomania, copy some files to it and copy them back and see if dmesg is clean18:13
doug16k"back" to somewhere else though :)18:14
doug16kI don't trust MMC drives for data integrity at all18:14
=== im0nde_ is now known as im0nde
bogdomaniaK, ran a scan and got this18:22
bogdomaniahttps://postimg.cc/VdSkD19718:22
sarnoldbogdomania: is that the 4.x kernel?18:25
bogdomaniaYes, 4.1518:25
sarnoldok cool cool; can you boot into the 5.x kernel far enough to run the same badblocks test?18:26
bogdomaniaNope18:26
bogdomaniaIt throws the same error, and doesnt pass over18:27
sarnolddang18:27
tomreynbogdomania: the screen shot at https://postimg.cc/87TFPxgN shows output that was printed 183 seconds (so three minutes) after booting. what happened before that?18:29
bogdomaniaSame error, repeated18:29
bogdomaniaOver and over18:30
bogdomaniaFor ubuntu, fedora18:30
tomreynwhile on the 4.15 kernel, can you post   journalctl -b | nc termbin.com 999918:30
bogdomaniaSure18:30
tomreynalso   lsusb | nc termbin.com 999918:30
bogdomaniahttps://termbin.com/tw4l18:31
bogdomaniahttps://termbin.com/4mvh18:32
tomreynbogdomania: are there problems with the keyboard also, is this why you boot with those i8042 kernel parameters?18:32
bogdomaniaNo, I have the touchpad freezing randomly18:32
tomreynalso, one thing i didn't really understand yet, is that you said you're "trying to boot ubuntu from a usb stick, on a lenovo ideapad, with eMMC", so you're not actually trying to boot *off* the eMMC and just booting off a usb stick causes these errors?18:34
bogdomaniaYes, every linux distro, except mint does the same18:34
bogdomaniaIm trying to install, but doesnt boot to desktop18:35
bogdomaniaMint is installed on the eMMC18:35
tomreyni see. are you able to boot the 5.0 kernel to recovery, have you tried this, yet?18:35
bogdomaniaNope, not recovery18:36
tomreynit culd be worth a try.18:36
bogdomaniaAh, I will try that18:36
bogdomaniaBrb18:36
tomreynjust to see whether we can get another log there and then compare18:36
tomreynwhat you're trying to boot there is ubuntu 18.04.3 desktop amd64, i assume?18:37
bogdomania1918:37
bogdomaniaYes, amd 6418:37
tomreyn!XX.YY18:38
tomreyn!YY.MM18:38
ubottuUbuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle18:38
bogdomania19.0418:38
tomreynok :)18:39
tomreynmaybe you could give the 19.10 beta a try as well, it comes with linux 5.318:39
tomreynor 18.04.3, which also uses a newer kernel than 19.0418:39
tomreynnewer as in it has received later patches for the installer18:40
Gossethi, can you recommend me a Wifi adapter compatible with Ubuntu 18.0418:43
tomreynbogdomania: can you also post    lspci | nc termbin.com 9999   while i keep reading your log?18:44
bogdomaniaK, so this is while running 5.0.0.x in recovery mode18:44
lordcirth_Gosset, anything with an ath9k chipset is a good choice.18:44
bogdomaniahttps://postimg.cc/gallery/1p3xlhb42/18:44
Gossetlordcirth_ examples?18:45
Gossetthanks18:45
GossetI'm googling ath9k + wifi adapter, anything found18:46
bogdomaniahttps://termbin.com/srtz18:47
GossetI'm searching wifi adapters on Amazon18:47
lordcirth_Gosset, really most will work. Just find one that looks good in general, then google it with "linux"18:47
Gossetbut I've read a lot of wiri adapters don't work with newest Linux Kernels18:47
Gossetthat's what i'm afraid of18:47
lordcirth_Where did you read that?18:47
lordcirth_Newer kernels are almost always *more* compatible.18:47
Gosseton Amazon reviews18:47
sarnoldthough sometimes terrible wifi vendors keep their drivers out of tree and never update them18:48
Gossetit's not that easy18:48
Gossetvendors just think for Microsoft compatibility18:49
lordcirth_Generally the ones that don't work on Linux will be pretty bad in general.18:49
Gossetif you say so18:49
lordcirth_Qualcomm uses Atheros chips, and should work well?18:50
tomreynbogdomania: searching     "cqhci" AND "timeout for tag"     finds several other reports for what i assume can be the same issue. here's one https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93081518:54
ubottuDebian bug 930815 in src:linux "linux-image-4.19.0-5-amd64: internal emmc cannot be read" [Important,Open]18:54
Gossetlook, at https://www.tp-link.com/es/support/download/tl-wn822n/#Driver, only support until Kernel kernel 2.6.24 ~ <4.9.6018:54
Gossetand my Kernel is 5.018:55
tomreyntwo kernel commits from february seem related: commit 27ec9dc17c48ea2e642ccb90b4ebf7fd47468911  commit d07e9fadf3a6b466ca3ae90fa4859089ff20530f  Fixes: a4080225f51d ("mmc: cqhci: support for command queue enabled host")18:55
bogdomaniaSo, tomreyn, this is a bug?18:56
tomreynbogdomania: i assume so. and one that should since have been fixed. ubuntu 19.04 was released in april (as .04 indicates), its kernel was probably build some weeks before that, and chances are these patches didnt make it into it.18:57
bogdomaniaOk, but 5.0.0.x?18:57
tomreynbogdomania: so 19.04 beta or 18.04.3 are still worth trying.18:57
tomreynbogdomania: so 19.10 beta or 18.04.3 are still worth trying.18:58
bogdomaniaOk, imma try the 18.04.318:58
tomreyn^ typo fixed18:58
tomreyn18.04.3 would have had to have received a backport for it to have it working, htat's not as likely as the 19.10 beta18:59
tomreynbut still worth a try18:59
bogdomaniaK, so 19.10 then18:59
tomreynhttp://releases.ubuntu.com/19.10/ - we'll need to switch to #ubuntu+1 for support on this then19:01
tomreyn19.10 will release in 9 days19:01
tomreyn(unless there'll be a change of plan)19:01
Gossetgood luck19:01
=== Anon00110001 is now known as Anon0011
leonardusWhen I have Rider IDE open, it appears in the alt-tab menu, but not the task bar. How can I get it to appear there?19:14
phizzzhello. i'm setting up a headless ubuntu 18.04 home server, connected to my wifi network. after a while the wifi will 'sleep' and will be inaccessable on the network. is there a way to prevent this? networking is using netplan19:15
tomreynphizzz: see if you have some messages printed to the systemd journal by the time it happened, or just disable powersaving on the wireless lan kernel module, if therE's an option for it.19:21
phizzztomreyn: i will look19:22
bogdomaniatomreyn, this is from 19.10 beta :(19:24
bogdomaniahttps://postimg.cc/zb83FShw19:24
tomreynbogdomania: :-/ okay, then a bug report may be needed, if there's not one already.19:27
ZeZuerror: no template named 'unique_ptr' in namespace 'std'19:27
ZeZu^ clang-9 with -std=c++1719:27
ZeZui'm pretty sure it's been there since c++1119:28
tomreynbogdomania: i just notced this device is a "HS400" - i have a feeling that i worked on this with someone else previously and it helped keeping the transmit speed lower19:28
tomreynbogdomania: ah this one: bug 181840719:30
ubottubug 1818407 in linux (Ubuntu) "Cant access emmc, error -84" [Undecided,Confirmed] https://launchpad.net/bugs/181840719:30
bogdomaniaAh..so it is a bug, then, not faulty hardware19:31
bogdomaniaOh well..19:31
tomreyni'm not certain that this is the same issue you're seeing - but it's possible19:33
tomreynbogdomania: can you check whether you can change the transmit speed for the mmc in your bios?19:33
tomreynthere would be values of 200 and 400 if so19:34
bogdomaniaHow come 4.15 works and 5.3.x doesnt?19:34
tomreynit happens tht drivers break. it's somewhat rare, but can occur.19:36
tomreynfiling a bug against the kernel can help getting it fixed.19:37
=== Etua_ is now known as Etua
bogdomaniatomreyn, in BIOS I have no emmc options19:42
bogdomaniaAnd the bios is at the latest version19:42
c03Hi, I have done goofed. I used boot repair on my encrypted partition after installing windows. Now when I try to boot from the ubuntu disk, I get "No operating system found".19:48
c03The log of my boot repair: http://paste.ubuntu.com/p/pXF34k2FMZ/19:48
tomreynif bogdomania returns, they should boot a current linux with sdhci.debug_quirks=32832 as per https://forums.xilinx.com/t5/Embedded-Linux/Linux-Kernel-4-6-mmc-issue/td-p/72746519:50
sarnoldtomreyn: wow. awesome find. thanks for debugging this one :D19:52
tomreyn*might* help, not sure...19:53
EriC^^c03: ubuntu is installed in legacy mode but windows is in uefi mode, you want both the same mode so that you can have an easy going bootloading experience19:54
c03EriC^^: Alright. Can I change the ubuntu boot mode to uefi without losing my ubuntu encrypted data?19:55
tomreynsarnold: i think i got it now, you're joking about how i was one minute late ;) yes, *sigh*19:55
EriC^^c03: yeah, you can, if you want ubuntu to stay a standalone install you'll need to create a fat32 efi partition for the bootloader, or you could use window's efi partition but it would always need windows disk to boot19:56
msev-hi guys, how do I debug/fix why I can't boot into ubuntu (a few months ago I could). I see the ubuntu gnome logo then it starts blinking and I see some text inbetween the blinks. I tried with the recovery boot and run the dpkg fix packages thing...but it doesnt help19:57
msev-the system is 16.0419:58
c03EriC^^: How do I do the former? My /dev/sda (ubuntu) contains 3 partitions, one with the boot flag19:58
c03EriC^^: I might remove the Windows disk one day, or format it off.19:58
EriC^^msev-: try removing "quiet splash" in grub's menu for ubuntu and see if it shows anything19:59
EriC^^msev-: or just try pressing esc when you get the dots loading screen it might show what's wrong19:59
msev-oh cool thanks gonna try that now and come back. where do i remove that thing in the grub menu? in the recovery section or?20:00
sarnoldtomreyn: heh, no, not at all!20:00
sarnoldtomreyn: I figured it *had* to be busted hardware and you stuck through with a disciplined debugging approach and got to what feels like a really likely fix20:01
tomreynhehe ok, we might find out20:01
tomreynwanna see great documentation? modinfo -p sdhci20:02
EriC^^c03: you could shrink the boot partition enough to make an efi partition next to it, or you could switch to using /boot within the encrypted root fs which is pretty easy to do, then use your current /boot as the efi formatted fat3220:02
EriC^^msev-: press "e" over ubuntu in grub, then in the line that says linux /boot/vmlinuz ......quiet splash remove it and press F10 or ctrl+x to boot20:04
c03EriC^^: I think I need more steps.20:04
EriC^^c03: i can walk you through it if you want20:04
c03EriC^^: That would be great20:04
msev-Thanks EriC20:04
EriC^^c03: which choice do you want? shrunk boot or boot inside encrypted root fs?20:04
c03EriC^^: Shunk boot, sounds safer20:05
EriC^^c03: alright, do you have a live usb you can boot?20:05
c03chatting from it20:06
c03Which is probably a horible idea, I'll log on my laptop.20:06
EriC^^c03: ok, open up gparted, shrink the boot partition 100mb and create a new partition next to it, formatted fat3220:06
EriC^^msev-: yw20:06
=== twobitsp1ite is now known as twobitsprite
c03EriC^^: Done20:08
=== c03 is now known as c03_live
EriC^^c03: alright, type "sudo parted -ls | nc termbin.com 9999" and paste the link it gives you20:09
=== katnip` is now known as Katnip
c03_livehttps://termbin.com/s4mzn20:10
=== Katnip is now known as Guest18773
=== Guest18773 is now known as katnip`
EriC^^c03_live: type "sudo blkid /dev/sda3 | nc termbin.com 9999"20:12
c03_livehttps://termbin.com/fncp20:12
EriC^^c03_live: sudo cryptsetup luksOpen /dev/sda5 sda5_crypt20:14
EriC^^it'll ask you for the passphrase to decrypt the fs20:14
c03_livedone20:14
EriC^^c03_live: sudo parted -ls | nc termbin.com 999920:15
c03_livehttps://termbin.com/q0ro520:15
EriC^^c03_live: sudo mount /dev/mapper/ubuntu--vg-root /mnt20:16
c03_livedone20:17
EriC^^c03_live: sudo nano /mnt/etc/fstab20:18
EriC^^c03_live: add the line "UUID=CBE1-2F22  /boot/efi       vfat    umask=0077      0       1"20:18
c03_liveEriC^^: added. https://termbin.com/ua8m20:20
EriC^^looks good20:21
EriC^^c03_live: sudo mkdir /mnt/boot/efi20:21
Harishello all20:21
c03_livedone20:21
EriC^^c03_live: "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done"20:21
c03_livehuh nice20:22
EriC^^c03_live: all good?20:23
c03_liveso I mounted the live cd's dev proc sys and run into the encrypted partition?20:23
c03_liveyea yea, no errors20:23
EriC^^yeah, it's mount --bind, so it exists in both dirs20:23
EriC^^c03_live: sudo chroot /mnt20:24
c03_liveInteresting.20:24
c03_livedone20:24
EriC^^c03_live: what's the output of "ls /sys/firmware/efi" ? does it list any dirs at all?20:24
c03_livels: cannot access '/sys/firmware/efi': No such file or directory20:25
EriC^^ok, so that means the live usb is booted in legacy mode, after we're done you might need to boot it in uefi mode to add the uefi entry to the motherboard, or if we get lucky we can get the bios to boot it based on standard implementations20:26
EriC^^c03_live: type "dpkg -l | grep grub | nc termbin.com 9999"20:26
c03_liveEriC^^: https://termbin.com/eev420:27
EriC^^c03_live: type "apt-get remove grub-pc grub-pc-bin grub-gfxpayload-lists grub-efi-amd64-signed+"   (note the + at the end)20:28
EriC^^c03_live: wait 1 sec20:29
EriC^^my bad20:29
EriC^^c03_live: first type "mount -a"20:29
c03_livealready fired it :/20:29
EriC^^i forgot to mount the efi partition20:29
EriC^^no worries we can clean up20:29
c03_livealright, mount -a ?20:29
EriC^^c03_live: is apt done?20:29
c03_liveyes, took 2 secs20:29
EriC^^c03_live: ok, first type "rm -ri /boot/efi/*"20:30
EriC^^it should only ask to remove a dir called "EFI", say yes20:30
c03_liverm: cannot remove '/boot/efi/*': No such file or directory20:30
EriC^^ok nevermind then20:31
EriC^^c03_live: type "mount -a"20:31
c03_livemount: /boot/efi: mount point does not exist.20:31
c03_liveshould I rm the /boot/efi folder as well? it's empty20:31
EriC^^no something doesnt add up20:32
EriC^^c03_live: type "ls -ld /boot/efi"20:33
EriC^^c03_live: ahh20:33
EriC^^crap20:33
EriC^^my bad again20:33
EriC^^actually no wait..20:33
EriC^^c03_live: yeah, my bad, we didnt create /boot/efi after mounting /boot20:34
c03_liveAlright20:34
EriC^^c03_live: xD sorry it's been a while not doing grub stuff, kinda rusty20:34
EriC^^c03_live: type "mkdir /boot/efi"20:34
EriC^^c03_live: /boot is mounted right now, right? "ls -l /boot" shows the kernels and whatnot?20:35
c03_liveall good20:35
c03_liveyes :)20:35
EriC^^c03_live: ok, try "mount -a" again20:36
c03_livemount: /boot/efi: mount point does not exist.20:36
c03_livels -l of the /boot dir: https://termbin.com/oll220:36
EriC^^c03_live: type "mkdir /boot/efi"20:37
EriC^^it should show up in "ls -l /boot"20:37
c03_livek, it's there now :)20:38
EriC^^c03_live: ok, try "mount -a" again20:38
c03_livesuccess20:38
c03_liveempty /boot/efi though.20:38
EriC^^c03_live: alright, try "apt-get remove grub-pc grub-pc-bin grub-gfxpayload-lists grub-efi-amd64-signed+"  again20:39
c03_livenot installed, and grub-efi.. is the newest version20:39
c03_liveShould /boot have been included in the for loop mounting?20:39
EriC^^c03_live: nope20:40
c03_livek20:40
EriC^^c03_live: try "apt-get install --reinstall grub-efi-amd64{,-signed,-bin}"20:40
EriC^^just to make sure it's all there installed20:40
c03_livealright20:41
c03_livedone20:41
EriC^^c03_live: how's /boot/efi looking currently? "ls -lR /boot/efi | nc termbin.com 9999"20:41
c03_livehttps://termbin.com/8cab20:42
EriC^^c03_live: hmm, try "grub-install --target=x86_64-efi --efi-directory=/boot/efi"20:43
c03_liveEFI variables are not supported on this system.20:43
c03_livegrub-install: error: efibootmgr failed to register the boot entry: No such file or directory.20:43
EriC^^c03_live: yeah, that's the legacy boot issue i was referring to earlier, no worries though, what about "ls -lR /boot/efi | nc termbin.com 9999" now?20:44
c03_livehttps://termbin.com/7tjh20:45
EriC^^c03_live: it looks good, type "mkdir -p /boot/efi/efi/microsoft/boot"20:45
c03_livealright20:46
EriC^^c03_live: cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi20:47
EriC^^c03_live: and "cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/efi/microsoft/boot"20:47
c03_livedone20:48
EriC^^c03_live: ok, type "exit" then try to reboot, the thing is, you need to enter the bios and make sure uefi is enabled and csm legacy is disabled, and secureboot is disabled20:49
EriC^^c03_live: which laptop brand or motherboard is this?20:49
tehpwnzhello everyone, when i run this command, gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 9BE6ED7920:49
c03_liveIt's an Asrock z97e motherboard20:50
tehpwnzi get an error that says gpg: keyserver receive failed: invalid argument. How do i fix it? or where can i read more about htis20:50
tehpwnz*this20:50
c03_liveEriC^^: https://www.asrock.com/mb/Intel/Z97E-ITXac/20:50
EriC^^c03_live: oh, ok, i remember a guy's motherboard wouldnt boot in uefi mode for ubuntu, cant recall if it was asrock or asus, but we ended up zero'ing out his legacy bootloader in the mbr and it finally would boot in uefi mode for ubuntu20:51
EriC^^yeah it was an asrock20:52
c03_livedamn, alright20:52
c03_livealright, I'll give it a spin20:52
=== Etua_ is now known as Etua
EriC^^c03_live: anyways no worries, try first to set it to uefi explicitly and not "both" or auto etc and see what happens, it might still give you a grub if it boots the legacy mbr20:52
EriC^^in that case you should end up in a grub rescue> shell as he did, due to the modules not being present anymore20:53
c03_liveok20:53
=== golevka6489 is now known as golevka
c03EriC^^: Awesome, it worked!20:54
EriC^^c03: great!20:55
EriC^^c03: does 'ls /sys/firmware/efi' give files?20:55
c03yes, a bunch of table, runtime systab files20:56
EriC^^c03: great, type "sudo grub-install" so it adds ubuntu to the motherboard's uefi list20:56
EriC^^and also "sudo update-grub" to pick up windows and stuff20:56
c03nice20:57
c03okay, booting into my windows partition is now opting for a recovery, I'm guessing I should not do that.20:59
EriC^^odd21:00
EriC^^i dont think it should be an issue21:00
c03yea, I just continued and booted to windows 10. It works though :)21:00
c03Thanks a lot! Great learning experience!21:00
c03Now my mouse and keyboard doesn't work in windows, so I can't log in. I'm guessing this could be fixed in bios?21:01
c03oh, it just starting working.. That's odd.. oh well.21:02
EriC^^c03: no problem, ah good to hear21:02
c03This has been great, thanks so much! :)21:02
EriC^^you're welcome :)21:04
=== TheFatherMind- is now known as TheFatherMind
m0Sq1T0hello!23:10
m0Sq1T0Is this where I can get help with ubuntu issues?23:10
OerHekshi m0Sq1T0, yes this is the ubuntu support channel23:12
m0Sq1T0gr8!23:12
m0Sq1T0I'm trying to get into the BIOS but can't get in with the normal keys like f2, f12 etc23:13
m0Sq1T0And I can't find any answers by searching for it23:13
OerHekswhat machine/model is this?23:14
m0Sq1T0Lenovo 80ES23:16
sarnoldif you've got windows on this system there's a chance it's doing a fast boot back into windows23:16
sarnoldI can't recall now how to tell windows to stop that23:16
OerHeksLenovo B50-30 80ES ?23:17
m0Sq1T0yes that one @OerHeks23:18
OerHekspage #13 https://cdn.cnetcontent.com/ba/0e/ba0e64fd-5d6c-4d63-bd14-4759e45b7368.pdf23:18
OerHeksPress and hold the F1 key then turn on the computer. W23:18
OerHeks*then* ..  long time i read this23:18
m0Sq1T0sarnold I'm going to check that!23:20
m0Sq1T0OerHeks alright going to try this out!23:20
m0Sq1T0thank you guys! anything I'm letting you know!!23:24
m0Sq1T0Have a good night! or day :)23:24
OerHekshave fun!23:25
=== Napsterbater is now known as Guest20661
=== Napsterbater_ is now known as Napsterbater
portonHow to copy a home directory from one Ubuntu PC to another?23:30
sarnoldporton: rsync -avzP /path/to/source/ user@remote:/path/to/destination/   -- but if you want to keep some files on the destination or anything else odd, you may need to do things differently23:33
portonsarnold: how to find the IP on WiFi?23:39
sarnoldporton: ip addr should show you23:39
OerHeksjust open networkmanager, settings23:42
bmflinuxHello. I am trying to install Windows 10 but there seems to be no way to copy the ISO onto a USB key from Ubuntu23:42
bmflinuxI tried unetbootin but it didnt work23:43
OerHeksbmflinux, use a windows machine for that, 5 minutes, or do it the hard way, 30 minutes https://www.omgubuntu.co.uk/2017/06/create-bootable-windows-10-usb-ubuntu23:43
OerHekslolz23:43
sarnoldOerHeks: what does that do that dd or cp doesn't do?23:44
OerHeksdd and windows iso?23:44
sarnoldyeah, do they not work when written to a usb stick?23:44
OerHeksreally, never tried that..23:44
OerHeksall usb tools fail, except that WoeUSB23:45
OerHeksmaybe cp works for non-uefi machines?23:46
sarnoldI think cp should just be like dd23:47
sarnoldexcept that there's a chance not all machines have the new cp behaviour23:47
sarnoldah it's apparently VERY different https://raw.githubusercontent.com/slacka/WoeUSB/master/src/woeusb.123:48
OerHeksyes, i think because of the uefi part23:49
bmflinuxwoeusb gives me this error Error: Target device is currently busy, unmount all mounted partitions in target device then try again23:50
sarnoldthanks OerHeks23:50
OerHeksbmflinux, unmount that usb device and start over?23:51
bmflinuxdidnt work23:52
bmflinuxI rebooted and it still says that23:52
sarnoldtry umounting any filesystems that might still be mounted23:54
OerHeksthere is no reason why unmount an usb device in filemanager does not work23:55
bmflinuxI unmounted everything and I get a new error23:55
bmflinuxIts pretty big ...23:55
bmflinuxhttps://paste.debian.net/1105445/23:56
bmflinuxwoops23:56
bmflinuxremounted usb BUT ....23:56
OerHeksdon t do this from terminal23:56
bmflinuxIm not23:57
bmflinuxThis is from the GUI23:57
bmflinuxhttps://paste.debian.net/1105446/23:57
prometHas anyone noticed bluetooth changes (for the worse) on 19.04? I'm seeing markedly shorter range after upgrading from 18.04, which I wouldn't have expected...23:58
prometrange = Bluetooth headphones23:58

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