[00:00] this is a bionic box, linux 4.15.0-55-generic [00:00] is that correct? [00:00] How do I clean Grub of entries from a deleted partition? [00:01] should i install a new kernel [00:01] ? [00:01] jmg: I believe that is the newest non-hwe kernel for bionic [00:04] sarnold: ah good idea [00:05] jmg: if thngs stopped working all of a sudden, then it's either (a) due to changes you made, (b) a hardware issue, (c) a regression in an update that was installed automatically. [00:08] Hey all. Was on earlier and mentioned lockups seeming to come from amdgpu. It was suggested I try a mainline kernel to see if the issue(s) persisted, and if so, to help in filing a bug againt a recent kernel. I just got through manually installing via dpkg the kernel 5.2.4 files as per https://wiki.ubuntu.com/Kernel/MainlineBuilds but am getting messages like W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module [00:08] amdgpu . Is there an accompanying firmware package I should be installing? [00:09] And for that matter is there a way to tell which of those firmware files, if any, the system currently uses? [00:10] oceanquake: https://askubuntu.com/a/1124256/33812 suggests the easiest way to get it is to clone a git tree from kernel.org [00:10] oceanquake: you only need this firmware if you havs such hardware, though [00:18] oceanquake: if you think you need this file, you can get it from http://repo.radeon.com/rocm/apt/debian/pool/main/r/rock-dkms/rock-dkms_2.6-22_all.deb -> unpack data.tar.xz -> unpack /./usr/src/amdgpu-2.6-22/firmware/amdgpu/vega_20_ta.bin [00:21] tomreyn: is there a relative straightforward way to figure out which of these firmware files the current kernel is loading? [00:21] oceanquake: i assume their file names will be hardcoded on the driver, which is open source. === jje is now known as jje_` === jje_` is now known as jje_ === jje_ is now known as jje === zbenjamin is now known as Guest11966 === zbenjamin_ is now known as zbenjamin [01:19] hi [01:19] anyone [01:20] h [01:20] oo [01:20] yo [01:20] ololollolo [01:23] best song [01:23] what is it? [01:24] this one of course :D https://www.youtube.com/watch?v=32UGD0fV45g [01:26] you have good tastes in music! [01:26] lololollollolllol [01:26] hehe :) [01:27] i have this sick mp3 lying in my player [01:35] wish i could give it to you! [01:36] what's the name of the thing? it might be on google play or youtube or similar [01:37] found it on an old geocites website [01:38] the mp3 was embedded in the website [01:40] yo sarnold [01:40] still hanging? [01:40] AEIUA: yeah [01:40] did you get it? [01:41] AEIUA: oh did you try a dcc send? I didn't notice a request.. [01:41] hold on [01:41] dcc doesn't usually work these days due to NAT firewalls [01:41] yeah your send request is coming from 1.1.1.1 port 0 :( [01:42] :( [01:42] :(?! [01:42] (probably the AWS access control thing wouldn't let it through even if the address was right) [01:42] thanks for trying though :) [01:42] oh ok [01:42] anyways [01:42] i don't wanna seem like a shady guy [01:43] but what if we exchange emails [01:43] AEIUA: seth.arnold@gmail.com [01:44] sarnold: ralfbenedictflores@gmail.com [01:44] vim ~/.notes [01:44] d'oh :) [01:45] what are you tryna do [01:45] heh, that was just wrong terminal being focused; I keep notes in that file [01:47] hey sarnold,sent you a test email [01:47] you got it? [01:48] AEIUA: hey hey there it is :) [01:48] cool [01:51] sent you the mp3! [01:52] Random question, if I may: does anyone know if it's possible to use MBR on the root drive and GPT on storage drives? [01:52] oh wow, a midi file :) I haven't seen these in ages [01:52] hashwagon: my assumption is that it ought to work fine but I've never tried; or, perhaps, I've never knowingly tried :) [01:53] hashwagon, sure, should work fine [01:54] as per diskdrive * [01:57] hi [01:59] Is there any software that will cache/reollocate files based on demand/speed/size? I have a web server in datacenter that holds 20GB of storage. I have a few hard drives/computers at home that I want to use to host excess files (1TB), but it would be slower to pull files from my home, on the server. [02:00] sarnold, OerHeks, thank you [02:00] hey boyett [02:00] hi hash [02:01] Goop: squid and haproxy would be my first things to try [02:03] hey sarnold [02:03] did you listen to the mp3 [02:03] AEIUA: not yet, sorry.. I'm not sure how to play a midi file any more; I haven't listened to one in ~20 years, hehe [02:04] AEIUA: it reminds me of the Very Old Days.. one of my favorite songs back in the day was a .mod file. I'm not sure where it is any more and I'm not sure how I'd even play it.. [02:06] is there a reason why transparent backgrounds won't work in terminal? [02:06] i can't even check the box. am i missing something? i don't have any proprietary drivers i can install for this amd A10 [02:09] Hello? [02:10] hello jojero === [b0b] is now known as b0b [02:11] Im having some problems. Like sometimes the whole screen is unresponsive unless I alt+tab === LabMonkey is now known as Mechanismus [02:12] which ubuntu version are you running, is this a new issue, or was it present for a while? what may have introduced it? [02:12] 19.04 [02:12] Whenever i do so many things like upgrading. [02:12] Or copying. [02:13] Also I have another issue. [02:13] https://imgur.com/a/pKUngYh [02:13] Check the left image. [02:13] The sundry text overlaps outside the border. [02:15] ok, let's focus on the first issue for now. so you're saying this happens occasionally since you installed 19.04? [02:15] maybe its the application you are using [02:15] like Slack freezes up on me [02:16] hm. i'm not sure if this is a gfx issue or something else [02:17] maybe removing that load_video is doing it just so i could get this to boot [02:17] does load_video load some sort of module? [02:18] i can't see that as being a reason tho [02:19] jojero? [02:20] yes tomreyn [02:20] it happens occasionally. [02:20] jojero: does it maybe only happen after you suspended and returned form suspend? [02:21] do you know which graphics card / chipset you have there? [02:28] wait let me send you the driver detail [02:29] 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) [02:29] 04:00.0 3D controller: NVIDIA Corporation GK208BM [GeForce 920M] (rev a1) [02:29] thats all tomreyn [02:30] also there is 1 time I saw a glitching / distorting screen. But it never happens again. Just once. [02:33] well. this is driving me kind of crazy [02:33] it seems like ubuntu isn't doing something right with the gpu [02:33] like ubuntu will just not allow me to choose transparency for terminal [02:34] and i'm not sure what's missing here. maybe the included xserver just doesn't work with the A10 for compositing or something? [02:38] jojero: if it just happens once then maybe it's not that much of an issue after all. this looks like an "optimus" setup, you should use the nvidia settings application to manage everything. might want to try newer drivers from this PPA https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa - I don't know which one you'd need to use, though. [02:39] jrg: from what i remember you set some custom kernel parameters to boot with. it's not unlikely that those had side effects. [02:41] tomreyn: actually the only one i removed was load_video [02:41] which was just me changing grub to console [02:42] tomreyn: the rest i removed [02:43] jrg: so cat /proc/cmdline says what now? [02:44] BOOT_IMAGE=/boot/vmlinuz-5.0.0-21-generic root=UUID=559c6443-bdd5-41a0-a6ee-6406b1f13665 ro [02:44] it seems more like a "driver" problem than anything else [02:45] did you try amdgpu.dc=0? [02:46] oh. i sure didn't .. let me try that [02:48] if this doesn't help, try these instead: amdgpu.cik_support=1 amdgpu.si_support=1 [02:48] ok. i will. thanks. [02:48] you're welcome. i first told you about amdgpu.dc=0 three hours ago ;) [02:49] What is optimus tomreyn? [02:50] yeah but i figured that was the not booting properly issue. heh. [02:50] jrg: actually, for the second group, make it: GRUB_CMDLINE_LINUX_DEFAULT="nosplash radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1" [02:51] no. transparent background still grayed out [02:52] jojero: nvidia's muxless switching between graphics chipsets. [02:53] jrg: yes dc=0 was, in parts, but not only, about being unable to switch to (properly working graphical) desktop [02:53] s/switch to/boot to/ [02:54] trying the above options now. [02:54] I only do switch and logout then login again is that what you mean? [02:54] tomreyn [02:55] jojero: i think ideall yyou wouldn't have to logout and login again [02:56] jojero: but i really never played with such hardware [02:56] https://nouveau.freedesktop.org/wiki/Optimus/ [02:56] nope. still grayed out transparent background option [02:57] not sure but terminal isn't even giving me the option to check "use transparent background" [02:57] oh wait a second. yes it is. my mistake. i missed another box. [02:58] it's transparent when i move it but not when it is in place heh [03:01] Using Optimus? tomreyn wow Im gonna do a research about this! Thanks man. [03:02] So how about the image of Sundry Group? [03:02] https://imgur.com/a/pKUngYh [03:02] The one on the left? It overlaps the square - group border. [03:02] tomreyn: got it. thanks so much. [03:04] jrg: what made it work then= [03:28] hi all [03:28] i create a folder with root permision [03:28] ls -l output is :drwxrwxrwx 1 root root 0 Jul 29 12:01 sftp [03:29] but when i use chmod 775 sftp a permision not change [03:29] tomreyn: not really sure. but it's working heh [03:29] :) ok [03:29] so i'll leave it at that. wish i could get the dock to be transparent tho. doesn't seem like the extension is doing it that is in the repo [03:30] sorry. haven't used linux in forever. usually would stick to the mbp [03:31] doesn't seem like the extension for the transparent top panel works either [03:32] all i know about gnome extensions is that they can break gnome, and you should ideally restrict yourself to those available in ubuntu (via apt) [03:33] bbl [03:34] tomreyn: that's what i'm doing [03:34] those are extensions in apt heh [03:34] it's ok.. not a deal breaker. the terminal thing was driving me nuts tho :) [03:40] Ok. I’m done tweaking this. Tomorrow I’ll set it up to join a domain heh [03:48] my problem is solved ,chmod not work in ntfs file system [03:48] thank you all [03:59] hello? [04:11] hi [05:32] Hi, I find Qubes 4.0.1 high latency when installed on my 1TB SSHD firecuda. Will a 2.5 " SATA improve the situation? Note : I do not have a M.2 slot [05:36] No, only Ubuntu is faster. [06:42] hi. im getting this error while trying con connect my android the pc........... https://i.paste.pics/2b4548fe7723370e8a0c72bc8ace776b.png [07:12] One of you kind souls might know this; In Windows, at least on my particular copy with the Toshiba Bluetooth stack (not certain if stack matters), the Bluetooth connection when established from standby is fast. Like, really fast. Two seconds after I begin typing something, the machine picks up my device quickly, whereas on any Linux system it takes six seconds to pick up. Why is this so, and can I fix it? [07:13] tiox: bluetooth on linux is so hit and miss be happy it works === im0nde_ is now known as im0nde [07:34] how to monitor on 10am which program take highest resource? [07:35] atop [07:37] is it possible using the sar for searching the process fling [07:37] ? [07:38] idk [08:05] Hi guys can anyone be nice and help me with source.list, apt-get update doesnt work .. thanks https://paste.debian.net/1093535/ === Makaveli is now known as Guest5914 [08:06] funabashi, nope, ubuntu support only, and you already asked in #debian, i read === Makaveli is now known as Guest87053 [08:07] OerHeks: its ubuntu [08:07] oh, i think even the #debian guys do not help you with a frankenstein-install [08:08] no, it is not pure ubuntu, sorry [08:09] You can find the fix for NO_PUBKEY on google [09:05] Good morning to you all, does anyone have a mouse with more than 2 buttons and how do you configure them (I googled, and the return was xinit but I don't get what to do [09:07] i do wonder. why do so many prefer vi over nano ? i keep ending up using nano as it seems far easier to do things like save and exit [09:10] stoiss: vi (or nowadays vim) is more powerful than nano, so that's certainly a reason for many people [09:11] yeah ive heard a bit about things like being able to script certain things with vi. I CAN use it but i do feel more confident in nano if i have to use a text editor outside a gui enviorment. even with any other distro than ubuntu i often tend to prefer gedit. [09:11] In my experience, vi is available on more systems than nano. [09:12] but maybe i should try practicing using vi or vim a bit more [09:12] vim comes with the wonderful program vimtutor [09:12] That should get you started / more experienced / more confident. [09:13] stoiss: if you feel efficient enough in nano, it's probably fine - but yeah, vi is pretty much guaranteed to be on any system, and once you edit files more often, you'll quickly start to notice some limitations with nano [09:13] I wouldn't know how to search or do a global replace in nano. It's a single command in vi(m). [09:14] ive not really gone beyone things like edit this file and alter or add this to that. but ill try forcing myself to use vi to get used to it. [09:14] Give 'vimtutor' a go. It'll help. [09:16] ohh i didnt know theres a tutor thing for vi. ill definetly give that a go. I learn best by getting to know the logic behind things and then do it step by step. much like codeacademy does with python [09:17] Yes, very much so. [09:17] i dont suppose theres anything like this for regex is there ? [09:20] Anyone able with configuring mouse buttons? [09:20] stoiss: I don't think so. This is for vim, mostly. You can, however, :set incsearch hlsearch [09:21] stoiss: incsearch will start hilighting while you are still typing the phrase to search for. That helps, when you start experimenting. [09:21] thanks. ill give that a try [09:21] Hello, I am looking for help on a non booting grub with lvm [09:27] epitavy, hm cant you boot from a live and reinstall grub? [09:29] stoiss: i plug my bootable pen drive but the grub cli opens and i don't know how to change this [09:29] if you plug a bootable pen in then you must also boot up on it. [09:30] stoiss: the grub 2 cli still opens, i don't know why it doesn't boot on the pen drive [09:31] usually that would lead me to believe that youre not booting up on the usb pen properly. [09:32] otherwise it should boot up as a linux - assuming that the usb pen have a full working linux os on it [09:32] so the usb is not well formated? [09:32] hum ok [09:32] no. more likely you arent actually booting up on the usb stick [09:32] but it could be that your usb isnt quite working yes [09:33] how can i check that the usb is working well? [09:33] is it a laptop or a desktop ? [09:34] a laptop [09:34] which kind ? lenovo ? dell ? [09:36] it was an ASUS with windows and i entirely remove windows to put xubuntu [09:36] when you boot you need to make sure you are selecting what device to boot up on and boot from the usb and not the harddrive [09:36] i prefer xubuntu as well. with asus i believe its F12 or F2. depends on model. It could even be F9. You should get a boot menu when you hit the right button [09:37] when i reboot, i don't even have the booting menu, there is the asus logo and then the grub cli [09:37] I looked it up. its F8. so spam that F8 key [09:38] if youre not getting that boot menu then your computer is just still booting up on your harddrive and not on the usb which is why you get that grub CLI [09:39] it doesn't work [09:39] it was f2 [09:40] does your usb pen show up in the boot menu when you hit the F2 then ? [09:41] F2 open up the aptio setup utility menu [09:41] if i go in boot, i can choose the boot option which are ubuntu, UEFI OS and Generic flash drive [09:42] yes. then select the generic flash drive as that would seem like your usb pen [09:42] it's working thank you so much! [09:43] now i hope that reinstalling grub will work [09:43] wait [09:43] dont reinstall the whole thing. only grub [09:44] can you lead me for the process please? [09:44] get to a terminal in your live linux and type sudo grub-install /dev/xxx [09:44] where xxx is the devicename for your harddrive - not the usb pen [09:44] often it will be sda if youre using an ssd. [09:45] in /dev i have sda and sda1 to sda3 [09:46] yes those are generic. [09:46] and sdb to sdb2 [09:46] it dosnt have to mean you have them. [09:46] I see a COW error [09:46] epitavy, try type ls -l /dev/disk/by-id [09:47] stoiss: you want the output? [09:47] or rather instead of by-id use by-uuid [09:47] epitavy, no it should tell you which harddrives you have and what they are called. [09:48] use the by-uuid and it should tell you just that one harddrive you have. [09:48] stoiss: yes, but i don't know on which partition grub is installed [09:49] epitavy, you dont install grub to a partition. you install it to a disk. so if you only have one drive in your computer and its an ssd it would likely be sda [09:50] stoiss: oh ok ^^ misunderstood that [09:50] what youre looking for is something like /dev/sda or /dev/hd0 or something similar [09:51] jeremy31: yes you are right! [09:52] i got: error: failed to get canonical path of /cow [09:53] epitavy: you have to mount the install and likely /boot and others, then chroot to reinstall grub. I am not sure how with lvm [09:53] I believe the grub should find the lvm mount [09:54] jeremy31: i really don't know how to do this, can you help me? [09:54] https://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow theres a guide here [09:55] i just created a partition on sda and now it is so complicated [09:55] you created a partition ?? [09:55] how many partitions do you have ?? Is /home on a seperate partition ? [09:58] i created the sd3 partition ealier [09:58] this is the root of my problem [09:58] epitavy: Is there a /boot partition? [09:59] jeremy31: yes, i'm following this https://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow [10:00] epitavy, theres a better and more simple way here https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/ [10:01] it is graphical. perhaps it will work better [10:02] okay thanks [10:18] stoiss: the gui grub repair doesn't work, my grub is still broken [10:19] epitavy, allright. Whats the device name of your boot partition ? [10:19] is it like /dev/sda1 or something ? [10:19] yes /dev/sda [10:20] allright then try this in a terminal sudo grub-install /dev/sda [10:20] see if that works [10:20] i have the "fqil to get canonical path of cow" error [10:21] may be the problem is because i use lvm [10:22] it seems more like you need to first mount your boot partition then chroot to it [10:24] how can i be sure that my mount partition is sda? i'm little confused [10:25] first ssd on your computer will be sda second will be sdb and so on. [10:25] ok so it's sda [10:25] first partition on your first ssd disk will then be /dev/sda1 then second partition will be /dev/sda2 [10:25] sda is the harddrive - the ssd itself. sda1 is the first partition on your first ssd disk [10:27] what you need to do is to mount your / partition. The one that is already installed. then change root to the mountpoint [10:27] epitavy: post url from terminal for> sudo parted -l | nc termbin.com 9999 [10:30] jeremy31: I got could not stat device - - no such file or directory [10:31] jeremy31: but if i just run parted, it tells me that i'm using /dev/sda [10:32] epitavy: what partitions in> sudo parted -l [10:33] epitavy: did you try the yannabuntu boot repair? [10:34] jeremy31: yes it did not work [10:34] epitavy: did it quit booting after installing updates and a reboot? [10:35] jeremy31: i ran yannubuntu boot-repair, reboot my computer but the behavior of grub didn't change [10:35] jeremy31: still opens on grub cli [10:36] jeremy31: with parted -l i get two disks, my ssd and the usb flash disk. The ssd has 3 partitions [10:37] epitavy: boot repair should be able to work unless there is an issue with the encrypted partition [10:37] yeah i think the problem is the encrypted partition as well. [10:37] epitavy: is there an EFI system partition? [10:37] I would at this stage consider a reinstall and then perhaps settle for an encrypted home partition instead of full disk [10:38] i resized the partition sda2 to create a third partition sda3, then i rebooted, then grub crashed and i am here now [10:39] jeremy31: yes the first parititon is named EFI system partition and has the flags boot, esp [10:39] wait [10:39] you resized sda2 ? what was on that sda2 ? [10:39] was that by any chance the encrypted volumen ? [10:39] i do not understand what you mean by "encrypted" partition [10:40] LVM [10:40] was the LVM on the sda2 ? [10:40] I have to go [10:40] yes [10:40] jeremy31: ok bye, thank you for you time [10:40] I do believe thats the problem then [10:41] is it hard to fix? [10:44] If im not entirely mistaken here. Chances are your LVM was resized wrong and is now botched. But i COULD be wrong. I would really consider simply taking a backup of everything i could using a live usb and then reinstalling. [10:45] do i finish this? [10:47] stoiss: ok i'll do this ^^ [10:48] stoiss: basically i can cp my $home directory to a pen drive? [10:49] Yes. [10:49] Excuse me, can I find out? I registered in NickServ and how to understand? [10:49] But if it was me id just take the filed id need. === not_phunyguy is now known as phunyguy [10:51] aikkostas, thats fairly easy. are you using the name now that you think youre registered as ? [10:52] help me pls! i dont understand! i registered on NickServ or NO ? [10:52] you might be [10:52] if you registered as that name youre using right now then you would be forced to change name if you werent registered [10:53] youre in moscow arent you aikkostas ? [10:54] yeap [10:54] i m from Russia [10:55] Great the at least my tools does work. [10:55] stoiss: thank you for your help, i am quiete disappointed because i did not understand what i missed ^^ [10:55] allright. well if you werent registered with nickserv then you would be forced to change your name as it would be registered but without you verifying that its to you [10:56] epitavy, youre welcome [10:59] stoiss: last question, how can i fetch file from ssd from the live unbuntu? [11:00] epitavy, isnt your ssd mounting automatically when youre on your live ubuntu ? [11:00] stoiss: i think no [11:01] open the file browser. isnt it listed in the pane in the left side ? [11:01] it should have an eject icon next to it [11:02] By the way, how to install AMD driver for RX 550 in Ubuntu [11:03] Just the nvidia driver is there [11:03] in ubuntu you can chose to use propritary drivers. allthough there no guarantee itll work. for my computer it dosnt work. [11:04] are u using gpu by amd? [11:05] stoiss: i have to pen drive pluged: one with the live ubuntu, one to copy my files. In the file browser i have my 2 pen drive my eject icon + two other volume: File System with the live xubuntu and one named "11 GB Volume" on which there is nothing accesible [11:05] epitavy, you encrypted the lvm didnt you ? [11:05] stoiss: no i didn't [11:06] stoiss: maybe it is but i did not do that manually [11:08] hm Im quite sure the problem is that you altered the partition on an lvm which means your system now cant find the partition properly because you took parts of a partition that had files [11:08] im fairly sure that your system is gone by now [11:08] I have a graphic tablet HUION 420X and when I join it to a computer with Linux Mint my tablet does not work! Reason and how to fix [11:10] excuse me HUION 420H [11:11] stoiss: so sad for me... [11:11] epitavy, well at least thats what i think happened. Until you get more used to linux id recommend keeping backups of your files on a seperate media [11:12] yep i would do that [11:16] stoiss: apparently i can fix this by resizing the parition [11:17] epitavy, you mean fix it by resizing it back ?? That shouldnt be possible to fix it like that but its worth a shot [11:17] stoiss: lvsan show me a warning asking if volume was resized [11:17] How can I select line input (not micrphone) in arecord? [11:17] epitavy, ah ok [11:31] Hi folks === morphis9 is now known as morphis === capella_ is now known as capella [14:04] a 16.04, is this.. cause for concern? https://i.imgur.com/O04YrLC.png [14:04] console-kit-daemon creating a ton of threads [14:08] Я здесь: Гродно, Беларусь [14:08] hans_: no [14:08] !ru | furaidi [14:08] furaidi: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. [14:09] Sorry, missclicked in android client [14:09] leftyfb, Just curious. What does console-kit-daemon do? And why so many threads? [14:22] hans_: the high uptime may be, though. [14:23] tomreyn, i believe the uptime is legit - it's not running Canonical LivePatch tho, so yeah, the kernel is probably old & unpatched & vulnerable to god knows what [14:34] Hello, I need help to create a partition on LVM. I'm not sure about the process and don't want to kill my disk [14:38] epitavy: "don't want to kill my disk" -> don't want to lose any existing partitions? [14:39] oceanquake: yes, i wanted to create a partition with cfdisk earlier but completly kill the existing partition [14:39] kill or killed? [14:39] killed [14:39] i repaired that already [14:40] oceanquake: i want to create a partition mountable for LFS actually [14:43] epitavy: generally one does NOT create partitions when using LVM. You 'tag' a disk/partition using 'pvcreate' then assign it to a Volume Group (VG) name and then allocate (some of the) VG space to one or more Logical Volumes (LVs) which are then generally formatted with a file-system [14:44] TJ: can you help me to do this? I'm not confident with lvm [14:44] Agreed, I think one _can_ do it though (assing a parition to a PV) [14:45] epitavy: e.g: "pvcreate /dev/sdz4; vgcreate MyVGName /dev/sdz4; lvcreate -n MyFirstLV -l 25%FREE MyVGName; mkfs.ext4 -L MyFSlabel /dev/mapper/MyVGName-MyFirstLV " [14:46] epitavy: at which point you might do "mkdir -p /mnt/test; mount /dev/mapper/MyVGName-MyFirstLV /mnt/test" and then you've a writable file-system so "touch /mnt/test/I_was_definitely_here" will create an (empty) file in the new file-system. [14:47] TJ-: ok, thanks a lot, i think i can do it know! [14:47] epitavy: in my example I assume a SCSI Disk device /dev/sdz that has at least 4 partitions (sdz4) which will be used by LVM [14:49] epitavy: in the "lvcreate ..." step you can use either "-l " or "-L" size in Tera/Mega/Kilo-bytes to specify the space to use. "vgdisplay" will report the used/free extends/space of the parent VG - all these commands will require 'sudo' [14:49] TJ-: i'm not sure about the partition on which i can use pvcreate [14:49] epitavy: You need to use a free one that currently isn't used. [14:50] epitavy: whatever underlying partition you use, its contents will be over-written [14:50] i don't have free partition i have have no more free place (lvm uses all the memory available with sda2) [14:51] epitavy: so "sudo vgdisplay" shows zero free extents/space ? [14:51] yep [14:52] epitavy: if you are running GUI, there are graphical parted-based interfaces that show you the layout as you proceed [14:52] epitavy: how many LVs in the VG? any of them have file-systems with free space? if they're mounted you can check easily with "df -h" [14:52] oceanquake: should be easier for me ^^which one can i use? [14:54] epitavy: are you running GNOME or KDE? [14:54] epitavy: if you have an file-system with free space you can use "lvreduce --resizefs MyVG/MYLV ..." (more options) on an unmounted LV to release some of that free space back to the parent VG [14:54] TJ-: there is my main vg with 100 Gio available [14:54] oceanquake: i run XFCE [14:55] TJ-: it is a bit too complicated for me, i think i will used a GUI [14:55] epitavy: try GParted [14:55] epitavy: so you could do something like "lvreduce --resizefs --size -80G MyVG/MyLV" to free 80GB back to the VG which can then be used by 'lvcreate' to create additional LVs [14:56] epitavy: I don't know of any GUI that can handle LVM correctly in this way. [14:56] TJ-: i will follow your step [14:57] TJ-: fyi, i need about 10G to create a LFS [14:58] TJ-: not disputing the value of understanding LVM commands and volume mgmt, but are you sure parted doesn't let you do things like resize LVs? [14:59] oceanquake: parted? eeek, stay well away from that when it comes to LVM! parted has no concept of it at all [14:59] I think I last tried in January, and was pretty sure it did. [14:59] TJ-: that wasn't true as of earlier this year [15:00] oceanquake: possibly gparted might though, although not sure how much control it allows, via the lvm libraries [15:02] how can i unmount the the filesystem on which i am? [15:02] TJ-: the only complaint I had about doing it via KDE Partition Mgr (which I think is pretty comparable to GParted) was that the graphical partition display didn't match the physical layout in terms of sequence of volumes on logical blocks (which is also true for the lvm commands unless I think you use pvdisplay). [15:02] epitavy, boot the system from a usb stick [15:02] compdoc: thanks ^^ [15:04] I have a script I can deploy into initramfs that will do a programmed resize on the root-fs during boot which makes these kind of jobs trivial [15:05] i really know nothing about linux, i prefer understand what i do [15:06] epitavy: If you want to understand to a deeper level, usually the CLI gets you closer to the underlying complexity :) [15:06] oceanquake: yes i'll use the cli, even if i take me one hour to create this lv [15:07] epitavy: you've got to go through 4 steps: 1) reduce the size of a file-system 2) reduce the size of the LV containing that file-system to match (this done using "lvreduce ...") and 3) use the space released to the parent VG to "lvcreate ..." a new LV and 4) format the new LV [15:08] TJ-: totaly understood [15:08] TJ-: totaly understood [15:08] epitavy: if the file-system you need to release space from is active and cannot be unmounted (such as the root file-system) then you've got to boot from an alternate install such as the LiveISO on a USB/DVD-ROM in order to do it [15:08] TJ-: i boot my computer on xubuntu live [15:08] epitavy: sounds good to me :) [15:09] TJ-: now i need to reduce the fs size right? [15:10] epitavy: this does illustrate one of the problems of the Ubuntu installer. Up until recently, when creating an LVM install it used 100% of the VG space so there was nothing free for such operations as this, or for snapshots and other great functions of LVM. Recently the installer has become a little more sensible :) [15:11] epitavy: Yes, you can reduce file-system and LV in one step with "lvreduce --fsresize --resize -XXG VG/LV" where "XX" is some number of (GB) [15:11] epitavy: the "--resize -X..." means deduct X from the currently used space (if the file-system has enough free of course!) [15:12] epitavy: don't miss that all-important minus/negative symbol before the number. If you do, it'll be like saying reduce size to the absolute X GB, not knock off X GB :) [15:12] How do I install Ubuntu 18 WITHOUT Netplan? I don't now how to use/apply "netcfg/do_not_use_netplan" when booting from ISO? [15:13] orbiter: "netcfg/do_not_use_netplan" is a "preseed" dconf option [15:13] TJ-: yep :) [15:14] TJ- OK, how does that help me? all I want is to install Ubuntu without Netplan [15:14] however it is done, I want it :-) [15:14] orbiter: install Ubuntu then "apt remove netplan.io " [15:15] no, I don't want it to be installed in the first place - how can I make use of the preseed dconf in order to do that? build my own image or something? [15:15] hey guys, how do I install a p12 certificate on linux? [15:15] or how do I convert it to the native type [15:16] orbiter: netplan.io is part of the squashfs image that is copied to the target system. "netcfg/do_not_use_netplan" doesn't stop it being installed it just disables its use. [15:17] INSANU: see https://stackoverflow.com/questions/36133076/how-to-extract-certificate-from-p12-pfx-file-using-keytool-commands [15:17] INSANU: if you don't have keytool but have openssl you can use that similarly [15:18] TJ- but it doesn't install and use ifupdown afterwards either, right? [15:18] so* [15:18] INSANU: as in https://stackoverflow.com/questions/8500475/working-with-openssl-to-extract-information-from-a-pkcs12-certificate [15:18] orbiter, why do you need to disable netplan? [15:18] TJ-: operation succeful :) The right command was lvreduce --resizefs --size -XXG VG/LV [15:19] orbiter: Ubuntu no longer used ifupdow. For desktop installs it used NetworkManager, for server installs it uses systemd-networkd [15:19] epitavy: nice, so now "vgdisplay" shows some free extents/space in VG ? [15:19] TJ-: yes it's good [15:22] TJ-: in the man of lvcreate i see multiple types of lv, which one should i use? [15:23] epitavy: you mean like striped, mirrored? unless you're doing something special no need to specify anything. The default is a plain linear block device just like a regular disk or partition [15:24] TJ-: yes i mean that [15:24] epitavy: it should be sufficient to just specify the name "-n" of the LV and the size "-L XXG" [15:24] TJ-: thank you [15:24] epitavy: as in "lvcreate -n myLV -L 20G VG! [15:24] oops, " not ! there [15:24] TJ-: ok i do it now [15:26] TJ-: done ! next step is to format the fs on the new lv, right? [15:27] epitavy: correct, something like "mkfs.ext4 -L my_label /dev/mapper/VG-LV" [15:28] epitavy: or the alternate, "mkfs.ext4 -L my_label /dev/VG/LV" [15:28] epitavy: these are all just convenient symbolic links to the correct /dev/dm-? block device node [15:28] TJ-: mapper is a directory only used for lvm? [15:29] epitavy: only used by device-mapper. D-M originated as part of LVM but has other used now so isn't limited to only LVM [15:29] s/used/used/ [15:29] grrr, my typing! s/used/uses/ [15:30] epitavy: e.g. crypto devices will have a node under /dev/mapper/ [15:31] TJ-: hum ok ^^ [15:31] what is the -L option you specified in the mkfs command? [15:32] found [15:33] TJ-: so now i can mount my lv like any volume and use it as in? [15:34] epitavy: yes [15:34] epitavy: -L label [15:37] TJ-: thank you for all you help! I can now dive in LFS ;) [15:43] Question, rsyslog is the default syslog daemon right? How does that interact with journald exactly? [15:44] Because I wanted to set some per app log files under /etc/rsyslog.conf but not sure how it's interacting with journald. [15:46] aleph-: journald is piping to rsyslogd [15:47] Gotcha, hmm is rsyslogd meant to be masked by default on fresh 18.04 installs? [15:47] aleph-: see the output of "systemctl cat syslog.socket" [15:48] aleph-: I don't think so, here it shows Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled) [15:48] Any ideas for why the syslog would all of a sudden stop being written to and be empty for days. Had this happen on Saturday on two seperate machines at the same time [15:48] Oh huh nevermind, someone masked on only my dev server. Thought it applied to infra wide since I don't remember touching thta [15:49] DigitalisAkujin: logrotate problems? [15:49] I’m not even sure if it’s logrotate [15:49] The other logs are rotating fine [15:49] and old files for syslog are there [15:50] I wrote a quick test php script but the file remains at 0 bytes [15:50] DigitalisAkujin: ironicially... you'd have to examine the log files for clues :) possibly "journalctl -b --since 'last friday' " might help get you started as to when/why something went wrong [15:54] I [15:54] I’m seeing lots of Jul 25 00:02:23 ip-172-31-65-57 systemd-journald[23002]: Forwarding to syslog missed 2 messages. [15:57] DigitalisAkujin: its also useful for volunteers if you pastebin the whole journal, maybe they can find something for you [15:58] it’s tens of thousands of lines [16:00] Here’s an example from today [16:00] https://pastebin.com/raw/wTkTJK7R [16:00] | /dev/xvda1 7.7G 6.2G 1.6G 80% / [16:01] I’m thinking maybe it’s hitting a limit on storage??? [16:01] oh well it’s lunch time :P [16:14] hi, tor gives this error, how can i fix it? tor.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing. [16:22] hi all. I'm attempting to compile a Rust package via cargo. After about 15 mins of full 100% cpu usage, I got an error on the last bit. it looks like there's a missing dependency, `lncursesw`, which I have verified is installed (as libncurses5-dev). Any insights on the error codes here? https://paste.ubuntu.com/p/bWbQv3vtzJ/ [16:22] deadmarshal: is this tor from ubuntu? which ubuntu version? [16:23] tomreyn: ubuntu 19.04 , i installed it with sudo apt install tor. [16:24] deadmarshal: which command produced the error you posted? [16:26] tomreyn: sudo systemctl enable tor.service [16:28] deadmarshal: hmm, why you don't need to run this when the package already provides a systemd service which is enabled by default. also the service should get started automatically during the package installation. [16:28] deadmarshal: please show the url returned by apt-cache policy tor [16:28] deadmarshal: actually this apt-cache policy tor | nc termbin.com 9999 [16:29] nicomachus: you said you verified you have the -dev package installed, but it appears to be failing at the link step which is looking for the library binary itself. do you have, e.g., lib64ncursesw6 installed? [16:29] tomreyn: https://termbin.com/4jtr [16:30] oceanquake: it appears I missed a w [16:36] deadmarshal: i just installed tor on kubuntu 19.04 and the service did start up fine. [16:36] deadmarshal: does the service not already work for you? [16:42] tomreyn: it says they are not to be enabled with systemctl. [16:42] some config files named: wantedby, requiredby, also, alias ..... [16:43] deadmarshal: what says what is not to be enabled with systemctl? [16:47] deadmarshal: show what you read (on a !pastebin), explain what you did. [16:47] !pastebin [16:47] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. === bitauger_ is now known as bitauger === davidkrauser_ is now known as davidkrauser [16:49] tomreyn: https://paste.ubuntu.com/p/GgWzhQ6Jdn/ [16:49] is it not possible to view firefox sqlite dbs? sqlitebrowser says they are all invalid file formats. [16:50] so graphics seems a bit better so far on this machine with a newer kernel; I'd like to try being able to hibernate the system instead of just suspend-to-ram. I'm on 18.04. There doesn't appear to be an official document on how to do this, just a number of posts on askubuntu. Is there a recommended guide for how to set this up? As a complication, I have an encrypted root and swap. [16:50] kinghat: you can definitely view ffox sqlite files, I've done it before [16:51] ive even copied one to a new location in case it was locked or something. still cant view it with sqlitebrowser [16:51] tomreyn: deadmarshal I think tor.service is actually a symlink for the template tor@.service [16:51] kinghat: file thedbfile says what? [16:52] huh? [16:52] kinghat: he's asking you for the output of when you run the "file" command against the .sqlite file [16:52] TJ- lordcirth netplan does not support macvtap for KVM [16:53] well, I assumed he, probably need to be more 21st century about this and not assume [16:53] tomreyn: the problem is with some config files: https://paste.ubuntu.com/p/HY8RtkZbxf/ [16:53] i don't know how to fix it [16:54] tarzeau: https://paste.debian.net/hidden/18f1d886/ === AvidWolf43_ is now known as AvidWolf43 [16:56] which is a security and performance problem TJ- lordcirth - links: https://sreeninet.wordpress.com/2016/05/29/macvlan-and-ipvlan/ https://bugs.launchpad.net/netplan/+bug/1664847 https://netplan.io/faq#how-to-go-back-to-ifupdown [16:56] Launchpad bug 1664847 in netplan "[Wishlist] Support macvlan/macvtap interfaces" [Wishlist,Triaged] [16:57] kinghat: and sqlite3 your.db .dump ? [16:58] "command sqlite3 not found" [16:59] kinghat: install it? [16:59] deadmarshal: did you edit the unit file, though? maybe just purge tor and reinstall it. [16:59] i'm having some problems with coreutils 8.28 sort handling unicode text (japanese kana, specifically). https://pastebin.com/wqLrfrv0 is to setup the environment for you to test, and https://pastebin.com/KEW1teci is the output on my machine [16:59] tarzeau: is this because i installed sqlitebrowser via snap? [17:00] kinghat: no it is not related to the sqlite3 command apart from working with the same type of files [17:00] also, how is ff making the db w/o sqlite3? [17:00] kinghat: it's called a sqlite3 library with API [17:00] tomreyn: i tried to purge, but it says because that config file is corrupted it can't uninstall tor and gives error. i'll post error in paste [17:01] kinghat: via a library, not a user interface binary [17:02] tomreyn: https://paste.ubuntu.com/p/hZJHz8zKmf/ [17:02] tarzeau: the dump is too large for the terminal [17:02] kinghat: which probably means the sqlite content is all there [17:03] i just want to view it in the sqlitebrowser [17:04] kinghat: what does the sqlitebrowser say when you try to open it? [17:05] invalid file format [17:05] and when you do `file filename.sqlite` [17:06] deadmarshal: try to sudo apt install --reinstall tor torsocks tor-geoipdb first of all. [17:06] https://paste.debian.net/hidden/18f1d886/ [17:08] you could try a `.dump` command in a `sqlite3 places.sqlite` prompt [17:09] ya it dumps fine [17:09] then take the dump and write it to a new .sqlite file? [17:09] tomreyn: https://paste.ubuntu.com/p/pNDkscwp9J/ [17:15] deadmarshal: tell me which manual modifications you made before the issues starting occurring [17:20] deadmarshal: it's food o'clock here, i'll be back in ~1 hour. feel free to sum up the issue for someone else to look into it in the meantime (or we can continue later). [17:22] no pay while gone there tomreyn [17:23] deadmarshal: worst-case scenario, you manually download the .deb file from apt, place tor.prerm in /var/lib/dpkg/info/ from the control archive, then purge and reinstall tor [17:24] deadmarshal: in fact, do a `ls /var/lib/dpkg/info/tor.*` [17:26] rigel_: https://termbin.com/hwg1 [17:26] tomreyn: thanks, happy eating xD [17:30] hi, does anyone know if one can make a PR to update the Ubuntu Software store descriptions? is there a repo somewhere? [17:31] Hi [17:31] jcrben: you want to contribute to ubuntu? [17:32] I'm trying to install Ubuntu Server, but whenever I click on "Install Ubuntu Server" in the bootloader, it hangs [17:32] lord4163: come join to #ubuntu-server please [17:33] lotuspsychje: not a long-term commitment, but I want to make a small update to one of the store's descriptions, as discussed in https://forum.snapcraft.io/t/network-manager-broken-for-desktop-ubuntu/12512/21?u=jcrben [17:36] jcrben: there are plans to divide snaps from the ubuntu software, maybe wait until they are seperated? [17:36] deadmarshal: the thing that's bugging me in the --reinstall error is that tor.prerm shouldn't know what tor_error_init is anyway, given that i could only find it's definition in tor.postinst so you could copy that definition from /var/lib/dpkg/info/tor.postinst circa line 137, and paste it into tor.prerm before the if condition on line 4 (beware that this is an extremely hacky approach) [17:37] lotuspsychje: I didn't know that and I guess I could hold off on updating that store description, but my interest in knowing how to make PRs to update these descriptions stands regardless [17:37] jcrben: to gnome software or snapstore snap, or both? [17:38] lotuspsychje: the store descriptions in particular - both. if the text is in a database, then clearly it'd be hard to make a PR - curious to know if that's the case [17:38] also, nobody in that thread has mentioned pulling snaps out of the software store; interested in learning more about where that conversation takes place [17:40] jcrben: https://www.omgubuntu.co.uk/2019/07/devs-want-to-drop-snap-support-from-gnome-software [17:42] any idea why this would happen? systemd-journald[23002]: Forwarding to syslog missed 5 messages. [17:43] jcrben: im not sure where to change the description myself, the contact of snap-store is: contact: https://bugs.launchpad.net/snap-store/ maybe as a wishlist bug? [17:44] jcrben: for gnome-software i think thats gonna be the gnome guys [17:45] lotuspsychje: thanks. sounds like all this data is prolly in a db which makes contributing updates difficult [17:46] for open-source communities, metadata about something like apps in text files which allow for PRs makes more sense to me [17:47] !info app-install-data | jcrben: I *think* that data is in this, and related, packages [17:47] jcrben: I *think* that data is in this, and related, packages: app-install-data (source: app-install-data-ubuntu): Ubuntu applications (data files). In component main, is optional. Version 15.10 (bionic), package size 14694 kB, installed size 45266 kB [17:48] DigitalisAkujin: presumably rsyslog didn't read the socket fast enough [17:49] On Friday both of these servers basically stopped writing to syslog and syslog is currently 0 bytes [17:49] Hard disk is not full [17:49] Permissions look right [17:49] TJ-: thanks! so this is a chance for me to maybe understand a bit more about how to contribute to Ubuntu - any idea how I would track down the repo for that? maybe one of the branches in https://code.launchpad.net/ubuntu? [17:50] !contribute | jcrben see also [17:50] jcrben see also: To contribute and help out with Ubuntu, see http://community.ubuntu.com and https://wiki.ubuntu.com/ContributeToUbuntu [17:51] jcrben: there is also #ubuntu-devel for ubuntu developing [17:51] I restarted rsyslog and now they are both good again [17:51] so weird [17:55] lotuspsychje: it sounds like making small fixes without a big commitment might not be part of the Ubuntu contribution culture, but I'll swing by #ubuntu-devel and try to learn more [17:56] jcrben: you can find details of all *source* packages at https://launchpad.net/ubuntu/+source/ e.g. in this case https://launchpad.net/ubuntu/+source/app-install-data-ubuntu [17:56] jcrben: however the *code* sub-section may NOT be current if the package is managed in some other way by its maintainers, so don't be surprised to not find the most recent source there! [17:56] jcrben: even small edits help the community, so we also thank you for it [18:01] jcrben: I *think* this is the most recent code: https://git.launchpad.net/ubuntu/+source/app-install-data-ubuntu/commit/?id=ec2665227d28e71d452117aa03fd9c544bb97363 [18:02] TJ-: I'm looking at https://bazaar.launchpad.net/~ubuntu-core-dev/app-install-data-ubuntu/ubuntu/view/head:/menu-data/network-manager-gnome:nm-applet.desktop but it doesn't have the text description (seen at https://snapcraft.io/network-manager) [18:02] Are snaps even worth messing with? [18:02] it seems like there are perpetual issues with snapd stuff [18:02] SuperLag: we dont really take polls here, come to #ubuntu-discuss please [18:03] jcrben: this looks like the most recent *change* to that: https://git.launchpad.net/ubuntu/+source/app-install-data-ubuntu/diff/menu-data/network-manager-gnome:nm-applet.desktop?id=ec2665227d28e71d452117aa03fd9c544bb97363 [18:03] that wasn't a poll [18:03] but whatever [18:04] TJ-: thanks, still doesn't have the description... hmm [18:04] jcrben: and *this* looks like the most recent complete file https://git.launchpad.net/ubuntu/+source/app-install-data-ubuntu/tree/menu-data/network-manager-gnome:nm-applet.desktop?id=ec2665227d28e71d452117aa03fd9c544bb97363 [18:04] jcrben: possibly this may be due to the differences between the app-data from native Gnome apps and this -ubuntu specific... or maybe I'm totally wrong about app-install-data being the source of what you're looking for! [18:05] TJ-: seems like it's part of the data, but not all [18:05] why is there a device for each of my snap apps? http://dpaste.com/33H9BYJ [18:06] jcrben: maybe data is merged from multiple sources by gnome-software... I know I've seen "apt update" fetch app-data files but never taken much notice [18:06] TJ- jcrben to edit things, one need to be part of a team somewhere right? [18:06] deadmarshal: i'm back, let me know if you're still working out the tor package. [18:07] lotuspsychje: ideally, and for more and more projects these days, you only need to be a team member to merge [18:07] lotuspsychje: so someone else can do a bunch of the grunt work of cloning, updating, and then submit it for approval... [18:07] i see [18:09] seven-eleven: because that's how snaps work, they create a loop mount. [18:10] more precisely, they are images, are mounted as loop mounts by snapd. [18:12] oh gotcha [18:14] TJ-: yeah, I guess I'll give up. if there was a way to search the entire source tree for the text, we'd find it. but my searches pull up nothing [18:15] DigitalisAkujin: i imagine network time protocol synchronization issues could cause such. [18:18] TJ-: fyi, the snapcraft.io website is actually on github https://github.com/canonical-web-and-design/snapcraft.io [18:23] tomreyn: it's problem is with systemd, how can i stop systemd? [18:23] i uninstalled the files in dpkg folder and reinstalled but it's still faulty [18:25] deadmarshal: you don't stop systemd (unless you shut down the computer), it's the init process, PID 1. [18:27] tomreyn: oh |: [18:27] deadmarshal: maybe the entire issue is because you're trying to set tor up as an sysv service (the init service ubuntu used looong looong time ago)? [18:27] how should i start it? [18:28] it starts by itself [18:28] jcrben: yes, several Canonical project 'upstreams' are hosted on github [18:28] deadmarshal: all you need to do is to install the packge, and read its documentation on how to make use of tor. [18:29] tomreyn: ok [18:29] deadmarshal: also note that tor developers recommend you use their apt repository instead. but this won't make a difference in terms of the init system. [18:30] deadmarshal: what version of ubuntu is it anyway? [18:30] my pptp vpn doesn't connect, it gets stuck at connecting, what is the problem? [18:30] rigel_: 19.04 [18:31] deadmarshal: any logs for it in /var/log? [18:33] Superlag: https://paste.ubuntu.com/p/nfxZqpmXFp/ [18:34] deadmarshal: do not run the "tor" command, there's no need to do it, the service starts up automatically. [18:34] (and this is not about a pptp vpn) [18:35] i wrote tor to get it's output to show superlag [18:35] i did wrong? :| [18:36] we could not tell, but that's not what this error is about [18:36] Tor is trying to establish a connection. This may take long for some minutes. Please wait [18:36] i guess it's working now [18:37] how can i see output of it's buffer? [18:38] if you mean the output: it logs to the systemd journal (use journalctl -f) / syslog (use tail -f /var/log/syslog) [18:40] tomreyn: in output there is no mention of tor [18:40] deadmarshal: output of what? [18:41] coreutils 8.28 sort seems to be inconsistent for unicode (japanese kana/kanji) characters. the environment and results of a diff are on https://paste.ubuntu.com/p/ZjyhcGpmDP/ [18:41] tomreyn: tail -f /var/log/syslog [18:41] the diff on the sorted sequences should be empty [18:41] and also journalctl -f [18:41] Does some of you use yadm or something similar to sync dotfiles with github? Can you please help me set it up? I dont have any specific question as I am not 100% certain how it's supposed to work. I have installed yadm and created a repository. [18:42] tomreyn: see this https://paste.ubuntu.com/p/s8CKWxMxGN/ [18:42] deadmarshal: tor doesn't log anything during normal operation, only while it starts up and stops and when switching relays. [18:42] Is there a way to change my apt sources to more current? ie, I want to update libreoffice for a security patch but the most recent in sources is a few versions behind (18.04 here) [18:43] tomreyn: for me it doesn't even start [18:43] I should correct that, I know there is a way, can someone point me to a doc that explains this? lol [18:43] pjs, you can upgrade to 19.04? [18:43] pjs: the developers of the project may provide something more current, but the ubuntu official repos are the latest you can get [18:43] deadmarshal: last time you posted this it was the output of the "tor" command you ran manually (which you should not). tor then failed to start because another tor process was already running and had already bound to the tor port. [18:44] pjs: do you mean these issues? https://usn.ubuntu.com/4063-1/ [18:44] rigel_: OK, I downloaded the .deb from libreoffice but wasn't sure if that would create any issues with the system itself. I thought there was like "stable" and "current" mirrors, where stable is updated quarterly [18:44] pjs: Ubuntu packages (in main component) get security patches backported [18:44] pjs: or try the libreoffice snap [18:44] TJ-, ah great. I didn't know that. That's actually fine with me [18:44] pjs: e.g. doing "apt-get changelog libreoffice" will show changes [18:45] pjs: no, a newer .dev will overwrite the apt installation, but will also get updated as needed [18:45] deadmarshal: what makes you think that tor is not already running and operating fine? [18:45] tomreyn: if another tor instance is running, why it doesn't show any output in those commands you said? [18:45] pjs: and you'll see several security updates [18:45] pjs, what version are you running? [18:45] deadmarshal: i already explained this. [18:45] sarnold: yes, that's the one. Thank you :) Looks like I'm already ok [18:46] deadmarshal: tor doesn't log anything during normal operation, only while it starts up and stops and when switching relays. [18:46] tomreyn: i know, you say only when it starts and stops, if it had started, it would say tor has started. [18:47] TJ-, oh great. Thanks for that. [18:47] Aavar: 18.04 [18:47] pjs, I was thinking about the version of libreoffice, but it seems you are good :) [18:47] Aavar: oh, of libreoffice, I have the most recent in Ubuntu which includes the patch - libreoffice (1:6.0.7-0ubuntu0.18.04.8) [18:49] :) [18:49] deadmarshal: yes, it would say so somewhere in the systemd journal / in syslog then. the commands i provided you with list the last couple of lines of these logs, then follow them to print newly added lines. the do not show the full log. [18:51] Howdy! I'm trying to export /var/lib from a liveCD (Ubuntu 18.04 Desktop) using NFS, but I get the message "exportfs: /var/lib does not support NFS export". This comes from the squashfs from the livecd... From my investigation, squashfs should be able to be NFS exported, unless -no-exports is used during mksquashfs. How can I tell if Ubuntu uses it during mksquashfs in its ISO? Any other pointers on how to accomplish the [18:51] NFS Export of that filesystem? [18:53] fabiomirmar: could you discuss why you're trying to create an NFS export (of /var/lib) on an installer / 'try-before-you-install' image in the first place? [18:55] tomreyn: This was a request I received from a customer. I'm still trying to understand the reasoning behind that, but while I don't receive his answer, I decided to give it a try with the Ubuntu LiveCD and see what happened [18:56] i see. personally i'd wait for them to respond with such a somewhat unsual request. [18:56] fabiomirmar: "grep -rn -- -no-export ." in the live-build source doesn't find anything, and I cannot find anything else with "grep -rn MKSQUASHFS_OPTIONS . " either [18:58] TJ-: I used "unsquashfs -s filesystem.squashfs" and I can see "Filesystem is exportable via NFS" which makes me even more confusing as why I'm not able to export that [18:59] fabiomirmar: is it because / is an overlayfs (which allows writing to it) ? [19:00] TJ-: I thought it could be related to the overlayfs and then I tried to [19:00] mount -t overlay overlay -o lowerdir=/var/lib,upperdir=/tmpoverlay/upper,workdir=/tmpoverlay/work -o nfs_export=on -o index=on /shared [19:01] And export /shared... but I get the following on dmesg: [19:01] [ 3467.355362] overlayfs: fs on '/var/lib' does not support file handles, falling back to index=off,nfs_export=off. [19:01] fabiomirmar: how about doing a manual "mount /casper/filesystem.squashfs /mnt/rootfs" and then try exporting /mnt/roots/var/lib ? [19:01] That's what made me think that the problem is actually with the squashfs [19:01] hmm overlay / overlayfs / aufs etc all feel like things that wouldn't be nfsable [19:01] fabiomirmar: nothing stopping you mounting the squashfs in 2 places [19:02] https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt "The upper filesystem will normally be writable and if it is it must support the creation of trusted.* extended attributes, and must provide valid d_type in readdir responses, so NFS is not suitable." [19:03] hello :) [19:03] welcome xerxxx what can we do for you? [19:03] i have some (pretty basic) questions regarding shell scripting, would this be the right place to ask? [19:03] i have tried googling and checking stack overflow but i might be a little too dumb [19:03] TJ-: hmmm, you mean doing that in the live booted image? [19:03] fabiomirmar: i'm not sure whether this quotation applies here, but there are more references to NFS in there. [19:03] xerxxx: we usually focus on ubuntu support questions here [19:03] yeah i mean shell scripting in regards to ubuntu of course [19:04] xerxxx: Ok. Then ask if related to ubuntu. [19:04] thank you, hopefully someone can help me, and if not i am still grateful :) [19:05] im running ubuntu 19.04, not sure if relevant but it is better to mention it than not mentioning it i suppose [19:05] !paste | xerxxx [19:05] xerxxx: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [19:05] thank you tom :D [19:05] just in case ;) [19:09] https://paste.ubuntu.com/p/MgNx28GXTX/ here is my question! :) thanks in advance [19:11] fabiomirmar: Yes [19:11] TJ-: brilliant!! That worked: https://pastebin.ubuntu.com/p/Nk397Qz57G/ [19:11] TJ-: Thank you very much! [19:12] (I'll see if that resolves what my customer is looking for, but I have high confidence that it does) [19:13] fabiomirmar: as long as they don't expect to *write* to it! [19:15] hi. could anyone help me set up a wireless access point with an authentication webpage for my customers? any software any of you already know of? [19:16] TJ-: makes sense... thanks much once more [19:16] xerxxx: something more like the second version: tmux new -s server 'cd /path/to/directory && java ./server.jar' [19:16] sarnold: i think that might be exactly what i need, thank you soooo much [19:16] im a complete novice but when im a little better ill make sure to come here and help other noobs :D [19:18] xerxxx: that's how it goes :) you hang out to learn, then you start noticing you can answer some of the questions, and then before long, more and more.. :) [19:20] indeed y im here [19:24] Swell: can we help you? [19:25] hi [19:25] Welcome, how can we help you? [19:25] may i ask how can i create windows xp bootable usb stick on ubuntu 16.04 ? [19:25] nothing atm, jus watchin [19:26] im a noobie to all this so wouldnt ask anythin that may b obvious to u all [19:26] B|ack0p: there's links to some bootable windows images at the end of https://rufus.ie/ [19:26] ubottu: winusb [19:26] Ubuntu does not have a recommended tool for preparing bootable Windows installation USBs. If you need one, consider using Microsoft's media creation tool from a Windows computer (see ##windows for support). If this is not an option, there are third-party unsupported tools like WoeUSB ( https://github.com/slacka/WoeUSB , sudo snap install --edge woe-usb ) that might work. [19:27] i tried rufus but when i boot from usb it gives NTDETECT failed" error [19:27] notably, Windows XP is unsupported by Microsoft so the media creation tool above won't work [19:27] using Windows XP in 2019 is frankly stupid though, so ¯\_(ツ)_/¯ [19:27] i know but i wanna install it in this old laptop [19:27] dual boot with ubuntu [19:28] well if it is a ThinkPad it worths using even it is very old [19:28] 13 yrs old laptop [19:35] B|ack0p: don't [19:36] leftyfb: what? [19:36] B|ack0p: don't install an OS that the manufacturer has explicitly recommended users do not install/use any longer .... years ago [19:37] leftyfb: so what do u suggest? [19:37] xp online = disaster it will get infected with something in 30 sec if not less.. [19:37] B|ack0p: not installing xp [19:38] just for nostalgia [19:38] B|ack0p: no [19:38] not for serious works [19:38] ok [19:38] also i wanna play old games on it [19:39] B|ack0p: use wine [19:39] B|ack0p: you are in the ubuntu support channel, we advice installing ubuntu [19:40] lotuspsychje: i am on ubuntu and i always install ubuntu [19:40] it is my #1 OS [19:40] on ubuntu at the moment* [19:49] hi, im trying to remove my ssh keys, i deleted the authorized_keys file but it is still sending a publickey to my client, any ideas? [19:50] TeddyMurray: what version of ubuntu? [19:50] 18.04 ? [19:51] TeddyMurray: when you ssh into the machine in question, what is in ~/.ssh/ [19:52] leftfb im using the console from digitalocean to login to the ssh, let me print out ~/.ssh one moment [19:52] TeddyMurray: why are you removing your ssh keys? esp. from a public cloud VM [19:52] authorized_keys id_rsa id_rsa.pub [19:53] TeddyMurray: the DO console might be different from just ssh'ing to the machine. You probably need to contact DO for support with that [19:53] nacc, im locked out of the server i dont have the private key anymore [19:53] TeddyMurray: you don't have your private key anymore? [19:53] TeddyMurray: as you have shown, not only did you not remove the public key, but there's technically 2 there [19:53] no it was on a computer i lost [19:53] TeddyMurray: are you sure you're not confusing the server's keys and your local computer's key? [19:53] TeddyMurray: ah I see [19:53] leftyfb, thanks i will deleete the files, i had emptied the files [19:53] delete* [19:53] TeddyMurray: it also looks like the private key is on the server, which is VERY bad [19:54] ah removed [19:54] removed all three files, same error, do i need to restart the ssh daemon? [19:54] TeddyMurray: what error do you get? [19:55] No supported authentication methods available(server sent: publickey) [19:55] TeddyMurray: you have to either add anew ssh key or enable password authentication (for a DO droplet, you would need to set the root password via the cloud panel) [19:56] enable password authenticaiton, i think i need to do this [19:56] will try now, thank you [19:56] Does ubuntu support my laptop finger print? [20:01] Hi - I just installed 18.04 LTS and I've tried many ways to set a root password but nothing works - I'm not sure what I'm doing wrong or what has changed - it's running mysql-server 5.7.26 [20:03] gvvg__: you mean root password for mysql right? Not the root user for the OS [20:03] root password for mysql [20:04] gvvg__: why do you need to set that? [20:05] security? [20:06] gvvg__: https://www.percona.com/blog/2016/03/16/change-user-password-in-mysql-5-7-with-plugin-auth_socket/ [20:06] gvvg__: the default authentication in mysql db's has changed. Please read carefully. [20:07] thanks I will read === aleph- is now known as scruffy [20:11] gvvg__: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#MySQL_5.7 === scruffy is now known as Gilfoyle- [20:13] the password is usually (re)set by dpkg-reconfigure and when set is stored in the debconf database as mysql-server/root_password [20:13] TJ-: you gotta read those articles [20:14] TJ-: mysql uses "auth_socket" for auth by default. If you're connecting to mysql from the same machine, it just lets you in. And you're not able to set a password [20:15] leftyfb: the 'configure' section of /var/lib/dpkg/info/mysql-server-$VER.postinst handles all that [20:18] right [20:18] thanks [20:20] leftyfb, any other ideas? ive removed the ssh keys and Permitted root login, and password aunthentication are enabled. Ive restarted the ssh daemon but still getting the error that the server sent a publickey [20:20] TeddyMurray: yeah, don't do that. Contact DO support at this point [20:21] okay leftyfb thanks [20:21] damn. that sucks. [20:23] is there support for ATI graphics card for ubuntu? [20:23] actually old graphics card ATI mobility radeon x1300 [20:26] B|ack0p: the radeon(4) !man page lists it as supported. [20:28] tomreyn: thx [22:59] something is making my computer super slow, somoene can help me out to figure out? [23:00] fastputty: step one, what's top look like? [23:01] pretty normal to me.. [23:01] cpu is around 0.5% usage on 8 cpu [23:01] in average nothing crazy [23:03] fastputty: alright.. vmstat 1 output, anything crazy there? [23:04] here what i got https://paste.ubuntu.com/p/BjvBB2f7xd/ [23:04] https://paste.ubuntu.com/p/BjvBB2f7xd/ [23:04] oops sorry paste twice.. [23:05] wow that's a steady stream of writing; I wonder what IO is going on.. [23:05] probably mysql master [23:06] is written into a binlog [23:06] fastputty: alright, that's pretty plausible; it might be worth checking it with iotop [23:06] but i have a SSD, why would it be that slow? [23:06] https://paste.ubuntu.com/p/CCRZBFJPVK/ [23:07] speed it actually slow, why it lag? [23:08] No onal like resiouslty? [23:08] the write speed seem really slow no? [23:09] panorain: hi there, what did you mean? [23:09] fastputty: yeah, certainly an ssd ought to be able to do better than that; maybe iostat -dmx 1 -- what size requests is it submitting? [23:11] hmm let me check [23:11] this is weird [23:13] fastputty: it could be that chasing this down isn't really helpful, I jhust saw significantly larger context switches and writes.. that's *usually* some misconfigured service spewing a huge amount of logs :) [23:13] .. and logs usually get a sync() after every single write [23:17] hmmm [23:17] should i reboot the server? [23:18] well.. if you just want to get things going, it's probably a good shot. but I'd hate to not know what's going on [23:18] Not sure if this is the correct place to ask. but will ubuntu mate for raspberry pi 3+ work on pi 4? [23:20] fastputty: sadly the next steps aren't nearly as obvious to me; there's a huge number of tools discussed on http://www.brendangregg.com/linuxperf.html which may be more or less appropriate based on the workload [23:21] wow [23:21] rebooting the server seems to fix the issue [23:22] fastputty: at least now when it's going well, you can get a good idea of what 'normal' should look like [23:24] nnvm it is not faster [23:24] somethign is not wrigh [23:27] lew me check iostat -dmx 1 [23:27] https://paste.ubuntu.com/p/7v67JkrQMR/ [23:28] sarnold this is the result [23:31] fastputty: that 95 utilization is really high .. and it sure looks like it's submitting a bunch of 8kb writes to disk, 300-400 times per second. *what* the heck is it doing? :) [23:31] weird.. [23:31] its mysql ? [23:33] fastputty: you could try perf top to try to guess what mysql's doing by stack traces.. [23:34] fastputty: or perhaps this is an indicator that the drive isn't healthy? how's smartctl look? [23:35] or just dmesgmysql [23:35] or just dmesg [23:35] dang I hoped you had a magic 'understand mysql' command there tomreyn :) [23:36] there are no simple spells for black magic [23:36] how to use smartctl ? [23:36] !smart [23:36] smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [23:37] fastputty: sudo smartctl -x /dev/sda [23:38] anyone know why my headphone jack doesn't recognize as a headphone jack in ubuntu 18 [23:41] hello sorry , i lost internet for a sec [23:42] fastputty: sudo smartctl -x /dev/sda [23:42] fastputty: you might have also missed: < ubottu> smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [23:43] https://paste.ubuntu.com/p/HqPrZX4WJD/ [23:48] oh that's an ssd even, should make a lot more than 2.5 MB / sec then [23:49] wee, got it. Thankfully. I didn't want to screw with some other software. I like Okular a whole hell of a lot. [23:49] yeah so why the hell [23:50] fastputty, can be kind of tricky if you aren't getting the right throughput. [23:50] Best to start trying to eliminate specific layers. [23:51] hey everyone, i'm looking for some advice on man pages, does anyone know of a more interactive version of the man pages? They're sometimes in odd orders [23:51] according to https://www.kingston.com/datasheets/sh103s3_en.pdf this model should do 22,000 IOPS on random writes [23:52] so SSD is failing? [23:52] not according to smartctl, no [23:52] so why the hell lol [23:52] do you trom it? [23:52] nothing on that smartctl stands out to me as problem; I haven't actually seen many drives in trouble, but nothing there seems to scream trouble [23:52] *trim [23:53] this is so freaking weird [23:54] tor browser bundle keeps refusing to install [23:55] every time it returns an error that signature verification has failed [23:55] does anyone know if there's a way to call a specific command when networking comes up every time in Network Manager on 18.04? [23:55] Wayward_Vagabond: /join #tor [23:56] Thanks [23:57] hrm, channel redirects me elsewhere [23:58] oh i think they're on oftc [23:58] irc.oftc.net then. [23:59] so what can i do :( lol