[00:01] <RtMF> bosphi: depends what you clone
[00:02] <bosphi> sorry dont follow
[00:02] <RtMF> bosphi: also its likely to get corrupted if its not reas=only
[00:02] <RtMF> *read-
[00:02] <bosphi> I want to make a copy of the entire drive as is
[00:02] <RtMF> well
[00:02] <RtMF> right
[00:02] <RtMF> so
[00:03] <RtMF> 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] <RtMF> the decrypted device is a standard unencrypted filesystem
[00:03] <RtMF> the encrypted device ia the datastore it actually lives in
[00:04] <RtMF> cryptroot=/dev/foo:bar root=/dev/mapper/bar I think wouls give you encrypted volume foo w/ volume bar atop it
[00:05] <RtMF> so if you dd foo its enc, same pw etc, if bar, its dec
[00:05] <bosphi> you are getting a little advanced for me
[00:05] <bosphi> What is the simplest way to get a 1:1 copy of a LUKS encrypted installation?
[00:06] <bosphi> or is that possible...is it only possible to copy the unlocked volume
[00:07] <RtMF> well, you need to at least remount the unlo ked volume read-only
[00:07] <RtMF> or unmount it
[00:07] <bosphi> well its the system drive
[00:08] <bosphi> so is it going to be easier to backup...do a clean encrypted isntall to the new drive...and restore?
[00:08] <bosphi> rather than try to clone
[00:08] <RtMF> 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] <RtMF> sorry, on a tiny touchscreeen
[00:09]  * RtMF is without a laptop right now herself *pout*
[00:09] <bosphi> Ah no worries. I don't even bother trying on a phone...even a tablet sucks
[00:09] <bosphi> so in your opinion a backup retored to a clean encrypted install is best?
[00:10] <bosphi> if my goal is to end up with an identical drive basically
[00:11] <RtMF> 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] <bosphi> do a clean isntall with same passphrase and restore backup etc
[00:11] <RtMF> I'll be back soon
[00:12] <bosphi> 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] <bosphi> Ive only ever encrypted with the automatic FDE process on install so am not skilled at manually manipulating much
[00:14] <Apachez> 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] <Deihmos> Why does Ubuntu create such a small swap space? It auto installs 2GB on a laptop with 16GB.
[00:37] <leftyfb> Deihmos: with 16G of memory, you don't need swap
[00:37] <Deihmos> Don’t you need it for hibernation
[00:38] <leftyfb> 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] <blackflow> Deihmos: it's a sufficiently sized default. if you want to hibernate, make it larger.
[00:47] <Deihmos> 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] <leftyfb> 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] <bosphi> 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] <leftyfb> bosphi: the latter
[00:52] <bosphi> can you ELI5 why? Does it take something or some settings with it that dont happen if you drag and drop?
[00:53] <leftyfb> ELI5?
[00:53] <bosphi> explain like I am 5yo...im not great at linux
[00:53] <bosphi> if I had a clean install and dropped a home backup folder into it would it not work properly?
[00:53] <leftyfb> bosphi: rsync can preserve permissions and file types properly. Also, drag and drop will move, not copy.
[00:53] <bosphi> ok sorry I meant copy and paste rather
[00:54] <bosphi> so copying the file will NOT preserve those things?
[00:55] <leftyfb> 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] <leftyfb> bosphi: drag and drop will not preserve everything properly, no.
[00:55] <bosphi> Yeah I am asking for the purpose of putting a backup into a clean install
[00:55] <leftyfb> bosphi: cherry pick from it as needed
[00:56] <bosphi> 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] <bosphi> reading around its confusing
[00:56] <leftyfb> always
[00:57] <bosphi> so what files should I backup and what can I discard? and what is the best backip method?
[00:57] <bosphi> I have used dd before to create bootable drives etc but never to backup...nor rsync
[00:57] <leftyfb> 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] <Bashing-om> bosphi: Something like: rsync -aiv --exclude=".*" --exclude uwn /home/sysop/ /media/sysop/store/ .
[01:00] <leftyfb> uwn?
[01:01] <Bashing-om> leftyfb: uwn - a working directory that I do not care to backup :)
[01:02] <leftyfb> ah, personal stuff left in, got it :)
[01:27] <sudo18> lo
[01:31] <rwp> I just now installed Ubuntu server on a pair of 500G SSDs using a RAID 1 mirror configuration.
[01:31] <rwp> At boot time the system pauses for a long time "Running /scripts/local-premount ..." "Scanning for Btrfs filesystems"
[01:31] <rwp> Then more time Waiting for suspend/resume device ... Running /scripts/local-block.
[01:32] <rwp> I also installed LVM on top of the mdadm software raid.
[01:32] <rwp> 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] <rwp> It does eventually timeout and continue and boot however.
[01:32] <cgi> 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] <sudo18> rwp: you might have to recompile the kernel with btrfs toggled off
[01:38] <leftyfb> sudo18: uh, no
[01:40] <leftyfb> 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] <sudo18> leftyfb:  tthought it sounded cool
[01:42] <Ayier> I wonder if a silent shell script could be used to execute upon install of the .deb
[01:42] <Ayier> Kind of a hack
[01:42] <macksting> 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] <sudo18> rwp: it looks like f you purge the btrfs-tools package then it will remove the call for that module
[01:42] <Ayier> macksting, that depends on your bios
[01:42] <macksting> Yeah?
[01:42] <Ayier> Well, part of iy
[01:42] <macksting> Hrm. Trying to remember what BIOS this is then.
[01:42] <Ayier> it*
[01:43] <leftyfb> macksting: when did you last try it?
[01:43] <macksting> 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] <Ayier> Press F2 when the computer starts
[01:43] <Ayier> You should use everything on one partition
[01:43] <macksting> Oh.
[01:43] <leftyfb> macksting: ok, then try installing to the entire drive
[01:43] <Ayier> That's the easiest way
[01:43] <macksting> But that, too failed at the time...
[01:44] <macksting> Hrm.
[01:44] <Ayier> On install, don't use a guided setup. Do a manual partition
[01:44] <leftyfb> macksting: do a guided setup
[01:44] <macksting> I think the manual partition's the part I must've messed up.
[01:44] <Ayier> Delete it all and set to ext4, mount point "/" and bootable
[01:44] <leftyfb> Ayier: or just do a guided setup which will do it properly
[01:45]  * macksting shrugs.
[01:45] <macksting> Well, I can afford to mess this up a few times trying to get it right.
[01:45] <Ayier> Yeah, but I personally don't like extra partitions unless the bios requires it
[01:45] <Ayier> Which the installer would detect
[01:46] <Ayier> And swap files are a whole other can of worms
[01:46] <rwp> 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] <Ayier> Have you tried boot repair macksting?
[01:46] <macksting> I did. It failed utterly.
[01:46] <Ayier> I see
[01:46] <macksting> It's been a while, so I don't remember the nature of the failure, but it was thorough.
[01:46] <macksting> I'm mostly hoping to avoid the same problem twice.
[01:47] <Ayier> Then do what seems to be the most simple answer. Choose use whole disk, or guided parition
[01:47]  * macksting nods.
[01:47] <leftyfb> rwp: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1460447/comments/19
[01:47] <airqualitystanda> 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] <macksting> New drive anyway. That drive was killed by a power hiccup in the snowstorm.
[01:47] <Ayier> haha I've installed so many *nxix Os's that I lost count
[01:47] <Ayier> Due to failed attempts
[01:47] <leftyfb> airqualitystanda: your data is gone
[01:48] <Ayier> Fails are a good learning opportunity though
[01:48] <EriC^> airquality: how small an iso?
[01:48] <airquality> arch installer
[01:48] <macksting> 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] <sudo18> airquality: yikes. may god have mercy on your sectors
[01:48] <Ayier> haha
[01:48] <EriC^> airquality: was the 8tb 1 partition or numerous?
[01:48] <leftyfb> macksting: nothing is wrong with grub2
[01:49] <airquality> one partition
[01:49] <airquality> well, there are two ways i could have done it
[01:49] <leftyfb> airquality: try testdisk and/or photorec. But more likely you've lost everything
[01:49] <airquality> i may not have done dd
[01:49] <EriC^> airquality: try "photorec" from the testdisk package
[01:49] <airquality> it's posible that i did an fdisk /dev/sdx# and then just deleted and wrote the changes
[01:49] <Ayier> Boot from a live CD and mount your disk
[01:49] <airquality> i thought i was interacting with a diff disc, clearly
[01:50] <EriC^> airquality: hmmm, type "sudo parted -ls | nc termbin.com 9999"
[01:50] <Ayier> hdd*
[01:50] <leftyfb> Ayier: you do not need to boot a live cd/usb if the drive is external and not mounted
[01:50] <Ayier> But mounting it would give insight
[01:50] <airquality> @EriC^, yea i saw the TestDisk package. i also own SpinRite but wasn't sure if it was applicable
[01:50] <Ayier> OH I see nvm
[01:50] <sudo18> if i mounted it, i'd give it herpes
[01:51] <leftyfb> sudo18: please don't
[01:51] <Ayier> lol bad sudo18
[01:53] <EriC^> airquality: waiting on link..
[01:53] <k_sze[work]> Odd, `host -v` shows that I'm getting an answer from 127.0.0.53
[01:54] <k_sze[work]> What might that be?
[01:54] <leftyfb> k_sze[work]: your localhost
[01:54] <k_sze[work]> leftyfb, I know it's my localhost.
[01:54] <leftyfb> k_sze[work]: it's the dns caching in ubuntu desktop
[01:54] <k_sze[work]> That's completely normal?
[01:54] <airquality> @EriC^, alright one sec
[01:55] <leftyfb> k_sze[work]: yes, it's checking cache first
[01:55] <k_sze[work]> 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] <leftyfb> k_sze[work]: for dns lookups, yes
[01:56] <Bashing-om> 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] <sudo18> leftyfb: is there any advantage to that?
[01:57] <airquality> @EriC^, https://termbin.com/j1wd
[01:57] <Ayier> The advantage is to skip waiting for a reply from google
[01:57] <k_sze[work]> Bashing-om, I see.
[01:58] <leftyfb> Ayier: or whatever dns server they happen to be using
[01:58] <mattfly> upgraded to 18.04.2 and fuser is not behaving nicely
[01:58] <k_sze[work]> Something in my DNS isn't working correctly, I think.
[01:58] <Ayier> try curl google?
[01:58] <Bashing-om> k_sze[work]: :) ... netplan for networking is a whole new ball game.
[01:58] <Ayier> .com
[01:58] <mattfly> https://pastebin.com/P97M5dNj
[01:59] <mattfly> https://bpaste.net/show/584be3333883
[02:01] <mattfly> is it apparmor?
[02:01] <McBride36> 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] <macksting> 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] <leftyfb> McBride36: you're missing dot files. Try running ncdu. Also, Ubuntu 14.04 will be EOL in a few months
[02:02] <leftyfb> macksting: why not 18.04?
[02:02] <McBride36> server will be EOL'd sooner than that :)
[02:02] <hggdh> McBride36: that's because '~/*' is being resolved by the shell, not by 'du'
[02:03] <Ayier> Lubuntu has a different installer. I'm not sure either
[02:03] <macksting> lefty: because 18.04 isn't what is there, so it isn't what's being erased.
[02:03] <macksting> Okay, so this might be a Lubuntu weirdness?
[02:03] <Ayier> Not likely
[02:03] <leftyfb> macksting: I mean why don't you download ubuntu 18.04 to install from scratch?
[02:03] <macksting> I don't follow the question, Lefty.
[02:04] <macksting> It's a pretty scratch-new DVD I'm working from.
[02:04] <macksting> Of 18.04.1
[02:04] <Ayier> 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] <macksting> It's just being a little obtuse about what drive it's offering to erase.
[02:04] <leftyfb> macksting: "erase disk and install lubuntu"
[02:04] <Ayier> Maybe look at a tutorial or searching youtube. It might be easier having visual aids
[02:05] <leftyfb> macksting: if you have multiple drives, shut off the computer and unplug all drives except for the one you're installing to.
[02:05] <macksting> Good point.
[02:05] <macksting> And yeah, good idea, that.
[02:05] <McBride36> leftyfb, thanks, ncdu shows the dir thats taking up the space while ls -lash didn't
[02:05] <macksting> Okay, gonna disconnect the drive that's getting ambitious.
[02:05] <leftyfb> McBride36: ls -alsh WILL show all directories
[02:06] <McBride36> yes
[02:06] <McBride36> lash
[02:08] <EriC^> airquality: try sudo mount -o offset=$((2048 * 512)) /dev/sdg /mnt
[02:08] <McBride36> leftyfb, either way, ncdu looks great, thanks for the assist
[02:11] <airquality> oh, interesting idea. i'll give it a shot
[02:14] <airquality> returns,"mount: /home/airqualitystandards/box-of-sand: mount(2) system call failed: Structure needs cleaning.
[02:14] <airquality> "
[02:16] <EriC^> airquality: what filesystem did it have? xfs?
[02:16] <airquality> nah, all ext4
[02:17] <airquality> 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] <airquality> so no lost family photos haha, those are redundant, but maybe some missing celebrations of lewis hamilton :D
[02:18] <macksting> Bummer.
[02:18] <Ayier> I think most of us have been there. Sorry
[02:18] <airquality> yea, c'est la vie. this is my buddhist test. the less i care the closer i am to enlightenment
[02:18] <airquality> always look on the bright side of life (doot doot)
[02:18] <Ayier> haha yes
[02:19] <Ayier> Monty Pyton
[02:19] <EriC^> airquality: :D
[02:19] <macksting> Life is just absurd, and death's the final word, you must always face the curtain with a bow.
[02:19] <mrchairman> lol, i like that song too
[02:19] <EriC^> airquality: was it lvm?
[02:19] <airquality> no, it was not
[02:19] <plongshot> 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] <EriC^> airquality: seems like a kernel bug
[02:20] <EriC^> https://unix.stackexchange.com/questions/497577/unable-to-mount-lv-mount2-system-call-failed-structure-needs-cleaning-but/497820
[02:20] <airquality> 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] <EriC^> airquality: type 'uname -r'
[02:20] <airquality> 4.15.0-46-generic
[02:20] <EriC^> airquality: testdisk can try to give all the deleted partitions, and you organize them and write the table
[02:21] <airquality> so testdisk will write again things that it finds? this could be good news
[02:21] <EriC^> airquality: if it had 1 partition a good guess would be it started at sector 2048
[02:21] <airquality> yea, that was good reasoning
[02:21] <airquality> it was unfortunate not to work
[02:21] <airquality> i'm not bothered
[02:22] <airquality> to be honest i'm already thinking what i'll do with 8 free TB, hee hee
[02:22] <EriC^> airquality: try creating the partition using fdisk
[02:22] <airquality> oh.
[02:22] <EriC^> then do 'sudo blkid /dev/sdg1' and see if it mentions the filesystem
[02:22] <airquality> yea. i did create it with fdisk default options
[02:22] <airquality> i did fdisk n (default x 4) write.. mkfs.ext4 and that's how i setup the disk.
[02:23] <airquality> so remaking the partition in the same place make it in the same place you're saying?
[02:23] <EriC^> try doing the fdisk again, then type 'sudo partprobe /dev/sdg' and sudo blkid /dev/sdg1
[02:23] <airquality> err, i know that i typed that stupid
[02:23] <EriC^> yeah
[02:23] <airquality> haha i'm so bad at text
[02:24] <EriC^> no worries im bad at reading so it just works
[02:24] <airquality> here we go, trying it out
[02:27] <airquality> brb one moment
[02:27] <airquality> there is one major positive, it's externally powered so it hasn't been powered off once after all of this
[02:32] <EriC^> wb airqualitystanda , any luck?
[02:36] <airqualitystanda> 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] <airqualitystanda> this scan looks like it will take over a day
[02:36] <airqualitystanda> so i'm just letting it go
[02:37] <EriC^> what do you mean by incorrect info?
[02:37] <airqualitystanda> oh uh the error quote was
[02:37] <EriC^> testdisk usually shows a good chunk after 2-3secs
[02:37] <airqualitystanda> i always screenshot them, one sec
[02:37] <EriC^> did you try sudo blkid /dev/sdg1 ?
[02:38] <EriC^> or "sudo dumpe2fs /dev/sdg1"
[02:38] <airqualitystanda> 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] <airqualitystanda> is the exact quote i get from thunar
[02:39] <macksting> 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] <EriC^> airqualitystanda: can you type 'sudo parted /dev/sdg unit s print' ?
[02:40] <airqualitystanda> sure, you wanna see the table?
[02:40] <EriC^> yeah, please
[02:40] <airqualitystanda> how should i share this?
[02:41] <EriC^> airqualitystanda: paste in http://paste.ubuntu.com or use 'sudo parted .....print | nc termbin.com 9999'
[02:41] <macksting> Uhhhhh. So. What's it trying to get me to do? 'Cause this means the automatic install ain't coping.
[02:41] <airqualitystanda> https://termbin.com/zox3
[02:41] <EriC^> macksting: it's trying to get you to align the partition so you dont lose performance
[02:43] <EriC^> airqualitystanda: aha, i guess it was gpt before, right?
[02:43] <airqualitystanda> guess so
[02:43] <loganlee> hi guys
[02:43] <macksting> It wants me to recreat it exactly as it was?
[02:43] <airqualitystanda> note this was just an external drive formated to ext4 and used as a container
[02:43] <airqualitystanda> was never bootable
[02:44] <EriC^> airqualitystanda: i think you did infact do fdisk and stuff
[02:44] <airqualitystanda> yea
[02:44] <EriC^> airqualitystanda: cause it had to be gpt to use more than 2TB, and you initially had here a msdos partition table
[02:45] <airqualitystanda> i think my dd option for some reason did the msdos thing
[02:45] <EriC^> so you must have converted using fdisk and deleted the partition i guess
[02:45] <airqualitystanda> none of my other discs are msdos, and i did all of them symmetric
[02:45] <EriC^> airqualitystanda: ok i hope this works, but maybe right now it's not working cause the partition is too small
[02:46] <airqualitystanda> testdisk is 02% done
[02:46] <airqualitystanda> i think it's a good time for bed and a book :D
[02:46] <EriC^> but hmm i dont think that'd affect other stuff
[02:47] <macksting> Yup. Video tutorial or nothin', I think, 'cause this is getting weird.
[02:47] <macksting> 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] <bonafide> haloo
[02:52] <EriC^> airqualitystanda: alright, as you wish
[02:52] <airqualitystanda> @EriC^, thank you for your patience and assistance, people like you are why linux is so great
[02:53] <willwh> 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] <EriC^> airquality: you could try "sudo mount -o offset=$((2048 * 4096)) /dev/sdg /mnt" in case it was using 4096bytes
[02:53] <willwh> I am just about to go and downgrade Docker, and cross my fingers ;)
[02:53] <EriC^> airqualitystanda: no problem
[02:53] <airqualitystanda> @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] <loganlee> i got banned in ##linux
[03:02] <willwh> a quick google search of your general chat, that doesn
[03:02] <willwh> t seem surprising
[03:02] <willwh> loganlee: was there something you were looking for help with?
[03:03] <willwh> I'm not in the channel so I have no context
[03:03] <loganlee> well
[03:03] <loganlee> i was joking around a bit
[03:03] <willwh> you seem young
[03:03] <loganlee> no i am not young
[03:03] <EriC^> is this dannylee?
[03:03] <loganlee> no i am logan lee
[03:04] <EriC^> oh ok
[03:04] <willwh> generally off topic channels are a good idea for that kind of behaviour
[03:04] <willwh> _most_ people on Freenode use IRC as a tool, not a toy
[03:04] <loganlee> yeh... i made a mistake
[03:04] <willwh> it's likely not a perma ban
[03:04] <loganlee> hope so
[03:05] <willwh> so no one else has run in to any of this docker-ce funk with the latest kernels in 18.04?
[03:06] <willwh> I tried downgrading to 18.06.3~ce~3-0~ubuntu, and no lucl
[03:06] <willwh> rabbit hole time I suppose :)
[03:07] <oasis8> hello, what is beter 18.04 or 18.10 ???<<< first time trying ubuntu
[03:16] <loganlee> ubuntu is best. i'm running lubuntu on vm
[03:16] <loganlee> ubuntu is the most polished distro out there
[03:17] <willwh> oasis8: I would suggest using 18.04 (it's LTS)
[03:17] <willwh> loganlee: that is just incorrect
[03:18] <willwh> most major distros ship with Gnome 3.x? do you mean Gnome 3 is polished :P
[03:18] <willwh> although I see you said you use lubuntu, so lxde?
[03:19] <loganlee> willwh, i think lubuntu is lxde yes
[03:19] <willwh> I would argue, debian based stuff is pretty great, but in the Enterprise, it is basically EL7 (RHEL/CentOS/Fedora)
[03:19] <willwh> selinux ftw
[03:20] <loganlee> well, i'm just a desktop user so....
[03:20] <acgissues> SELinux's just too annoying for daily basis office work
[03:20] <willwh> roger :) I use Fedora as my daily desktop OS, and I'm very happy with it
[03:20] <willwh> acgissues: haha :) http://stopdisablingselinux.com/
[03:21] <willwh> 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] <willwh> and then `setenforce 1` again ;)
[03:21] <acgissues> willwh: blame me haha
[03:21] <willwh> :D hahaha
[03:22] <acgissues> for servers I totally understand. but if you're a dev, with many projects, different technologies
[03:22] <willwh> yeah I get it :)
[03:22] <acgissues> it's also possible, just not worth it
[03:22] <willwh> indeed
[03:22] <willwh> 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] <macksting> waaaaaaaah my google fu is awful
[03:22] <macksting> reserved bios boot area recommended size, is apparently not a good enough search query to find what I want.
[03:23] <acgissues> main reason i use ubuntu at work is how easy it is to setup
[03:23] <willwh> yeah, my personal vps is ubuntu, but beyond that is all EL7
[03:24] <acgissues> 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] <willwh> yeah, that sounds like a horrible trial by fire :)
[03:24] <acgissues> i didn't even know selinux was there and got all these permission denied messages
[03:24] <willwh> for example, most people didn't even know `ls -alZ` is even a thing haha
[03:25] <acgissues> lost my whole morning and solved it with 3 commands
[03:25] <willwh> :)
[03:25] <willwh> the more you know though, right? ;)
[03:25] <acgissues> not so proud of that morning >.<
[03:26] <willwh> mornings like that are invaluable experience tho
[03:27] <acgissues> at least now i know there are more permissions i need to check
[03:34] <willwh> heh and I'd doubt you'll ever forget that
[03:36] <macksting> .
[03:45] <herouxma> It has been a while I came here
[03:46] <herouxma> I am planning upgrading a Ubuntu 14.04 to 16.04, as you know why
[03:46] <herouxma> any advises on upgrading from 14.04 to 16.04?
[03:50] <lotuspsychje> herouxma: backup your data and: update-manager -c
[03:52] <Ben64> oh yeah, i still have a server on 14.04 :|
[03:53] <herouxma> I feel less alone.....
[03:54] <masber> good afternoon, I need to run devlink command in ubuntu 16.04 however it says command not found
[03:54] <masber> how can I install devlink?
[03:54] <masber> I tried apt install iproute2 but didn't work
[03:54] <lotuspsychje> herouxma: are you here for ubuntu support or therapy?
 will do that, thank you~! :)
[03:55] <herouxma> lotuspsychje I need to recall my irc
[04:00] <herouxma> therapy? I just said was rusty about IRC
[04:04] <masber> noone?
[04:04] <lotuspsychje> !patience | masber
[04:06] <masber> lotuspsychje: thanks :)
[04:06] <herouxma> lotuspsychje, I was responding to Ben64 also having to migrate a 14.04
[04:09] <macksting> 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] <macksting> Anybody got any suggestions?
[04:10] <herouxma> Domo Arigato lotuspsychje bye~!
[04:12] <gdb> 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] <Ayier> Does gcloud interfere with generating my own password-protected ssh key file?
[04:20] <Ayier> I created one and am trying to connect with it, but it just times-out
[04:21] <Ayier> You'd think something as important and easy as this would have a document
[04:21] <Ayier> Bloody google :p
[04:34] <Ayier> macksting, did you use guided partitioning found in the manual partitioning section?
[04:34] <Ayier> Or did you click on delete whole drive and install ubuntu
[04:34] <auctus> sudo lshw -C network
[04:35] <auctus> this showed earlier *-network UNCLAIMED for my ethernet
[04:35] <auctus> then i installed the intel drivers and it started working
[04:35] <Ayier> check rfkill list
[04:35] <auctus> rebooted since, now it's unclaimed again
[04:36] <Joebo77124> Hello is anyone there?
[04:36] <Ayier> Hello
[04:36] <auctus> 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] <auctus> hello Joebo77124
[04:36] <Ayier> I see
[04:36] <Joebo77124> Glad to see there's folks on here
[04:36] <Joebo77124> Kdes irc is dead
[04:36] <Ayier> Are you using the HWE generic drivers?
[04:37] <Ayier> There's 1.4k people on this channel ha
[04:38] <auctus> 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] <Ayier> Are the drivers still installed?
[04:40] <auctus> i tried installing them again... i assume theyre still installed
[04:40] <auctus> i didnt uninstall them
[04:40] <Ayier> You may also want to make sure your specific hardware isn't on the blacklist
[04:40] <disicover> Hello,who can tell me why the moonplayer i have installed could't parsing resources？Thank you!
[04:41] <Ayier> Never used moonplayer sorry
[04:41] <Ayier> Try VLC?
[04:45] <auctus> man this is bizarre, i rebooted again now its working
[04:45] <auctus> :p
[04:45] <auctus> thanks for the tips Ayier
[04:45] <Ayier> haha strange. You're welcome
[04:47] <Ayier> linux-generic-hwe-18.04 that's the package I was referring to
[04:47] <Ayier> Just fyi
[04:54] <phu7ure> Hi
[04:54] <DmAsB> Hi
[05:03] <disicover> Thank you Ayier!
[05:03] <Ayier> You're welcome!
[05:07] <FreeBoss> 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] <Ayier> github most likely
[05:07] <Ayier> But it will not update by itself
[05:08] <Ayier> If you use the apt install it will automatically update when the repo updates
[05:09] <Ayier> Just something to take into consideration
[05:09] <Ben64> FreeBoss: find a ppa for it, probably
[05:10] <FreeBoss> 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] <Ayier> https://www.clamav.net/
[05:10] <Ayier> It might just give you a .deb file
[05:10] <Ben64> FreeBoss: find a ppa for it, probably
[05:14] <Ayier> here it is
[05:14] <Ayier> ppa:argos66/ppa-phpclama
[05:14] <FreeBoss> Ayier, what do I do with it? Is it safe?
[05:15] <Ben64> !ppa | FreeBDSM
[05:15] <Ben64> ooh wrong dude
[05:15] <Ayier> Yes I got the information from https://launchpad.net/~argos66/+archive/ubuntu/ppa-phpclamav
[05:15] <Ben64> FreeBoss:  read that
[05:15] <macksting> um.
[05:15] <macksting> Why is it called FreeBDSM?
[05:15] <Ayier> I think it's a he haha
[05:16] <Ayier> Oh nvm I confused FreeBoss with FreeBDSM
[05:16] <FreeBoss> lol
[05:17] <macksting> Okay, I *MIGHT* have found a way to continue.
[05:17] <macksting> Is there any reason I shouldn't install with LVM?
[05:18] <FreeBoss> So it's a file provided by some user argos66? Is it safe? also this is phpclama and I need clamav
[05:20] <macksting> 'Cause it literally could not fathom how to proceed without.
[05:20] <Ayier> 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] <Ben64> FreeBoss: why do you need clamav anyway
[05:23] <FreeBoss> Ben64, I don't. I've been asked to install it. Didn't ask a question, why.
[05:23] <Ayier> Some content management system (CRMs) have clamav integration
[05:23] <Ben64> then install the one from the repo and be done
[05:23] <FreeBoss> Ayier, are you sure? Because this instructs to install manually https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions.
[05:23] <FreeBoss> The one from sudo apt install clamav -y is older
[05:24] <Ben64> so
[05:24] <FreeBoss> It throws a warning at some point
[05:24] <FreeBoss> Ignore it?
[05:24] <Ben64> yep
[05:24] <FreeBoss> Thanks!
[05:24] <Ben64> it's the easiest way to achieve your goal
[05:31] <farsight> 淦淦淦
[05:38] <FreeBoss> 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] <FreeBoss> -bash: /etc/clamav/clamd.conf: Permission denied
[05:38] <FreeBoss> But when I do sudo nano /etc/clamav/clamd.conf and manually add that line it works.
[05:42] <Bashing-om> FreeBoss: sudo rights do not pass the >> boundry; ya need to learn about 'tee' .
[05:43] <rwp> 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] <FreeBoss> rwp, thank you, very much!
[05:46] <macksting>  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] <rwp> You know you could also just edit the file too: sudo emacs/or/vim /etc/clamav/clamd.conf
[05:49] <Ayier> lol macksting
[05:49] <Ayier> So you got it to boot?
[05:49] <macksting> Nope.
[05:50] <Ayier> Tried boot repir again?
[05:50] <macksting> I might try that next.
[05:50] <Ayier> I find the best way is to manually deleta all partitions then use guided partitioning to create the new ones
[05:51] <Ayier> delete*
[05:51] <Ayier> Guided partitioning is inside the manual menu
[05:51] <macksting> It won't get that far. Though I managed to make a *little* headway by clicking LVM?
[05:51] <Ayier> What happens when you click on anything else?
[05:52] <macksting> 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] <macksting> Needless to say, this doesn't reflect the tutorials.
[05:52] <Ayier> Yeah
[05:53] <macksting> 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] <Ayier> 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] <Ayier> Do you have secure boot?
[05:54] <Ayier> How new is your computer?
[05:54] <macksting> The CMOS setup says 2012, but I think it may be from 2014.
[05:55] <macksting> The drive I'm trying to install to is from... prolly last year?
[05:58] <CarlFK> I haven't done  a GUI install in ages - how do you get to a prompt to run fdisk or gparted?
[05:58] <Ayier> From the installer press "Back" and go to the bottom to open a shell
[05:58] <Ayier> You might want to use exper mode
[05:59] <CarlFK>  I'm curious what happen if you try to partition / mkfs there
[05:59] <Ayier> That way you can choose to have gparted
[06:00] <Ayier> It will make a partition
[06:00] <Ayier> Just as if you are using gparted live boot
[06:01] <CarlFK> that was for macksting:  - I use the .. alternate?  whatever the text based one is
[06:01] <macksting> Wheee.
[06:01] <Ayier> Good idea
[06:02] <macksting> 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] <Ayier> I feel ya
[06:05]  * macksting shoves hir imaginary glasses further up on hir nose. "Baffling."
[06:09] <ilias_gr> 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] <Ben64> why not just upgrade?
[06:13] <ilias_gr> Ben64: Isn't better recommended a clean installation for better performance and no conflict or any missing dependencies ?
[06:14] <Ben64> not really
[06:15] <guiverc> 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] <ilias_gr> Ben64: If i only upgrade will the new system erase or remove automatically remove any unneeded files and older packages?
[06:16] <Ben64> it'll upgrade packages that exist in the new version, remove packages that don't
[06:21] <Bluewolf> Good day all. Anyone have a command that gives me the specifications on my PC (All the details on the hardware)?
[06:24] <ilias_gr> 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] <Ben64> !upgrade
[06:25] <guiverc> Bluewolf, try `lshw`  (list hardware; it'll need sudo)
[06:26] <ilias_gr> guiverc: In that way 18.04.1 will be installed alongside 16.04.6?
[06:27] <ilias_gr> guiverc: Is there any link available explaining the whole procedure step by step?
[06:27] <Bashing-om> Bluewolf: "(All the details on
[06:27] <guiverc> 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] <Bashing-om>                   the hardware" look at ' inxi' and ' dmidecode ' .
[06:30] <ilias_gr> 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:31] <Bluewolf> 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] <Bluewolf> Bashing-om:  inxi' and ' dmidecode ' - Is that the same as `lshw`?
[06:31] <guiverc> 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] <ilias_gr> 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] <ilias_gr> guiverc: sorry I am asking again, I was disconnected.
[07:01] <Ayier> Search: Migrating ubuntu encryped home
[07:01] <Ayier> paybe add new machine in there
[07:09] <FreeBDSM> HEY >:{
[07:16] <ilias_gr> 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] <Rory_Scrum> hi
[07:21] <Rory_Scrum> 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] <Rory_Scrum> 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] <Rory_Scrum> means i have to delete the first vdi image?   crazy
[07:23] <Rory_Scrum> is anyone here at all ?
[07:26] <Rory_Scrum> fuksake
[07:30] <elias_a> Rory_Scrum: Please go away or adjust your attitude.
[07:31] <elias_a> He went away... :)
[07:32] <Strykar> 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] <Strykar> also, can ports be opened via systemd unit files?
[07:54] <guiverc> 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] <Strykar> guiverc, sweet, so just iptables-save would do it. thanks!
[08:05] <pragomer> how can I replace gnome-terminal witih tilix so that open-terminal-here in nautilus still works? (ubuntu 18.04)
[08:09] <efi_noob> Hello!
[08:10] <guiverc> 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] <efi_noob> 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] <efi_noob> i did reboot with the help of a usb-stick and have a chroot open (but proc not working).
[08:12] <efi_noob> root@ubuntu-studio:~# efibootmgr  EFI variables are not supported on this system.
[08:13] <efi_noob> 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] <efi_noob> Funny is: parted -l does not see my system drive at all (ssd). fdisk -l does, though.
[08:14] <efi_noob> (oh, no, it doesn't. /proc not working.)
[08:14] <lotuspsychje> efi_noob: easy on the enter button, patient until someone actually supports you
[08:15] <efi_noob> lsblk does, though. lotuspsychje, okay! Thank you! Sorry, totally new here. Will be more patient!
[08:15] <ajaxet> I'm new also to ubuntu
[08:16] <ajaxet> is this the correct channel
[08:16] <ajaxet> to get support
[08:16] <guiverc> 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] <ajaxet> ok thanks guiverc
[08:19] <Angs> 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] <Angs> does anyone know what I need to do it?
[08:19] <Angs> 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] <efi_noob> 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] <Angs> efi_noob, no
[08:27] <Angs> 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] <Angs> How is this issue called, then I can google it
[08:35] <efi_noob> Angs: Pls check this out: https://askubuntu.com/questions/1017298/gnome-shell-how-to-add-a-custom-favorite-app-change-favorites-path
[08:36] <Angs> thanks efi_noob
[08:41] <Abadahdah> Hi
[08:41] <ABUHAJAAR> hi*
[08:42] <Piopio> hi
[08:42] <Piopio> Vi AR VORKING Tougezer
[08:42] <ABUHAJAAR> yes indeed
[08:42] <ABUHAJAAR> what is the Lagrange interpolation formula ?*
[08:43] <Piopio> \frac{0}{20}
[08:43] <Piopio> dis my grade
[08:47] <Piopio> Nico ?
[08:47] <ABUHAJAAR> ui
[08:47] <Anticom> 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] <Anticom> nvm, found it
[09:24] <heller> hey
[09:24] <heller> about unattended upgrades
[09:25] <heller> how to make sure they are running?
[09:25] <heller> at /etc/apt/apt.conf.d there is no file called 20auto-upgrades
[09:25] <heller> even if unattended-upgrades is installed
[09:26] <heller> but it seems to never run according to the logs
[09:40] <heller> so why am i missing the nano /etc/apt/apt.conf.d/20auto-upgrades ?
[09:43] <BluesKaj> 'Morning folks
[09:46] <SteppeEable> 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] <SteppeEable> ubuntu installer*
[09:47] <luma_chan> Hello, My ubuntu desktop was freezing except the mouse can move. who can help me?
[09:47] <luma_chan> ubuntu 18.04
[09:54] <luma_chan> anybody have met the same problem before?
[09:55] <luma_chan> :( no one here
[09:55] <BluesKaj> luma_chan, I have to ask the obvious, have you updated and upgraded your packages lately?
[09:56] <luma_chan> packages are still lastest
[09:57] <luma_chan> i enter ctrl + alt + F1~7, it does't work
[09:59] <Alexander> hi all
[10:00] <BluesKaj> desktop is frozen,  to reboot in an emergency, hold down the keys alt+printscreen, then do REISUB
[10:00] <tomreyn> SteppeEable: what happened exactly, what are you left with now?
[10:01] <Alexander> 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] <tomreyn> 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] <SteppeEable> 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)
[10:08] <tomreyn> Alexander: please post the same as i just wrote to luma_chan, but also the output of:  dmesg | nc termbin.com 9999
[10:09] <pabed> 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] <SteppeEable> i had LVM2 on top of md-raid, i found lvm headers through hexdump and strings from the raw device
[10:10] <tomreyn> 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)?
[10:12] <tomreyn> An MD RAID is managed using the "mdadm" utility.
[10:12] <SteppeEable> tomreyn: hm, i think it's a mdraid (mdadm)
[10:12] <tomreyn> ok
[10:13] <SteppeEable> now i have virtual machine with snapshot of this raw device (through qcow2 backing device).
[10:13] <tomreyn> 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] <SteppeEable> tomreyn: yep
[10:14] <tomreyn> 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] <SteppeEable> tomreyn: yep
[10:16] <tomreyn> 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] <tomreyn> SteppeEable: which installer did you use, which ubuntu version did you install?
[10:17] <BluesKaj> 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] <sazawal> 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] <tomreyn> pabed: does /dev/sdb1 exist, does it contain an ext3 file system, does /home/yourname/ exist?
[10:17] <SteppeEable> tomreyn: ubuntu server 18.04.2 . i burn it to usb stick by dd
[10:18] <tomreyn> SteppeEable: the new default "server-live" server or the alternative / classic ("debian-installer" based) server installer?
[10:19] <SteppeEable> tomreyn: unfortunately i don't remember. but i remember, installer was without gui
[10:19] <tomreyn> SteppeEable: can you post the output of "sudo parted -ls" to the ubuntu !pastebin ?
[10:20] <tomreyn> also lsblk && blkid
[10:21] <SteppeEable> 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] <Alexander> tomreyn: HI ! heres my cmmands outputs : https://pastebin.com/eQzXgnM4
[10:23] <SteppeEable> tomreyn: https://paste.ubuntu.com/p/HK7TwwbP3x/
[10:24] <SteppeEable> tomreyn: pay attention to sdb3 and sdb4
[10:25] <SteppeEable> sdb3 - mdraid for /boot part (ext4), and sdb4 - mdraid for lvm2 pv
[10:29] <tomreyn> 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] <tomreyn> is it's NP530U3B then a newer mainboard firmware is available https://www.samsung.com/us/support/owners/product/np530u3b
[10:31] <tomreyn> SteppeEable: please stand by while i'm reviewing Alexander's logs
[10:32] <Alexander> tomreyn: yes it a NP530U3B Series 5 Ultrabook  Samsung I'll look at firmware upgrzade
[10:32] <SteppeEable> tomreyn: ok, no problem
[10:33] <BjarneS> 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] <BjarneS> thing. How do I fix this without using bootrepair?
[10:34] <blackflow> 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
[10:34] <blackflow> SteppeEable: can you pastebin `cat /proc/mdstat` ?
[10:36] <SteppeEable> blackflow: https://paste.ubuntu.com/p/DNDZGdFB6M/ :)
[10:37] <tomreyn> 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] <tomreyn> blackflow: thanks for stepping in.
[10:38] <SteppeEable> blackflow: the problem is that ubuntu installer was corrupt my mdraid
[10:39] <blackflow> 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?
[10:39] <pabed> tomreyn: yes they are exist
[10:39] <pabed> BluesKaj: let me try
[10:40] <BluesKaj> pabed, post your entry after you're done editing
[10:40] <SteppeEable> blackflow: this volume group from ubuntu, on top of sda
[10:40] <pabed> BluesKaj: yes sure
[10:41] <blackflow> SteppeEable: well what is your intent with it? What exactly do you want to achieve?
[10:41] <SteppeEable> blackflow: pay attantion to sdb4, this is my corrupted md-device
[10:42] <blackflow> SteppeEable: okay, and?
[10:44] <SteppeEable> 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] <tomreyn> 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] <blackflow> 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] <tomreyn> 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] <tomreyn> blackflow: that's my understanding, yes
[10:47] <SteppeEable> tomreyn: i understand it :)
[10:48] <blackflow> SteppeEable: in which case, what's the output of `mdadm --assemble --scan`   and after that of `cat /proc/mdstat`  ?
[10:49] <SteppeEable> blackflow: sda3 and vg00 - there are related to my ubuntu. but i'm lost vg0 from my centos
[10:50] <SteppeEable> blackflow: mdadm: No arrays found in config file or automatically
[10:50] <blackflow> 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] <heller> so no one has ideas for my unattended question? :O
[10:50] <SteppeEable> blackflow: i think the ubuntu installer deleted superblock from the /dev/sdb4
[10:51] <blackflow> SteppeEable: please answer my question.
[10:51] <blackflow> SteppeEable: not what you think has happened, or what you think is the solution. what exactly do you want to achieve, please.
[10:52] <SteppeEable> blackflow: i want to access to my vg0 that was on /dev/sdb4
[10:53] <tomreyn> 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] <heller> 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] <heller> https://help.ubuntu.com/stable/serverguide/automatic-updates.html this states that i need to configure 20aut-upgrades
[10:55] <heller> but i dont have it, and i'm not sure should it be created automatically?
[10:56] <tomreyn> 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] <blackflow> 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] <heller> all i have is 20archive
[10:57] <tomreyn> heller: looks like the server guide is outdated there.
[10:57] <SteppeEable> blackflow: i had mdraid mirrors on top of the /dev/sda4 and /dev/sdb4
[10:57] <pabed> BluesKaj: https://paste.linux.community/view/adaa1b5a
[10:57] <blackflow> heller: https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package
[10:57] <tomreyn> heller: so just install update-notifier-common, i guess
[10:58] <BluesKaj> pabed, ext3?
[10:58] <blackflow> 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] <heller> the 16LTS does not have 10perioidic or 20auto-upgrades
[10:58] <SteppeEable> 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] <heller> 18LTS has 10perioidic but there is nothing about unattended-upgrades
[10:59] <pabed> BluesKaj: yes I use this "mkfs.ext3 /dev/sdb1" when I wanted format disk
[10:59] <blackflow> SteppeEable: please try the mdadm assemble command above
[10:59] <SteppeEable> blackflow: ok, let me time
[10:59] <gpn273> 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] <BluesKaj> pabed, have you tried a reboot?
[11:00] <pabed> BluesKaj: "  default 0       0 " is correct ?
[11:00] <heller> blackflow: is that for 16 or 18?
[11:00] <BluesKaj> pabed, I use 'O   1'
[11:00] <SteppeEable> blackflow: https://paste.ubuntu.com/p/n6hk4VSNnd/ (mdadm: /dev/sdb4 has no superblock - assembly aborted)
[11:01] <tomreyn> !yy.mm | heller
[11:01] <blackflow> 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] <heller> i tried that command
[11:01] <heller> no files were generated
[11:02] <tomreyn> $ sudo dpkg-reconfigure --priority=low unattended-upgrades
[11:02] <tomreyn> Not replacing deleted config file /etc/apt/apt.conf.d/20auto-upgrades
[11:02] <heller> oh my bad, both are Ubuntu 16.04.5 LTS
[11:02] <BluesKaj> pabed,  '0  1' rather
[11:02] <tomreyn> what i just pasted is the output i get to see on 18.04.2
[11:02] <heller> tomreyn: im 100% sure that that file was never deleted
[11:02] <pabed> BluesKaj: 0 0 vs 0 1?
[11:02] <BluesKaj> yes
[11:03] <blackflow> 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] <tomreyn> heller: i see. but i'd expect unattended-upgrades to place it there when it is installed
[11:03] <tomreyn> heller: you could purge and reinstall the unattended-upgrades package, or install update-notifier-common
[11:04] <blackflow> heller: try    apt install --reinstall -o Dpkg::Options::="--force-confmiss" unattended-upgrades
[11:05] <heller> ah after that the reconfigure worked
[11:05] <heller> now both servers have the 20auto-upgrade
[11:05] <heller> +s
[11:05] <heller> now i just check  logs tomorrow to see if something was really done?
[11:05] <blackflow> 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] <pabed> BluesKaj: it workes I missed "s" in defaults
[11:05] <BluesKaj> pabed, check the line wit default, change it to defaults
[11:06] <BluesKaj> yeah
[11:06] <pabed> BluesKaj: thans alot
[11:06] <BluesKaj> np
[11:07] <tomreyn> blackflow: are you referring to update-notifier-common or update-notifier there?
[11:07] <blackflow> tomreyn: I'm guessing the latter, then.
[11:08] <tomreyn> there is also apt-config-auto-update which also does similar, based on its description
[11:08] <heller> btw only ssh access, no UI
[11:08] <blackflow> 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.
[11:08] <SteppeEable> 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] <blackflow> SteppeEable: perhaps try this:  mdadm --create /dev/md99 --level=1 --raid-devices=2 /dev/sdb4 missing
[11:09] <tomreyn> heller: you can wait, or you can trigger the cron job manually
[11:09] <blackflow> SteppeEable: then try vgscan again, see if finds the VG on /dev/md99
[11:09] <blackflow> heller: howeve, I'd really advise against unattended upgrades.
[11:10] <heller> hah, its a shame that daily ran 10 minutes ago
[11:10] <heller> blackflow: care to explain why?
[11:10] <blackflow> 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] <blackflow> 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] <blackflow> (service won't autorestart on lib updates/upgrades)
[11:13] <tomreyn> gpn273: do you just lock the desktop there or do you also suspend to ram?
[11:13] <gpn273> tomreyn: I just lock the desktop using the power menu in the upper-right corner of the screen
[11:15] <heller> or i could just blacklist them? :)
[11:15] <blackflow> heller: blacklist what?
[11:16] <SteppeEable> 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] <SteppeEable> blackflow: compared with worked xfs volume*
[11:18] <blackflow> 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] <tomreyn> 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] <tomreyn> 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] <gpn273> tomreyn: Ok, I'll report back soon
[11:25] <SteppeEable> 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] <tomreyn> SteppeEable: qyou've reached the point where you should restore from a backup
[11:28] <SteppeEable> tomreyn: i didn't have backup, i thought that mdraid would protect me :)
[11:28] <tomreyn> no one can protect you if you don't do the most basic thing.
[11:31] <gpn273> tomreyn: I've done the steps which you've asked, how do I access the log?
[11:32] <blackflow> SteppeEable: raid is NOT backup.... as you can clearly see :)
[11:35] <cappe> cant get ufw to accept ftp correctly, it seems to let through the traffic but it wont list directories in ftp?
[11:35] <tomreyn> 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] <tomreyn> 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] <tomreyn> 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] <cappe> if I simply disable ufw it will work fine, the ftp server
[11:36] <cappe> im behind a router with port forwarding btw
[11:37] <gpn273> tomreyn: Also, which logs do you need
[11:37] <cappe> I have tried all kinds of sensible rules
[11:37] <tomreyn> cappe: passive ftp requires data ports to be open + forwarded, too
[11:38] <cappe> yeah, that about the "active" vs passive mode. but isnt that automatic?
[11:38] <tomreyn> 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] <cappe> but if I set to passive/active mode in the ftp client? will that matter?
[11:39] <tomreyn> gpn273: journalctl -b1 | grep -v UFW | nc termbin.com 9999
[11:40] <ilias_gr> hi all. Could please advise if it is recommended to tick 'unsupported updates (xenial-backports)' on Software&Updates?
[11:40] <gpn273> tomreyn: Console reported this "Specifying boot ID or boot offset has no effect, no persistent journal was found."
[11:40] <tomreyn> cappe: if both are behind NAT, neither will work without further modifications.
[11:40] <cappe> guess I need another firewall to make it work?
[11:41] <cappe> it works fine with it disabled
[11:41] <tomreyn> ilias_gr: it is recommneded to only use supported software.
[11:42] <tomreyn> cappe: i'm not feeling like debugging your double NAT + firewalling to make FTP work today.
[11:42] <cappe> I guess it's something about the ufw and its configurations becuase eveyrthing works perfecly without it enabled
[11:42] <cappe> ok, I will use another FW
[11:42] <tomreyn> cappe: use SSH / SFTP or HTTP
[11:42] <cappe> what server would u use for sftp?
[11:42] <tomreyn> cappe: who is "u"?
[11:43] <ilias_gr> tomreyn: if i use it will be my system kept updated for packages no longer supported from the community?
[11:43] <cappe> nvm
[11:43] <tomreyn> cappe: openssh-server provides an internal sftp server.
[11:43] <cappe> ok
[11:43] <cappe> that's a nice idea, cheers
[11:43] <tomreyn> ilias_gr: maybe. it's not guaranteed.
[11:44] <tomreyn> ilias_gr: actually, i read this question wrong
[11:45] <tomreyn> 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] <ilias_gr> 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] <tomreyn> 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] <amda> hi
[11:47] <amda> hola
[11:47] <tomreyn> hi amda
[11:47] <tomreyn> !es | amda
[11:47] <heller> blackflow: update of gcc
[11:48] <amda> hi, excuseme
[11:48] <ilias_gr> tomreyn: OK. I am talking about by community unsupported packages. Not by Canonical.
[11:48] <tomreyn> 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] <blackflow> heller: sorry?
[11:49] <amda> Hello, good people, has someone installed Tinypaw?
[11:50] <amda> I have problems in the graphic part, my screen stays black
[11:50] <tomreyn> 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] <ilias_gr> 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] <tomreyn> ilias_gr: the latter
[11:52] <tomreyn> 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.
[11:53] <amda> 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] <leftyfb> amda: neither tinypaw, nor linux mint are supported here. This is for Ubuntu support only.
[11:54] <amda> ok, thank you
[12:08] <SteppeEable> 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 "
[12:09] <tomreyn> SteppeEable: are you asking whether the Ubuntu 18.04.2 alternative server installer is broken? not that i know of.
[12:10] <tomreyn> 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] <SteppeEable> tomreyn: you wrote that I used a broken installer
[12:12] <tomreyn> SteppeEable: yes, that's the short form of what i wrote above
[12:13] <SteppeEable> as far i understand, there are 2 installers, live and alternate?
[12:13] <tomreyn> the default 18.04 server installer is not able to handle existing storage structures
[12:13] <tomreyn> SteppeEable: that's correct
[12:13] <tomreyn> 'live' is the default one on 18.04.
[12:14] <SteppeEable> hm, don't remember that i'm seen part 'live' in iso name
[12:22] <heller> blackflow: i mean i could blacklist gcc from u-u
[12:23] <blackflow> heller: why gcc specifically?
[12:24] <blackflow> 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.
[12:34] <heller> i would really like to learn more about ansible
[12:34] <heller> got about 20 servers to tinker with
[12:37] <XxSYDxX> why is python3 so important in ubuntu 18.10
[12:38] <lotuspsychje> !discuss | XxSYDxX
[12:38] <pragmaticenigma> 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] <o770> Hello. How do we call the versions between the LTS releases? Do they run not much tested software by default?
[12:39] <pragmaticenigma> !alis | heller: This channel is focused on Ubuntu desktop operating system. Please find a channel on your topic using
[12:40] <lotuspsychje> o770: non-lts or candidate releases
[12:44] <heller> pragmaticenigma: yeah well, it was just something i was thinking out loud :)
[12:50] <o770> 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] <lotuspsychje> o770: we usually dont take polls here and focus on ubuntu support questions, feel free to repeat in #ubuntu-discuss
[12:56] <iresf> hello
[12:56] <iresf> i have a usb flash and ubuntu can not format it because of this error message :
[12:56] <iresf> 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] <iresf>  (udisks-error-quark, 0)
[12:57] <Reejoo> ????
[12:57] <Southern_Gentlem> iresf,  is it mounted somewhere
[12:58] <Reejoo> hello
[12:58] <Southern_Gentlem> try the mount command to test
[12:58] <o770> 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] <iresf> 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] <Southern_Gentlem> usually media/mmc would be an sdcard
[13:16] <pragmaticenigma> iresf: try renaming the device without unicode characters...
[13:16] <iresf> pragmaticenigma : how to do that ?
[13:18] <pragmaticenigma> iresf: How was the drive formatted before? How did you label the drive?
[13:19] <iresf> startup disk creator has a bug and i used it to bootable the usb drive   pragmaticenigma
[13:23] <iresf> pragmaticenigma : startup disk creator formated it
[13:25] <ioria> iresf, use gparted
[13:26] <BjarneS> can someone copy paste what I said earlier i've lost it in this buffer
[13:26] <BjarneS> I'm going to post it on a forum
[13:29] <pragmaticenigma> 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] <alten> salut
[13:39] <BjarneS> alten ca va
[13:42] <pragmaticenigma> 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] <DJ-ArcAngel> hello
[13:54] <DJ-ArcAngel> is it still possible to release upgrade an ubuntu 10?
[13:54] <DJ-ArcAngel> :D
[13:54] <EriC^> DJ-ArcAngel: yeah
[13:54] <DJ-ArcAngel> cool.. how
[13:54] <EriC^> DJ-ArcAngel: you'd have to release upgrade a few times to reach a supported LTS though
[13:54] <EriC^> !oldreleases
[13:54] <DJ-ArcAngel> yeah.. no problem if that works
[13:55] <EriC^> !eolupgrades  | DJ-ArcAngel
[13:55] <DJ-ArcAngel> i changed the repo url now to old-releases.ubuntu.com
[13:55] <EriC^> DJ-ArcAngel: k, type "sudo apt-get upgrade && sudo do-release-upgrade"
[13:55] <EriC^> wait
[13:55] <EriC^> DJ-ArcAngel: first type "sudo apt-get update"
[13:56] <leftyfb> DJ-ArcAngel: btw, there's no such thing as "Ubuntu 10"
[13:56] <DJ-ArcAngel> sec... i'll make a new clone first
[13:56] <DJ-ArcAngel> hey leftyfb
[13:56] <DJ-ArcAngel> 10.04
[13:56] <smokeysea> 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] <leftyfb> 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] <DJ-ArcAngel> in most cases that would be true yes
[13:57] <DJ-ArcAngel> not with a legacy freeradius DB with 800+ customers
[13:58] <DJ-ArcAngel> of which we don't know what is active and not
[13:58] <DJ-ArcAngel> doing an in place upgrade will save us weeks of work
[13:59] <leftyfb> DJ-ArcAngel: I doubt it. Make sure you have a backup and plan for downtime and a fresh install. Just saying.
[14:00] <DJ-ArcAngel> i am doing the in-place upgrade on a clone
[14:00] <DJ-ArcAngel> so leaving the original untouched
[14:00] <DJ-ArcAngel> if it works.. i can switch ip's
[14:00] <DJ-ArcAngel> else.. we are fsck'ed anyway
[14:01] <leftyfb> DJ-ArcAngel: it's been 9 years. I think it might be time for a fresh install anyway, don't ya think?
[14:01] <pragmaticenigma> DJ-ArcAngel: ... are the users just part of the regular system users (with no shell)? (don't now a proper name)
[14:01] <DJ-ArcAngel> pragmaticenigma: ofcourse not.. they are in a DB
[14:01] <DJ-ArcAngel> let's not make it easy
[14:01] <leftyfb> hence radius :)
[14:01] <DJ-ArcAngel> :P
[14:01]  * pragmaticenigma not familiar with radius
[14:02] <pragmaticenigma> DJ-ArcAngel: Though if they're in a DB.... what prevents the DB from being migrated?
[14:02] <DJ-ArcAngel> hav you seen the developemnt between configuration file changes
[14:02] <iresf> pragmaticenigma :  has a larget number of bad entries.   not droping root directory .
[14:02] <DJ-ArcAngel> in the last 10 years?
[14:03] <DJ-ArcAngel> the new radius has different interface.. different conf files... diff conf dir
[14:03] <DJ-ArcAngel> etc
[14:03] <leftyfb> DJ-ArcAngel: which is why I say the upgrade isn't going to go as clean as you think
[14:03] <DJ-ArcAngel> i suspect as much
[14:03] <DJ-ArcAngel> but i want to try first
[14:03] <leftyfb> DJ-ArcAngel: the upgrade isn't going to keep your old version of packages
[14:03] <DJ-ArcAngel> who knows.. we are lucky
[14:04] <DJ-ArcAngel> but i fear the worst
[14:04] <DJ-ArcAngel> brb.. smoke
[14:04] <pragmaticenigma> DJ-ArcAngel: for such a large time span, I'd start fresh, and find a way to have users migrate over
[14:13] <Exterminador> 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] <Exterminador> so the user couldn't bind any process (specifically the bots that will run) to any other address
[14:14] <charlie-friend> hello
[14:15] <EriC^> hi
[14:16] <gigirock> 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] <leftyfb> gigirock: please don't
[14:19] <leftyfb> Exterminador: maybe look into putting that user in their own lxd container?
[14:20] <charlie-friend> REGISTER
[14:20] <nils_> 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] <OerHeks> nils_, how did you switch back to previous interface naming?
[14:21] <charlie-friend> HELLO
[14:21] <charlie-friend> how do I register?!
[14:21] <leftyfb> nils_: https://www.itzgeek.com/how-tos/mini-howtos/change-default-network-name-ens33-to-old-eth0-on-ubuntu-16-04.html
[14:21] <leftyfb> !register | charlie-friend
[14:22] <JimBuntu> or... https://freenode.net/kb/answer/registration
[14:22] <OerHeks> leftyfb +1 >> "net.ifnames=0 biosdevname=0"
[14:22] <nils_> OerHeks, that's not a possibility, I'm building an image that has to match a certain kernel cmdline.
[14:23] <OerHeks> nils_,  oke, then stick to the new naming
[14:26] <charlie-friend> i have registered
[14:26] <charlie-friend> how do i connect?
[14:26] <Exterminador> leftyfb: something like this: https://linuxcontainers.org/lxd/introduction/ ?
[14:26] <pragmaticenigma> !register | charlie-friend
[14:26] <felco_> 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] <leftyfb> Exterminador: https://help.ubuntu.com/lts/serverguide/lxd.html.en
[14:27] <nils_> I might just do it with networkd directly.
[14:27] <OerHeks> felco_, did you run updates after that?
[14:28] <charlie-friend> I am locked out of ubuntu, when I boot I get error message in BIOS with command line (initramfs)
[14:28] <felco_> OerHeks yeah, apt update
[14:32] <Exterminador> leftyfb: I'm going to try it out in my laptop to learn a bit. thanks for the pointers :)
[14:32] <charlie-friend> hello
[14:33] <charlie-friend> im locked out of ubuntu
[14:34] <Exterminador> just wondering.. should I use directory or zfs?
[14:34] <Exterminador> as the container backend..
[14:34] <DJ-ArcAngel> directory
[14:34] <DJ-ArcAngel> unless you already have zfs
[14:34] <blackflow> Exterminador: zfs would require you to already have an existing pool for them, in which case, it's definitely a benefit for the containers
[14:36] <Exterminador> I don't think I have anything like that.. I was wondering if there's something like a container root..
[14:36] <charlie-friend_> Hello
[14:36] <airquality> good morrow, urist
[14:37] <charlie-friend_> I am locked out of uni tu
[14:37] <charlie-friend_> Ubuntu
[14:37] <charlie-friend_> Please help!
[14:37] <airquality> oh man, if your disk isn't encrypted, should be fine tho.
[14:37] <DJ-ArcAngel> charlie-friend_: https://askubuntu.com/questions/732060/im-stuck-at-grub-menu-and-cant-boot-to-ubuntu
[14:37] <Exterminador> Q: should I answer yes to `use LXD clustering`?
[14:38] <charlie-friend_> I get the command line (initramfs)
[14:38] <blackflow> charlie-friend_: locked how exactly?
[14:38] <DJ-ArcAngel> Exterminador: not unless you have more lxc servers
[14:39] <EriC^> airquality: hey! any luck?
[14:39] <charlie-friend__> this is what I see;
[14:39] <Exterminador> 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] <adrian_1908> right, answer "no".
[14:39] <airquality> @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] <airquality> in the mean time i'm reading TestDisk articles so i don't make any silly mistakes
[14:40] <EriC^> airquality: ah cool
[14:40] <charlie-friend__> BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.1) built-in shell (ash)
[14:40] <Exterminador> what's a storage pool? o.O
[14:40] <charlie-friend__> enter help for a list of built in commands
[14:40] <charlie-friend__> (initramfs)
[14:41] <EriC^> 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] <DJ-ArcAngel> Exterminador: answer no.. yes
[14:41] <airquality> well, i love reading manuals. i don't really use arch anymore but i still follow their philosophies, hehe. rtfm.
[14:42] <EriC^> :)
[14:42] <charlie-friend__> please someone help!
[14:42] <airquality> hi charlie-friend__
[14:42] <charlie-friend__> hello :)
[14:43] <leftyfb> charlie-friend__: you were given a link to follow. Please go read it
[14:43] <OerHeks> https://askubuntu.com/questions/732060/im-stuck-at-grub-menu-and-cant-boot-to-ubuntu
[14:43] <OerHeks> a few steps, and easy to do
[14:43] <charlie-friend__> thank you
[14:46] <airquality> is Ctrl+Shift+S specific to xfce4-terminal or is it a common shortcut (for setting terminal title names)
[14:48] <charlie-friend__> OerHeks after second command it just says syntax error: unexpected "("
[14:49] <charlie-friend__> also i get passed the grub menu
[14:49] <charlie-friend__> I hit elementary amd then get the BusyBox v1.27.2 etc and (initramfs)
[14:50] <DJ-ArcAngel> seems like someone has been editting grub.cfg manually
[14:50] <DJ-ArcAngel> charlie-friend__: can you mount a live cd?
[14:50] <DJ-ArcAngel> charlie-friend__: if so.. mount live cd.. boot into rescue... and re-run grub-install
[14:50] <charlie-friend__> yes i have elementary on a USB
[14:51] <OerHeks> Elementary ? .. why did you join ubuntu, as they have their own channel here on #freenode? #elementary
[14:51] <DJ-ArcAngel> charlie-friend__: https://help.ubuntu.com/community/LiveCdRecovery
[14:51] <leftyfb> !elementary | charlie-friend__
[14:51] <charlie-friend__> ok thanks
[14:53] <leftyfb> airquality: looks like it's only an xfce4-terminal thing
[14:54] <qwebirc79081> Hi, i have a question on netplan.
[14:55] <leftyfb> !ask | qwebirc79081
[14:55] <eraserpencil2> 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] <qwebirc79081> 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] <qwebirc79081> is there a better solution than adding @reboot /usr/sbin/netplan apply   to cron ?
[14:56] <leftyfb> eraserpencil2: does "dmesg" while in the live environment tell you anything about the drive? I/O errors?
[14:57] <eraserpencil2> let me try and get back to you
[14:57] <leftyfb> qwebirc79081: I would see if you can find out what exactly "netplan apply" does and do that after your yaml creation.
[14:58] <DJ-ArcAngel> ok.. giving up on the 10.04 upgrade
[14:58] <DJ-ArcAngel> fsck that
[14:59] <qwebirc79081> @leftyfb yaml is created during debootstrap via python, and before VM reboots i apply
[15:00] <qwebirc79081> no cfg in old path /etc/network7interfaces
[15:01] <compdoc> ./etc/network/interfaces   isnt a path, its a file
[15:01] <programmerq> 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] <leftyfb> qwebirc79081: chroot into the target and run netplan apply
[15:02] <eraserpencil2> 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] <leftyfb> eraserpencil2: mount the drive and try to chroot to it and then check dmesg for errors
[15:02] <Nibblyn> 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] <lotuspsychje> Nibblyn: your ubuntu version please?
[15:03] <Nibblyn> lotuspsychje:  18.04
[15:04] <lotuspsychje> Nibblyn: system up to date also?
[15:04] <Nibblyn> lotuspsychje:  yes, everything in perfect order
[15:04] <eldereko> 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] <lotuspsychje> !info nvidia-driver-390 bionic
[15:05] <Exterminador> LXD seems way too complicated. I need to study it more
[15:05] <leftyfb> Exterminador: it's really not
[15:06] <leftyfb> Exterminador: lxc launch ubuntu:18.04 <name>
[15:06] <leftyfb> Exterminador: then lxc exec <name> "/bin/bash" #to login as root then setup network/ssh/users/whatever
[15:07] <lotuspsychje> Nibblyn: is your driver currently in use?
[15:07] <tomreyn> 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] <Nibblyn> 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] <lotuspsychje> Nibblyn: wait, lets test first whats happening
[15:08] <eldereko> 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] <lotuspsychje> Nibblyn: maybe you found an interesting bug
[15:09] <tomreyn> eldereko: is secureboot enabled?
[15:09] <Nibblyn> lotuspsychje: nvidia-smi -> Failed to initialize NVML: Driver/library version mismatch.
[15:09] <lotuspsychje> Nibblyn: ubuntu-drivers list gives you only 390?
[15:10] <eraserpencil2> leftyfb: segfault at 0 ip .....error 14 in bash
[15:10] <eraserpencil2> would you prefer the entire dmesg?
[15:11] <eldereko> tomreyn im not too familiar with secureboot, but its using bios boot and gpt not uefi, so i dont think applies?
[15:11] <Nibblyn> lotuspsychje: yes. nvidia-driver-390
[15:12] <lotuspsychje> Nibblyn: your current kernel is 4.15 or 4.18?
[15:12] <tomreyn> eldereko: correct. do you know whether grub can boot off btrfs?
[15:12] <Nibblyn> lotuspsychje: switching to https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa. uname: 4.15.0-46-generic
[15:12] <leftyfb> eraserpencil2: do you have another drive you can plug in to try to mount/chroot?
[15:14] <eldereko> 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] <tomreyn> 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] <eraserpencil2> i can install one i guess
[15:14] <leftyfb> eraserpencil2: just to see if it's an issue with the drive or not
[15:15] <leftyfb> eraserpencil2: also, define "I messed up"
[15:15] <eraserpencil2> im not sure... might have been because I removed some linux-headers...
[15:15] <lotuspsychje> Nibblyn: wich graphics card chipset is this?
[15:17] <tomreyn> eldereko: can you chroot into the system, then post fstab, blkid, lsblk, dmsetup ls, mdstat ?
[15:17] <eraserpencil2> apart from that, I might have changed my glibc.
[15:18] <eraserpencil2> which i later read might kill my installation. could that be it?
[15:18] <Nibblyn> lotuspsychje: geforce 1080
[15:18] <leftyfb> eraserpencil2: probably just quicker to reinstall, maybe with 18.04
[15:19] <lotuspsychje> 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] <eraserpencil2> I can still copy out the files in my drive right?
[15:19] <tomreyn> eraserpencil2: how did this happen?
[15:19] <leftyfb> eraserpencil2: as long as you can mount it, sure. Or restore from your backups?
[15:20] <eraserpencil2> tomreyn: how did what happen?
[15:21] <tomreyn> eraserpencil2: 'changing' glibc
[15:21] <Nibblyn> lotuspsychje: you mean filling a bug report on launchpad?
[15:21] <eraserpencil2> 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] <tomreyn> 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] <tomreyn> eraserpencil2: so how did you get the newer glibc then?
[15:22] <eraserpencil2> building from source
[15:24] <tomreyn> 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] <tomreyn> 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] <tomreyn> so be very careful there.
[15:25] <eldereko> tomreyn https://pastebin.com/bqWBUt5F
[15:26] <leftyfb> eraserpencil2: ugh, compiled your own glibc? Wipe and reinstall.
[15:26] <qwebirc79081> @leftyfb i'll try that
[15:26] <eraserpencil2> 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] <tomreyn> eldereko: nice output, just we prefer paste.ubuntu.com here (see /topic). could oyu also add pvs, vgs, lvs - sorry...
[15:28] <leftyfb> 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] <tomreyn> eldereko: also note that your raid is currently resynching. maybe you should wait for this to complete.
[15:29] <lotuspsychje> Nibblyn: yes
[15:29] <eldereko> tomreyn ah sorry i will remember paste.ubuntu next time... i added the vgs/pvs/lvs output
[15:30] <tomreyn> eldereko: where did you add these?
[15:30] <eraserpencil2> just a question. Where is an adviseable directory for source code? /usr/lib/src?
[15:30] <tomreyn> eldereko: got it
[15:31] <eldereko> yeah i just noticed it was resyncing too, not sure why as its a clean install
[15:32] <blackflow> 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] <tomreyn> eldereko: i think this is the inital sync of a mirror raid.
[15:34] <tomreyn> eldereko: your partitioning is weird. why would you join PVs backed by different types of software RAIDs to the same volume group?
[15:34] <tomreyn> s/types/levels/
[15:34] <eraserpencil2> blackflow: yea...those are a tad beyond me atm...
[15:34] <tomreyn> eldereko: ...even more so when those are backed by (partially) the same  physical storages.
[15:35] <plongshot> Does anyone know if there's a way to set the default behavior for windows in 18.04?
[15:36] <leftyfb> plongshot: in what sense?
[15:36] <eldereko> 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] <tomreyn> bc=before christ?
[15:36] <eldereko> haha because, sorry
[15:38] <eldereko> 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] <tomreyn> 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] <plongshot> 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] <tomreyn> eldereko: i recommend you replace the paths in fstab by UUIDs
[15:41] <plongshot> 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] <tomreyn> eldereko: also i seem to recall that grub booting off btrfs subvolumes isn't supported / is broken
[15:42] <leftyfb> plongshot: I don't have that issue with a fresh install of 18.04 using gnome shell
[15:44] <plongshot> 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] <eldereko> 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] <leftyfb> 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] <plongshot> oh
[15:45] <plongshot> ok
[15:45] <eldereko> and also without subvols at all... this is unfortuntealy my 4th clean install with different configs all with the same grub error :(
[15:45] <lordcirth> plongshot, iirc a 16.04 -> 18.04 upgrade leaves Unity in place, yeah
[15:45] <lotuspsychje> yep, should be choosable at login
[15:46] <plongshot> I remember seing some output about "wayland" something; than, when I saw it, I thought was referring to the desktop environment.
[15:46] <OerHeks> dconf  org.gnome.mutter auto-maximize false >>>  https://askubuntu.com/questions/1074678/gnome-terminal-always-opens-maximised
[15:47] <tomreyn> 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] <plongshot> OerHeks: This could work for me? Can it work for all the windows globally or just gnome terminal?
[15:48] <tomreyn> that's eldereko's setup
[15:48] <OerHeks> that setting is global, i guess
[15:48] <tomreyn> https://pastebin.com/raw/bqWBUt5F
[15:48] <plongshot> OerHeks: appreciate it thx
[15:48] <tomreyn> ...fails with lvmid not found
[15:49] <tomreyn> dropping to grub CLI
[15:49] <leftyfb> tomreyn: I don't. I have little experience with LVM.
[15:50] <leftyfb> 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] <tomreyn> yes, less complexity would be my suggestion, too.
[15:53] <eldereko> 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] <eldereko> the grub rescue console does appear to see all the disks and md though
[15:54] <plongshot> OerHeks: Works now. Thx
[15:54] <tomreyn> eldereko: i suspect that grub is having trouble finding the / file system since it is backed by three PVs, not just one.
[15:55] <tomreyn> and a btrfs subvolume might add to the confusion
[15:55] <OerHeks> plongshot, have fun!
[15:55] <leftyfb> eldereko: I would also suggest a separate /boot for such configurations
[15:55] <leftyfb> eldereko: keep /boot simple.
[15:56] <tomreyn> yes, it will likely work then
[15:56] <aqd> 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] <tomreyn> or at least get you to initrd ;)
[15:57] <eldereko> 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] <tomreyn> eldereko: also, i'd recommend using LTS releases for servers, and for complex installations.
[15:59] <eldereko> tomreyn gotcha, i will definitely switch for my next attempt, thanks
[16:00] <tomreyn> eldereko: non LTS releases don't usually get more than an initial ISO release, and no minor version upgrades.
[16:00] <tomreyn> ubuntu 18.04.2 installers will be newer and have more fixes than the 18.10 iso you used.
[16:00] <tomreyn> but do stick to the alternate installer.
[16:01] <eldereko> good to know... i also tried this with debian and achieved the same error, just an interesting fact
[16:01] <tomreyn> if you feel like spending more time on determining the root cause, to report a bug on it, that'd be nice.
[16:03] <eldereko> 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] <tomreyn> eldereko: on the bug tracker of the OS you reproduced it on.
[16:05] <tomreyn> eldereko: ubuntu uses launchpad. from the chroot you can run: ubuntu-bug grub2-common
[16:06] <eldereko> tomreyn oh wow, awesome command, thanks!
[16:07] <tomreyn> 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] <tomreyn> eldereko: ^
[16:07] <eldereko> also thanks for all your help tomreyn and leftyfb much appreciated
[16:08] <tomreyn> yw
[16:08] <tomreyn> you're welcome
[16:12] <qwebirc46863> 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] <tomreyn> qwebirc46863: please /join #ubuntu-server and repeat your question there.
[16:16] <qwebirc46863> Thanks @tomreyn
[16:16] <tomreyn> also consider using a proper IRC client, setting an individual nickname
[16:17] <Guest67> hi
[16:17] <tomreyn> see above
[16:20] <eraserpencil2> tomreyn: Hey, do you know if this is correct? GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2015\""
[16:21] <tomreyn> eraserpencil2: it is syntactically correct. does this make sense on your system? i would not know.
[16:22] <eraserpencil2> sure
[16:22] <eraserpencil2> thanks
[16:53] <blackflow> 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] <blackflow> btrfs _is_ a volume manager with raid level capabilities for extents
[16:55] <tgm4883> if btrfs is anything like ZFS, it's explicitly not recommended to run on RAID
[16:56] <blackflow> tgm4883: and it is, and it's not (recommended)
[16:56] <whislock> It is meant to be run directly on disks, afaik.
[16:56] <blackflow> yup
[16:56] <blackflow> or atop of partitions, but not atop of any raid or volume manager
[17:03] <Diezel> 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] <OerHeks> for i3 i don't know, for gnome there is gnome-tweak tool that can do scaling for fonts, menu and such
[17:08] <Diezel> 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] <ioria> Diezel, no idea in i3, already tried   google-chrome-stable --force-device-scale-factor=n ?
[17:14] <kantlivelong> anyone here know how to make policykit work with sssd?? specifically the isInGroup() function for rules
[17:14] <tomreyn> 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] <daemonick> hi guys
[17:15] <daemonick> and ladies
[17:15] <daemonick> and bots
[17:17] <Diezel> ioria: Thank you! Works like a charm!
[17:18] <ioria> Diezel, ok
[17:24] <daemonick> is virtual reality the next step in OS?
[17:25] <lotuspsychje> !discuss | daemonick
[17:26] <daemonick> ubottu, r u a bot?
[17:27] <daemonick> which topics we discuss here?
[17:27] <lotuspsychje> !support | daemonick
[17:28] <daemonick> !discuss
[17:29] <daemonick> can we talk about xubuntu?
[17:29] <lotuspsychje> daemonick: yes, in #ubuntu-discuss
[17:29] <whislock> Please read the channel topic.
[17:29] <daemonick> ok c ya laters
[17:29] <whislock> daemonick: Support questions here. General discussion in #ubuntu-discuss.
[17:29] <lotuspsychje> daemonick: type /join #ubuntu-discuss in your irc client
[17:31] <saraf> 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] <saraf> Is there some file that has the wrong access permissions, perhaps?
[17:32] <lotuspsychje> saraf: did you install ubuntu or are you in a liveusb?
[17:32] <saraf> installed
[17:32] <lotuspsychje> saraf: fresh install? did it work before?
[17:33] <saraf> worked before - but do not know the point in time after the regression.
[17:33] <saraf> It is in a VirtualBox VM
[17:34] <blackflow> saraf: are you by accident booting off of a previous snapshot?
[17:34] <saraf> nopes
[17:34] <saraf> I log in and do my work - and that stuff is saved alright when I look at it on next login
[17:35] <lotuspsychje> saraf: system up to date?
[17:35] <saraf> 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] <saraf> yup ... do update/upgrades regularly
[17:41] <evenflowz> 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] <sietrin> hallo
[17:46] <lotuspsychje> welcome sietrin
[17:46] <ryahi_skaprinav> hello lotuspsychje
[17:46] <ryahi_skaprinav> 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] <saraf> 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] <sietrin> am I on ubuntu channel?
[17:47] <sietrin> sorry
[17:48] <saraf> sietrin: yes :-)
[17:51] <tgm4883> ryahi_skaprinav: that sounds like what the Templates directory is for
[17:51] <mrchairman> does one ever master the command line?
[17:51] <ryahi_skaprinav> I'm kind of a noob towards linux so I wouldn't know what you are talking about tgm4883
[17:51] <mrchairman> sorry wrong chan
[17:53] <tgm4883> 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] <ryahi_skaprinav> tgm4883: I'm talking about a keyboard shortcut.
[17:56] <tgm4883> ryahi_skaprinav: well that seems silly. Wouldn't you just run the program name there then?
[17:56] <saraf> 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] <saraf> :-(
[17:57] <blackflow> ryahi_skaprinav: what current directory, then? The one open at that time in the file manager?
[17:57] <ryahi_skaprinav> blackflow: yes
[17:57] <blackflow> 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] <blackflow> 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] <ryahi_skaprinav> blackflow: ok thanks
[17:59] <saraf> ryahi_skaprinav: what editor are you talking about using?
[17:59] <ryahi_skaprinav> saraf: I'm currently using xed
[18:00] <ioria> saraf, try this  sudo apt install --reinstall ubuntu-settings
[18:01] <saraf> ioria: okay thanks ... will try that :)
[18:02] <plongshot> 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] <plongshot> I'm just wondering
[18:02] <saraf> 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?
[18:03] <saraf> ioria: does that have the probability of destroying/modifying any other settings like say Network or such likes ...?
[18:03] <ioria> destroy ?
[18:03] <saraf> okay ... resetting?
[18:04] <saraf> oh ok
[18:04] <saraf> it will just reinstall the ubuntu-settings application? is that it?
[18:04] <plongshot> 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] <lordcirth> plongshot, if you add a ppa, you will get updates from the ppa. If you download manually, you will not.
[18:06] <saraf> ioria: :-( okay - did sudo apt install --reinstall ubuntu-settings, but it does not help. I still cannot change the launcher behavior.
[18:06] <saraf> What could be the reason that the launcher has gone read-only
[18:07] <ioria> saraf,   ok; use   ' gtk-launch my_application '; pin to launcher and logout/in
[18:07] <plongshot> 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] <lordcirth> 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] <saraf> ioria: the app pinned to the launcher is gone
[18:09] <ioria> saraf,   no other ideas, sy
[18:09] <saraf> ioria: on logout/login
[18:09] <plongshot> 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] <saraf> what is the process name of the launcher - any ideas?
[18:10] <saraf> or where the config of that fellow is stored?
[18:10] <blackflow> 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] <saraf> what does the escaped ! do?
[18:13] <ryuo> logical not.
[18:13] <ryuo> it inverts the user test in this case.
[18:13] <saraf> aah ok - so files in my home directory that are not owned by me.
[18:14] <blackflow> saraf: correct
[18:14] <blackflow> in your ~/ and below, recursively
[18:15] <saraf> hmm ... nothing connected to the launcher or unity or to gnome
[18:15] <blackflow> well there shouldn't be ANY files in your home not owned by you
[18:17] <saraf> yes ... exactly my thoughts ... and there are a few in .config - that bothers me.
[18:17] <saraf> ./.config/Qt
[18:17] <saraf> ./.config/Qt/Qt Apps.conf
[18:17] <saraf> ./.config/wireshark
[18:17] <saraf> ./.config/wireshark/recent
[18:17] <saraf> ./.config/wireshark/recent_common
[18:17] <blackflow> !pastebin | saraf
[18:18] <saraf> ok - sorry, there were only 8 or 9 lines
[18:19] <blackflow> 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] <blackflow> 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] <blackflow> 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] <midnightfire> :)
[18:22] <saraf> okie
[18:22] <sudo18> lo hey all
[18:25] <b1> is there a way to setup a virtual environment in ubuntu
[18:25] <b1> ?
[18:25] <leftyfb> b1: yes
[18:25] <blackflow> b1: what kind of virtual environment?
[18:26] <b1> like a python virtual environment
[18:26] <b1> but not with python per se
[18:27] <blackflow> !xy | b1
[18:28] <b1> i want to install a package with sudo
[18:28] <b1> but not on my main environment
[18:28] <blackflow> 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] <sudo18> ok so sudo apt install "pkg name"
[18:28] <lordcirth> b1, what package, and why?
[18:28] <b1> UNetbootin
[18:28] <blackflow> b1: I think you still have an XY situation there. what's the end goal you want to achieve?
[18:29] <sudo18> blackflow: agreed. inquiring minds want to know
[18:29] <lordcirth> b1, and what's wrong with installing unetbootin normally?
[18:29] <b1> nothing
[18:29] <b1> is there an equivalent to pipenv
[18:29] <b1> ?
[18:30] <sudo18> b1: what are you trying to do? you're all over the place
[18:30] <blackflow> 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] <b1> blackflow, ok thanks
[18:30] <saraf> blackflow: no readonly dirs that could contain config files in there :( all the readonly hits were for .git SHAs
[18:31] <blackflow> saraf: yah that's normal for .git
[18:31] <saraf> yup
[18:31] <blackflow> 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] <blackflow> or, that being a red herring, there's no config being made persistent at all.  something something dconf?
[18:32] <saraf> it is not letting me change the settings for the launcher behavior like auto-hide, even without restarting
[18:32] <blackflow> (being attempted, rather, and failing. like, no attempts at all, your modifications are in memory, in current session only)
[18:32] <saraf> in the current session
[18:33] <blackflow> owait.... you'r not using the guest account are you?
[18:33] <saraf> although apps can be pinned to the launcher for the current session - hm.
[18:33] <saraf> no no way :)
[18:34] <Sven_vB> 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] <ioria> saraf, time to check syslog  maybe
[18:34] <lordcirth> Sven_vB, shorewall with log level info
[18:35] <blackflow> Sven_vB: tcpdump for SYN packets only
[18:35] <blackflow> or yes, iptables LOG for SYN states
[18:35] <Sven_vB> lordcirth, blackflow thanks!
[18:35] <blackflow> (and shorewall is quite a big firewall suite, not specifically needed just to log SYNs btw)
[18:38] <lordcirth> Yeah, shorewall is really nice, though :)
[18:39] <blackflow> 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] <saraf> EH .... the Settings->Appearance thing is not even letting me change the wallpaper!
[18:39] <saraf> ioria,blackflow: okay ... looking at the syslog ... hmmm.
[18:42] <ioria> saraf, did you extend  the disk space of the VM ?
[18:42] <saraf> um .. no
[18:43] <saraf> https://paste.ubuntu.com/p/mGppkrgGGF/
[18:43] <saraf> nothing worrisome there. (?)
[18:44] <saraf> is there a good paste like site for uploading syslog files?
[18:46] <saraf> that retains the colored highlighting that Vim gives for the syslog?
[18:46] <blackflow> 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] <blackflow> *up to 1 minute
[18:49] <saraf> nice! I think we may have caught something - https://paste.ubuntu.com/p/b259G5vfsT/
[18:51] <blackflow> not sure that's related to this problem
[18:52] <ioria> saraf, list that file and if missing, apt install --reinstall gnome-themes-extra-data
[18:52] <saraf> now at least I know that the process is called unity-control-center ...
[18:53] <saraf> and now if I run it from the command line - it gives me this -
[18:53] <saraf> GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[18:53] <blackflow> saraf: can you pin an app, then pastebin  `gsettings get com.canonical.Unity.Launcher favorites`
[18:53] <lordcirth> Gtk apps tend to spam a lot of "critical" errors in normal operation
[18:53] <blackflow> ooooooo memory GSettings backend, now that's way closer to the headshot
[18:54] <blackflow> lordcirth: andgnome in general. looking at my bionic journal, I always puke a little
[18:54] <blackflow> neway, was close before, wiht "something something dconf" :)
[18:56] <blackflow> 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] <plongshot> 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] <blackflow> plongshot: g++-7     you're missing a -
[19:03] <anonymous> hello
[19:03] <soumyakant> hello
[19:03] <plongshot> blackflow: missing what?
[19:03] <blackflow> plongshot: minus (-)
[19:03] <blackflow> plongshot: the package is  g++-7    and not g++7
[19:03] <teward> plongshot: sudo apt-get install g++-7  <-- you need a dash between the + and the 7
[19:04] <blackflow> plongshot: btw, g++-7 should be automatic dependency of `g++` package.   `apt install g++`  should suffice
[19:05] <plongshot> blackflow: My bad. I corrected it and get this error:  https://pastebin.com/QmbVD8eQ
[19:06] <blackflow> 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")
[19:07] <harsh_> Am using ubuntu 18.04, a new user, and have the following doubt
[19:07] <plongshot> 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] <plongshot> 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] <harsh_> When I search for names in Ubuntu Software, I get two apps... One with star-ratings, another without star ratings
[19:09] <harsh_> Which one to install for smooth functioning and updating?
[19:09] <blackflow> 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] <mcrabble> 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] <plongshot> 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] <W4lterK0vacs> hello guys i am irc noob can someone help me with basics = how to scorll up when type /list
[19:13] <hTantia> 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] <saraf> 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] <saraf> oops
[19:13] <saraf> wrong paste
[19:13] <blackflow> plongshot: 7.4.0-1ubuntu1~16.04~ppa1  is not official ubuntu repo, it's a PPA package
[19:13] <saraf> GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[19:14] <lordcirth> plongshot, what PPA are you using?
[19:14] <saraf> and pinning an app and running - gsettings get com.canonical.Unity.Launcher favorites
[19:14] <saraf> does not list the pinned app
[19:15] <hTantia> 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] <lordcirth> Yet more snap-related confusion...
[19:15] <plongshot> 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] <lordcirth> plongshot, what PPA, and why do you think you need it?
[19:16] <lordcirth> Tampering with your main gcc install is usually not a great idea
[19:16] <hTantia> lordcirth: Any suggestions for my 'snap-related confusion'?      :/
[19:17] <lordcirth> 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] <hTantia> Okay... Thanks
[19:19] <filip> 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] <blackflow> 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] <lordcirth> filip, docker maps a port inside the container to one outside the container. Are you sure it's 9000 on the *outside*?
[19:21] <plongshot> 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 <packag> for all 3 that did install
[19:21] <filip> lordcirth: I'm not sure at all actually. How do I know? I'm using this guide https://www.portainer.io/installation/
[19:22] <lordcirth> plongshot, ok, but why did you add the PPA at all?
[19:22] <filip> 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] <lordcirth> filip, -p 9000:9000 means it's 9000 on both ends
[19:22] <blackflow> 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] <lordcirth> filip, on the docker host, do you get anything from 'curl localhost:9000' ?
[19:23] <filip> lordcirth: Connection refused
[19:24] <plongshot> 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] <plongshot> The intent is this: https://askubuntu.com/questions/1028601/install-gcc-8-only-on-ubuntu-18-04
[19:24] <plongshot> I just hadn't mentioned it yet sir
[19:25] <plongshot> 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] <filip> lordcirth: This is a fresh install of Ubuntu, do I need to do something in like a firewall on the machine?
[19:26] <lordcirth> filip, no, firewall is disabled by default. Are you sure the docker container is still running?
[19:27] <filip> 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] <lordcirth> filip, 'docker ls'
[19:28] <filip> lordcirth: is that a LS? says it's  not a command :S
[19:29] <W4lterK0vacs> @filip can't u check it with ps ?
[19:29] <mcrabble> Hi, I've got an Intel wifi adapter w/bluetooth, wifi works, but bluetooth doesn't seem to work
[19:29] <filip> W4lterK0vacs: It seems to be nothing there :S
[19:31] <W4lterK0vacs> filip: then it is high chance it doesnt start with system boot
[19:31] <filip> W4lterK0vacs: May I ask how to start an image?
[19:33] <lordcirth> filip, ah, apparently it's 'docker container ls'
[19:35] <filip> 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] <lordcirth> filip, I think you just need to set the container to autostart instead of manually starting it.
[19:37] <filip> lordcirth: But if it's a volume, how do I start it then? There seem to be no container?
[19:38] <lordcirth> filip, the tutorial has 'docker run' commands.
[19:38] <mcrabble> 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] <lordcirth> !alis | mcrabble
[19:39] <joycee> Hello
[19:42] <filip> lordcirth: Ofc! I'm so stupid haha. Thanks for having patients with me :)
[19:42] <lordcirth> np
[19:42] <lordcirth> joycee, hi
[19:43] <joycee> Hey lord
[19:50] <saraf> 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] <blackflow> saraf: ah so, PATH issues.
[19:57] <sudo18> I love znc
[19:59] <enigma1945> @enigma145 slm
[19:59] <enigma1945> @enigma1945 slm
[19:59] <enigma1945> #enigma1945 slm
[20:00] <lordcirth> enigma1945, what are you doing?
[20:00] <enigma1945> hi people
[20:00] <enigma1945> I dont know. I am new user
[20:00] <enigma1945> sorry
[20:01] <saraf> thank you ioria, blackflow, lotuspsychje :-)
[20:01] <lordcirth> enigma1945, did you need help with something?
[20:03] <enigma1945> yes pls
[20:04] <sudo18> 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] <lordcirth> enigma1945, ... so what do you need help with?
[20:05]  * sudo18 gets popcorn and waits for enigma1945
[20:05] <enigma1945> how can I use weechat
[20:06] <leftyfb> enigma1945: https://weechat.org/doc/
[20:06] <sudo18> enigma1945: are you any good at command line stuff?
[20:06] <enigma1945> yes
[20:07] <enigma1945> 20 years ago
[20:07] <plongshot> What is the meaning of the star vs. "auto mode" in the output of update-alternatives?
[20:07] <sudo18> 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] <enigma1945> I used it 20 years ago
[20:07] <plongshot> Nevermind - I'm an idioe - I see it
[20:07] <Noisette> fours
[20:07] <Noisette> pains
[20:08] <leftyfb> Noisette: can we help you with something?
[20:08] <enigma1945> leftyfb:Thaks
[20:09] <enigma1945> leftyfb: Thanks
[20:09] <programmerq> 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] <programmerq> 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] <programmerq> not sure where in the stack to look next.
[20:13] <enigma1945> Thanks leftyfb!
[20:14] <leftyfb> enigma1945: you already said that. You are welcome.
[20:29] <sudo18> Hmm
[20:31] <sudo18> blah
[20:33] <sudo18> 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] <leftyfb> !ot | sudo18
[20:34] <sudo18> i brought it up because it could be an os issue. i'm new to this flavor.
[20:34] <sudo18> but, point taken. i'll schlep off elsewhere with my question
[20:36] <tgm4883> 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] <sudo18> 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] <tgm4883> 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] <tgm4883> it's been a long time since I ran ZNC though
[20:45] <erle-> is GDM itself (the login screen) using Wayland or X or something else?
[22:12] <Filikun_server> If I want to run docker on a Rasberry Pi 3, is Ubuntu server a good OS for that?
[22:26] <gheist> Oi oi oi. New IRC user here with Irssi.  How long does this stuff take to learn?
[22:27] <jjoliver> can someone help me with an issue im having connecting to a windows shared folder
[22:28] <jjoliver> from ubuntu
[22:37] <Ayier> 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] <Sven_vB> 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] <whislock> Sven_vB: Best one-liner I came up with for this is this:
[22:52] <whislock> find <mount point> -xdev -type f -exec filefrag {} \; | awk '{print $2 " " $1}' | tr -d ':' | sort -n
[22:52] <whislock> Runs filefrag on each file in a mount point, formats it, and sorts it by number of extents.
[22:56] <Sven_vB> 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] <whislock> Not that I know of. I've never in my life cared about fragmentation.
[22:56] <Sven_vB> :)
[22:57] <whislock> This is the first and last time I've ever run the filefrag command. Had no idea it existed.
[22:59] <Sven_vB> 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] <whislock> So, what actual issue are you trying to deal with, here?
[23:00] <Sven_vB> theoretical performance mind games.
[23:00] <Sven_vB> probably not the "actual" from your dictionary
[23:00] <whislock> As long as you understand that you're never going to see a difference in real world terms...
[23:04] <Sven_vB> 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] <whislock> 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] <Sven_vB> well in that scenario, it's large files but probably few of them, so the inefficient approach would still be good enough.
[23:06] <Sven_vB> reported by e2fsck according to http://www.webupd8.org/2009/10/defragmenting-linux-ext3-filesystems.html , so probably no NTFS involved
[23:07] <Sven_vB> I've read about shake as well but their approach doesn't fully convince me
[23:08] <whislock> I never said NTFS was involved.
[23:08] <Sven_vB> oh sorry then I misunderstood that part.
[23:09] <Sven_vB> or you meant older windows file systems
[23:09] <whislock> No. I'm just saying that the focus on fragmentation is misplaced when applied to most Linux filesystems.
[23:09] <Sven_vB> ah i see now, "it won't" probably addressed the earlier message. nevermind. :)
[23:09] <whislock> You're devoting time to chasing something that's never going to yield a benefit.
[23:10] <Sven_vB> yeah, I agree with that
[23:10] <tgm4883> The only time I've seen fragmentation causing any impact is on frequently written to drives that are nearly always full
[23:10] <whislock> You're welcome to, of course! If it's a learning exercise, then great. I'm just being realistic about expectations.
[23:10] <Sven_vB> 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] <whislock> 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] <Sven_vB> tgm4883, that description perfectly fits my video partition. :)
[23:12] <Sven_vB> it's still way faster than VLC needs it to be though.
[23:13]  * tgm4883 reads backlog
[23:13]  * Sven_vB hasn
[23:13] <tgm4883> Sven_vB: ext4?
[23:13]  * Sven_vB hasn't even optimized block size though
[23:14] <Sven_vB> tgm4883, ext3 and ext4, it varies accross my disks
[23:14] <tgm4883> 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
[23:18] <urxtnw> 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] <whislock> Depends on the programs you need to run in the VM.
[23:19] <whislock> And on what you're running outside of the VM.
[23:19] <tgm4883> urxtnw: what whislock said. I have 16GB and run win10 in a VM and it occasionally sucks
[23:20] <urxtnw> 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] <tomreyn> 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] <whislock> urxtnw: Photoshop? Uh, good luck. Even 16GB is not going to lead to a fun time.
[23:22] <Sven_vB> 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] <whislock> Even -n is known to yield invalid results.
[23:23] <urxtnw> tomreyn, but my current system with what I do already has almost 4GB memory being used all the time
[23:23] <urxtnw> whislock, what about microsoft office
[23:23] <Sven_vB> if it foils counting non-contig. files, the tutorials still should say so, instead of raising fear.
[23:23] <whislock> Sven_vB: Again, why are you chasing this so much, knowing that it's not going to change anything?
[23:23] <tgm4883> 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] <Sven_vB> whislock, not sure. the real reason is probably something wrong deep in my mind. no easy to grasp gain.
[23:26] <whislock> Then consider devoting this effort and attention toward more productive aims.
[23:26] <Sven_vB> will do. :)
[23:27] <whislock> Again, I'm not trying to be unhelpful. Only realistic.
[23:27] <Sven_vB> yeah, no offense taken. thanks for helping, all who did!
[23:29] <Gerowen> 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] <Sven_vB> gotta stop this madness before it makes me invent my own fs ;)
[23:29] <popnfloss> https://askubuntu.com/questions/1113358/ubuntu-18-10-using-text-based-plymouth-theme-after-updates
[23:29] <popnfloss> im having this problem and this is the only page i could find about it
[23:30] <popnfloss> plymouth is failing and falling back to text boot because of some update
[23:37] <sudo18> Is SSH server disabled by default on 18.04 desktop?
[23:44] <tgm4883> sudo18: yes
[23:44] <sudo18> tgm4883: ok. Take me to school. How do I enable it.
[23:45] <Gerowen> sudo18: sudo apt install openssh-server
[23:45] <tgm4883> 'sudo apt install ssh'
[23:45] <sudo18> Oh it’s not even installed. Got it.
[23:46] <sudo18> Easy peasy then.
[23:46] <sudo18> Thanks Gerowen and tgm4883
[23:53] <Gerowen> 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.
[23:58] <sudo18> 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