[00:01] bosphi: depends what you clone [00:02] sorry dont follow [00:02] bosphi: also its likely to get corrupted if its not reas=only [00:02] *read- [00:02] I want to make a copy of the entire drive as is [00:02] well [00:02] right [00:02] so [00:03] there is /dev/sd? or /dev/mapper/?, whatever the substrate/encrypted data is, and then there's the decrypted /dev/mapper/? that gets mounted [00:03] the decrypted device is a standard unencrypted filesystem [00:03] the encrypted device ia the datastore it actually lives in === Noisette is now known as Plumette [00:04] cryptroot=/dev/foo:bar root=/dev/mapper/bar I think wouls give you encrypted volume foo w/ volume bar atop it [00:05] so if you dd foo its enc, same pw etc, if bar, its dec [00:05] you are getting a little advanced for me [00:05] What is the simplest way to get a 1:1 copy of a LUKS encrypted installation? [00:06] or is that possible...is it only possible to copy the unlocked volume [00:07] well, you need to at least remount the unlo ked volume read-only [00:07] or unmount it [00:07] well its the system drive [00:08] so is it going to be easier to backup...do a clean encrypted isntall to the new drive...and restore? [00:08] rather than try to clone [00:08] its possible but this soinds like a recipe for a lot of headache if you arent sure...I'd say do a backup either way [00:08] sorry, on a tiny touchscreeen [00:09] * RtMF is without a laptop right now herself *pout* [00:09] Ah no worries. I don't even bother trying on a phone...even a tablet sucks [00:09] so in your opinion a backup retored to a clean encrypted install is best? [00:10] if my goal is to end up with an identical drive basically [00:11] well, neither sounds amazing, if you can boot from a rescue disk, and have both drives connected, then a simple dd if=/dev/sda of=/dev/sdb or whatever your drives are works. jjst make sure you copy from thw right one :) [00:11] do a clean isntall with same passphrase and restore backup etc [00:11] I'll be back soon [00:12] making me nervous ;) so my end goal is to have a LUKS encrypted copy of my system drive I could switch out. Whatever is the best route to do that. [00:14] Ive only ever encrypted with the automatic FDE process on install so am not skilled at manually manipulating much [00:14] dafuq, the ubuntu kernel now takes 392 megabyte... I remember the days with floppyfw where we had linux kernel + busybox + iptables + trafficshaping + scripts in below 1.44 megabyte in total... [00:27] Why does Ubuntu create such a small swap space? It auto installs 2GB on a laptop with 16GB. [00:37] Deihmos: with 16G of memory, you don't need swap [00:37] Don’t you need it for hibernation [00:38] Deihmos: maybe. I'm not sure. My laptop boots plenty fast enough for me to not deal with the garbage fire that is hiberation(in any OS) [00:41] Deihmos: it's a sufficiently sized default. if you want to hibernate, make it larger. [00:47] Hibernation is needed for when it is on battery and sleeping. After some time it hibernates. At least that’s how it works on other OS [00:49] Deihmos: I disable all that. If I'm running that low on battery, it's time to save and close things to be safe and either shut down or scramble for a power cord. Depending on what you have open and running, those applications might not open correctly regardless and you could run out of time before all of them get copied to your swap file [00:52] can I simply drag and drop my home folder to an external drive for a backup or does doing it via rsync or some tool do it more properly? [00:52] bosphi: the latter [00:52] can you ELI5 why? Does it take something or some settings with it that dont happen if you drag and drop? [00:53] ELI5? [00:53] explain like I am 5yo...im not great at linux [00:53] if I had a clean install and dropped a home backup folder into it would it not work properly? [00:53] bosphi: rsync can preserve permissions and file types properly. Also, drag and drop will move, not copy. [00:53] ok sorry I meant copy and paste rather [00:54] so copying the file will NOT preserve those things? [00:55] bosphi: depending on the OS/version of ubuntu that original home directory was from, I might recommend against copying it over a new install wholesale. You could very well run into applications (like your desktop) who's old settings aren't compatible with the new OS/version. [00:55] bosphi: drag and drop will not preserve everything properly, no. [00:55] Yeah I am asking for the purpose of putting a backup into a clean install [00:55] bosphi: cherry pick from it as needed [00:56] I have a luks encrypted system drive I thought I could jsut clone...but is sounds like a clean install and restoring from backup is better? [00:56] reading around its confusing [00:56] always [00:57] so what files should I backup and what can I discard? and what is the best backip method? [00:57] I have used dd before to create bootable drives etc but never to backup...nor rsync [00:57] bosphi: backup all of /home. Then cherry pick what you want from the backup to go back and use rsync to copy it back [01:00] bosphi: Something like: rsync -aiv --exclude=".*" --exclude uwn /home/sysop/ /media/sysop/store/ . [01:00] uwn? [01:01] leftyfb: uwn - a working directory that I do not care to backup :) [01:02] ah, personal stuff left in, got it :) === dl is now known as Guest62482 [01:27] lo [01:31] I just now installed Ubuntu server on a pair of 500G SSDs using a RAID 1 mirror configuration. [01:31] At boot time the system pauses for a long time "Running /scripts/local-premount ..." "Scanning for Btrfs filesystems" [01:31] Then more time Waiting for suspend/resume device ... Running /scripts/local-block. [01:32] I also installed LVM on top of the mdadm software raid. [01:32] I do not have btrfs file systems. Is that long pause timeout there something people see routinely? Any way to debug it and prevent it? [01:32] It does eventually timeout and continue and boot however. [01:32] I've a project that I would like to convert to a .deb file- it has both C++ and Python code. Any suggestions on how I should proceed? [01:34] rwp: you might have to recompile the kernel with btrfs toggled off [01:38] sudo18: uh, no [01:40] rwp: you could try deleting(moving elsewhere as a backup) /usr/share/initramfs-tools/scripts/local-premount/btrfs and running sudo update-initramfs -u [01:41] leftyfb: tthought it sounded cool === xubuntu is now known as Guest54211 [01:42] I wonder if a silent shell script could be used to execute upon install of the .deb [01:42] Kind of a hack [01:42] Heya, folks. I'm gonna be installing Lubuntu 18.04.1 on my new hard drive. When I tried using it before, I could never get it to boot up twice without going through a thumb drive with a different GRUB2. [01:42] rwp: it looks like f you purge the btrfs-tools package then it will remove the call for that module [01:42] macksting, that depends on your bios [01:42] Yeah? [01:42] Well, part of iy [01:42] Hrm. Trying to remember what BIOS this is then. [01:42] it* [01:43] macksting: when did you last try it? [01:43] I think it turned out to have something to do with the wrong size of partition before the partition the OS was installed on. [01:43] Press F2 when the computer starts [01:43] You should use everything on one partition [01:43] Oh. [01:43] macksting: ok, then try installing to the entire drive [01:43] That's the easiest way [01:43] But that, too failed at the time... [01:44] Hrm. [01:44] On install, don't use a guided setup. Do a manual partition [01:44] macksting: do a guided setup [01:44] I think the manual partition's the part I must've messed up. [01:44] Delete it all and set to ext4, mount point "/" and bootable [01:44] Ayier: or just do a guided setup which will do it properly [01:45] * macksting shrugs. [01:45] Well, I can afford to mess this up a few times trying to get it right. [01:45] Yeah, but I personally don't like extra partitions unless the bios requires it [01:45] Which the installer would detect [01:46] And swap files are a whole other can of worms [01:46] I will try the purge of btrfs-tools and see if that avoids the problem Thanks sudo18 and leftyfb. I will try the suggestions and report back. [01:46] Have you tried boot repair macksting? [01:46] I did. It failed utterly. [01:46] I see [01:46] It's been a while, so I don't remember the nature of the failure, but it was thorough. [01:46] I'm mostly hoping to avoid the same problem twice. [01:47] Then do what seems to be the most simple answer. Choose use whole disk, or guided parition [01:47] * macksting nods. [01:47] rwp: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1460447/comments/19 [01:47] Launchpad bug 1460447 in linux (Ubuntu) "Boot slow, "scanning for btrfs filesystems" takes 100 seconds " [High,Confirmed] [01:47] question, accidentally $dd a VERY small iso over an 8TB external.. i know not much of the data is displaced because of the brevity of the interaction. for data recovery what is the best step to take now? [01:47] New drive anyway. That drive was killed by a power hiccup in the snowstorm. [01:47] haha I've installed so many *nxix Os's that I lost count [01:47] Due to failed attempts [01:47] airqualitystanda: your data is gone === airqualitystanda is now known as airquality [01:48] Fails are a good learning opportunity though [01:48] airquality: how small an iso? [01:48] arch installer [01:48] Eh, this one seemed a little abortive in terms of learning opportunity, and the consensus seemed to be that GRUB2 was a bit crap. [01:48] airquality: yikes. may god have mercy on your sectors [01:48] haha [01:48] airquality: was the 8tb 1 partition or numerous? [01:48] macksting: nothing is wrong with grub2 [01:49] one partition [01:49] well, there are two ways i could have done it [01:49] airquality: try testdisk and/or photorec. But more likely you've lost everything [01:49] i may not have done dd [01:49] airquality: try "photorec" from the testdisk package [01:49] it's posible that i did an fdisk /dev/sdx# and then just deleted and wrote the changes [01:49] Boot from a live CD and mount your disk [01:49] i thought i was interacting with a diff disc, clearly [01:50] airquality: hmmm, type "sudo parted -ls | nc termbin.com 9999" [01:50] hdd* [01:50] Ayier: you do not need to boot a live cd/usb if the drive is external and not mounted [01:50] But mounting it would give insight [01:50] @EriC^, yea i saw the TestDisk package. i also own SpinRite but wasn't sure if it was applicable [01:50] OH I see nvm [01:50] if i mounted it, i'd give it herpes [01:51] sudo18: please don't [01:51] lol bad sudo18 [01:53] airquality: waiting on link.. [01:53] Odd, `host -v` shows that I'm getting an answer from 127.0.0.53 [01:54] What might that be? [01:54] k_sze[work]: your localhost [01:54] leftyfb, I know it's my localhost. [01:54] k_sze[work]: it's the dns caching in ubuntu desktop [01:54] That's completely normal? [01:54] @EriC^, alright one sec [01:55] k_sze[work]: yes, it's checking cache first [01:55] leftyfb, does *everything* try to use the cache first? (Including SSH, curl, etc) I wonder if Firefox is still using trying to use the cache even through I have enabled DNS over HTTPS. [01:56] k_sze[work]: for dns lookups, yes [01:56] k_sze[work]: systemd-resolved, or more precisely the hook script /lib/systemd/system/systemd-resolved.service.d/resolvconf.conf, causes resolvconf to add 127.0.0.53 to the set of nameservers in /etc/resolv.conf. [01:56] leftyfb: is there any advantage to that? [01:57] @EriC^, https://termbin.com/j1wd [01:57] The advantage is to skip waiting for a reply from google [01:57] Bashing-om, I see. [01:58] Ayier: or whatever dns server they happen to be using [01:58] upgraded to 18.04.2 and fuser is not behaving nicely [01:58] Something in my DNS isn't working correctly, I think. [01:58] try curl google? [01:58] k_sze[work]: :) ... netplan for networking is a whole new ball game. [01:58] .com [01:58] https://pastebin.com/P97M5dNj [01:59] https://bpaste.net/show/584be3333883 [02:01] is it apparmor? [02:01] hi, ubuntu 14, if i run du -hs /home/*, i see my home directory takes up 10 gb. however, if i run du -hs ~/*, nothing shows totalling 10 gb, any thoughts? [02:01] Uh. So. Options are Erase Ubuntu 16.04.4 LTS and reinstall, Erase disk and install Lubuntu, or Something Else. Um. What does the second one mean? [02:02] McBride36: you're missing dot files. Try running ncdu. Also, Ubuntu 14.04 will be EOL in a few months [02:02] macksting: why not 18.04? [02:02] server will be EOL'd sooner than that :) [02:02] McBride36: that's because '~/*' is being resolved by the shell, not by 'du' [02:03] Lubuntu has a different installer. I'm not sure either [02:03] lefty: because 18.04 isn't what is there, so it isn't what's being erased. [02:03] Okay, so this might be a Lubuntu weirdness? [02:03] Not likely [02:03] macksting: I mean why don't you download ubuntu 18.04 to install from scratch? [02:03] I don't follow the question, Lefty. [02:04] It's a pretty scratch-new DVD I'm working from. [02:04] Of 18.04.1 [02:04] Like I said before, I had all kinds of things that just didn't work. But if you keep at it, you will eventually get it right [02:04] It's just being a little obtuse about what drive it's offering to erase. [02:04] macksting: "erase disk and install lubuntu" [02:04] Maybe look at a tutorial or searching youtube. It might be easier having visual aids [02:05] macksting: if you have multiple drives, shut off the computer and unplug all drives except for the one you're installing to. [02:05] Good point. [02:05] And yeah, good idea, that. [02:05] leftyfb, thanks, ncdu shows the dir thats taking up the space while ls -lash didn't [02:05] Okay, gonna disconnect the drive that's getting ambitious. [02:05] McBride36: ls -alsh WILL show all directories [02:06] yes [02:06] lash [02:08] airquality: try sudo mount -o offset=$((2048 * 512)) /dev/sdg /mnt [02:08] leftyfb, either way, ncdu looks great, thanks for the assist [02:11] oh, interesting idea. i'll give it a shot === gms is now known as Guest76897 [02:14] returns,"mount: /home/airqualitystandards/box-of-sand: mount(2) system call failed: Structure needs cleaning. [02:14] " [02:16] airquality: what filesystem did it have? xfs? [02:16] nah, all ext4 [02:17] just a big external drive. nothing of great value was lost. it's a major annoyance.. luckily the stuff that is irreplaceable is backed up twice, some of this stuff is just tedious to get back.. [02:17] so no lost family photos haha, those are redundant, but maybe some missing celebrations of lewis hamilton :D [02:18] Bummer. [02:18] I think most of us have been there. Sorry [02:18] yea, c'est la vie. this is my buddhist test. the less i care the closer i am to enlightenment [02:18] always look on the bright side of life (doot doot) [02:18] haha yes [02:19] Monty Pyton [02:19] airquality: :D [02:19] Life is just absurd, and death's the final word, you must always face the curtain with a bow. [02:19] lol, i like that song too [02:19] airquality: was it lvm? [02:19] no, it was not [02:19] I just upgraded to ubuntu desktop 18.04 and all my winows want to open in maximized by default. Is there any way to change this? [02:19] airquality: seems like a kernel bug [02:20] https://unix.stackexchange.com/questions/497577/unable-to-mount-lv-mount2-system-call-failed-structure-needs-cleaning-but/497820 [02:20] i'm running testdisk over it now, and doing some reading, testdisk is finding a lot, but i need to read more of testdisks documentation before i comprehend fully. so that's what i'm working on now :) [02:20] airquality: type 'uname -r' [02:20] 4.15.0-46-generic [02:20] airquality: testdisk can try to give all the deleted partitions, and you organize them and write the table [02:21] so testdisk will write again things that it finds? this could be good news [02:21] airquality: if it had 1 partition a good guess would be it started at sector 2048 [02:21] yea, that was good reasoning [02:21] it was unfortunate not to work [02:21] i'm not bothered [02:22] to be honest i'm already thinking what i'll do with 8 free TB, hee hee [02:22] airquality: try creating the partition using fdisk [02:22] oh. [02:22] then do 'sudo blkid /dev/sdg1' and see if it mentions the filesystem [02:22] yea. i did create it with fdisk default options [02:22] i did fdisk n (default x 4) write.. mkfs.ext4 and that's how i setup the disk. [02:23] so remaking the partition in the same place make it in the same place you're saying? [02:23] try doing the fdisk again, then type 'sudo partprobe /dev/sdg' and sudo blkid /dev/sdg1 [02:23] err, i know that i typed that stupid [02:23] yeah [02:23] haha i'm so bad at text [02:24] no worries im bad at reading so it just works [02:24] here we go, trying it out [02:27] brb one moment [02:27] there is one major positive, it's externally powered so it hasn't been powered off once after all of this === daniel is now known as Guest9814 [02:32] wb airqualitystanda , any luck? [02:36] yea, its showing up as the right name now... but the partition still has some incorrect info on it.. i'm testdisking on it right now [02:36] this scan looks like it will take over a day [02:36] so i'm just letting it go [02:37] what do you mean by incorrect info? [02:37] oh uh the error quote was [02:37] testdisk usually shows a good chunk after 2-3secs [02:37] i always screenshot them, one sec [02:37] did you try sudo blkid /dev/sdg1 ? [02:38] or "sudo dumpe2fs /dev/sdg1" [02:38] error mounting /dev/sdg1 at /mnt/name wrong fs type, bad option, bad superblock on /dev/sdg1, missing codepage or helper program, or other error [02:38] is the exact quote i get from thunar [02:39] The partition /dev/sda2 assigned to / starts at an offset of 3072 bytes from the minimum alignment for this disk, which may lead to very poor performance. Since you are formatting this partition, you should correct this problem now by realigning the partition, as it will be difficult to change later. To do this, go back to the main partitioning menu, delete the partition, and recreate it in the same position with the same settings. [02:39] airqualitystanda: can you type 'sudo parted /dev/sdg unit s print' ? [02:40] sure, you wanna see the table? [02:40] yeah, please [02:40] how should i share this? [02:41] airqualitystanda: paste in http://paste.ubuntu.com or use 'sudo parted .....print | nc termbin.com 9999' [02:41] Uhhhhh. So. What's it trying to get me to do? 'Cause this means the automatic install ain't coping. [02:41] https://termbin.com/zox3 [02:41] macksting: it's trying to get you to align the partition so you dont lose performance [02:43] airqualitystanda: aha, i guess it was gpt before, right? [02:43] guess so [02:43] hi guys [02:43] It wants me to recreat it exactly as it was? [02:43] note this was just an external drive formated to ext4 and used as a container [02:43] was never bootable [02:44] airqualitystanda: i think you did infact do fdisk and stuff [02:44] yea [02:44] airqualitystanda: cause it had to be gpt to use more than 2TB, and you initially had here a msdos partition table [02:45] i think my dd option for some reason did the msdos thing [02:45] so you must have converted using fdisk and deleted the partition i guess [02:45] none of my other discs are msdos, and i did all of them symmetric [02:45] airqualitystanda: ok i hope this works, but maybe right now it's not working cause the partition is too small [02:46] testdisk is 02% done [02:46] i think it's a good time for bed and a book :D [02:46] but hmm i dont think that'd affect other stuff [02:47] Yup. Video tutorial or nothin', I think, 'cause this is getting weird. [02:47] That said, how big should a Reserved BIOS boot area be? It says 1 MB, but I've screwed this part up before. [02:49] haloo [02:52] airqualitystanda: alright, as you wish [02:52] @EriC^, thank you for your patience and assistance, people like you are why linux is so great [02:53] hi folks, I'm running 18.04.2, latest kernel & docker, and I can't run any containers: https://gist.github.com/willwh/8492efa6673c28ace0b983595762e679 [02:53] airquality: you could try "sudo mount -o offset=$((2048 * 4096)) /dev/sdg /mnt" in case it was using 4096bytes [02:53] I am just about to go and downgrade Docker, and cross my fingers ;) [02:53] airqualitystanda: no problem [02:53] @EriC^, it was run with the default, i'll check what that is, and run it with that. perhaps it was as you say [02:58] i got banned in ##linux [03:02] a quick google search of your general chat, that doesn [03:02] t seem surprising [03:02] loganlee: was there something you were looking for help with? [03:03] I'm not in the channel so I have no context [03:03] well [03:03] i was joking around a bit [03:03] you seem young [03:03] no i am not young [03:03] is this dannylee? [03:03] no i am logan lee [03:04] oh ok [03:04] generally off topic channels are a good idea for that kind of behaviour [03:04] _most_ people on Freenode use IRC as a tool, not a toy [03:04] yeh... i made a mistake [03:04] it's likely not a perma ban [03:04] hope so [03:05] so no one else has run in to any of this docker-ce funk with the latest kernels in 18.04? [03:06] I tried downgrading to 18.06.3~ce~3-0~ubuntu, and no lucl [03:06] rabbit hole time I suppose :) [03:07] hello, what is beter 18.04 or 18.10 ???<<< first time trying ubuntu === [1]MrMobius is now known as MrMobius [03:16] ubuntu is best. i'm running lubuntu on vm [03:16] ubuntu is the most polished distro out there [03:17] oasis8: I would suggest using 18.04 (it's LTS) [03:17] loganlee: that is just incorrect [03:18] most major distros ship with Gnome 3.x? do you mean Gnome 3 is polished :P [03:18] although I see you said you use lubuntu, so lxde? [03:19] willwh, i think lubuntu is lxde yes [03:19] I would argue, debian based stuff is pretty great, but in the Enterprise, it is basically EL7 (RHEL/CentOS/Fedora) [03:19] selinux ftw [03:20] well, i'm just a desktop user so.... [03:20] SELinux's just too annoying for daily basis office work [03:20] roger :) I use Fedora as my daily desktop OS, and I'm very happy with it [03:20] acgissues: haha :) http://stopdisablingselinux.com/ [03:21] I do agree though to a point - you should really `setenforce 0` and just tail the `/var/log/audit.log` and actually fix stuff [03:21] and then `setenforce 1` again ;) [03:21] willwh: blame me haha [03:21] :D hahaha [03:22] for servers I totally understand. but if you're a dev, with many projects, different technologies [03:22] yeah I get it :) [03:22] it's also possible, just not worth it [03:22] indeed [03:22] it is kinda amazing tho to have the prod stack running on EL7 with selinux enforcing, I smiled a lot that day when it all worked, ahahaha [03:22] waaaaaaaah my google fu is awful [03:22] reserved bios boot area recommended size, is apparently not a good enough search query to find what I want. [03:23] main reason i use ubuntu at work is how easy it is to setup [03:23] yeah, my personal vps is ubuntu, but beyond that is all EL7 [03:24] oh yeah, when you manage to make it work. my first hand-off experience was dealing with a centos server, after dealing with only debian-based [03:24] yeah, that sounds like a horrible trial by fire :) [03:24] i didn't even know selinux was there and got all these permission denied messages [03:24] for example, most people didn't even know `ls -alZ` is even a thing haha [03:25] lost my whole morning and solved it with 3 commands [03:25] :) [03:25] the more you know though, right? ;) [03:25] not so proud of that morning >.< [03:26] mornings like that are invaluable experience tho [03:27] at least now i know there are more permissions i need to check [03:34] heh and I'd doubt you'll ever forget that [03:36] . [03:45] It has been a while I came here [03:46] I am planning upgrading a Ubuntu 14.04 to 16.04, as you know why [03:46] any advises on upgrading from 14.04 to 16.04? [03:50] herouxma: backup your data and: update-manager -c [03:52] oh yeah, i still have a server on 14.04 :| [03:53] I feel less alone..... [03:54] good afternoon, I need to run devlink command in ubuntu 16.04 however it says command not found [03:54] how can I install devlink? [03:54] I tried apt install iproute2 but didn't work [03:54] herouxma: are you here for ubuntu support or therapy? [03:54] will do that, thank you~! :) [03:55] lotuspsychje I need to recall my irc === murthy is now known as phoenix_firebrd_ [04:00] therapy? I just said was rusty about IRC [04:04] noone? [04:04] !patience | masber [04:04] masber: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [04:06] lotuspsychje: thanks :) [04:06] lotuspsychje, I was responding to Ben64 also having to migrate a 14.04 [04:09] Okay. This is... sort of an Ubuntu question. I was having a hard enough time figuring out how to install that I ended up having to look up what the recommended size for a reserved BIOS boot area is, and the result seems to be that it only comes up when dual-booting, which I'm not, but I can't seem to make the installer care about the distinction? So the first instruction is to go into my firmware settings and disable CSM? I can't find that in the CMOS S [04:10] Anybody got any suggestions? [04:10] Domo Arigato lotuspsychje bye~! [04:12] https://packages.ubuntu.com/search?searchon=contents&keywords=devlink&mode=exactfilename&suite=xenial&arch=any turns up no hits (that's a search on packages.ubuntu.com for a command called 'devlink') [04:19] Does gcloud interfere with generating my own password-protected ssh key file? [04:20] I created one and am trying to connect with it, but it just times-out [04:21] You'd think something as important and easy as this would have a document [04:21] Bloody google :p === phoenix_firebrd_ is now known as murthy [04:34] macksting, did you use guided partitioning found in the manual partitioning section? [04:34] Or did you click on delete whole drive and install ubuntu [04:34] sudo lshw -C network [04:35] this showed earlier *-network UNCLAIMED for my ethernet [04:35] then i installed the intel drivers and it started working [04:35] check rfkill list [04:35] rebooted since, now it's unclaimed again [04:36] Hello is anyone there? [04:36] Hello [04:36] Ayier: hmm, i did try switching on and off the switch before, but it says its not blocked when i check rfkill list [04:36] hello Joebo77124 [04:36] I see [04:36] Glad to see there's folks on here [04:36] Kdes irc is dead [04:36] Are you using the HWE generic drivers? [04:37] There's 1.4k people on this channel ha [04:38] Ayier: HWE? it never worked when installed ubuntu 18.04, then it started working after some update, then stopped again, then i installed intel drivers today and it worked, now its not working [04:39] Are the drivers still installed? [04:40] i tried installing them again... i assume theyre still installed [04:40] i didnt uninstall them [04:40] You may also want to make sure your specific hardware isn't on the blacklist [04:40] Hello,who can tell me why the moonplayer i have installed could't parsing resources?Thank you! [04:41] Never used moonplayer sorry [04:41] Try VLC? [04:45] man this is bizarre, i rebooted again now its working [04:45] :p [04:45] thanks for the tips Ayier [04:45] haha strange. You're welcome [04:47] linux-generic-hwe-18.04 that's the package I was referring to [04:47] Just fyi [04:54] Hi [04:54] Hi [05:03] Thank you Ayier! [05:03] You're welcome! [05:07] Guys, I'm installing software by running "sudo apt install clamav -y", but not the lastest version gets installed. What would be the best way to install the latest version? [05:07] github most likely [05:07] But it will not update by itself [05:08] If you use the apt install it will automatically update when the repo updates [05:09] Just something to take into consideration [05:09] FreeBoss: find a ppa for it, probably [05:10] Ayier, Ben64, I found this article https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions and it's much harder to do then "sudo apt install clamav -y". Anyway to do it easier? [05:10] https://www.clamav.net/ [05:10] It might just give you a .deb file [05:10] FreeBoss: find a ppa for it, probably [05:14] here it is [05:14] ppa:argos66/ppa-phpclama [05:14] Ayier, what do I do with it? Is it safe? [05:15] !ppa | FreeBDSM [05:15] FreeBDSM: A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [05:15] ooh wrong dude [05:15] Yes I got the information from https://launchpad.net/~argos66/+archive/ubuntu/ppa-phpclamav [05:15] FreeBoss: read that [05:15] um. [05:15] Why is it called FreeBDSM? [05:15] I think it's a he haha [05:16] Oh nvm I confused FreeBoss with FreeBDSM [05:16] lol [05:17] Okay, I *MIGHT* have found a way to continue. [05:17] Is there any reason I shouldn't install with LVM? [05:18] So it's a file provided by some user argos66? Is it safe? also this is phpclama and I need clamav [05:20] 'Cause it literally could not fathom how to proceed without. [05:20] The ClamAV homepage says to use apt install clamav clamav-daemon. Are you getting an error that it isn't the right version somehow? [05:21] FreeBoss: why do you need clamav anyway [05:23] Ben64, I don't. I've been asked to install it. Didn't ask a question, why. [05:23] Some content management system (CRMs) have clamav integration [05:23] then install the one from the repo and be done [05:23] Ayier, are you sure? Because this instructs to install manually https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions. [05:23] The one from sudo apt install clamav -y is older [05:24] so [05:24] It throws a warning at some point [05:24] Ignore it? [05:24] yep [05:24] Thanks! [05:24] it's the easiest way to achieve your goal [05:31] 淦淦淦 === murthy is now known as phoenix_firebrd_ [05:38] Is it possible to add a line of text into file with a single command (I'm writing a script). When I do "sudo echo "TCPSocket 3310" >> /etc/clamav/clamd.conf", I get: [05:38] -bash: /etc/clamav/clamd.conf: Permission denied [05:38] But when I do sudo nano /etc/clamav/clamd.conf and manually add that line it works. [05:42] FreeBoss: sudo rights do not pass the >> boundry; ya need to learn about 'tee' . [05:43] FreeBoss, Or use sudo with a full command where the redirection is inside the shell command. Such as: sudo sh -c 'echo "TCPSocket 3310" >> /etc/clamav/clamd.conf' [05:46] rwp, thank you, very much! [05:46] Well. That's progress of a sort. I've gone from an OS that won't boot twice, to an OS that won't boot once. [05:47] You know you could also just edit the file too: sudo emacs/or/vim /etc/clamav/clamd.conf [05:49] lol macksting [05:49] So you got it to boot? [05:49] Nope. [05:50] Tried boot repir again? [05:50] I might try that next. [05:50] I find the best way is to manually deleta all partitions then use guided partitioning to create the new ones [05:51] delete* [05:51] Guided partitioning is inside the manual menu [05:51] It won't get that far. Though I managed to make a *little* headway by clicking LVM? [05:51] What happens when you click on anything else? [05:52] Same error as before, no matter how I try to redo the partitions. It takes me back to the manual partitioning thingy and won't let me past it even when I try to follow the instructions. [05:52] Needless to say, this doesn't reflect the tutorials. [05:52] Yeah [05:53] I assume what's actually happening is some stupid weird edge-case that has no error of its own and is being misread as an ordinary situation but which cannot be resolved to the satisfaction of the installer. [05:53] If all else fails I can try to setup a machine and give it you to so you can merge it. Like moving your machine to a new computer; same concept [05:54] Do you have secure boot? [05:54] How new is your computer? [05:54] The CMOS setup says 2012, but I think it may be from 2014. [05:55] The drive I'm trying to install to is from... prolly last year? [05:58] I haven't done a GUI install in ages - how do you get to a prompt to run fdisk or gparted? [05:58] From the installer press "Back" and go to the bottom to open a shell [05:58] You might want to use exper mode [05:59] I'm curious what happen if you try to partition / mkfs there [05:59] That way you can choose to have gparted [06:00] It will make a partition [06:00] Just as if you are using gparted live boot [06:01] that was for macksting: - I use the .. alternate? whatever the text based one is [06:01] Wheee. [06:01] Good idea [06:02] I've been at it for three and a half hours with only a messed up drive or two to show for it, so... prolly not tonight. [06:02] I feel ya === phoenix_firebrd_ is now known as murthy [06:05] * macksting shoves hir imaginary glasses further up on hir nose. "Baffling." [06:09] hi all. I am running xubuntu 16.04.6. I am now considering to upgrade to 18.04.1. I would like to upgrade from scratch with a new clean installation but I already made a lot of configuration on my running system. Could you please advise about the best way to proceed with a clean installation and easy re-install any configuration I made on my present system? [06:11] why not just upgrade? [06:13] Ben64: Isn't better recommended a clean installation for better performance and no conflict or any missing dependencies ? [06:14] not really [06:15] ilias_gr, i would suggest listening to Ben64 over me, but if you want a semi-clean install, you could install with something-else, select no-format of partitions, and it'll take not of your installed programs, wipe your system directories then install, then re-install your prior packages (if added & available in repos). it's an alternative I like [06:16] Ben64: If i only upgrade will the new system erase or remove automatically remove any unneeded files and older packages? [06:16] it'll upgrade packages that exist in the new version, remove packages that don't [06:21] Good day all. Anyone have a command that gives me the specifications on my PC (All the details on the hardware)? [06:24] Ben64: Could you please provide me an official link with advises for a safe and stable upgrade so that the system will run smoothly as it does now. [06:25] !upgrade [06:25] For upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade [06:25] Bluewolf, try `lshw` (list hardware; it'll need sudo) [06:26] guiverc: In that way 18.04.1 will be installed alongside 16.04.6? [06:27] guiverc: Is there any link available explaining the whole procedure step by step? [06:27] Bluewolf: "(All the details on [06:27] ilias_gr, something else allows you to select whatever you want to do, what I was meaning you select your old partitions and thus replace your existing 16.04 install with the newer 18.04 install [06:28] the hardware" look at ' inxi' and ' dmidecode ' . [06:30] guiverc: Is it a problem that my /home is encrypted? Is it possible to keep it so that the existing configuration will suits into the new system? === murthy is now known as phoenix_firebrd_ [06:31] guiverc: Thanks, that helps. Looking at upgrading and needed to know the details to find out its highest hardware I an upgrade to and whether ubuntu runs on it. [06:31] Bashing-om: inxi' and ' dmidecode ' - Is that the same as `lshw`? [06:31] ilias_gr, i have done it with an encrypted /home partition , but I'd not want to advise anyone on it sorry; I don't have enough experience [06:33] guiverc: Is it a problem that my /home is encrypted? Is it possible to keep it so that the existing configuration will suits into the new system? [06:33] guiverc: sorry I am asking again, I was disconnected. === phoenix_firebrd_ is now known as murthy [07:01] Search: Migrating ubuntu encryped home [07:01] paybe add new machine in there [07:09] HEY >:{ [07:16] hi again. If I choose the upgrade option from 16.04.6 to 18.04.1 using 'Software Updater' and following the instructions will my system's current configuration remain exactly the same although many of packages will be upgraded or is it possible that I will have to re-configure them? [07:20] hi [07:21] I moved my virtual box VDI file to a usb hdd, but when i try to add it, it says theres an error. how to add it? [07:22] media/mystic/Space/Win10.vdi' {688f8c4a-9264-436a-9b94-1215793d4273} because a hard disk '/media/mystic/0C9029209029122E/Backup/Win10.vdi' with UUID {688f8c4a-9264-436a-9b94-1215793d4273} already exists.' [07:22] means i have to delete the first vdi image? crazy [07:23] is anyone here at all ? [07:26] fuksake [07:30] Rory_Scrum: Please go away or adjust your attitude. [07:31] He went away... :) [07:32] I'd like to open a port on ubuntu desktop permanently, I can do this via 'sudo iptables -A INPUT -p tcp --dport 4950 --source $EXT_IP -j ACCEPT' how do I make this rule persist across reboots? [07:33] also, can ports be opened via systemd unit files? === fcastillo_ is now known as fcastillo [07:54] Strykar, have a look at https://help.ubuntu.com/community/IptablesHowTo (esp. Saving rules: iptables-save) sorry I can't help with 2nd bit [07:57] guiverc, sweet, so just iptables-save would do it. thanks! [08:05] how can I replace gnome-terminal witih tilix so that open-terminal-here in nautilus still works? (ubuntu 18.04) [08:09] Hello! [08:10] Hi efi_noob , if you have a Ubuntu Support question, please just ask it (try & keep to a single line, and be patient, people who can help will when they can) [08:11] I tried to install encrypted UbuntuStudio in dual boot with Windows 10 and on an efi-bios. I followed this script: https://help.ubuntu.com/community/ManualFullSystemEncryption, but the grub install failed. System seems pretty messed up. Anybody here who's firm with grub on efi? [08:12] i did reboot with the help of a usb-stick and have a chroot open (but proc not working). [08:12] root@ubuntu-studio:~# efibootmgr EFI variables are not supported on this system. [08:13] root@ubuntu-studio:/# grub-install --target=x86_64-efi --uefi-secure-boot --efi-directory=/boot/efi --bootloader=ubuntu --boot-directory=/boot/efi/EFI/ubuntu --recheck /dev/nvme0n1 Installing for x86_64-efi platform. /proc/devices: fopen failed: No such file or directory [08:13] Funny is: parted -l does not see my system drive at all (ssd). fdisk -l does, though. [08:14] (oh, no, it doesn't. /proc not working.) [08:14] efi_noob: easy on the enter button, patient until someone actually supports you [08:15] lsblk does, though. lotuspsychje, okay! Thank you! Sorry, totally new here. Will be more patient! [08:15] I'm new also to ubuntu [08:16] is this the correct channel [08:16] to get support [08:16] ajaxet, if you have a support question, please just ask it. Try and keep it to a single line, and be patient awaiting a response, someone will respond when & if they can [08:17] ok thanks guiverc [08:19] I am using ubuntu 18.04 and run a binary that opens GUI. I'd like to pin it on the left side menu and start it with the left click on the icon on the left side dock. I start the program on the terminal and right click on the dock to add it to the favorites to pin it, however, it doesn't start when I close the program and try to start again [08:19] does anyone know what I need to do it? [08:19] I defined it to alacarte, it starts if I search the name on the application menu, but I can't start it from the the left side menu [08:23] Angs, when you see it in the application menu: Try to right click on it and select "add to favorites" there. (With it not running.) Does that work? [08:27] efi_noob, no [08:27] I remember that I had similar problem, and then needed to define some run time dependencies on PATH or something. I have been using ubuntu 16.04, and has just upgraded to 18.04. [08:29] How is this issue called, then I can google it === steven- is now known as steven [08:35] Angs: Pls check this out: https://askubuntu.com/questions/1017298/gnome-shell-how-to-add-a-custom-favorite-app-change-favorites-path [08:36] thanks efi_noob [08:41] Hi [08:41] hi* [08:42] hi [08:42] Vi AR VORKING Tougezer [08:42] yes indeed [08:42] what is the Lagrange interpolation formula ?* [08:43] \frac{0}{20} [08:43] dis my grade [08:47] Nico ? [08:47] ui [08:47] Hey guys. How do i properly remove a PPA alongside its key? I know for sure that i've got no packages installed of that repo anymore. I know apt-add-repository --remove gets rid of the repo itself but does it delete the key as well? [08:52] nvm, found it [09:24] hey [09:24] about unattended upgrades [09:25] how to make sure they are running? [09:25] at /etc/apt/apt.conf.d there is no file called 20auto-upgrades [09:25] even if unattended-upgrades is installed [09:26] but it seems to never run according to the logs === adikwok1 is now known as adikwok [09:40] so why am i missing the nano /etc/apt/apt.conf.d/20auto-upgrades ? [09:43] 'Morning folks [09:46] Ubuntu 18.04 was corrupts my mdraid, when i manually created disk layout. can someone help me recover LVM2 volumes that were on top of this mdraid? [09:46] ubuntu installer* [09:47] Hello, My ubuntu desktop was freezing except the mouse can move. who can help me? [09:47] ubuntu 18.04 [09:54] anybody have met the same problem before? [09:55] :( no one here [09:55] luma_chan, I have to ask the obvious, have you updated and upgraded your packages lately? [09:56] packages are still lastest [09:57] i enter ctrl + alt + F1~7, it does't work [09:59] hi all [10:00] desktop is frozen, to reboot in an emergency, hold down the keys alt+printscreen, then do REISUB [10:00] SteppeEable: what happened exactly, what are you left with now? [10:01] i've got an ubuntu 18.04 installed on my laptop (samsung), and can't get back/resume (black screen need forced reboot..) after a resume. I tried seveal methods modifying grub withouth success, is there someone recommend me a link ? I'mlooking in forums actually thx in advance! [10:07] luma_chan: can you run this, to post some context to a pastebin? post the address here in the end: sudo /bin/true; nc termbin.com 9999 < <(cat /proc/version /proc/cmdline; lsb_release -ds; sudo apt-get update 2>&1; apt-cache policy;) [10:07] tomreyn: before ubuntu i had centos 7 on top of mdraid mirror. ubuntu installer loaded from the usb stick, and he didn't find any of my md devices, i continued installation to one of the disks. After reboot, ubuntu didn't seen md-devices, i found that there are no superblocks of mdraid on partition (/de/sdb4) === LaRose_Bleu is now known as LaRose_Rouge [10:08] Alexander: please post the same as i just wrote to luma_chan, but also the output of: dmesg | nc termbin.com 9999 [10:09] I added this line "/dev/sdb1 /home/yourname/mydata ext3 defaults 0 0" in /etc/fstab after reboot it went to emergency mode [10:10] i had LVM2 on top of md-raid, i found lvm headers through hexdump and strings from the raw device [10:10] SteppeEable: just to make sure we're talking about the same thing: do you mean MD RAID, as in the modern RAID implementation, or dmraid, as in the older one (mostly used for fakeraid support)? === lotuspsychje__ is now known as lotuspsychje [10:12] An MD RAID is managed using the "mdadm" utility. [10:12] tomreyn: hm, i think it's a mdraid (mdadm) [10:12] ok [10:13] now i have virtual machine with snapshot of this raw device (through qcow2 backing device). [10:13] SteppeEable: so you did a full ubuntu installation using this (details yet unknown) ubuntu installer even though it would not detect your existing (MD) software RAID? [10:14] tomreyn: yep [10:14] oh i think i'm getting what you mean now. you installed to one of the disks only, assuming your data would still remain on the other disk, because it was a mirror raid. [10:15] tomreyn: yep [10:16] so your expectation was that you could restore the data from the one of the two RAID devices since you only overwrote one of them, which whould have enabled you to start the old ARRAY with missing devices [10:16] SteppeEable: which installer did you use, which ubuntu version did you install? [10:17] pabed, use uuid entry in fstab, find it with, sudo blkid, in the terminal, then enter that (without quotes) instead of /dev/sdb1 [10:17] I am using Lubuntu 18.10. I have troubles installing some packages, and it says "installed grub-efi-amd64-signed package post-installation script subprocess returned error exit". On searching the internet I found out that I need to perform a Boot Repair. I already had troubles installing the OS because some boot files were read-only and I had to manually install grub. I want to ask what precautions have to be taken while performing Boot [10:17] pabed: does /dev/sdb1 exist, does it contain an ext3 file system, does /home/yourname/ exist? [10:17] tomreyn: ubuntu server 18.04.2 . i burn it to usb stick by dd [10:18] SteppeEable: the new default "server-live" server or the alternative / classic ("debian-installer" based) server installer? [10:19] tomreyn: unfortunately i don't remember. but i remember, installer was without gui [10:19] SteppeEable: can you post the output of "sudo parted -ls" to the ubuntu !pastebin ? [10:20] also lsblk && blkid [10:21] tomreyn: ok, let me time. by the way, i can give you access to virtual machine with the snapshot of this raw device [10:21] tomreyn: HI ! heres my cmmands outputs : https://pastebin.com/eQzXgnM4 [10:23] tomreyn: https://paste.ubuntu.com/p/HK7TwwbP3x/ [10:24] tomreyn: pay attention to sdb3 and sdb4 [10:25] sdb3 - mdraid for /boot part (ext4), and sdb4 - mdraid for lvm2 pv [10:29] Alexander: thanks for removing the UFW spam ;-) do you know the exct model of this system (it usually says on the bottom / back next to "P/N" or "M/N")? can you check for a firmware upgrade? [10:29] is it's NP530U3B then a newer mainboard firmware is available https://www.samsung.com/us/support/owners/product/np530u3b [10:31] SteppeEable: please stand by while i'm reviewing Alexander's logs [10:32] tomreyn: yes it a NP530U3B Series 5 Ultrabook Samsung I'll look at firmware upgrzade [10:32] tomreyn: ok, no problem [10:33] Hello. I dual boot win 7 and Ubuntu 18.04. I use BCD as primary bootloader which lets me select my ubuntu partition. Things were working fine a couple of weeks ago. Now if I select my Ubuntu parition all I get is a blinking cursor. I tried going into rescue GRUB mode by holding shift. Now I get the word GRUB and a blinking cursor but I can't do any [10:33] thing. How do I fix this without using bootrepair? [10:34] tomreyn: SteppeEable: lemme see if I can jump in. something doesn't quite add up in that pastebin. mdraid devices should show as /dev/mdX . if your VG is directly on sdX devices, they're not on mdraid === murthy is now known as phoenix_firebrd_ [10:34] SteppeEable: can you pastebin `cat /proc/mdstat` ? [10:36] blackflow: https://paste.ubuntu.com/p/DNDZGdFB6M/ :) [10:37] Alexander: your dmesg (kernel log from the current boot) actually looks quite good. but i assume you didn't suspend yet. can you suspend, try to restore from suspend, and when it fails, use the magic sysrq (hold altgr and print, then tap, with a 3 second interval, S, then U, then B). and when it reboots, run + post: journalctl -b -1 | grep -v UFW | nc termbin.com 9999 [10:38] blackflow: thanks for stepping in. [10:38] blackflow: the problem is that ubuntu installer was corrupt my mdraid === phoenix_firebrd_ is now known as murthy [10:39] SteppeEable: okay so no md device is being recognize there. but your blkid shows volumegroups. So, can you now activate them and salvage data off of the LVs? Was that your original intent? === sinner is now known as Guest10366 [10:39] tomreyn: yes they are exist [10:39] BluesKaj: let me try [10:40] pabed, post your entry after you're done editing [10:40] blackflow: this volume group from ubuntu, on top of sda [10:40] BluesKaj: yes sure [10:41] SteppeEable: well what is your intent with it? What exactly do you want to achieve? [10:41] blackflow: pay attantion to sdb4, this is my corrupted md-device [10:42] SteppeEable: okay, and? [10:44] blackflow: i had centos 7 on top of mdraid (md0: /dev/sda3,/dev/sdb3; md1: /dev/sda4,/dev/sdb4). then i installed ubuntu to /dev/sda with manually disk layout. And now i have corrupted mdraids on the /dev/sdb3,/dev/sdb4 [10:44] blackflow: SteppeEable's intent would seem to be to recover data from /dev/sdb4, which is a RAID device in what used to be a mirror RAID spun across a partition on sda and this one. [10:46] SteppeEable: tomreyn: okay so which data _exactly_ needs to be salvaged? the VG is under sda3, so I'm guessing data off of sdb4, which was part of a mirror(?) [10:46] SteppeEable: those logical volumes you see now are on physical volume /dev/sda3, so they're part of the ubuntu installation you did. they aren't sourced from the raid you used to have. [10:46] blackflow: that's my understanding, yes [10:47] tomreyn: i understand it :) [10:48] SteppeEable: in which case, what's the output of `mdadm --assemble --scan` and after that of `cat /proc/mdstat` ? [10:49] blackflow: sda3 and vg00 - there are related to my ubuntu. but i'm lost vg0 from my centos [10:50] blackflow: mdadm: No arrays found in config file or automatically [10:50] SteppeEable: now you're saying something completely different from before. I'm sorry but I have hard time understanding what you want exactly. Can you be specific please? What exactly do you want to do? Salvage data off of _previous_ RAID array, of which sdb4 was member? [10:50] so no one has ideas for my unattended question? :O [10:50] blackflow: i think the ubuntu installer deleted superblock from the /dev/sdb4 [10:51] SteppeEable: please answer my question. [10:51] SteppeEable: not what you think has happened, or what you think is the solution. what exactly do you want to achieve, please. [10:52] blackflow: i want to access to my vg0 that was on /dev/sdb4 [10:53] heller: provide some context, please. ubuntu version, architecture, installed, how, why do you expect /etc/apt/apt.conf.d/20auto-upgrades to exist? [10:54] tomreyn: ubuntu 18 and 16 LTS, both have unattended-upgrades installed and can be used with the command (unattended-upgrades --dry-run) but seems like they both are not done automatically [10:55] https://help.ubuntu.com/stable/serverguide/automatic-updates.html this states that i need to configure 20aut-upgrades [10:55] but i dont have it, and i'm not sure should it be created automatically? [10:56] heller: On Ubuntu 18.04 LTS, the package update-notifier-common provides /etc/apt/apt.conf.d/10periodic . this file contains the same statements /etc/apt/apt.conf.d/20auto-upgrades used to contain in earlier ubuntu releases. [10:56] SteppeEable: there is no VG on sdb4 apparently and the label says it was member of RAID. So first you'd have to assemble the array and then re-scan for any VGs on the array. What was the raid level of the array sdb4 was member of? two-disk mirror? [10:56] all i have is 20archive [10:57] heller: looks like the server guide is outdated there. [10:57] blackflow: i had mdraid mirrors on top of the /dev/sda4 and /dev/sdb4 [10:57] BluesKaj: https://paste.linux.community/view/adaa1b5a [10:57] heller: https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package [10:57] heller: so just install update-notifier-common, i guess [10:58] pabed, ext3? [10:58] SteppeEable: okay. please try this: `mdadm --assemble /dev/md99 /dev/sdb4 missing` and please pastebin any output, as well as output of `cat /proc/mdstat` right after that [10:58] the 16LTS does not have 10perioidic or 20auto-upgrades [10:58] blackflow: for example, please look to https://paste.ubuntu.com/p/3BHSWpbqf7/ ; don't pay attention to part of vg0 headers, there not latest version [10:59] 18LTS has 10perioidic but there is nothing about unattended-upgrades [10:59] BluesKaj: yes I use this "mkfs.ext3 /dev/sdb1" when I wanted format disk [10:59] SteppeEable: please try the mdadm assemble command above [10:59] blackflow: ok, let me time [10:59] Hi All, I've upgraded from 18.04 to 18.10 and everytime I lock my computer, when I attempt to log back in it will fail and log me out and thus closing all of my programs. Does anyone know how to fix this? [11:00] pabed, have you tried a reboot? [11:00] BluesKaj: " default 0 0 " is correct ? [11:00] blackflow: is that for 16 or 18? [11:00] pabed, I use 'O 1' [11:00] blackflow: https://paste.ubuntu.com/p/n6hk4VSNnd/ (mdadm: /dev/sdb4 has no superblock - assembly aborted) [11:01] !yy.mm | heller [11:01] heller: 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 [11:01] heller: try the dpkg-reconfigure command in that wiki, the package will create whatever relevant config files there are. iirc, there _Was_ some change about 20auto-upgrades, but I don't remember what was it [11:01] i tried that command [11:01] no files were generated [11:02] $ sudo dpkg-reconfigure --priority=low unattended-upgrades [11:02] Not replacing deleted config file /etc/apt/apt.conf.d/20auto-upgrades [11:02] oh my bad, both are Ubuntu 16.04.5 LTS [11:02] pabed, '0 1' rather [11:02] what i just pasted is the output i get to see on 18.04.2 [11:02] tomreyn: im 100% sure that that file was never deleted [11:02] BluesKaj: 0 0 vs 0 1? [11:02] yes [11:03] SteppeEable: I'm affraid the metadata is lost and it cannot be assembled any more. I'm not sure what else you can try to do. I'd generally try to look into forcing the VG activation off of sdb4, perhaps by hacking the superblocks. Ideally, you should be having backups. [11:03] heller: i see. but i'd expect unattended-upgrades to place it there when it is installed [11:03] heller: you could purge and reinstall the unattended-upgrades package, or install update-notifier-common [11:04] heller: try apt install --reinstall -o Dpkg::Options::="--force-confmiss" unattended-upgrades [11:05] ah after that the reconfigure worked [11:05] now both servers have the 20auto-upgrade [11:05] +s [11:05] now i just check logs tomorrow to see if something was really done? [11:05] not sure if update-notifier-common is the wanted thing here. that thing pesters and annoys with popups every time it sees pending updates after `apt update`, which is diagonally opposite to unattended upgrades :) [11:05] BluesKaj: it workes I missed "s" in defaults [11:05] pabed, check the line wit default, change it to defaults [11:06] yeah [11:06] BluesKaj: thans alot [11:06] np [11:07] blackflow: are you referring to update-notifier-common or update-notifier there? [11:07] tomreyn: I'm guessing the latter, then. [11:08] there is also apt-config-auto-update which also does similar, based on its description [11:08] btw only ssh access, no UI [11:08] SteppeEable: one thing comes to mind, try creating a fresh new array with sdb4 and missing. I'm not sure, but I _think_ that should not affect contents of the array. It might also further corrupt data on it, but it's worth a shot, since you can't assemble it now anyway. === gms is now known as Guest71513 [11:08] blackflow: yes, I already understood that metadata is lost, but i have lvm metadata by hexdump and strings from the raw device (/dev/sdb4). And now i'm looking help to hacking [11:09] SteppeEable: perhaps try this: mdadm --create /dev/md99 --level=1 --raid-devices=2 /dev/sdb4 missing [11:09] heller: you can wait, or you can trigger the cron job manually [11:09] SteppeEable: then try vgscan again, see if finds the VG on /dev/md99 [11:09] heller: howeve, I'd really advise against unattended upgrades. [11:10] hah, its a shame that daily ran 10 minutes ago [11:10] blackflow: care to explain why? [11:10] heller: because it only does halfa job, and I prefer chekcing changelogs of packages on the servers. It's not uncommon for even tiny updates to bork the system completely. [11:11] heller: halfa job beause you need to reboot on kernel and dbus updates, need to restart services when glibc and other libs linked are updated, etc.... [11:11] (service won't autorestart on lib updates/upgrades) [11:13] gpn273: do you just lock the desktop there or do you also suspend to ram? [11:13] tomreyn: I just lock the desktop using the power menu in the upper-right corner of the screen [11:15] or i could just blacklist them? :) [11:15] heller: blacklist what? [11:16] blackflow: https://paste.ubuntu.com/p/npdyddRKbq/ i think the main problem is offset. I compared offset with another xfs volume on top of lvm, there it's 1MB (0x00100000) [11:16] blackflow: compared with worked xfs volume* [11:18] SteppeEable: the position of the FS relative to LV is irrelevant. you need to detect and activate the VG on the raid member [11:18] gpn273: can you save your work / close all programs, then lock and try to unlock the desktop, then press Ctrl-Alt-F3, press ctrl-alt-del there to reboot, and come back here? if ctrl-alt-F3 does not work, press and hold these: AltGr + SysRq (PrintScreen) then, while holding them, tap these, but wait for 3 seconds in between: s u b [11:19] gpn273: the goal there is to make sure the situation is properly logged to your disk before you reboot, and when you're back we can inspect those logs. [11:24] tomreyn: Ok, I'll report back soon [11:25] blackflow: unfortunately i'm already tried create new mdraid on the /dev/sdb4, it didn't work. next i think about skipping mdraid offset by create new dm device through 'dmsetup create' and try to pvscan [11:25] SteppeEable: qyou've reached the point where you should restore from a backup [11:28] tomreyn: i didn't have backup, i thought that mdraid would protect me :) [11:28] no one can protect you if you don't do the most basic thing. [11:31] tomreyn: I've done the steps which you've asked, how do I access the log? [11:32] SteppeEable: raid is NOT backup.... as you can clearly see :) [11:35] cant get ufw to accept ftp correctly, it seems to let through the traffic but it wont list directories in ftp? [11:35] SteppeEable: What you were doing here: you're migrating from a system with a stone age kernel to a somewhat current one (both having different patchsets aplied), trying to reuse storage structures created with differently versioned user space / utilities with different patchsets (soming from RHEL) than on the target system (Ubuntu 18.04 LTS), you use an installer which is unfortunately rather broken (but also didn't read up on it before doing [11:35] so) and makde this installer write to disk even though it didn't seem to support what you were trying to achieve. I would not expec this to work flawlessly. And doing all this without backups is a really bad idea (as doing anything without backups really is). [11:36] SteppeEable: i'm not saying this to blame you, but to put things into perspective and point out the risks you had chosen to take, this may help making different decisions next time. [11:36] if I simply disable ufw it will work fine, the ftp server [11:36] im behind a router with port forwarding btw [11:37] tomreyn: Also, which logs do you need [11:37] I have tried all kinds of sensible rules [11:37] cappe: passive ftp requires data ports to be open + forwarded, too [11:38] yeah, that about the "active" vs passive mode. but isnt that automatic? [11:38] cappe: the issues the ftp protocol has with NATs are one of the reasons why it's not really popular anymore and most people choose alternatives. [11:39] but if I set to passive/active mode in the ftp client? will that matter? [11:39] gpn273: journalctl -b1 | grep -v UFW | nc termbin.com 9999 [11:40] hi all. Could please advise if it is recommended to tick 'unsupported updates (xenial-backports)' on Software&Updates? [11:40] tomreyn: Console reported this "Specifying boot ID or boot offset has no effect, no persistent journal was found." [11:40] cappe: if both are behind NAT, neither will work without further modifications. [11:40] guess I need another firewall to make it work? [11:41] it works fine with it disabled [11:41] ilias_gr: it is recommneded to only use supported software. [11:42] cappe: i'm not feeling like debugging your double NAT + firewalling to make FTP work today. [11:42] I guess it's something about the ufw and its configurations becuase eveyrthing works perfecly without it enabled [11:42] ok, I will use another FW [11:42] cappe: use SSH / SFTP or HTTP [11:42] what server would u use for sftp? === murthy is now known as phoenix_firebrd_ [11:42] cappe: who is "u"? [11:43] tomreyn: if i use it will be my system kept updated for packages no longer supported from the community? [11:43] nvm [11:43] cappe: openssh-server provides an internal sftp server. [11:43] ok [11:43] that's a nice idea, cheers [11:43] ilias_gr: maybe. it's not guaranteed. [11:44] ilias_gr: actually, i read this question wrong === phoenix_firebrd_ is now known as murthy [11:45] ilias_gr: when ubuntu states that something is "unsupported", it means it is not suranteed to be supported by Canonical and the Ubuntu security team for the lifecycle of your Ubuntu release. [11:45] tomreyn: If the system provides an update for a un-supported package is it safe to be installed while this option is ticked? [11:46] ilias_gr: backports are only supporte dby the community, which means they may or may not get security patches (soon or later) and other bug fixes. [11:47] hi [11:47] hola [11:47] hi amda [11:47] !es | amda [11:47] amda: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro. [11:47] blackflow: update of gcc [11:48] hi, excuseme [11:48] tomreyn: OK. I am talking about by community unsupported packages. Not by Canonical. [11:48] ilias_gr: "the system" does not provide an update, packagers so, and they do so via APT repositories (or snaps). your choise of APT repositories decides on the support (security) state of your system. [11:48] heller: sorry? [11:49] Hello, good people, has someone installed Tinypaw? [11:50] I have problems in the graphic part, my screen stays black [11:50] ilias_gr: backports don't have a separate update channel. if you previously choose to enable backports, you should either keep it enabled so as to get potential updates and fixes, or disable it and downgrade packages to the versions available in ubuntu. [11:50] tomreyn: do I have to reboot the system to be sure if there is an update provided from backports after i enabled this option or is it enough to run apt-get update and apt-get dist-upgrade to check it? [11:50] ilias_gr: the latter === Richard is now known as Guest73571 [11:52] amda: "tinypaw" is not an package you could install via apt or snap on Ubuntu 18.04 LTS. you did not mention which Ubuntu release you are seeking support with. === tadej_ is now known as tadej [11:53] It is correct, the question is if I am doing something wrong when creating the booteable with Linux Mint or I do not support my graphic or it is with other options that I have to boot. [11:54] amda: neither tinypaw, nor linux mint are supported here. This is for Ubuntu support only. [11:54] ok, thank you [12:08] tomreyn: alternate installer broken? release notes advises to use alternate installer "If you require multipath, full-disk encryption, or the ability to re-using existing partitions you will want to continue to use the alternate installer " === sinner is now known as Guest63919 [12:09] SteppeEable: are you asking whether the Ubuntu 18.04.2 alternative server installer is broken? not that i know of. [12:10] the default 18.04 one has several deficits, though, as many that i would not recomend it for many use cases at this time. [12:11] tomreyn: you wrote that I used a broken installer [12:12] SteppeEable: yes, that's the short form of what i wrote above [12:13] as far i understand, there are 2 installers, live and alternate? [12:13] the default 18.04 server installer is not able to handle existing storage structures [12:13] SteppeEable: that's correct [12:13] 'live' is the default one on 18.04. [12:14] hm, don't remember that i'm seen part 'live' in iso name [12:22] blackflow: i mean i could blacklist gcc from u-u [12:23] heller: why gcc specifically? [12:24] and btw blacklisting solves nothing. the whole point was, unattended upgrades don't do the whole job of maintaining the system. so it's better not to use it at all (but do it manually, use automation like ansible if that helps, etc...), than trust a half-job to do something. === sinner is now known as Guest91290 === murthy is now known as phoenix_firebrd_ === phoenix_firebrd_ is now known as murthy [12:34] i would really like to learn more about ansible [12:34] got about 20 servers to tinker with [12:37] why is python3 so important in ubuntu 18.10 [12:38] !discuss | XxSYDxX [12:38] XxSYDxX: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [12:38] XxSYDxX: python has been important in all linux distributions for the better part of 2 decades now. for discussion and non-support topics please ask in #ubuntu-offtopic or #ubuntu-discuss [12:38] Hello. How do we call the versions between the LTS releases? Do they run not much tested software by default? [12:39] !alis | heller: This channel is focused on Ubuntu desktop operating system. Please find a channel on your topic using [12:39] heller: This channel is focused on Ubuntu desktop operating system. Please find a channel on your topic using: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [12:40] o770: non-lts or candidate releases [12:44] pragmaticenigma: yeah well, it was just something i was thinking out loud :) [12:50] lotuspsychje: OK. Do you know if the candidates use repositories of software that hasn't been as much tested as the ones on the LTS? [12:51] o770: we usually dont take polls here and focus on ubuntu support questions, feel free to repeat in #ubuntu-discuss [12:56] hello [12:56] i have a usb flash and ubuntu can not format it because of this error message : [12:56] Error wiping device: Command-line `wipefs -a "/dev/sdb"' exited with non-zero exit status 1: wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy [12:56] (udisks-error-quark, 0) [12:57] ???? [12:57] iresf, is it mounted somewhere [12:58] hello [12:58] try the mount command to test [12:58] lotuspsychje: I didn't think my question was debatable. I thought the releases used different or equal repositories in terms of software development... Thanks anyway! [12:59] Southern_Gentlem : Sorry, could not display all the contents of “kk”: Error when getting information for file '/media/mmc/kk/ⁿƒqlåjq5.⌡]µ': Input/output error [13:00] usually media/mmc would be an sdcard [13:16] iresf: try renaming the device without unicode characters... [13:16] pragmaticenigma : how to do that ? [13:18] iresf: How was the drive formatted before? How did you label the drive? [13:19] startup disk creator has a bug and i used it to bootable the usb drive pragmaticenigma [13:23] pragmaticenigma : startup disk creator formated it [13:25] iresf, use gparted [13:26] can someone copy paste what I said earlier i've lost it in this buffer [13:26] I'm going to post it on a forum [13:29] iresf: ioria has a good recommendation, use gparted to work with the device. Also make sure to use characters that are in the standard ASCII range (English alphabet) as not all programs understand the extended character codes [13:33] salut [13:39] alten ca va [13:42] BjarneS: Please use English in this channel. If you would prefer to use your native language, please let us know what it is and we'd be happy to help connect you with a community [13:53] hello [13:54] is it still possible to release upgrade an ubuntu 10? [13:54] :D [13:54] DJ-ArcAngel: yeah [13:54] cool.. how [13:54] DJ-ArcAngel: you'd have to release upgrade a few times to reach a supported LTS though [13:54] !oldreleases [13:54] yeah.. no problem if that works [13:55] !eolupgrades | DJ-ArcAngel [13:55] DJ-ArcAngel: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [13:55] i changed the repo url now to old-releases.ubuntu.com [13:55] DJ-ArcAngel: k, type "sudo apt-get upgrade && sudo do-release-upgrade" [13:55] wait [13:55] DJ-ArcAngel: first type "sudo apt-get update" [13:56] DJ-ArcAngel: btw, there's no such thing as "Ubuntu 10" [13:56] sec... i'll make a new clone first [13:56] hey leftyfb [13:56] 10.04 [13:56] Hello All, trying to start a service on bootup using systemd. I can see in the journalctl that service is started but it doesnt continue that way. If I do systemctl start servicename it starts persistently. [13:57] DJ-ArcAngel: while it is possible, it'll be a lot quicker and cleaner to just install from scratch and restore from backup [13:57] in most cases that would be true yes [13:57] not with a legacy freeradius DB with 800+ customers [13:58] of which we don't know what is active and not [13:58] doing an in place upgrade will save us weeks of work [13:59] DJ-ArcAngel: I doubt it. Make sure you have a backup and plan for downtime and a fresh install. Just saying. [14:00] i am doing the in-place upgrade on a clone [14:00] so leaving the original untouched [14:00] if it works.. i can switch ip's [14:00] else.. we are fsck'ed anyway [14:01] DJ-ArcAngel: it's been 9 years. I think it might be time for a fresh install anyway, don't ya think? [14:01] DJ-ArcAngel: ... are the users just part of the regular system users (with no shell)? (don't now a proper name) [14:01] pragmaticenigma: ofcourse not.. they are in a DB [14:01] let's not make it easy [14:01] hence radius :) [14:01] :P [14:01] * pragmaticenigma not familiar with radius [14:02] DJ-ArcAngel: Though if they're in a DB.... what prevents the DB from being migrated? [14:02] hav you seen the developemnt between configuration file changes [14:02] pragmaticenigma : has a larget number of bad entries. not droping root directory . [14:02] in the last 10 years? [14:03] the new radius has different interface.. different conf files... diff conf dir [14:03] etc [14:03] DJ-ArcAngel: which is why I say the upgrade isn't going to go as clean as you think [14:03] i suspect as much [14:03] but i want to try first [14:03] DJ-ArcAngel: the upgrade isn't going to keep your old version of packages [14:03] who knows.. we are lucky [14:04] but i fear the worst [14:04] brb.. smoke [14:04] DJ-ArcAngel: for such a large time span, I'd start fresh, and find a way to have users migrate over [14:13] stupid question: I have a VPS. I was wondering if I can assign a specific IP address from a /64 IPv6 block to a specific user [14:14] so the user couldn't bind any process (specifically the bots that will run) to any other address [14:14] hello [14:15] hi [14:16] Client: HexChat 2.14.2 • OS: Microsoft Windows 10 Enterprise (x64) • CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (2,90GHz) • Memory: 7,9 GiB Total (5,0 GiB Free) • Storage: 556,4 GiB / 603,9 GiB (47,4 GiB Free) • VGA: NVIDIA Quadro M1200, Intel(R) HD Graphics 630 • Uptime: 3d 5h 27m 34s [14:18] gigirock: please don't [14:19] Exterminador: maybe look into putting that user in their own lxd container? [14:20] REGISTER [14:20] I'm having trouble with getting netplan to rename a device, I want to rename enp0s3 to eth0, according to the documentation matching an interface name should be possible. This is my config: https://paste.ubuntu.com/p/3gMGsGpTDb/ I can't match on macaddress since this is subject to change. [14:20] nils_, how did you switch back to previous interface naming? [14:21] HELLO [14:21] how do I register?! [14:21] nils_: https://www.itzgeek.com/how-tos/mini-howtos/change-default-network-name-ens33-to-old-eth0-on-ubuntu-16-04.html [14:21] !register | charlie-friend [14:21] charlie-friend: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode. [14:22] or... https://freenode.net/kb/answer/registration [14:22] leftyfb +1 >> "net.ifnames=0 biosdevname=0" [14:22] OerHeks, that's not a possibility, I'm building an image that has to match a certain kernel cmdline. [14:23] nils_, oke, then stick to the new naming [14:26] i have registered [14:26] how do i connect? [14:26] leftyfb: something like this: https://linuxcontainers.org/lxd/introduction/ ? [14:26] !register | charlie-friend [14:26] charlie-friend: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode. [14:26] hi, I trying to get i386 arch enabled in the bionic, but the dpkg --add.. i386 seems to have no effect, is there anything I don't know about 32 bit multiarch?? [14:27] Exterminador: https://help.ubuntu.com/lts/serverguide/lxd.html.en [14:27] I might just do it with networkd directly. [14:27] felco_, did you run updates after that? [14:28] I am locked out of ubuntu, when I boot I get error message in BIOS with command line (initramfs) [14:28] OerHeks yeah, apt update === nat_ is now known as Natkeeran [14:32] leftyfb: I'm going to try it out in my laptop to learn a bit. thanks for the pointers :) [14:32] hello [14:33] im locked out of ubuntu [14:34] just wondering.. should I use directory or zfs? [14:34] as the container backend.. [14:34] directory [14:34] unless you already have zfs [14:34] Exterminador: zfs would require you to already have an existing pool for them, in which case, it's definitely a benefit for the containers === airqualitystanda is now known as airquality [14:36] I don't think I have anything like that.. I was wondering if there's something like a container root.. [14:36] Hello [14:36] good morrow, urist [14:37] I am locked out of uni tu [14:37] Ubuntu [14:37] Please help! [14:37] oh man, if your disk isn't encrypted, should be fine tho. [14:37] charlie-friend_: https://askubuntu.com/questions/732060/im-stuck-at-grub-menu-and-cant-boot-to-ubuntu [14:37] Q: should I answer yes to `use LXD clustering`? [14:38] I get the command line (initramfs) [14:38] charlie-friend_: locked how exactly? [14:38] Exterminador: not unless you have more lxc servers [14:39] airquality: hey! any luck? [14:39] this is what I see; [14:39] oh. so, this is only to that. so for one lxc server (in this specific machine) I should answer no? I suppose one lxc server can have lots of containers? [14:39] right, answer "no". [14:39] @EriC^, it's at... 85%, took a sick day today for unrelated reasons so i'm installing linux on some netbooks ihave and monitoring the progress. it's found a lot! [14:39] in the mean time i'm reading TestDisk articles so i don't make any silly mistakes [14:40] airquality: ah cool [14:40] BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.1) built-in shell (ash) [14:40] what's a storage pool? o.O [14:40] enter help for a list of built in commands [14:40] (initramfs) [14:41] airquality: i dont know if you'll find any useful info but ive written a site about datarecovery it might have useful stuff for you http://pchelp.site/topics/how-to-recover-after-formatting [14:41] Exterminador: answer no.. yes [14:41] well, i love reading manuals. i don't really use arch anymore but i still follow their philosophies, hehe. rtfm. [14:42] :) [14:42] please someone help! [14:42] hi charlie-friend__ [14:42] hello :) [14:43] charlie-friend__: you were given a link to follow. Please go read it [14:43] https://askubuntu.com/questions/732060/im-stuck-at-grub-menu-and-cant-boot-to-ubuntu [14:43] a few steps, and easy to do [14:43] thank you [14:46] is Ctrl+Shift+S specific to xfce4-terminal or is it a common shortcut (for setting terminal title names) [14:48] OerHeks after second command it just says syntax error: unexpected "(" [14:49] also i get passed the grub menu [14:49] I hit elementary amd then get the BusyBox v1.27.2 etc and (initramfs) [14:50] seems like someone has been editting grub.cfg manually [14:50] charlie-friend__: can you mount a live cd? [14:50] charlie-friend__: if so.. mount live cd.. boot into rescue... and re-run grub-install [14:50] yes i have elementary on a USB [14:51] Elementary ? .. why did you join ubuntu, as they have their own channel here on #freenode? #elementary [14:51] charlie-friend__: https://help.ubuntu.com/community/LiveCdRecovery [14:51] !elementary | charlie-friend__ [14:51] charlie-friend__: Elementary OS is an Ubuntu derivative which is supported in their IRC channel #elementary on irc.freenode.net - http://elementaryos.org/ for more information on this distribution. [14:51] ok thanks [14:53] airquality: looks like it's only an xfce4-terminal thing === shannara_ is now known as shannara [14:54] Hi, i have a question on netplan. [14:55] !ask | qwebirc79081 [14:55] qwebirc79081: 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 [14:55] i messed up and i have kernel panic everytime i try to boot into 16.04. I tried to chroot into my ssd with a bootable usb but I get segfault. someone guide me on a fix? [14:55] i debootstrap new VM via PXE and create netplan yaml, after i restart VM NIC config is lost till a add netplan apply [14:56] is there a better solution than adding @reboot /usr/sbin/netplan apply to cron ? [14:56] eraserpencil2: does "dmesg" while in the live environment tell you anything about the drive? I/O errors? [14:57] let me try and get back to you [14:57] qwebirc79081: I would see if you can find out what exactly "netplan apply" does and do that after your yaml creation. [14:58] ok.. giving up on the 10.04 upgrade [14:58] fsck that [14:59] @leftyfb yaml is created during debootstrap via python, and before VM reboots i apply [15:00] no cfg in old path /etc/network7interfaces [15:01] ./etc/network/interfaces isnt a path, its a file [15:01] ubuntu 18.04 desktop. Is there a way to take an arbitrary webpage and treat it like an application? Some electron apps don't seem to have snaps or apt packages that I can find. It'd be nice to have those in their own window instead of as a tab in a chrome window. [15:01] qwebirc79081: chroot into the target and run netplan apply [15:02] leftyfb: im not sure what to lookout for, but i have https://termbin.com/xoi6 if you could help me look through it [15:02] eraserpencil2: mount the drive and try to chroot to it and then check dmesg for errors [15:02] Nvidia proprietary GPU Drivers seem to be broken in standard repository after updating. API mismatch: the client has the version 390.116, but this kernel module has the version 390.77. Is this a known bug? [15:03] Nibblyn: your ubuntu version please? [15:03] lotuspsychje: 18.04 [15:04] Nibblyn: system up to date also? [15:04] lotuspsychje: yes, everything in perfect order [15:04] can anyone help me with a boot issue on a clean install of 18.10 server... ive installed on mdraid + lvm + btrfs and after successfull install and reboot i get "lvmid disk not found, entering grub rescue" [15:05] !info nvidia-driver-390 bionic [15:05] nvidia-driver-390 (source: nvidia-graphics-drivers-390): NVIDIA driver metapackage. In component restricted, is optional. Version 390.116-0ubuntu0.18.04.1 (bionic), package size 384 kB, installed size 1074 kB [15:05] LXD seems way too complicated. I need to study it more [15:05] Exterminador: it's really not [15:06] Exterminador: lxc launch ubuntu:18.04 [15:06] Exterminador: then lxc exec "/bin/bash" #to login as root then setup network/ssh/users/whatever [15:07] Nibblyn: is your driver currently in use? [15:07] eldereko: either chroot to the installation from the booted live / installer iso, install pending updates and ensure everything is configured correctly from there, or reinstall using the alternate server installer [15:08] lotuspsychje: nvidia drivers purged and reinstalled again (graphically, same as sudo ubuntu-drivers autoinstall). I can probably fix by using the "official" repo from lauchpad. [15:08] Nibblyn: wait, lets test first whats happening [15:08] tomreyn, thanks. i did install from the alternate installer, and chrooting in everything is up to date, update-grub and grub-install show no errors... but same issue everytime i try to boot [15:09] Nibblyn: maybe you found an interesting bug [15:09] eldereko: is secureboot enabled? [15:09] lotuspsychje: nvidia-smi -> Failed to initialize NVML: Driver/library version mismatch. [15:09] Nibblyn: ubuntu-drivers list gives you only 390? [15:10] leftyfb: segfault at 0 ip .....error 14 in bash [15:10] would you prefer the entire dmesg? [15:11] tomreyn im not too familiar with secureboot, but its using bios boot and gpt not uefi, so i dont think applies? [15:11] lotuspsychje: yes. nvidia-driver-390 [15:12] Nibblyn: your current kernel is 4.15 or 4.18? [15:12] eldereko: correct. do you know whether grub can boot off btrfs? [15:12] lotuspsychje: switching to https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa. uname: 4.15.0-46-generic [15:12] eraserpencil2: do you have another drive you can plug in to try to mount/chroot? [15:14] tomreyn i beleive it can according to the grub2 docs, and i do see it loading the btrfs module in grub.cfg... also, this happens when i put /boot on a separate partition in the lvm+mdraid with ext4 fs [15:14] eldereko: it seems like this is generally possible. also the error message is about lvm, not the file system, so that was misled. [15:14] i can install one i guess [15:14] eraserpencil2: just to see if it's an issue with the drive or not [15:15] eraserpencil2: also, define "I messed up" [15:15] im not sure... might have been because I removed some linux-headers... [15:15] Nibblyn: wich graphics card chipset is this? [15:17] eldereko: can you chroot into the system, then post fstab, blkid, lsblk, dmsetup ls, mdstat ? [15:17] apart from that, I might have changed my glibc. [15:18] which i later read might kill my installation. could that be it? [15:18] lotuspsychje: geforce 1080 [15:18] eraserpencil2: probably just quicker to reinstall, maybe with 18.04 [15:19] Nibblyn: yeah its reccomended to use the ubuntu graphics ppa on GTX cards, but still would have been helping to !bug your issue [15:19] I can still copy out the files in my drive right? [15:19] eraserpencil2: how did this happen? [15:19] eraserpencil2: as long as you can mount it, sure. Or restore from your backups? [15:20] tomreyn: how did what happen? [15:21] eraserpencil2: 'changing' glibc [15:21] lotuspsychje: you mean filling a bug report on launchpad? [15:21] i was reading somewhere a new glibc would fix a compilation error i was having...should have researched more on that fix than to be hasty... [15:22] eraserpencil2: the reason i'm asking is to help oyu understand which change you made that was unsupported so you'll not do it in the future. if that's something which seems relevant to you. [15:22] eraserpencil2: so how did you get the newer glibc then? [15:22] building from source [15:24] eraserpencil2: i see. well, i assume you read that replacing glibc is not something you should do by now. it's good that you experiment with building software yourself but some very basic system parts should not be replaced, and this is one of them. [15:25] generally replacing software in ubuntu by other versions makes this software and all effects using it has on other parts of the system unsupportable here [15:25] so be very careful there. [15:25] tomreyn https://pastebin.com/bqWBUt5F [15:26] eraserpencil2: ugh, compiled your own glibc? Wipe and reinstall. [15:26] @leftyfb i'll try that [15:26] yea.. starting to learn that all things new and shiny is necessarily good and that the repo has older versions for a reason. Also starting to learn whats system-critical [15:27] eldereko: nice output, just we prefer paste.ubuntu.com here (see /topic). could oyu also add pvs, vgs, lvs - sorry... [15:28] eraserpencil2: it's ok, I ran into the same issue with redhat 9 back in the day. Took me some years before learning exactly the damage I had caused. [15:28] eldereko: also note that your raid is currently resynching. maybe you should wait for this to complete. [15:29] Nibblyn: yes [15:29] tomreyn ah sorry i will remember paste.ubuntu next time... i added the vgs/pvs/lvs output [15:30] eldereko: where did you add these? [15:30] just a question. Where is an adviseable directory for source code? /usr/lib/src? [15:30] eldereko: got it [15:31] yeah i just noticed it was resyncing too, not sure why as its a clean install [15:32] eraserpencil2: the gentoo linux distribution might be a good choice if you want to learn how components interact and how you can exchange them. [15:33] eldereko: i think this is the inital sync of a mirror raid. [15:34] eldereko: your partitioning is weird. why would you join PVs backed by different types of software RAIDs to the same volume group? [15:34] s/types/levels/ [15:34] blackflow: yea...those are a tad beyond me atm... [15:34] eldereko: ...even more so when those are backed by (partially) the same physical storages. [15:35] Does anyone know if there's a way to set the default behavior for windows in 18.04? [15:36] plongshot: in what sense? [15:36] tomreyn its bc the disks are different sizes and i made partitions of the smallest disk size to raid in order to get the most space... if your familiar with synology's hybrid raid approach it makes more sense [15:36] bc=before christ? [15:36] haha because, sorry [15:38] basically you partition the disks into smaller chunks evenly across disks, then join the raided chunks together via lvm, better explanation here https://serverfault.com/questions/272776/how-to-do-the-equivalent-of-synology-hybrid-raid-on-linux-myself [15:39] eldereko: you're also increasing the likelyness to loose data this way, but we don't need to discuss it if you're made up your head on this already. [15:40] Windows always open in full / maximized mode and i really need to find a way to change that. Before the upgrade my system was not like that. [15:40] eldereko: i recommend you replace the paths in fstab by UUIDs [15:41] leftyfb: sorry, just saw that. Windows always open in full / maximized mode and i really need to find a way to change that. Before the upgrade my system was not like that. [15:41] eldereko: also i seem to recall that grub booting off btrfs subvolumes isn't supported / is broken [15:42] plongshot: I don't have that issue with a fresh install of 18.04 using gnome shell [15:44] leftyfb: Is there an option (gnome shell)? I just ran the upgrade from the command line of my old system (network upgragrade). Don't know if I have gnome shell or something else. Just when I launch an application it launchaes witht the window maximized and I can't stand that. Even if I resize the window then close / reopen the program it still opens in maximized mode. [15:45] tomreyn ubuntu makes the subvols during the install by default, i beleive it is transparent to grub... but ive also tried it with grub on its own lv with ext4 and i get the same error when booting [15:45] plongshot: if you upgraded from 16.04, then you probably still have. I'm not sure about Unity as I never used it. [15:45] oh [15:45] ok [15:45] and also without subvols at all... this is unfortuntealy my 4th clean install with different configs all with the same grub error :( [15:45] plongshot, iirc a 16.04 -> 18.04 upgrade leaves Unity in place, yeah [15:45] yep, should be choosable at login [15:46] I remember seing some output about "wayland" something; than, when I saw it, I thought was referring to the desktop environment. [15:46] dconf org.gnome.mutter auto-maximize false >>> https://askubuntu.com/questions/1074678/gnome-terminal-always-opens-maximised [15:47] leftyfb + blackflow: ^ do you happen to know by bios booting 18.10 off a btrfs / (no separate /boot) on top of LVM2 on top of mdadm (PV mixing different RAID level MD RAID arrays) on top of partitions on top of 3 disks with msdos partition tables, installed via alternative server installer (d-i) would fail? [15:48] OerHeks: This could work for me? Can it work for all the windows globally or just gnome terminal? [15:48] that's eldereko's setup [15:48] that setting is global, i guess [15:48] https://pastebin.com/raw/bqWBUt5F [15:48] OerHeks: appreciate it thx [15:48] ...fails with lvmid not found [15:49] dropping to grub CLI [15:49] tomreyn: I don't. I have little experience with LVM. [15:50] tomreyn: I would take it one step at a time. Install ubuntu(not 18.10) with just RAID. See if it works. Then install Ubuntu with just LVM. See if tht works. [15:50] yes, less complexity would be my suggestion, too. [15:53] yeah, agreed its definitely a complex setup... ive done it similar with another box, only difference being dos vs gpt labels (smaller disks) without issues/modification so thought i was just missing something small [15:53] the grub rescue console does appear to see all the disks and md though [15:54] OerHeks: Works now. Thx [15:54] eldereko: i suspect that grub is having trouble finding the / file system since it is backed by three PVs, not just one. [15:55] and a btrfs subvolume might add to the confusion [15:55] plongshot, have fun! [15:55] eldereko: I would also suggest a separate /boot for such configurations [15:55] eldereko: keep /boot simple. [15:56] yes, it will likely work then [15:56] hm found it. it's mounted under /mnt so everything i deleted went to /mnt/.Trash-1000, but not visible from my trash can [15:56] or at least get you to initrd ;) [15:57] yeah initially i had a separate /boot on the vg using ext4, it had the same issue i moved it to btrfs under root just to see if it made a difference [15:59] eldereko: also, i'd recommend using LTS releases for servers, and for complex installations. [15:59] tomreyn gotcha, i will definitely switch for my next attempt, thanks [16:00] eldereko: non LTS releases don't usually get more than an initial ISO release, and no minor version upgrades. [16:00] ubuntu 18.04.2 installers will be newer and have more fixes than the 18.10 iso you used. [16:00] but do stick to the alternate installer. [16:01] good to know... i also tried this with debian and achieved the same error, just an interesting fact [16:01] if you feel like spending more time on determining the root cause, to report a bug on it, that'd be nice. [16:03] yeah i am actually really curious about this issue, even though im sure is not the normal use case... wheres the best place to report this issue/bug? [16:04] eldereko: on the bug tracker of the OS you reproduced it on. [16:05] eldereko: ubuntu uses launchpad. from the chroot you can run: ubuntu-bug grub2-common [16:06] tomreyn oh wow, awesome command, thanks! [16:07] alternatively (if this breaks, but be sure to read the output before you give up), file a bug directly on https://bugs.launchpad.net/ubuntu/+source/grub2/+filebug [16:07] eldereko: ^ [16:07] also thanks for all your help tomreyn and leftyfb much appreciated [16:08] yw [16:08] you're welcome [16:12] Afternoon all, was wondering if somebody could help me with Netplan? I'm spinning up a VM on Azure with multiple DHCP IPs per NIC for use in a Kubernetes Cluster. Netplan is detecting the Primary IP but cannot see any additional IPs. How do I configure netplan to get all secondary IPs? [16:16] qwebirc46863: please /join #ubuntu-server and repeat your question there. [16:16] Thanks @tomreyn [16:16] also consider using a proper IRC client, setting an individual nickname [16:17] hi [16:17] see above [16:20] tomreyn: Hey, do you know if this is correct? GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2015\"" [16:21] eraserpencil2: it is syntactically correct. does this make sense on your system? i would not know. [16:22] sure [16:22] thanks === Sven_vB_ is now known as Sven_vB === SimonNL is now known as SimonNL_Afk [16:53] tomreyn: uh, that sounds like a joke: BTRFS on LVM on MDADM. I think it fails because initramfs hooks maybe aren't expecting to run btrfs device scan after lvm after mdadm. that's a total waste of btrfs. [16:54] btrfs _is_ a volume manager with raid level capabilities for extents [16:55] if btrfs is anything like ZFS, it's explicitly not recommended to run on RAID [16:56] tgm4883: and it is, and it's not (recommended) [16:56] It is meant to be run directly on disks, afaik. [16:56] yup [16:56] or atop of partitions, but not atop of any raid or volume manager [17:03] Anyone know how to scale the Chrome interface on a 4k display and i3. In gnome it's fine, in i3 really small... [17:06] for i3 i don't know, for gnome there is gnome-tweak tool that can do scaling for fonts, menu and such [17:08] OerHeks: yes, thanks. I'm aware of that. In gnome it's fine. But on a 15" 4k display it's really small. Tried GDK_SCALE etc. Everything else I've managed to get proper except Chrome [17:12] Diezel, no idea in i3, already tried google-chrome-stable --force-device-scale-factor=n ? [17:14] anyone here know how to make policykit work with sssd?? specifically the isInGroup() function for rules [17:14] blackflow, tgm4883, whislock: thanks for your replies. eldereko, who brought this up originally, is no longer around. but i learnt from this, too. [17:15] hi guys [17:15] and ladies [17:15] and bots [17:17] ioria: Thank you! Works like a charm! [17:18] Diezel, ok [17:24] is virtual reality the next step in OS? [17:25] !discuss | daemonick [17:25] daemonick: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [17:26] ubottu, r u a bot? [17:27] daemonick: I am only a bot, please don't think I'm intelligent :) [17:27] which topics we discuss here? [17:27] !support | daemonick [17:27] daemonick: The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org and http://askubuntu.com [17:28] !discuss [17:28] Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [17:29] can we talk about xubuntu? [17:29] daemonick: yes, in #ubuntu-discuss [17:29] Please read the channel topic. [17:29] ok c ya laters [17:29] daemonick: Support questions here. General discussion in #ubuntu-discuss. [17:29] daemonick: type /join #ubuntu-discuss in your irc client [17:31] I'm on 16.04 desktop - I remove items from the launcher for apps I do not need, I add some that I do need with 'Lock to launcher' ... but on reboot, the Launcher is reset back again to default, and my changes are lost. [17:31] Is there some file that has the wrong access permissions, perhaps? [17:32] saraf: did you install ubuntu or are you in a liveusb? [17:32] installed [17:32] saraf: fresh install? did it work before? [17:33] worked before - but do not know the point in time after the regression. [17:33] It is in a VirtualBox VM [17:34] saraf: are you by accident booting off of a previous snapshot? [17:34] nopes [17:34] I log in and do my work - and that stuff is saved alright when I look at it on next login [17:35] saraf: system up to date? [17:35] I'm doing a grep -R "Amazon" in my home directory .config to find the file where those Icons are coming from ... no dice. [17:36] yup ... do update/upgrades regularly [17:41] hi, im trying to use ~/.ssh/environment to forward env vars through ssh, when i do this to a linux machine with PermitUserEnvironment = yes (in sshd_conf) it works but on a docker container with the same config it doesnt work and i can see my variable being ignored in output of ssh -vvv: 'debug3: Ignored env CCINFRA_DIR' anyone has any idea? [17:45] hallo [17:46] welcome sietrin [17:46] hello lotuspsychje [17:46] I want to create a shortcut such that a my text editor opens in my current directory with a new document. Can it be done? [17:46] okay - am one step closer - I know that the amazon store icon on the launcher is named amazon-store.png ... now to find all the files that have that png in there. Does anyone know where the unity launcher config is? [17:47] am I on ubuntu channel? [17:47] sorry [17:48] sietrin: yes :-) [17:51] ryahi_skaprinav: that sounds like what the Templates directory is for [17:51] does one ever master the command line? [17:51] I'm kind of a noob towards linux so I wouldn't know what you are talking about tgm4883 [17:51] sorry wrong chan [17:53] ryahi_skaprinav: there's a Templates folder in your home directory. If you save a blank file of the type you want there (or even a file with stuff in it) then you'll be able to right click > new document elsewhere in nautilus and it will make that file [17:55] tgm4883: I'm talking about a keyboard shortcut. [17:56] ryahi_skaprinav: well that seems silly. Wouldn't you just run the program name there then? [17:56] ok - I cannot even change the Auto-hide behavior of the launcher panel from Settings->Appearance->Behavior ... I set it to auto-hide, close the settings window, and neither does the auto-hide get applied - nor does the settings window reflect that auto-hide is enabled when I open it again. [17:56] :-( [17:57] ryahi_skaprinav: what current directory, then? The one open at that time in the file manager? === sinner is now known as Guest41189 [17:57] blackflow: yes [17:57] because if you run an editor from the command line, most if not all of them will default to that directory as their CWD [17:58] ryahi_skaprinav: I don't think there is that level of integration. You can always create an empty file in that directory and then open it with the editor of your choice. [17:58] blackflow: ok thanks [17:59] ryahi_skaprinav: what editor are you talking about using? [17:59] saraf: I'm currently using xed [18:00] saraf, try this sudo apt install --reinstall ubuntu-settings [18:01] ioria: okay thanks ... will try that :) [18:02] Does anyone know - if I were to install java 11 on my 18.04 system via the linuxuprising ppa - am I able to get minor updates as they come out? ( For example: I see that the truly lates version of the jdk is 11.0.2.15 but the version you get from the linuxuprising's installer is 11.0.2.2 (13 revisions back). If I download from the oracle website and install myself I would get the very latest but then would I get updates then anyway? [18:02] I'm just wondering [18:02] ryahi_skaprinav: ... and what you want to achieve - is, say, you are in the Ubuntu Desktop UI environment, and if you say press Ctrl+Shift+X, you want to launch xed with an empty file say newfile in your home directory? === SimonNL_Afk is now known as SimonNL [18:03] ioria: does that have the probability of destroying/modifying any other settings like say Network or such likes ...? [18:03] destroy ? [18:03] okay ... resetting? [18:04] oh ok [18:04] it will just reinstall the ubuntu-settings application? is that it? [18:04] I guess I thougt I could use the convenience of the installer; then, after the installation is complete, do a sudo apt update && sudo apt upgrade and it should pull in the update to the x.x.x.15 (latest revision) through my package manager. Would it? [18:05] plongshot, if you add a ppa, you will get updates from the ppa. If you download manually, you will not. [18:06] ioria: :-( okay - did sudo apt install --reinstall ubuntu-settings, but it does not help. I still cannot change the launcher behavior. [18:06] What could be the reason that the launcher has gone read-only [18:07] saraf, ok; use ' gtk-launch my_application '; pin to launcher and logout/in [18:07] lordcirth: ok. So with the first option (via ppa). Is it that the update come from the ppa and thus depend on those who administer it and when they add new stuff? Or maybe the installer does something that makes a connection to oracle to get updates from? ( I know - real stupis idea but I am confused about this) [18:08] plongshot, the PPA is controlled by a third party, who may or may not update it quickly. The Oracle installer *could* install its own autoupdater, but I doubt it does. [18:08] ioria: the app pinned to the launcher is gone [18:09] saraf, no other ideas, sy [18:09] ioria: on logout/login [18:09] It's strange, I remember seing java updates come through on my 16.04 system I had before. But those might have just been the jre or something else [18:09] what is the process name of the launcher - any ideas? [18:10] or where the config of that fellow is stored? [18:10] saraf: any results in this? Run it in your home directory please `find . \! -user USERNAME -print` where USERNAME is your actual username there [18:12] what does the escaped ! do? [18:13] logical not. [18:13] it inverts the user test in this case. [18:13] aah ok - so files in my home directory that are not owned by me. [18:14] saraf: correct [18:14] in your ~/ and below, recursively [18:15] hmm ... nothing connected to the launcher or unity or to gnome [18:15] well there shouldn't be ANY files in your home not owned by you [18:17] yes ... exactly my thoughts ... and there are a few in .config - that bothers me. [18:17] ./.config/Qt [18:17] ./.config/Qt/Qt Apps.conf [18:17] ./.config/wireshark [18:17] ./.config/wireshark/recent [18:17] ./.config/wireshark/recent_common [18:17] !pastebin | saraf [18:17] saraf: 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. [18:18] ok - sorry, there were only 8 or 9 lines [18:19] wireshark I think that's a setuid binary? it needs root or run setuid in order to capture packets, so it's possible that's unavoidable. but that Qt thing doesn't sound correct. nor, indeed, it doesn't sound related to your problem. [18:20] saraf: try this now, in your home dir: for F in $(find ./ -type f); do [ -r "$F" ] && [ ! -w "$F" ] && echo "Readonly file: $F" ; done this essentially looks for readonly files, with no write permissions [18:21] in fact, you can drop that -type f condition, -r and -w tests should work on dirs, and its' possible a readonly dir prevents writing of new (config) files in it [18:21] :) [18:22] okie [18:22] lo hey all [18:25] is there a way to setup a virtual environment in ubuntu [18:25] ? [18:25] b1: yes [18:25] b1: what kind of virtual environment? [18:26] like a python virtual environment [18:26] but not with python per se [18:27] !xy | b1 [18:27] b1: The XY problem is when you need to do X, and you think you can use Y to do X, so you ask about how to do Y, when what you really should do is state what your X problem is. There may be a Z solution that is even better than Y, but nobody can suggest it if X is never mentioned. [18:28] i want to install a package with sudo [18:28] but not on my main environment [18:28] a python virtualenv is essentially only just a PATH addition, with a "virtualenv specific" python binary pre-configured to look into that dir for libs and site packages. [18:28] ok so sudo apt install "pkg name" [18:28] b1, what package, and why? [18:28] UNetbootin [18:28] b1: I think you still have an XY situation there. what's the end goal you want to achieve? [18:29] blackflow: agreed. inquiring minds want to know [18:29] b1, and what's wrong with installing unetbootin normally? [18:29] nothing [18:29] is there an equivalent to pipenv [18:29] ? [18:30] b1: what are you trying to do? you're all over the place [18:30] b1: so to answer your question directly, no you can't do that. you can, however, establish a whole chroot and install pacakges there, even run programs within that chroot. containers can be used too for that (they extend chroots with more namespacing than just filesystem). [18:30] blackflow, ok thanks [18:30] blackflow: no readonly dirs that could contain config files in there :( all the readonly hits were for .git SHAs [18:31] saraf: yah that's normal for .git [18:31] yup [18:31] saraf: sorry, out of ideas. I mean... unless there's some autostart script or something that's forcing a "factory reset" to the launcher, so perhaps look for one of those [18:32] or, that being a red herring, there's no config being made persistent at all. something something dconf? [18:32] it is not letting me change the settings for the launcher behavior like auto-hide, even without restarting [18:32] (being attempted, rather, and failing. like, no attempts at all, your modifications are in memory, in current session only) [18:32] in the current session [18:33] owait.... you'r not using the guest account are you? [18:33] although apps can be pinned to the launcher for the current session - hm. [18:33] no no way :) [18:34] is there an easier way than {t,wire}shark to be notified about connection attempts to a specific host:port? I control client and server, so monitoring on either side is fine. [18:34] saraf, time to check syslog maybe [18:34] Sven_vB, shorewall with log level info [18:35] Sven_vB: tcpdump for SYN packets only [18:35] or yes, iptables LOG for SYN states [18:35] lordcirth, blackflow thanks! [18:35] (and shorewall is quite a big firewall suite, not specifically needed just to log SYNs btw) [18:38] Yeah, shorewall is really nice, though :) [18:39] it is, yes. quite potent and configurable. I loved its "admin is absentminded" default config option that prevented me so many times from locking myself out :) [18:39] EH .... the Settings->Appearance thing is not even letting me change the wallpaper! [18:39] ioria,blackflow: okay ... looking at the syslog ... hmmm. [18:42] saraf, did you extend the disk space of the VM ? [18:42] um .. no [18:43] https://paste.ubuntu.com/p/mGppkrgGGF/ [18:43] nothing worrisome there. (?) [18:44] is there a good paste like site for uploading syslog files? [18:46] that retains the colored highlighting that Vim gives for the syslog? [18:46] saraf: don't upload entire syslog. attempt your config, then dump this: journalctl --since '1 minute ago' -- asuming it's 1 minute between your attempts to reconfigure the launcher/wallpaper, and that command [18:47] *up to 1 minute [18:49] nice! I think we may have caught something - https://paste.ubuntu.com/p/b259G5vfsT/ [18:51] not sure that's related to this problem [18:52] saraf, list that file and if missing, apt install --reinstall gnome-themes-extra-data [18:52] now at least I know that the process is called unity-control-center ... [18:53] and now if I run it from the command line - it gives me this - [18:53] GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. [18:53] saraf: can you pin an app, then pastebin `gsettings get com.canonical.Unity.Launcher favorites` [18:53] Gtk apps tend to spam a lot of "critical" errors in normal operation [18:53] ooooooo memory GSettings backend, now that's way closer to the headshot [18:54] lordcirth: andgnome in general. looking at my bionic journal, I always puke a little [18:54] neway, was close before, wiht "something something dconf" :) [18:56] saraf: https://askubuntu.com/questions/558446/my-dconf-gsettings-installation-is-broken-how-can-i-fix-it-without-ubuntu-reins a bit old but..... maybe helps? [19:01] I can't install g++7 on my new 18.04 system. I get these errors: https://pastebin.com/ui5p2qcG Is there an easy way to deal with this? [19:03] plongshot: g++-7 you're missing a - [19:03] hello [19:03] hello [19:03] blackflow: missing what? [19:03] plongshot: minus (-) [19:03] plongshot: the package is g++-7 and not g++7 [19:03] plongshot: sudo apt-get install g++-7 <-- you need a dash between the + and the 7 [19:04] plongshot: btw, g++-7 should be automatic dependency of `g++` package. `apt install g++` should suffice [19:05] blackflow: My bad. I corrected it and get this error: https://pastebin.com/QmbVD8eQ [19:06] plongshot: PPA problems.... you'll have to ask the PPA maintainer, those are not supported here (other than "how do I add/remove a PPA") === sinner is now known as Guest13640 [19:07] Am using ubuntu 18.04, a new user, and have the following doubt [19:07] blackflow: the gcc compiler is a massive organization isn't it. I mean, it's well established and been around for decades hasn't it? [19:08] So I remember hearing about the olden days fo linux and the hell people went throught tracking down dependencies and dependencies on dependencies and so on an on and on. Is that the situatino I'm looking at with this? [19:08] When I search for names in Ubuntu Software, I get two apps... One with star-ratings, another without star ratings [19:09] Which one to install for smooth functioning and updating? [19:09] plongshot: what's the end goal you want to achieve? g++ is regularly packaged in ubuntu, no PPA needed, albeit at version 7.3.0 + patches [19:10] Hi, I'm having some trouble getting bluetooth to see my devices. Some documentation I've found from Ubuntu seems old or outdated, could someone please help me out [19:13] The repository owner is ubuntu. The package is coming from official ubuntu repository. It not ok to aks for help when the installation fais? [19:13] hello guys i am irc noob can someone help me with basics = how to scorll up when type /list [19:13] When I search for names in Ubuntu Software, I get two apps... One with star-ratings, another without star ratings.... Which one to install for smooth functioning and updating? [19:13] blackflow: whenever I run -any- gnome app like say gnome-calculator, the first line I get is - `gsettings get com.canonical.Unity.Launcher favorites [19:13] oops [19:13] wrong paste [19:13] plongshot: 7.4.0-1ubuntu1~16.04~ppa1 is not official ubuntu repo, it's a PPA package [19:13] GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. [19:14] plongshot, what PPA are you using? [19:14] and pinning an app and running - gsettings get com.canonical.Unity.Launcher favorites [19:14] does not list the pinned app [19:15] backflow: Any help possibe with my issue? When I search for names in Ubuntu Software, I get two apps... One with star-ratings, another without star ratings.... Which one to install for smooth functioning and updating? [19:15] Yet more snap-related confusion... [19:15] This --> "Depends: gcc-7 (= 7.3.0-27ubuntu1~18.04) but 7.4.0-1ubuntu1~16.04~ppa1 is to be installed" line here looks like it's telling me a lower version is needed than the one installaed. I have gcc-7 installed and gcc-8 and g++-8 but not g++-7. g++-7 is telling me problems that sound redundant [19:16] plongshot, what PPA, and why do you think you need it? [19:16] Tampering with your main gcc install is usually not a great idea [19:16] lordcirth: Any suggestions for my 'snap-related confusion'? :/ [19:17] hTantia, I don't use the GUI software store, but the one with ratings is probably the apt one? I just use 'apt install'. [19:17] Okay... Thanks [19:19] Hi! I'm a total Linux and docker noob but trying to learn. Trying to install Portainer in docker I come so far as to access the web interface on port 9000. But can't access it with ip:9000 in my browser. Do I need to open ports in Ubuntu and if so, how? [19:20] plongshot: thats the problem, you have PPAs enabled and quite a quagmire of versions. again what's the end goal you want to achieve? [19:20] filip, docker maps a port inside the container to one outside the container. Are you sure it's 9000 on the *outside*? [19:21] lordcirth: Idk. I'm told via googling the both gcc-7 andgcc-8 are avial directly to install directly. I have added a single (unsupported repo) to this system Ive only had less than 24 hrs and that was the linuxuprising ppa. Otherwise I just issued sudp apt install for all 3 that did install [19:21] lordcirth: I'm not sure at all actually. How do I know? I'm using this guide https://www.portainer.io/installation/ [19:22] plongshot, ok, but why did you add the PPA at all? [19:22] lordcirth: And I'm on the step "You'll just need to access the port 9000 of the Docker engine where portainer is running using your browser." [19:22] filip, -p 9000:9000 means it's 9000 on both ends [19:22] plongshot: what do you mean you don't know. what made you install a compiler in the first place, and as a subset of that, what made you require specific version of it? [19:23] filip, on the docker host, do you get anything from 'curl localhost:9000' ? [19:23] lordcirth: Connection refused [19:24] lordcirth: I didn't add a ppa regarding gcc / g++ The linuxuprising ppa continas a java installer to install the lates (version 11) oracle java. It was an unrelated acticvity that was successful. But now I'm on to trying to deal with gcc / g++ [19:24] The intent is this: https://askubuntu.com/questions/1028601/install-gcc-8-only-on-ubuntu-18-04 [19:24] I just hadn't mentioned it yet sir [19:25] And especially considering the version gcc that came in by default with my dist upgrade was a very old version (possible pulled in from my old version - idk). [19:25] lordcirth: This is a fresh install of Ubuntu, do I need to do something in like a firewall on the machine? [19:26] filip, no, firewall is disabled by default. Are you sure the docker container is still running? [19:27] lordcirth: I'm really a noob and this is my first try on docker. I'm actually not sure. It might not start by default when rebooting the system? [19:27] filip, 'docker ls' [19:28] lordcirth: is that a LS? says it's not a command :S [19:29] @filip can't u check it with ps ? [19:29] Hi, I've got an Intel wifi adapter w/bluetooth, wifi works, but bluetooth doesn't seem to work [19:29] W4lterK0vacs: It seems to be nothing there :S === PriceChild is now known as Pricey [19:31] filip: then it is high chance it doesnt start with system boot [19:31] W4lterK0vacs: May I ask how to start an image? === SimonNL is now known as SimonNL_Afk [19:33] filip, ah, apparently it's 'docker container ls' [19:35] lordcirth: Nothing there :S I might have installed this the wrong way? The idea was to having a UI for docker to make it easier for me as a noob to understand what the heck I was doing :P [19:35] filip, I think you just need to set the container to autostart instead of manually starting it. [19:37] lordcirth: But if it's a volume, how do I start it then? There seem to be no container? [19:38] filip, the tutorial has 'docker run' commands. [19:38] Does anyone know an IRC I could try to get some help with Bluetooth? I've literally never used it before in linux, I have zero idea how to troubleshoot this [19:38] !alis | mcrabble [19:38] mcrabble: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [19:39] Hello [19:42] lordcirth: Ofc! I'm so stupid haha. Thanks for having patients with me :) [19:42] np [19:42] joycee, hi [19:43] Hey lord === sinner is now known as Guest41089 [19:50] blackflow: yes! that fixes it. I had two gsettings, one in /usr/bin and one in /usr/local/bin ... and I had some debug versions of libgxxx in /usr/local ... https://paste.ubuntu.com/p/9DSzdQxXtG/ [19:54] saraf: ah so, PATH issues. [19:57] I love znc [19:59] @enigma145 slm [19:59] @enigma1945 slm [19:59] #enigma1945 slm [20:00] enigma1945, what are you doing? [20:00] hi people [20:00] I dont know. I am new user [20:00] sorry [20:01] thank you ioria, blackflow, lotuspsychje :-) [20:01] enigma1945, did you need help with something? [20:03] yes pls [20:04] install znc, bind to an obscure port, ssl, pop a hole in the firewall and bam, im on hexchat and mutter on my iphone, all through this ubuntu box. really love the ubuntu pkg mgr. [20:04] enigma1945, ... so what do you need help with? [20:05] * sudo18 gets popcorn and waits for enigma1945 [20:05] how can I use weechat [20:06] enigma1945: https://weechat.org/doc/ [20:06] enigma1945: are you any good at command line stuff? [20:06] yes [20:07] 20 years ago [20:07] What is the meaning of the star vs. "auto mode" in the output of update-alternatives? [20:07] ok. then weechat is for you. i'm not so good in command line, so i prefer a lame gui interface. i use hexchat [20:07] I used it 20 years ago [20:07] Nevermind - I'm an idioe - I see it [20:07] fours [20:07] pains [20:08] Noisette: can we help you with something? [20:08] leftyfb:Thaks [20:09] leftyfb: Thanks [20:09] major pain point on my ubuntu experiment is bluetooth support. The mouse will work for a while and then disconnect. removing/repairing doesn't necessarily fix it, restarting bluetoothd doesn't fix it. rebooting seems to help. My bluetooth/a2dp headphones are super choppy and not usable. ubuntu 18.04 [20:10] adding 'options snd-hda-intel model=generic' in /etc/modprobe.d/alsa-base.conf made it slightly less choppy, but it is still unusable. The chip and the headphones themselves work fine in osx. hmmm. [20:11] not sure where in the stack to look next. [20:13] Thanks leftyfb! [20:14] enigma1945: you already said that. You are welcome. [20:29] Hmm [20:31] blah [20:33] well that's strange. znc is working just fine except that when the connection breaks on the iphone and reconnects, whatever happened while the app was disconnected is not automatically pushed to the device. [20:33] !ot | sudo18 [20:33] sudo18: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [20:34] i brought it up because it could be an os issue. i'm new to this flavor. [20:34] but, point taken. i'll schlep off elsewhere with my question [20:36] sudo18: that seems like a ZNC question, not a OS question. That said, are you logged in to your ZNC on multiple devices? [20:38] tgm4883: yeah, on the box itself, and also on an iphone through my public ip on a port forwarded hole in my firewall [20:39] sudo18: I think by default, ZNC only pushes the changes to your device when you log in, but only the changes from when you were logged out [20:39] it's been a long time since I ran ZNC though [20:45] is GDM itself (the login screen) using Wayland or X or something else? === JoeMooCow is now known as JoeLlama === SimonNL_Afk is now known as SimonNL === murthy is now known as phoenix_firebrd_ [22:12] If I want to run docker on a Rasberry Pi 3, is Ubuntu server a good OS for that? [22:26] Oi oi oi. New IRC user here with Irssi. How long does this stuff take to learn? [22:27] can someone help me with an issue im having connecting to a windows shared folder [22:28] from ubuntu === phoenix_firebrd_ is now known as murthy [22:37] Maybe [22:38] <_ramok> Hi and good evening [22:38] <_ramok> i'm running docker containers on a ubuntu 18.04 . for some reason my docker containers can't resolve names to the public internet... so if i call nslookup google.com it's timing out. on the host iptables -S returns: https://pastebin.com/NChQ8YhK [22:38] <_ramok> i'm not sure what is preventing docker containers to call the internet. [22:39] <_ramok> i'm using systemd-resolved chained with dnsmasq [22:44] I'd like to find fragmented files and rank them by fragmentation. do I need to run filefrag on all files that are big enough, or is there a better way to scan an entire ext3/ext4 partition? [22:51] Sven_vB: Best one-liner I came up with for this is this: [22:52] find -xdev -type f -exec filefrag {} \; | awk '{print $2 " " $1}' | tr -d ':' | sort -n [22:52] Runs filefrag on each file in a mount point, formats it, and sorts it by number of extents. [22:56] whislock, thanks! before diving into how file selection might be optimized, did you mean to imply there is no better way than filefrag-ing them individually? [22:56] Not that I know of. I've never in my life cared about fragmentation. [22:56] :) [22:57] This is the first and last time I've ever run the filefrag command. Had no idea it existed. [22:59] ideally I get an empty list of course, so all the worse the inodes have to be read multiple times (translate to filenames, resolve path, translate back to indodes, …) when a specialized program could probably have detected the frag status without even dealing with string operations. [22:59] So, what actual issue are you trying to deal with, here? [23:00] theoretical performance mind games. [23:00] probably not the "actual" from your dictionary [23:00] As long as you understand that you're never going to see a difference in real world terms... [23:04] wow, some people claim they got >79% non-contiguous files on their movie download partition. maybe in some scenarios it can actually happen. no claims it would measurably impact read speed though. [23:05] It won't. The exts, especially ext4, are vastly different than, say, Windows filesystems with regard to fragmentation and how it affects the filesystem. [23:05] well in that scenario, it's large files but probably few of them, so the inefficient approach would still be good enough. [23:06] reported by e2fsck according to http://www.webupd8.org/2009/10/defragmenting-linux-ext3-filesystems.html , so probably no NTFS involved [23:07] I've read about shake as well but their approach doesn't fully convince me [23:08] I never said NTFS was involved. [23:08] oh sorry then I misunderstood that part. [23:09] or you meant older windows file systems [23:09] No. I'm just saying that the focus on fragmentation is misplaced when applied to most Linux filesystems. [23:09] ah i see now, "it won't" probably addressed the earlier message. nevermind. :) [23:09] You're devoting time to chasing something that's never going to yield a benefit. [23:10] yeah, I agree with that [23:10] The only time I've seen fragmentation causing any impact is on frequently written to drives that are nearly always full [23:10] You're welcome to, of course! If it's a learning exercise, then great. I'm just being realistic about expectations. [23:10] yeah it's not about performance, rather thinking of a nicer technical solution because the ones I see do too much unnecessary work. [23:11] Mainly because it's just... not a thing that needs to be worried about. An elegant solution was never devised because one was never required. [23:12] tgm4883, that description perfectly fits my video partition. :) [23:12] it's still way faster than VLC needs it to be though. [23:13] * tgm4883 reads backlog [23:13] * Sven_vB hasn [23:13] Sven_vB: ext4? [23:13] * Sven_vB hasn't even optimized block size though [23:14] tgm4883, ext3 and ext4, it varies accross my disks [23:14] I think there are more elegant solutions for seeing how fragmented a partition is on other filesystems (such as XFS) if only because that was better suited for large files back in the day === Noisette is now known as Plumette [23:18] I have a T420 Thinkpad, and I plan running Windows7 or 10 in a VM in order to deal with programs that I can't use on linux like Adobe Photoshop. is 8GB RAM very little and should I upgrade to 16GB? [23:19] Depends on the programs you need to run in the VM. [23:19] And on what you're running outside of the VM. [23:19] urxtnw: what whislock said. I have 16GB and run win10 in a VM and it occasionally sucks [23:20] whislock, tgm4883 currently I have 4GB on ubuntu that are being used all the time (tabs open, programs open etc.) I will be running Microsoft Office mostly and Adobe photoshop. [23:21] urxtnw: if you run the default (gnome-shell) ubuntu desktop, you'll want to keep a minimum of 2 GB RAM allocated to ubuntu (more if you run a web browser with multiple tabs). [23:21] urxtnw: Photoshop? Uh, good luck. Even 16GB is not going to lead to a fun time. [23:22] unbelieveable how many websites there are with tutorials on linux defrag that copy each other's warning about e2fsck on a mounted file system, and never read the man page to find -n (read only mode). [23:22] Even -n is known to yield invalid results. [23:23] tomreyn, but my current system with what I do already has almost 4GB memory being used all the time [23:23] whislock, what about microsoft office [23:23] if it foils counting non-contig. files, the tutorials still should say so, instead of raising fear. [23:23] Sven_vB: Again, why are you chasing this so much, knowing that it's not going to change anything? [23:23] Sven_vB: FWIW, I'm doubtful you'll see much performance benefit. It really only came into play for me when dealing with needing to write to disk with a minimum speed [23:25] whislock, not sure. the real reason is probably something wrong deep in my mind. no easy to grasp gain. [23:26] Then consider devoting this effort and attention toward more productive aims. [23:26] will do. :) [23:27] Again, I'm not trying to be unhelpful. Only realistic. [23:27] yeah, no offense taken. thanks for helping, all who did! [23:29] If I have my screen "extended" to a television and watch television shows, there is occasional tearing. How would I go about making sure VSync is enabled on that display? [23:29] gotta stop this madness before it makes me invent my own fs ;) [23:29] https://askubuntu.com/questions/1113358/ubuntu-18-10-using-text-based-plymouth-theme-after-updates [23:29] im having this problem and this is the only page i could find about it [23:30] plymouth is failing and falling back to text boot because of some update [23:37] Is SSH server disabled by default on 18.04 desktop? [23:44] sudo18: yes [23:44] tgm4883: ok. Take me to school. How do I enable it. [23:45] sudo18: sudo apt install openssh-server [23:45] 'sudo apt install ssh' [23:45] Oh it’s not even installed. Got it. [23:46] Easy peasy then. [23:46] Thanks Gerowen and tgm4883 [23:53] sudo18: Just know that openssh-server set up the "server" client, for if you wanted to connect to that computer remotely, that's what I thought you were asking about. === fotato is now known as foddo [23:58] gerowen: yes. i needed the server daemon so that i could ssh in from my phone. i just installed this distro for the first time. i'm still learning what it does and doesn't do that i need it to or not to if that makes sense === sinner is now known as Guest63543 === foddo is now known as fotato