[00:02] Never mind i found it. [00:11] good nite === ponyride1 is now known as ponyrider [00:26] hello, ubunters, anyone able to interpret an error message from the boot loader? [00:27] i'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 error [00:32] [7.896251] couldn't get size :0X8000000000000e === akemhp_ is now known as akemLenovo [00:43] https://pastebin.com/FbZCPEP1 There is some package missing on the repository? [00:45] My virtual box is currently broken because of that. :/ [00:47] Ha ok i think it was needing an update first. === BrianG61UK_ is now known as BrianG61UK [00:56] akemLenovo: all sorted? [00:58] sarnold, Yep, thanks. [00:58] cool cool [00:59] aken: I'm running Ubuntu on my brand new Lenovo P52. Works beautifully :) [00:59] akem* [01:05] WaV, nice :) mine is an old one, but it's very well supported, especially i got all the drivers for the hardware, no pblm. [01:31] I 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. === jmcgnh_ is now known as jmcgnh === jmcgnh is now known as jmcgnh_ [01:33] Ascavasaion: I think I'd try W95 FAT16 LBA 0x1e first === jmcgnh_ is now known as jmcgnh [01:34] Ascavasaion: (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:35] sarnold, Okay hehe Thank you. [01:35] Ascavasaion: yikes wait [01:35] Ascavasaion: I just now noticed the 'fat16' in that name. that's terrible advice [01:35] sorry [01:36] Ascavasaion: FAT32 LBA seems most likely to give good results to me, and I misread that last option quite badly [01:37] sarnold, 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] Ascavasaion: 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:43] sarnold, 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 hehe === ben_r_ is now known as ben_r [01:50] Ascavasaion: hah, it wouldn't be the first time I've heard of a busted usb stick :/ [01:51] Ascavasaion: nice you had another one handy to test with :) otherwise that could drive you insane.. === zbenjamin_ is now known as zbenjamin [01:58] does anyone know how to get strace to output the uid of the process that it attaches to? [02:01] NickZ: 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:46] sarnold: the problem is that the process dies way too quickly === TheFatherMind- is now known as TheFatherMind [02:57] Is the MOTD service enabled or disabled on Ubuntu Desktop by default? [03:33] does anyone have a good read on ubuntu networking? [03:33] I 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] How does networking actually work in Ubuntu. What are the relevant states and commands? [03:34] How 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:38] um1b0zu: depends what you're trying to learn about it [03:39] I want to learn about ifconfig and these weird words like tun0 and wlan and all this fun stuff about routing [03:40] well that's not ubuntu specific [03:41] i'd suggest learning the basics of networking first, then moving to the linux stuff [03:41] is there some form of tutorial or video that explains it with linux examples? [03:42] like what is tun0 and wlan? [03:42] tunnel 0 and wireless local area network [03:42] so how does routing work with them? [03:42] I fell like I manage those... I'm not even sure what those are. services? [03:43] see, i think you need to get the foundations of networking first [03:45] yes. what is this magic? [03:45] please say I don't have to read tannenbaum [03:46] it's a good one === xrandr_laptop_ is now known as xrandr_laptop [04:10] hello. I'm trying to setup a daemontools service to keep openvpn alive. systemd doesn't want to start it anymore. [04:10] I don't know how to set the environment variables in the bash script so it can find the files in /etc/openvpn [04:16] on3pk: come instructions https://wiki.archlinux.org/index.php/OpenVPN#systemd_service_configuration [04:18] ponyrider, I think an updated systemd binary is messing with my vps config. So I was actually just trying to launch it an alternate way [05:17] sometimes, any link I click on ubuntu, causes the currently running browser to crash [05:17] really frustrating because I keep losing work. [05:32] anyone running 19.10 atm? how's gnome 3.34 doing for you [05:32] are the performance improvements all they're cracked up to be? [05:33] I think you can ask that in #ubuntu+1. [05:34] thanks will do [06:00] 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:01] s/ownership or/ownership of/ [06:07] TJ-: try dbus-launch thunar === lotus|i5 is now known as lotuspsychje [06:30] ponyrider: thanks, I'll try that when I get back on that system. [06:35] I 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 quicker [06:36] jpmh: you could maybe remove the internet aspects of it [06:37] jpmh: i think the stuff is here /etc/update-motd.d [06:37] EriC^^: 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 cleaner [06:38] EriC^^: you are correct - in terms of where - and that does make the difference I want. It just stinks to do that [06:38] chmod -x /etc/update-motd.d/* ? [06:39] EriC^^: I like that idea, let me test that out - that woud be a BRILLIANT and quick and EASY and relatively CLEAN method [06:40] 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] akemhp_: sudo parted /dev/sdX unit s print [06:41] what wine version do you have on ubuntu as latest? [06:41] akemhp_: you can get the blocks from sectors/block up in the drives description, 512 or 4096 [06:43] akemhp_: actually nevermind, i think you just need the sector number which is the block, i think [06:43] !info wine | kreyren [06:43] kreyren: Package wine does not exist in bionic [06:43] o.o [06:43] !info wine-staging [06:43] Package wine-staging does not exist in bionic [06:44] EriC^^, I think i can't know the blocks in relation to a specific file with parted. [06:44] akemhp_: what do you mean by specific file? file within the filesystem? [06:45] EriC^^, Yes. [06:45] yeah [06:45] EriC^^, I have one file that report an IO error in a software, so i wanted to scan only sectors used by this file. === freedom_ is now known as freedom [06:46] Cause scanning the entire disk is like more than 150 hours :/ [06:48] akemhp_: try sudo debugfs -R "stat /home/to/file" /dev/sdxY [06:51] akemhp_: or sudo hdparm --fibmap /path/to/file [06:53] EriC^^, Yeah i think i got it with begin_LBA and end_LBA in the second command. [06:53] Thanks EriC^^. [06:56] akemhp_: no problem [07:02] LUKS+LVM+BTRFS or LUKS+BTRFS? [07:05] BTRFS on top of LVM seems silly. BTRFS itself can handle multiple volumes and dynamic sizing, no? [07:07] That's why I ask, I did read a post where they do it with lvm... [07:23] The 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:24] Tuor: recent Ubuntu's favour a swap file rather than dedicated partition [07:24] This is a problem inside of BTRFS [07:24] AFAIK [07:24] EriC^^: 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 idea [07:26] Or not... [07:27] Have to check again. [07:28] I'll ask in #btrfs === _dbugger is now known as dbugger [07:32] jpmh: you could just stop the update-motd task itself on login [07:33] TJ-: how would I do that? [07:34] jpmh: in /etc/pam.d/login (and /etc/pam.d/sshd) there is "session optional pam_motd.so motd=/run/motd.dynamic" [07:34] TJ-: heading to look at that now - ty [07:35] jpmh: great, good to hear! [07:36] TJ-: that section of the file says it is for the keyring [07:36] TJ-: oops - never mind - there are multiple sections - sorry [07:37] jpmh: if you add "noupdate" to those it'll stop the dynamic update, see "man pam_motd" [07:37] TJ-: TY so much - this is EXACTLY what I need [07:37] swap file inside of btrfs is only working since kernel 5.0 (before there is risk of data loss) [07:37] jpmh: that way the motd-news.service/timer will still work and update the file but it won't be updated on logins [07:39] !cookie | TJ- [07:39] TJ-: Wow! You're such a great helper, you deserve a cookie! [07:40] oooo breakfast time :) [07:40] TJ-: the "noupdate" on the second line was all that is reqred since the first already has it [07:41] jpmh: right; the 2nd is reading the default static /etc/motd whereas the first reads the dynamic copy [07:42] this is WHY I LOVE Ubuntu - the supprt here is SO GREAT! Thank you EriC^^ and TJ- [07:58] in apt list --installed what does [installed, automatic] and [installed, auto-removable] mean [07:58] and what man page do I open to read about that [08:02] installed 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:04] what's auto-removable? [08:06] illuminated_: if you pastebin whats happening to your apt, volunteers can take a look whats happening to your system [08:07] https://paste.fedoraproject.org/paste/ODklHlUY6dL68TPwk0bRgw [08:07] auto-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:09] 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] so I'm trying to figure out what happened [08:09] illuminated_: that paste url lags on my end, perhaps try paste ubuntu, or pastebin? [08:11] https://paste.ubuntu.com/p/g6tRYWyhz2/ [08:12] !uptodate | illuminated_ what happens wehn you: [08:12] illuminated_ 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:13] I added the winehq repo first before I did apt-update and apt full-upgrade [08:13] how do I check what repo the package is from? [08:13] is that possible? [08:13] illuminated_: we dont support external ppa's and advice to use packages from the official ubuntu repos [08:14] well, I didn't "mean" to use it when I updated [08:14] nonetheless, is there a way to check what repo a package installed from? [08:15] illuminated_: apt policy packagename [08:16] illuminated_: 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 sources [08:16] !ppapurge [08:16] 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:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [08:21] TJ-: one more question - with that noupdate in pace will my messages EVER get updated? [08:22] 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:30] i need a ascii's hex editor which will allow me to visualize the ascii code as i m editing the normal text... [08:33] I 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? === mouseleums is now known as mouses [08:43] illuminated_: perhaps in sources.list.d? === mouses is now known as mouseleums [08:49] I 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.txt [08:51] There's no shell to parse that | [08:51] so most likely it's just passing '|tee' '...logs.txt' as two arguments to your app [08:57] jpmh: sorry, was away. Yes, as I said, the motd-news.service triggered by the motd-news.timer will do the updates [08:58] TJ-: TY so much - this is the PERFECT solution then - not clear to me why this is not the default [08:59] Intelo: you need to set the StandardOutput= in the unit, but the default should be to capture stdout to journal anyhow [08:59] TJ-, how exactly? [08:59] TJ-, 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] Intelo: see "man systemd.exec" and the sections on StandardOutput= and StandardError= [09:10] I really wonder why Ubuntu has POSIX as default locale in docker containers, when it does not have that in normal installations.. [09:29] probably because any locale they pick will be wrong for someone [09:31] and it's wasted space to have unneeded locales installed [09:43] 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 still [09:43] without help, can anyone help me a bit ? [09:54] Hi, dudes! [10:04] join ##security [10:20] Nighthawk`: maybe in #unrealengine or ##linux you could get help with this, this software is not part of ubuntu and thus not supported here. [10:22] Ok, you are right :) [10:38] hello, anyone here with mdadm knowledge/experiences? [10:38] !ask | chris768443 [10:38] chris768443: 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 !patience [10:40] also: hello there. [10:40] I have a md0 raid6 in an "unclear" state. [10:40] dmesg says: "md/raid:md0: cannot start dirty degraded array." [10:40] mdadm --detail /dev/md0 [10:40] State : active, degraded, Not Started [10:41] pastebinit /proc/mdstat [10:42] https://paste.ubuntu.com/p/2Bxfmj7VW8/ [10:43] mdadm --detail /dev/md0 [10:43] https://paste.ubuntu.com/p/CMfBv4mpmv/ [10:44] which ubuntu version is this? have you identified the root / original event which caused the raid to become dirty / degraded, yet? [10:46] tl;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:47] After 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 fstab [10:48] now 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] a --run says nothing, not even with --verbose [10:49] mount says: mount: wrong fs type, bad option, bad superblock on /dev/md0 [10:50] dmesg says: md/raid:md0: failed to run raid set. [10:50] (after the restart) [10:51] oh and, dmesg says before the "fail": md/raid:md0: cannot start dirty degraded array. [10:51] mdadm --assemble --scan -v: mdadm: Found some drive for an array that is already active: /dev/md0 [10:55] hmm 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 up [10:55] chris768443: i don't want to provide bad recommendation here, haven't been in this very situation, yet. [10:57] personally, 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:59] chris768443: you didn't say which ubuntu version this is. also, which kernel version would be of interest. [11:00] this 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:06] there's #debian here, just ask there then? [11:07] i have almost no experience with this kernel [11:09] tomreyn thanks for the advice, have a nice day :) [11:10] chris768443: have a nice days, too (and please only ask questions about ubuntu here int he future) [11:13] Hey folks [11:20] BluesKaj, hello === The_Milkman1 is now known as The_Milkman [11:50] I have a question about what package contains a certain lib... where can I ask? [11:50] (question about apt package name) [11:52] Nobun: This might help... ==> https://packages.ubuntu.com [11:53] and if it's a library that is currently installed, you can see what package installed it with dpkg -S /path/to/lib [12:01] Gusj: thank but I can't find there too [12:02] geirha: 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 found [12:03] s/whici/which [12:03] !info libqt5texttospeech5-dev [12:03] libqt5texttospeech5-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 kB [12:03] How can i use PAM in Ubuntu. Pamusb is not installable on ubuntu rightnow. SO are there any other ways for PAM in ubuntu? [12:04] ioria: it says "cannot find libqt5texttospeech5-dev" [12:04] !info libqt5texttospeech5-dev disco [12:04] libqt5texttospeech5-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 kB [12:04] I am in 16.04 [12:04] !info libqt5texttospeech5-dev xenial [12:05] Package libqt5texttospeech5-dev does not exist in xenial [12:05] !info qtspeech xenial [12:05] Package qtspeech does not exist in xenial [12:06] it is very hard to find -.- [12:07] Nobun, what app are you building ? [12:10] ioria: an OCR software based on qt5 [12:10] When or How can I upgrade to Ubuntu 19.04 [12:10] since the default OCR software is somehow ugly on translating italian... I would like to try this one... but this component is blocking me [12:11] Nobun, run 18.04 in vm [12:11] TwoTaIl: 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:12] !Eoan [12:12] Ubuntu 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:14] all good, thanks [12:17] pamusb-tools is not installable on Ubuntu, What can I do to get PAM working with Ubuntu [12:18] geekPanther, is unmaintained [12:19] geekPanther, https://launchpad.net/~promasu/+archive/ubuntu/libpam-usb [12:21] ioria: 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 info [12:22] geekPanther: 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:24] geekPanther, that is just a transitional pkg for pamusb-common (you don't need it , probably) === squeezeday is now known as squeezy [12:39] Hello, 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 directory [12:40] du -sh [12:40] tomreyn: thanks! [12:41] ramsub07: add -x if you want to limit it to the same file system [12:41] tomreyn: 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:42] (something like a hybrid between ls -lh and du -sh) [12:42] ramsub07: du -sh directory/* [12:42] ducasse: thanks! [12:44] ramsub07: du_recursive https://termbin.com/esma [12:44] ramsub07: also check out ncdu [12:45] the script i posted is a bit buggy though [12:49] tomreyn: thanks, serves my purpose! [12:53] does ufw block ephemeral ports? [12:54] bumblefuzz: not by default [12:54] which ports does it block by default? [12:54] bumblefuzz: that depends on how you have configured ufw [12:54] by default [12:55] by default, none [12:55] bumblefuzz: by default ufw isn't enabled in Ubuntu, you have to to turn things on [12:55] so, once it's enabled... [12:55] which ports does it block by default [12:56] bumblefuzz: 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 blocked [12:57] sudo status ufw verbose indicates: Default: deny (incoming), allow (outgoing), disabled (routed) [13:00] bumblefuzz: That is exactly what I just described [13:00] k ... think I got it [13:00] what does the "any" in "sudo ufw allow from 15.15.15.0/24 to any port 3306" mean? [13:01] why isn't it "sudo ufw allow from 15.15.15.0/24 to port 3306" ? [13:02] bumblefuzz: 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 loopback [13:02] the any means that any configured network connection will accept a connection to port 3306 [13:02] ah, it's the interface [13:04] thank you === Exterminador- is now known as Exterminador [13:09] so 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-equalizer [13:09] https://askubuntu.com/questions/877485/how-do-i-find-out-what-pulseaudio-module-does-what#877499 === michele_ is now known as michele [13:39] hi. is there opensource free cloud file sharing app for linux like dropbox? [13:40] nextcloud [13:40] thx [13:40] squeezy, is it good? [13:42] B|ack0p: if you had googled that exact question you'd get the answers you're looking for [13:48] B|ack0p: it does the job for me [13:50] thx [13:52] 1 [14:00] well.. i followed this instructions to install nextcloud: https://computingforgeeks.com/how-to-install-and-configure-nextcloud-on-debian/ [14:01] but i dont know how to open URL http://{serverip|hostname] [14:02] Hi, 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:03] oh i found their support channel here [14:03] sorry bothering you [14:04] B|ack0p: that just means [insert your URL here] [14:04] IP or hostname, of your machine [14:05] makr8100, hmm is it inet ip? [14:05] 192.168... ? [14:05] JediMaster: not sure... Is there a way to run sed on cron? I've never tried anything like that... [14:05] B|ack0p: yes [14:05] JediMaster: 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:06] makr8100, these servers are chef managed, but changing the crontab in such a way isn't possible via Chef easily [14:06] ugh... I'm not familiar with Chef. No ssh? [14:06] JediMaster: 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:07] makr8100, Yes, SSH, Chef is used to manage the servers [14:08] tomreyn: 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] looks like you can run sed on crontab, that's what I would try [14:08] makr8100, Chef will then re-write the crontab back again [14:08] JediMaster: why do these servers send so much mail then? [14:09] oof... [14:09] tomreyn, because half of the cron jobs output some text when run, which then automatically gets emailed to root [14:09] and there's many jobs that run every minute, hence thousands of cron emails [14:10] JediMaster: and those users on these servers are not going to be massaged to change it? [14:10] There'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 job [14:10] JediMaster: this sounds like a VPS host environment or something? [14:11] yeah, they're webservers, the vast majority are automated cron jobs rather than user's own [14:11] JediMaster: i'd certainly dmanage it centrally, just on your internal / outbound mail servers. [14:11] I just want to stop cron from sending any out [14:11] Surely there's a central config or envrionmental variable that can be set in /etc/default/cron or something to stop it sending emails [14:13] JediMaster: your best solution is to bitbucket the output of the jobs as you already mentioned [14:13] apparently you can do this in /etc/sysconfig/crond on CentOS: CRONDARGS=-m off [14:13] JediMaster: there's /etc/default/cron which has since moved to the systemd service. [14:14] tomreyn, yeah I saw, but it's weird as the systemd file refers back to it: EnvironmentFile=-/etc/default/cron [14:15] JediMaster: which ubuntu version are you running there? [14:15] 18.04 [14:16] JediMaster, iirc should be MAILTO="" [14:16] ioria, can that be set globally, not just per user's crontab? [14:16] JediMaster, idk honestly [14:17] JediMaster: so /etc/default/cron is deprecated and will likely go away in the future. [14:19] tomreyn, 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 set [14:25] tomreyn, 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 lol [14:26] JediMaster: where do you see the -m option? [14:28] tomreyn, various references to cron on CentOS, however, I'm just trying MAILTO="" in /etc/default/cron to see if it reads the environmental variable [14:28] not there [14:28] JediMaster: this is #ubuntu, does centos even use vixie cron? [14:29] JediMaster, try in /etc/crontab [14:29] JediMaster: screw Chef, write a cron job to rewrite cron after Chef does it [14:29] ioria, it needs to be global to all cron jobs [14:29] for all users [14:29] JediMaster, that is global [14:30] tomreyn, hmm, yeah forgot there were different flavours [14:30] JediMaster, crantab -e (without sudo) is local [14:31] crantab? [14:31] crontab [14:31] k [14:31] yeah 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 jobs [14:31] JediMaster, restart cron maybe [14:31] ioria, Just did, but it's still sending emails out [14:32] JediMaster, ther redirect the output [14:33] ioria, I'm looking at many dozens of servers with anywhere from 5 to 30 cron jobs per user with 3-5 users per server [14:33] there are "cronic" and "cron-deja-vu" for fitering / limiting cron mail [14:34] tomreyn, yeah, but I'd rather stop them at source than filter them if possible [14:34] it's pretty close to source [14:35] you could also replace the cron implmenetation or have users make use of systemd-timers instead. [14:35] I 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 hack [14:36] how do users edit their cron jobs? crontab -e? do they have administrative access? [14:36] Why doesn't cron on Ubuntu just let you disable sending emails? [14:36] tomreyn, yes, crontab -e, and a bunch are automated via Chef recipes [14:37] you restricted usrers run chef reciipes on your servers? [14:37] *your [14:39] tomreyn, The Chef recipes manage cron jobs for a selection of different users [14:40] Maybe 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 outbound === jmcgnh_ is now known as jmcgnh === jmcgnh is now known as jmcgnh_ === jmcgnh_ is now known as jmcgnh [14:41] JediMaster, i don't get it; If MAILTO is defined but empty no mail will be sent [14:41] ioria, the problem is setting that on every crontab for every user automatically across dozens of servers [14:41] i see [14:41] i guess the issue here is that there is no way to administratively enforce a usrs' MAILTO= setting [14:41] I can easily configure a central config file across all servers, but that is more difficult === jmcgnh is now known as jmcgnh_ [14:43] Chef 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 emails [14:43] I'm really considering just disabling local user's email now [14:43] as they don't need to receive emails, just send === jmcgnh_ is now known as jmcgnh [14:45] JediMaster: do you have per user storage accounting there? if so, i'd choose the opposite: force local delivery for all (restrictive) user generated crond mail [14:45] that'd make users want to fix their crontabs [14:46] (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] That's a good idea, but that would probably generate more work/support for me ;-) [14:49] not 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") [15:42] hello [15:42] royalewithcheese, welcome [15:42] Thanks, lordcirth === ben_r_ is now known as ben_r [15:51] hello, 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] it looks like a bug [15:52] it lists that partition with `-ri-------` attr [15:54] pomeha: this is the output of running lsattr on something? [15:55] or lvs? [15:55] tomreyn: no, lvs [15:55] so it's just inactive [15:55] tomreyn: how to remove it? [15:56] remove what? [15:56] tomreyn: lv [15:56] you want to delete a logical volume? you'd use lvremove [15:57] by the way, "lvs" lists logical volumes, not partitions [15:58] tomreyn: tried that: https://paste.ee/p/Y6NdM [16:01] pomeha: which ubuntu version is this, which kernel version? [16:05] hello. if i want a minimal installation of ubuntu where i get my own window manager etc, which version do i get? [16:08] NickZ: ahh, I hadn't realized the process was short-lived. how did you manage to attach it before it dies? [16:09] sarnold: https://www.fossmint.com/which-ubuntu-flavor-should-you-choose/ [16:09] talin: 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-ZFS [16:09] I'd try to search by the wm you want, otherwise xubuntu is probably pretty good [16:09] talin: but be aware that it's *very* minimal, taking one of the other flavours may be easier :) [16:09] otherwise you could start with the server (cli only) edition and start adding to it [16:10] sarnold: cool, thank you [16:10] sarnold's way would probably be better if you're more advanced at things [16:10] I usually shoot for my preferred wm in the initial install [16:12] the desktop version has a lot of gnome stuf that i don't want [16:12] talin, https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option [16:20] hmm, there seems to be a minimal CD as well === gtav is now known as rud0lf [17:09] has 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 password [17:10] pretty much ALL google results talk about "add all such users to a hardcoded group" which is pointless and doesn't scale anywhere [17:11] doesn't even scale to more than 1 computer lol [17:12] you could probably use a makeshift stopgap like syncing that local group every 15 min [17:12] sync what group from where [17:12] and to where [17:12] to whatever active directory says (I guess you mean that with AD) [17:12] there's no group, to begin with. only sudoRoles. [17:13] bviktor, add it to /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf [17:13] and 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 groups [17:14] ioria, add ... what? [17:14] sudoRoles [17:14] it's the sudo group, i guess [17:14] there's no group, to begin with. only sudoRoles. [17:15] sudoRole is an AD object and has nothing to do with groups of any kind [17:15] s/AD/LDAP/ [17:15] there can be any number of sudoRoles, and each can contain any number of users, hosts, options etc specified [17:16] which works perfectly on the command line as `sudo` evaluated that perfectly via sssd-sudo. but not polkit. [17:16] polkit still lives in the 90s and have no idea about anything besides /etc/group, pretty much [17:17] ... or if it does, noone on the internet knows how to configure it [17:17] bviktor, https://askubuntu.com/questions/1003558/sssd-windows-domain-users-does-not-have-privileges-over-the-ubuntu-gui [17:17] yes, that's the same nonsesical "answer" i was talking about [17:17] make one global group, make everyone in that member an admin on EVERY computer [17:18] that's not exactly how a corporate network works. like, at all. [17:18] s/in that member/in that group/ [17:25] bviktor: what application in the GUI asks for local sudo? [17:25] ~any application that asks for escalation via polkit [17:25] dangerous actions, like... connection to a new wifi network [17:26] (why that requires admin privileges, but ONLY via the tray menu, is another story) [17:26] bviktor, and this is wrong too ? https://wiki.contribs.org/Client_Authentication:Ubuntu_via_sssd/ldap#System_Permissions_.26_PolicyKit [17:28] Question is it worthy to buy a graphics board for a Ubuntu PC? I have an i5 intel processor with graphics [17:29] bviktor: 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 environment [17:29] (and I only play simple games) [17:30] ioria, unfortunately, that seems the same, yeah. [17:30] bviktor: updates for example in the gui...the AD admin and launch it from terminal and update the system W/O local account use [17:31] tatertots, 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 time [17:31] it just looks extremely stupid [17:32] and 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 crap [17:32] and obviously they always blame it on IT, "why can't we just make it work" [17:33] LuckyMan, well, is there a game that you play, that doesn't run fast enough? [17:33] I mount a remote computer like this sudo sshfs -o allow_other max@dell:/ /media/max/dell [17:33] lordcirth_, not yet [17:33] LuckyMan, then no need :) [17:34] the 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/bar [17:34] is there anymout to define to mount options so that it will kind of prefix the symlink or somehow keep it? [17:34] lordcirth_, but if I invest on a graphics board, will it use the new board or the processor one? [17:35] LuckyMan, the new one, if you set it up correctly. [17:35] lordcirth_, what's setting it up correctly? [17:35] LuckyMan, plugging it in properly. Plugging your monitor into the new card instead of the motherboard (common mistake). [17:37] lordcirth_, I see, and can I switch between one and the other by software? [17:37] LuckyMan, not really. Why would you want to? [17:37] lordcirth_, just curious [17:38] some laptops come with a software switch to do that [17:39] LuckyMan: they have special hardware to enable that [17:39] I allways wonder why they had that [17:40] btw, my memory seems ok for all I need but memory has drop prices, I have 8 gb, would you buy 8 more and why [17:41] LuckyMan: that depends on what you're doing with the pc [17:41] sorry if this is offtopic [17:41] I'll be running virtual machines [17:42] then i'd buy more [17:42] ok thanks [17:42] hi, is there an easy way to hide desktop icons while you are recording a screencast? [17:43] xebra, usually there's an option for that [17:43] xebra, what Ubuntu version? [17:43] oh sorry, I thought you were talking about the recorder itself [17:44] xebra, should be under desktop or Nautilus settings. [17:46] xebra, `gsettings set org.gnome.desktop.background show-desktop-icons false` [17:47] true will turn them back on [17:47] doug16k, 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 everyone [17:47] that would probably be easy to implement on a small app [17:48] (or script) [17:50] by the way is there a easy way to save files to desktop in ubuntu 19.04? [17:50] I mean create files/drag and drop to desktop [17:51] LuckyMan, the desktop a directory called Desktop in your home directory [17:51] Drag and drop should work fine. But I don't recommend putting files in your desktop... [17:51] ~/Desktop in bash [17:51] lordcirth_, why not? [17:52] hello.. 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 again [17:52] where should i look for the culprit? [17:53] 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] Documents go in Documents, etc. [17:53] I don't have any desktop icons; only the taskbar. [17:54] rud0lf, what Ubuntu version? [17:54] xubuntu 18.04 bionic, why? [17:54] I have desktop icons off and never use it either. I understand though that most people like files on the desktop [17:54] lordcirth_, I know that but sometimes you need to drag a file temporarily in there to use it elsewhere [17:54] LuckyMan, why would you need to do that? [17:54] to be clear: i want to remove oracle-java11-installer-local script which is stuck in apt install [17:55] rud0lf, and 'apt purge oracle-java11-installer-local' doesn't work? [17:55] lordcirth_, because you are organizing your files, or working on a file [17:55] does the mini.iso installer have the same drivers as e.g. the desktop or server editions? [17:55] for instance, when you put a usb drive [17:55] I 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 :D [17:55] lordcirth_: thanks, it worked.. when i tried "apt remove oracle" it didn't autocomplete like usually [17:56] 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] lordcirth_, you should see my real desktop [17:56] (its a mess) [17:56] LuckyMan, oh my desk is messy too :P anyway we are getting off topic. [17:58] people 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 icon [17:59] curse the man who invented the mouse! curse Douglas Englebart! [18:00] Hi guys, trying to boot ubuntu from a usb stick, on a lenovo ideapad, with e [18:00] eMMC [18:01] And I get this error [18:01] https://postimg.cc/87TFPxgN [18:02] bogdomania: if you're lucky it's just bad media and you can buy a new one [18:02] nah, had win10 on it, and linux mint [18:02] The netbook is brand new [18:02] bogdomania, and you booted those on the same laptop? [18:02] Aye [18:02] looks like bad media to me too [18:02] bogdomania, did you checksum the downloaded Ubuntu ISO? [18:03] No, I didn't [18:03] Always do that. Errors there don't happen often, but when they do they can run you in circles for ages. [18:03] But that sure does look like media failure. [18:04] Onlyinux distro that booted fine, was mint, with 4.15 kernel, and last night I upgraded the kernel to 5.0.x [18:04] And I got the same error [18:04] I'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 though [18:05] same thing can be happening on reads [18:05] bogdomania: what did you use to write to it? rufus? [18:05] No, just dd [18:05] I wrote the ubuntu from mint [18:05] i'd recommend using rufus [18:05] every time i've had problems with installing from media, i've always redone it using rufus and that tends to fix it [18:06] https://rufus.ie/ [18:07] Well, I dont have access to a win machine [18:07] So, Rufus is of no help [18:07] i also recommend this too: https://www.balena.io/etcher/ [18:08] try badblocks on the block device that's throwing all those errors [18:08] ^ that too [18:08] I did use balena to write fedora, had the same issue [18:08] you 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 fault [18:08] (but I still suspect failed media to be most likely) [18:09] yeah, 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 prudent [18:10] Ok, the eMMC worked flawless until I updated the kernel to 5.0.0.x [18:10] Last night [18:10] After reboot, I got the same isdue [18:10] Issue" [18:11] if you didn't autoremove yet, you can reboot and select the 4.x kernel in grub and see if your problem disappears again [18:11] it could just be that the blocks used for modules with your 5.x kernel are on dead sectors [18:11] Ok [18:11] and the blocks used for modules with your 4.x kernel were on good sectors [18:11] which is why I think badblocks would be useful -- scan the whoie device [18:12] K, the 4.15 boots instantly, to login screen [18:13] bogdomania, copy some files to it and copy them back and see if dmesg is clean [18:14] "back" to somewhere else though :) [18:14] I don't trust MMC drives for data integrity at all === im0nde_ is now known as im0nde [18:22] K, ran a scan and got this [18:22] https://postimg.cc/VdSkD197 [18:25] bogdomania: is that the 4.x kernel? [18:25] Yes, 4.15 [18:26] ok cool cool; can you boot into the 5.x kernel far enough to run the same badblocks test? [18:26] Nope [18:27] It throws the same error, and doesnt pass over [18:27] dang [18:29] bogdomania: 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] Same error, repeated [18:30] Over and over [18:30] For ubuntu, fedora [18:30] while on the 4.15 kernel, can you post journalctl -b | nc termbin.com 9999 [18:30] Sure [18:30] also lsusb | nc termbin.com 9999 [18:31] https://termbin.com/tw4l [18:32] https://termbin.com/4mvh [18:32] bogdomania: are there problems with the keyboard also, is this why you boot with those i8042 kernel parameters? [18:32] No, I have the touchpad freezing randomly [18:34] also, 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] Yes, every linux distro, except mint does the same [18:35] Im trying to install, but doesnt boot to desktop [18:35] Mint is installed on the eMMC [18:35] i see. are you able to boot the 5.0 kernel to recovery, have you tried this, yet? [18:36] Nope, not recovery [18:36] it culd be worth a try. [18:36] Ah, I will try that [18:36] Brb [18:36] just to see whether we can get another log there and then compare [18:37] what you're trying to boot there is ubuntu 18.04.3 desktop amd64, i assume? [18:37] 19 [18:37] Yes, amd 64 [18:38] !XX.YY [18:38] !YY.MM [18:38] Ubuntu 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-cycle [18:38] 19.04 [18:39] ok :) [18:39] maybe you could give the 19.10 beta a try as well, it comes with linux 5.3 [18:39] or 18.04.3, which also uses a newer kernel than 19.04 [18:40] newer as in it has received later patches for the installer [18:43] hi, can you recommend me a Wifi adapter compatible with Ubuntu 18.04 [18:44] bogdomania: can you also post lspci | nc termbin.com 9999 while i keep reading your log? [18:44] K, so this is while running 5.0.0.x in recovery mode [18:44] Gosset, anything with an ath9k chipset is a good choice. [18:44] https://postimg.cc/gallery/1p3xlhb42/ [18:45] lordcirth_ examples? [18:45] thanks [18:46] I'm googling ath9k + wifi adapter, anything found [18:47] https://termbin.com/srtz [18:47] I'm searching wifi adapters on Amazon [18:47] Gosset, really most will work. Just find one that looks good in general, then google it with "linux" [18:47] but I've read a lot of wiri adapters don't work with newest Linux Kernels [18:47] that's what i'm afraid of [18:47] Where did you read that? [18:47] Newer kernels are almost always *more* compatible. [18:47] on Amazon reviews [18:48] though sometimes terrible wifi vendors keep their drivers out of tree and never update them [18:48] it's not that easy [18:49] vendors just think for Microsoft compatibility [18:49] Generally the ones that don't work on Linux will be pretty bad in general. [18:49] if you say so [18:50] Qualcomm uses Atheros chips, and should work well? [18:54] bogdomania: 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=930815 [18:54] Debian bug 930815 in src:linux "linux-image-4.19.0-5-amd64: internal emmc cannot be read" [Important,Open] [18:54] look, at https://www.tp-link.com/es/support/download/tl-wn822n/#Driver, only support until Kernel kernel 2.6.24 ~ <4.9.60 [18:55] and my Kernel is 5.0 [18:55] two kernel commits from february seem related: commit 27ec9dc17c48ea2e642ccb90b4ebf7fd47468911 commit d07e9fadf3a6b466ca3ae90fa4859089ff20530f Fixes: a4080225f51d ("mmc: cqhci: support for command queue enabled host") [18:56] So, tomreyn, this is a bug? [18:57] bogdomania: 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] Ok, but 5.0.0.x? [18:57] bogdomania: so 19.04 beta or 18.04.3 are still worth trying. [18:58] bogdomania: so 19.10 beta or 18.04.3 are still worth trying. [18:58] Ok, imma try the 18.04.3 [18:58] ^ typo fixed [18:59] 18.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 beta [18:59] but still worth a try [18:59] K, so 19.10 then [19:01] http://releases.ubuntu.com/19.10/ - we'll need to switch to #ubuntu+1 for support on this then [19:01] 19.10 will release in 9 days [19:01] (unless there'll be a change of plan) [19:01] good luck === Anon00110001 is now known as Anon0011 [19:14] When 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:15] hello. 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 netplan [19:21] phizzz: 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:22] tomreyn: i will look [19:24] tomreyn, this is from 19.10 beta :( [19:24] https://postimg.cc/zb83FShw [19:27] bogdomania: :-/ okay, then a bug report may be needed, if there's not one already. [19:27] error: no template named 'unique_ptr' in namespace 'std' [19:27] ^ clang-9 with -std=c++17 [19:28] i'm pretty sure it's been there since c++11 [19:28] bogdomania: 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 lower [19:30] bogdomania: ah this one: bug 1818407 [19:30] bug 1818407 in linux (Ubuntu) "Cant access emmc, error -84" [Undecided,Confirmed] https://launchpad.net/bugs/1818407 [19:31] Ah..so it is a bug, then, not faulty hardware [19:31] Oh well.. [19:33] i'm not certain that this is the same issue you're seeing - but it's possible [19:33] bogdomania: can you check whether you can change the transmit speed for the mmc in your bios? [19:34] there would be values of 200 and 400 if so [19:34] How come 4.15 works and 5.3.x doesnt? [19:36] it happens tht drivers break. it's somewhat rare, but can occur. [19:37] filing a bug against the kernel can help getting it fixed. === Etua_ is now known as Etua [19:42] tomreyn, in BIOS I have no emmc options [19:42] And the bios is at the latest version [19:48] Hi, 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] The log of my boot repair: http://paste.ubuntu.com/p/pXF34k2FMZ/ [19:50] if 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/727465 [19:52] tomreyn: wow. awesome find. thanks for debugging this one :D [19:53] *might* help, not sure... [19:54] 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 experience [19:55] EriC^^: Alright. Can I change the ubuntu boot mode to uefi without losing my ubuntu encrypted data? [19:55] sarnold: i think i got it now, you're joking about how i was one minute late ;) yes, *sigh* [19:56] 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 boot [19:57] 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 help [19:58] the system is 16.04 [19:58] EriC^^: How do I do the former? My /dev/sda (ubuntu) contains 3 partitions, one with the boot flag [19:58] EriC^^: I might remove the Windows disk one day, or format it off. [19:59] msev-: try removing "quiet splash" in grub's menu for ubuntu and see if it shows anything [19:59] msev-: or just try pressing esc when you get the dots loading screen it might show what's wrong [20:00] 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] tomreyn: heh, no, not at all! [20:01] tomreyn: 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 fix [20:01] hehe ok, we might find out [20:02] wanna see great documentation? modinfo -p sdhci [20:02] 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 fat32 [20:04] 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 boot [20:04] EriC^^: I think I need more steps. [20:04] c03: i can walk you through it if you want [20:04] EriC^^: That would be great [20:04] Thanks EriC [20:04] c03: which choice do you want? shrunk boot or boot inside encrypted root fs? [20:05] EriC^^: Shunk boot, sounds safer [20:05] c03: alright, do you have a live usb you can boot? [20:06] chatting from it [20:06] Which is probably a horible idea, I'll log on my laptop. [20:06] c03: ok, open up gparted, shrink the boot partition 100mb and create a new partition next to it, formatted fat32 [20:06] msev-: yw === twobitsp1ite is now known as twobitsprite [20:08] EriC^^: Done === c03 is now known as c03_live [20:09] c03: alright, type "sudo parted -ls | nc termbin.com 9999" and paste the link it gives you === katnip` is now known as Katnip [20:10] https://termbin.com/s4mzn === Katnip is now known as Guest18773 === Guest18773 is now known as katnip` [20:12] c03_live: type "sudo blkid /dev/sda3 | nc termbin.com 9999" [20:12] https://termbin.com/fncp [20:14] c03_live: sudo cryptsetup luksOpen /dev/sda5 sda5_crypt [20:14] it'll ask you for the passphrase to decrypt the fs [20:14] done [20:15] c03_live: sudo parted -ls | nc termbin.com 9999 [20:15] https://termbin.com/q0ro5 [20:16] c03_live: sudo mount /dev/mapper/ubuntu--vg-root /mnt [20:17] done [20:18] c03_live: sudo nano /mnt/etc/fstab [20:18] c03_live: add the line "UUID=CBE1-2F22 /boot/efi vfat umask=0077 0 1" [20:20] EriC^^: added. https://termbin.com/ua8m [20:21] looks good [20:21] c03_live: sudo mkdir /mnt/boot/efi [20:21] hello all [20:21] done [20:21] c03_live: "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done" [20:22] huh nice [20:23] c03_live: all good? [20:23] so I mounted the live cd's dev proc sys and run into the encrypted partition? [20:23] yea yea, no errors [20:23] yeah, it's mount --bind, so it exists in both dirs [20:24] c03_live: sudo chroot /mnt [20:24] Interesting. [20:24] done [20:24] c03_live: what's the output of "ls /sys/firmware/efi" ? does it list any dirs at all? [20:25] ls: cannot access '/sys/firmware/efi': No such file or directory [20:26] 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 implementations [20:26] c03_live: type "dpkg -l | grep grub | nc termbin.com 9999" [20:27] EriC^^: https://termbin.com/eev4 [20:28] c03_live: type "apt-get remove grub-pc grub-pc-bin grub-gfxpayload-lists grub-efi-amd64-signed+" (note the + at the end) [20:29] c03_live: wait 1 sec [20:29] my bad [20:29] c03_live: first type "mount -a" [20:29] already fired it :/ [20:29] i forgot to mount the efi partition [20:29] no worries we can clean up [20:29] alright, mount -a ? [20:29] c03_live: is apt done? [20:29] yes, took 2 secs [20:30] c03_live: ok, first type "rm -ri /boot/efi/*" [20:30] it should only ask to remove a dir called "EFI", say yes [20:30] rm: cannot remove '/boot/efi/*': No such file or directory [20:31] ok nevermind then [20:31] c03_live: type "mount -a" [20:31] mount: /boot/efi: mount point does not exist. [20:31] should I rm the /boot/efi folder as well? it's empty [20:32] no something doesnt add up [20:33] c03_live: type "ls -ld /boot/efi" [20:33] c03_live: ahh [20:33] crap [20:33] my bad again [20:33] actually no wait.. [20:34] c03_live: yeah, my bad, we didnt create /boot/efi after mounting /boot [20:34] Alright [20:34] c03_live: xD sorry it's been a while not doing grub stuff, kinda rusty [20:34] c03_live: type "mkdir /boot/efi" [20:35] c03_live: /boot is mounted right now, right? "ls -l /boot" shows the kernels and whatnot? [20:35] all good [20:35] yes :) [20:36] c03_live: ok, try "mount -a" again [20:36] mount: /boot/efi: mount point does not exist. [20:36] ls -l of the /boot dir: https://termbin.com/oll2 [20:37] c03_live: type "mkdir /boot/efi" [20:37] it should show up in "ls -l /boot" [20:38] k, it's there now :) [20:38] c03_live: ok, try "mount -a" again [20:38] success [20:38] empty /boot/efi though. [20:39] c03_live: alright, try "apt-get remove grub-pc grub-pc-bin grub-gfxpayload-lists grub-efi-amd64-signed+" again [20:39] not installed, and grub-efi.. is the newest version [20:39] Should /boot have been included in the for loop mounting? [20:40] c03_live: nope [20:40] k [20:40] c03_live: try "apt-get install --reinstall grub-efi-amd64{,-signed,-bin}" [20:40] just to make sure it's all there installed [20:41] alright [20:41] done [20:41] c03_live: how's /boot/efi looking currently? "ls -lR /boot/efi | nc termbin.com 9999" [20:42] https://termbin.com/8cab [20:43] c03_live: hmm, try "grub-install --target=x86_64-efi --efi-directory=/boot/efi" [20:43] EFI variables are not supported on this system. [20:43] grub-install: error: efibootmgr failed to register the boot entry: No such file or directory. [20:44] 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:45] https://termbin.com/7tjh [20:45] c03_live: it looks good, type "mkdir -p /boot/efi/efi/microsoft/boot" [20:46] alright [20:47] c03_live: cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi [20:47] c03_live: and "cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/efi/microsoft/boot" [20:48] done [20:49] 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 disabled [20:49] c03_live: which laptop brand or motherboard is this? [20:49] hello everyone, when i run this command, gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 9BE6ED79 [20:50] It's an Asrock z97e motherboard [20:50] i get an error that says gpg: keyserver receive failed: invalid argument. How do i fix it? or where can i read more about htis [20:50] *this [20:50] EriC^^: https://www.asrock.com/mb/Intel/Z97E-ITXac/ [20:51] 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 ubuntu [20:52] yeah it was an asrock [20:52] damn, alright [20:52] alright, I'll give it a spin === Etua_ is now known as Etua [20:52] 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 mbr [20:53] in that case you should end up in a grub rescue> shell as he did, due to the modules not being present anymore [20:53] ok === golevka6489 is now known as golevka [20:54] EriC^^: Awesome, it worked! [20:55] c03: great! [20:55] c03: does 'ls /sys/firmware/efi' give files? [20:56] yes, a bunch of table, runtime systab files [20:56] c03: great, type "sudo grub-install" so it adds ubuntu to the motherboard's uefi list [20:56] and also "sudo update-grub" to pick up windows and stuff [20:57] nice [20:59] okay, booting into my windows partition is now opting for a recovery, I'm guessing I should not do that. [21:00] odd [21:00] i dont think it should be an issue [21:00] yea, I just continued and booted to windows 10. It works though :) [21:00] Thanks a lot! Great learning experience! [21:01] Now 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:02] oh, it just starting working.. That's odd.. oh well. [21:02] c03: no problem, ah good to hear [21:02] This has been great, thanks so much! :) [21:04] you're welcome :) === TheFatherMind- is now known as TheFatherMind [23:10] hello! [23:10] Is this where I can get help with ubuntu issues? [23:12] hi m0Sq1T0, yes this is the ubuntu support channel [23:12] gr8! [23:13] I'm trying to get into the BIOS but can't get in with the normal keys like f2, f12 etc [23:13] And I can't find any answers by searching for it [23:14] what machine/model is this? [23:16] Lenovo 80ES [23:16] if you've got windows on this system there's a chance it's doing a fast boot back into windows [23:16] I can't recall now how to tell windows to stop that [23:17] Lenovo B50-30 80ES ? [23:18] yes that one @OerHeks [23:18] page #13 https://cdn.cnetcontent.com/ba/0e/ba0e64fd-5d6c-4d63-bd14-4759e45b7368.pdf [23:18] Press and hold the F1 key then turn on the computer. W [23:18] *then* .. long time i read this [23:20] sarnold I'm going to check that! [23:20] OerHeks alright going to try this out! [23:24] thank you guys! anything I'm letting you know!! [23:24] Have a good night! or day :) [23:25] have fun! === Napsterbater is now known as Guest20661 === Napsterbater_ is now known as Napsterbater [23:30] How to copy a home directory from one Ubuntu PC to another? [23:33] porton: 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 differently [23:39] sarnold: how to find the IP on WiFi? [23:39] porton: ip addr should show you [23:42] just open networkmanager, settings [23:42] Hello. I am trying to install Windows 10 but there seems to be no way to copy the ISO onto a USB key from Ubuntu [23:43] I tried unetbootin but it didnt work [23:43] bmflinux, 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-ubuntu [23:43] lolz [23:44] OerHeks: what does that do that dd or cp doesn't do? [23:44] dd and windows iso? [23:44] yeah, do they not work when written to a usb stick? [23:44] really, never tried that.. [23:45] all usb tools fail, except that WoeUSB [23:46] maybe cp works for non-uefi machines? [23:47] I think cp should just be like dd [23:47] except that there's a chance not all machines have the new cp behaviour [23:48] ah it's apparently VERY different https://raw.githubusercontent.com/slacka/WoeUSB/master/src/woeusb.1 [23:49] yes, i think because of the uefi part [23:50] woeusb gives me this error Error: Target device is currently busy, unmount all mounted partitions in target device then try again [23:50] thanks OerHeks [23:51] bmflinux, unmount that usb device and start over? [23:52] didnt work [23:52] I rebooted and it still says that [23:54] try umounting any filesystems that might still be mounted [23:55] there is no reason why unmount an usb device in filemanager does not work [23:55] I unmounted everything and I get a new error [23:55] Its pretty big ... [23:56] https://paste.debian.net/1105445/ [23:56] woops [23:56] remounted usb BUT .... [23:56] don t do this from terminal [23:57] Im not [23:57] This is from the GUI [23:57] https://paste.debian.net/1105446/ [23:58] Has 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] range = Bluetooth headphones