[00:24] <Major_Wedgie> Hi everybody!
[00:25] <Major_Wedgie> Welcome back holli
[00:25] <holli> ty Major_Wedgie
[00:25] <Major_Wedgie> What have you been up to?
[00:25] <holli> So I've recently updated from ubuntu 16 to ubuntu 18.04 and I'm having weird SSL issues when trying to site to site transfer using vsftpd server
[00:25] <holli> nm mate, wbu ;)
[00:26] <SlidingHorn> Major_Wedgie: This channel isn't for regular chatting, just support.  Head over to #ubuntu-offtopic if you'd like to chat :)
[00:26] <SlidingHorn> holli: what exactly do you mean by "I'm having weird SSL issues?"
[00:28] <holli> SlidingHorn, I was able to site to site transfer normally using my current configuration of vsftpd but lately It won't so i switched to proftpd just to test it and check the cfgs and i get various SSL errors as
[00:29] <holli> ``unable to connect using TLS connection: protocol error:
[00:29] <holli>   (1) error:140C5042:SSL routines:ssl_undefined_function:called a function you should not call``
[00:29] <holli> ``unction:called a function you should not call
[00:29] <holli> 2019-01-12 05:06:00,852 mod_tls/2.6[3581]: SSL_shutdown error: SSL:``
[00:29] <SlidingHorn> holli: (please use a pastebin for multiple line entries in the future)
[00:29] <holli> I'm sorry, and sure will do
[00:30] <holli> I have another server I've bought recently, it's on ubuntu 18.4 and site to site works fine with identical cfg file for vsftpd
[00:30] <holli> the one I'm experiencing the issue at was upgraded to 18.04 from 16.04
[00:30] <SlidingHorn> holli: and when you say "but lately it won't" - What exactly does that mean?  (i.e. what exact command and error is there)
[00:31] <holli> I'm trying to use FXP protocol to server to server transfer, I've passive address set in my cfg and the passive ports and no firewall on
[00:32] <holli> lately because I'm sure It worked when I was on ubuntu 18.04 but 2 days ago It wouldn't work no more.
[00:49] <adri1138> hey
[00:51] <adri1138> is someone going to say something?
[01:06] <tomreyn> holli: fromthe log lines you posted i'm not sure which log they are from or which message was generated by which system, but i have a hunch this is a TLS capable client talking to an SSL-only (so no TLS) server.
[01:08] <tomreyn> so maybe check / verify that all systems have both dameons and (especiall SSL/TLS related) libraries up to date and that they were actually properly rebooted / services restarted after upgrading / installing new / newer libs.
[01:15] <holli> tomreyn, I've been FXP using vsftpd normally, then that error showed up, I checked vsftpd logs but they weren't telling me much of the issue so I tried changing the ssl_cipher and adding ones like : ssl_ciphers=ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:HIGH:MEDIUM
[01:15] <holli>  and commenting all ssl_tlsv1 and others, then restarting and trying to fxp but no sites worked
[01:16] <holli> i thin uninstalled it and re-installed proftpd while checking the logs, and i was able to fxp only when i set TLSv1.2, and only when i have the other sites set to act as passive, so anything lower didn't work and showed me the previous error
[01:17] <holli> TLSv1.2 to some server running similar would work, but TLSV1.2 to TLSv1 somehow won't work on this server
[01:19] <holli> I compared ssl libs and they seem fine and openssl is identical but the one that wont work while running cl :openssl ciphers -v 'TLSv1.3' | head -20 shows some TLSv1.3 while the other one doesn't, so There might be something restricting that and I can't figure out what it is
[01:20] <holli> no firewall running in my server btw
[01:24] <JackLewis> Is this the Ubuntu support channel or did I mess this up too?
[01:24] <OerHeks> tomreyn, did i see this not before, 2 tsl versions and connection problems
[01:25] <tomreyn> JackLewis: you're right.
[01:25] <JackLewis> YAY! thanks tomryn
[01:26] <OerHeks> hi JackLewis, you sufferfrom connection issues ?
[01:27] <holli> so idk what can it be tbh
[01:27] <tomreyn> holli: since fxp, and ftp itself, are mostly considered legacy protocols nowadays, have you considered alternatives?
[01:27] <tomreyn> i think fxp was never really specified, was it?
[01:28] <holli> I actually haven't but I would like to point out that FTP works perfectly
[01:28] <holli> FTP locally of my server using filezilla or any similar client ad lftpd works fine
[01:28] <tomreyn> encryption and integrity are of no relevance there?
[01:28] <holli> but FXP specifically wouldn't, but I'm sure my cfg are fine since I've been using the same for 2-3 years ago and never had an issue
[01:29] <holli> yes, the are a must, you need to enforce ssl encryption in some servers
[01:29] <holli> using proftpd and having the correct settings for the other server, makes FXP works but only if it has TLS1.2
[01:30] <holli> while 2-3 days vsftpd just worked for everything, and on a similar ubuntu 18.04, vsftpd still works
[01:30] <holli> I'm sure something isn't right in my server, but can't figure it out tbh
[01:30] <tomreyn> why don't you use sftp or bittorrent instead?
[01:30] <tomreyn> or just https
[01:32] <holli> I guess they dont' support those protocols
[01:32] <holli> can ipv6 cause any issue like that ?
[01:32] <tomreyn> they would replace those protocols
[01:33] <tomreyn> ipv6 might be an issue if you use hostnames resolving to ipv4 + ipv6 and some of these protocols can't handle it
[01:34] <tomreyn> it's roughly 15 years ago that i last used fxp, and i remember it was always sketchy, also because of ftp and its active / passive configurations, high ports and need for firewall support
[01:34] <holli> true that
[01:34] <holli> how about updating to openssl 1.1.1 ?
[01:35] <holli> mine is on :  Installed: 1.1.0g-2ubuntu4.3
[01:35] <holli>   Candidate: 1.1.0g-2ubuntu4.3
[01:35] <holli>   Version table:
[01:35] <holli>  *** 1.1.0g-2ubuntu4.3 500
[01:35] <holli> ugh sorry again.
[01:43] <tomreyn> which ubuntu version are you using?
[01:44] <tomreyn> normally you'll only have one version available / supported. you could, of course, rebuild some software, linking against a different tls library, but that is then rather out of scope for this channel.
[01:45] <tomreyn> also, unless you need TLSv1.3, the openssl version is probably not an issue.
[01:46] <holli> ty tomreyn
[01:46] <holli> then probably not and I'm on
[01:47] <holli> Ubuntu 18.04.1 LTS
[01:47] <holli>  Bionic
[01:48] <tomreyn> !info libssl-dev bionic
[01:49] <tomreyn> i think there is work underway for a stable release upgrade of openssl/libssl in bionic so as to support TLSv1.3 there
[01:50] <tomreyn> actually this is present in 1.1, so this was already updated
[01:51] <JackLewis> sorry I keep popping in and out guys, I'm just setting this up so I just type one command and I join. Please Ignore the message saying that I joined and left
[01:51] <holli> thanks
[01:52] <holli> i see something which I'm not sure if it's normal or not
[01:52] <holli> ii  libssl-dev:amd64                                                 1.1.1a-2+ubuntu16.04.1+deb.sury.org+1
[01:52] <holli> it shows ubuntu16.04 even though I'm on 18.04
[01:52] <raj> guys, I'm having a lot of trouble installing python 2.7.14 in ubuntu within a dockerfile
[01:53] <raj> anyone have experience with docker?
[01:57] <OerHeks> try 2.7.15, for bionic and up https://packages.ubuntu.com/search?keywords=python2.7
[02:02] <raj> thanks OerHeks, how would that look in a dockerfile?
[02:03] <OerHeks> rai, that, i don't know
[02:03] <OerHeks> i assumed your issue is the version
[02:07] <raj> nope, my issue is making or installing a specific version of ubuntu that isn't available aon apt
[02:10] <oceanquake> Hi all.  I've attempted to setup a system with an encypted root volume.  I've clearly gotten something wrong, as I'm just getting the grub prompt rather than a menu of boot options or a prompt for a passphrase.  /etc/default/grub looked good to me prior to running update-grub.  What clues can I get via the grub prompt, and how do I go about getting them?
[02:12] <oceanquake> From what gets printed with 'set', I don't see the kernel command-line args that were in GRUB_CMDLINE_LINUX from /etc/default/grub
[02:20] <tomreyn> oceanquake: are you at the grub prompts or in initramfs?
[02:21] <tomreyn> ah you said grub
[02:21] <oceanquake> tomreyn: Hi again.  At the grub prompt.  initramfs never comes up.
[02:23] <oceanquake> tomreyn: I should have said that /boot is also on the root volume.  So there is no unencrypted /boot.  Do I need to adjust GRUB_PRELOAD_MODULES in /etc/default/grub ?
[02:23] <tomreyn> can you discuss how you installed (which installer you used) and how you set up block device layers (from bottom to top: hdds, gpt, partitions, raid-1, dmcrypt-luks, lvm, /boot + /)
[02:26] <tomreyn> with / encrypted, you will need to have (exactly) "GRUB_ENABLE_CRYPTODISK=y" in /etc/default/grub and, if uefi booting, you need to use the non-signed grub-efi
[02:27] <tomreyn> GRUB_PRELOAD_MODULES may be needed if you're BIOS booting, not sure
[02:29] <oceanquake> tomreyn: Yes.  Whole disk is dedicated to Linux, all GPT.  I have a 100 MB EFISP FAT32 partition, rest is dedicated to LVM.  All my Linux filesystems are on luks volumes which are on top of LVM (as opposed to more common case of whole partition being dedicated to luks, then carved up into multiple LVM logical vols).  /boot is on encrypted root fs.
[02:29] <oceanquake> System is UEFI, not BIOS.
[02:31] <oceanquake> So I have multiple luks volumes, one per LVM vol
[02:33] <oceanquake> Going to check the GRUB_ENABLE_CRYPTODISK option, booting to livedvd now .
[02:41] <tomreyn> oceanquake: also double check the correct grub variant
[02:42] <tomreyn> oceanquake: also /etc/crypttab and /etc/fstab
[02:42] <tomreyn> make sure all uuids match what blkid reports
[02:42] <tomreyn> and that uuids are used wherever possible
[02:43] <tomreyn> you didn't say how you installed / hwich installer you used, but based on the 100 MB ESP i assume you at least partitioned yourself.
[02:44] <oceanquake> tomreyn: I manually partitioned everything.  Original installation was via KDE neon livedvd based on Ubuntu 18.04 .
[02:44] <oceanquake> I assumed it did the right thing with respect to grub variant, though not certain how to check?
[02:44] <tomreyn> normally ESP should be 250 MB minimum, not because you need this space but because there are UEFI implementations which fail to detect it otherwise
[02:45] <tomreyn> but this is not an issu on your system, grub gets loaded
[02:45] <tomreyn> dpkg -l grub\*
[02:46] <oceanquake> Understood, since I will never (willingly anyway) install windows to the "bare metal" disk, I didn't figure it would be a problem.  *parted shows about 6 MB used on the ESP vol.
[02:46] <tomreyn> you should have grub-efi-amd64(-bin) installed, not grub-efi-amd64-signed
[02:47] <tomreyn> ignore the ESP remark, i just wanted to make you aware this could be an issue on a different system
[02:47] <oceanquake> OK, so I see there is not GRUB_ENABLE_CRYPTODISK option in /etc/default/grub ;  totally follow you on the ESP point.
[02:48] <oceanquake>  /s/not/no/
[02:49] <tomreyn> without this option, grub wont be able to boot off encrypted /boot
[02:50] <oceanquake> OK, let me try fixing that first
[02:51] <tomreyn> you'll need to update-grub and grub.install afterwards
[02:51] <tomreyn> *grub-install
[02:51] <JohnDoe2> how do I get the manual proxy settings back in 18.04.1 budgie? Right now there's only none and Automatic as options
[02:51] <raj> guys I'm getting this error and I'm not sure why: https://paste.ee/p/WfO9x
[02:51] <oceanquake> so I've just been running update-grub; where does the grub.install step come in?
[02:52] <tomreyn> now
[02:53] <tomreyn> it needs to ensure the grub stage 1 on ESP has the cryptomount executable available
[02:53] <tomreyn> this is what the grub-install does
[02:54] <JohnDoe2> ugh, awkward. The network connections applet is not the way to go about enabling it apparently. Settings -> Network -> Network Proxy
[02:54] <oceanquake> so first run update-grub, then grub-install ?
[02:54] <tomreyn> raj: run "apt update" beforehand
[02:55] <tomreyn> oceanquake: yes, that's the common approach
[02:56] <raj> thank you tomreyn
[02:56] <raj> worked
[02:56] <tomreyn> oceanquake: provide the device contianing the ESP as first argument to grub.install. it's basicall yignored, but i think this is mandatory.
[02:56] <tomreyn> raj: you'Re welcome, keep in mind these two belong together.
[02:58] <tomreyn> raj: you dont's always have to apt update, but if apt install / full-upgrade / dist-upgrade reports errors or warnings, be sure to run apt update
[02:58] <tomreyn> i'd run apt update on a daily basis, or i changed apt sources or preferences
[03:02] <tomreyn> JohnDoe2: i'd like to help but don't have budgie here. you can set a http proxy in /etc/environment, though
[03:03] <JohnDoe2> appreciate it
[03:05] <oceanquake> tomreyn: from the chroot, even after "mount -t efivarfs efivarfs /sys/firmware/efi/efivars" running grub-install gives "cannot find EFI directory"
[03:05] <nojimon> hi all-having an issue when i plug in any usb storage-i end up with two identical mounts on the desktop and in gui of nautalis-am on 18.04 ubuntu any ideas how to fix the issue people, please help me
[03:06] <tomreyn> oceanquake: which argument do you pass to grub-install ?
[03:07] <tomreyn> oceanquake: actually scratch this, none is needed
[03:07] <tomreyn> oceanquake: efivarfs is not the esp
[03:07] <nojimon> https://imgur.com/a/sdifu0r as you can see it has mounted the usb drive named diskimg twice and they are both the same disk
[03:07] <tomreyn> you need to mount the esp
[03:07] <oceanquake> OK, what should the esp mount target be?
[03:07] <tomreyn>  /boot/efi
[03:10] <tomreyn> i have a VM here which uefi boots off encrypted /boot and / (on top of several layers), mount | grep -i efi reports this:  http://termbin.com/xqnc
[03:10] <oceanquake> tomreyn: OK, that seemed to work (gave "file descriptor 4... leaked" messages,. but those seem non-fatal).  Other than rebooting, can I sanity-check?
[03:10] <tomreyn> yes those are non fatal
[03:11] <tomreyn> i don't actually know how to review the grub stage 1, it's probably just an archive of some sort
[03:12] <tomreyn> other than that, i already suggested to review all UUIDs in all relevant configuration files, so i assume you already did this
[03:13] <oceanquake> Ok, so other thing you mentioned is signed vs. unsigned.  It looks like what is installed is signed.  Why is that a problem, if it's what the distribution installs by default?  And sorry, yes, I checked and am comfortable with crypttab and fstab
[03:14] <oceanquake> If I had a problem there though, I assume I'd at least see initrd output, and I'm not even getting there.
[03:14] <tomreyn> nojimon: post the url treturned by: mount | nc termbin.com 9999
[03:16] <tomreyn> oceanquake: because of bug 1565950
[03:17] <tomreyn> see also bug 1762988
[03:17] <tomreyn> it'S not limited to enabled secure boot
[03:20] <tomreyn> oceanquake: if you want to secure boot (the only reason you'd need grub signed anyways) you will need to create a certificate and import it into the eufi moklist
[03:20] <tomreyn> s/eufi/UEFI/
[03:21] <oceanquake> So both grub-efi-amd64-bin and grub-efi-amd64-signed are installed...
[03:21] <tomreyn> yeah thats wrong
[03:22] <tomreyn> it wouldnt be wrong if grub-efi-amd64-signed wasnt missing cryptomount
[03:24] <oceanquake> hmm, so which version is getting placed on the ESP when I invoke grub-update or grub-install?  should I just uninstall the -signed version and re-run those?
 you should have grub-efi-amd64(-bin) installed, not grub-efi-amd64-signed
[03:25] <tomreyn> maybe i should have written: you should have grub-efi-amd64 and grub-efi-amd64-bin installed but not grub-efi-amd64-signed
[03:26] <tomreyn> -bin is a dependency of grub-efi-amd64 do i put this into parenthesis
[03:26] <tomreyn> s/ do / so /
[03:27] <oceanquake> tomreyn: OK, I uninstalled -signed and just re-ran update-grub as well as grub-install.
[03:27] <tomreyn> oceanquake: do you have grub-efi-amd64 installed, though?
[03:31] <nojimon> mount | nc termbin.com 9999
[03:31] <nojimon> im not sure if i did it right i pasted into terminal-was that what you needed me to do
[03:31] <tomreyn> nojimon: you need to paste this to a terminal window
[03:32] <tomreyn> nojimon: what you did was to paste it into chat
[03:32] <oceanquake> tomreyn: OK, just did that.  Sorry, I'm being a bit monkey-see, monkey-do about this because all the EFI/grub2/signed stuff is not something I completely understand.
[03:32] <nojimon> https://termbin.com/2h4d
[03:32] <nojimon> above is the output returned-
[03:33] <tomreyn> oceanquake: it's a bit complex, and quitte different from bios booting
[03:33] <oceanquake> yeah, definitely seems that way.  I'm more comfortable with BIOS and LILO, tbh
[03:35] <nojimon> tomreyn, thank you for your help
[03:35] <tomreyn> uefi + gpt booting is not actually bad once you get used to it. it's still way too much complexity for a process which should be very dumb, but it's not worse than bios + mbr, rather a little better, and most of all different.
[03:36] <tomreyn> nojimon: i didn't do much, yet ;-) so we see you have /dev/sdb1 - this will be your usb stick, mounted in two places: /media/usb0 and /media/non/DISK_IMG
[03:37] <nojimon> i know but i appreciate your reply and help-why do you think its mounting twice
[03:38] <tomreyn> nojimon: can you run: cat /etc/fstab | nc termbin.com 9999; udisksctl status | nc termbin.com 9999
[03:38] <tomreyn> i'm not sure, yet
[03:40] <nojimon> got two lines of output https://termbin.com/7pge https://termbin.com/fhs0
[03:42] <tomreyn> nojimon: thanks, now: gio mount -l | nc termbin.com 9999
[03:43] <oceanquake> tomreyn: OK, I guess nothing left to do but unmount everything get out of livedvd and try to boot off disk?
[03:45] <tomreyn> oceanquake: since you only replaced the grub package now, i'd update-grub and grub-install again, but other than that i would think so, yes
[03:45] <oceanquake> tomreyn: yes, did those steps.  OK, here we go...
[03:46] <nojimon> https://termbin.com/deit
[03:47] <tomreyn> nojimon: did you say that both mounts appear at the same time, fully automatically, when you insert the sd card?
[03:48] <nojimon> yes
[03:48] <AWest21> can anyone tell me /link how to install a program from an archive if extracting and ./configure doesnt work?
[03:48] <nojimon> sorry hang on i need to check something
[03:49] <oceanquake> AWest21: this is something not available via the package system?
[03:49] <oceanquake> AWest21: and what do you mean by ./configure doesn't work?
[03:50] <tomreyn> nojimon: i'm not sure this will actually work or improve it, but you can try: gio mount -u file:///media/non/DISK_IMG
[03:50] <tomreyn> nojimon: i'm afraid i don't exactly know how this stuff works either
[03:50] <AWest21> sudo apt-get install package-name didnt work oceanquake and I got a few different errors when I tried using ./configure, i'm not real familiar with compiling
[03:52] <tomreyn> AWest21: "doesn't work" is the least useful way to describe an error.
[03:52] <tomreyn> do you have more details?
[03:52] <oceanquake> AWest21: do you know if it's a program that is in fact available via the package system?
[03:53] <tomreyn> oceanquake: did it boot fine this time?
[03:54] <oceanquake> tomreyn: so I get a textmode boot menu (I guess generated by the onboard EFI) that doesn't bring me to the grub prompt.
[03:54] <oceanquake> it lists the various bootable devices
[03:55] <AWest21> oceanquake, how do I check the package system? it doesnt show up with sudo apt-get or the software center
[03:55] <tomreyn> oceanquake: is secure boot switched on?
[03:55] <tomreyn> AWest21: apt update; apt search <software name>
[03:56] <tomreyn> AWest21: there is synaptic as a GUI if you prefer this.
[03:57] <nojimon> didnt work dude https://imgur.com/a/8nXWwSq
[03:58] <tomreyn> nojimon: gio mount -u /media/non/DISK_IMG
[04:00] <AWest21> tomreyn that didnt work. im just trying to install a gnome extension and they are all in .zips that cant be compiled via ./configure i guess
[04:01] <nojimon> tomreyn, gio: file:///media/non/DISK_IMG: Containing mount for file /media/non/DISK_IMG not found
[04:01] <oceanquake> tomreyn: you called it.  Once I turned secure boot on, it went forward
[04:02] <nojimon> tomreyn, https://imgur.com/a/U5l9Vq4
[04:03] <nojimon> tomreyn, just unpluged the usb and re plugged in
[04:03] <tomreyn> nojimon: oops now you have 3 mounts!
[04:03] <nojimon> tomreyn, yup
[04:03] <tomreyn> nojimon: okay, try this: sudo apt purge usbmount
[04:03] <tomreyn> then unomunt all, then re-plug
[04:04] <oceanquake> tomreyn: there is still some debugging to do; it seems like GRUB prompts for the passphrase, but then I get prompted again for the passphrase for the cryptroot
[04:04] <tomreyn> oceanquake: you had to turn secure boot ON to make the boot work?
[04:04] <nojimon> tomreyn, https://imgur.com/a/aBa8Zvi
[04:04] <tomreyn> oceanquake: i assume you had to turn it OFF, right?
[04:05] <oceanquake> tomreyn: sorry, wrong polarity in my comment
[04:05] <oceanquake> tomreyn: you are right
[04:05] <tomreyn> oceanquake: ok ;)
[04:05] <oceanquake> Hm, now I just get dumped to initramfs prompt
[04:06] <oceanquake> but this is progress!
[04:06] <nojimon> https://imgur.com/a/patKXm4
[04:06] <AWest21> tomreyn is there a gui to install gnome-extensions from since im a noob?
[04:06] <tomreyn> oceanquake: once you solved the initramfs issue, you can try this to save one password prompt:  create the dir /etc/luks/ and put keys there as <usefulname>.keyfile, add those to /etc/crypttab, and then MOST IMPORTANTLY, add KEYFILE_PATTTERN="/etc/luks/*.keyfile" to /etc/cryptsetup-initramfs/conf-hook, set those files chmod 0400 and the directory 0500, and add UMASK=0077 to /etc/initramfs-tools/initramfs.con
[04:06] <oceanquake> tomreyn: you really kick ass.  thanks for the thoughtful help.
[04:08] <tomreyn> oceanquake: i copy + pasted this from TJ (not currently here), a(nother) regular here who gave me this hint
[04:09] <tomreyn> AWest21: gnome extensions are sketchy. i would be very careful about them. if you have to go so far as to package them yourself then this is definitely further than i'd be willing to go.
[04:10] <tomreyn> AWest21: you can manage gnome extensions from your webbrowser: https://extensions.gnome.org i think
[04:11] <AWest21> tomreyn i'm just trying to get cast-to-tv so I can cast to my chromecast. I heard this app is better then vlc or mkchromecast https://extensions.gnome.org/extension/1544/cast-to-tv/
[04:11] <tomreyn> but think about what it means to install some random non vetted snippets from the web into your desktop.
[04:11] <tomreyn> nojimon: did unomunting and replugging work thoughß
[04:11] <tomreyn> ?
[04:12] <nojimon> tomreyn, still mounting additional drives now i hav four
[04:13] <tomreyn> nojimon: can you not unmount and remove them?
[04:13] <tomreyn> try right-clicking the mount option after unomunting it
[04:14] <Bashing-om> AWest21: Joey has a how to: https://www.omgubuntu.co.uk/2019/01/chromecast-tv-gnome-shell-extension?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+d0od+%28OMG%21+Ubuntu%21%29 .
[04:15] <AWest21> thats where i found out about it bashing-om but his directions must be out-dated? his say go to the link I gave and slide the toggle to activate an installer but I only get an option to download a .zip that I cannot extract and compile
[04:16] <Bashing-om> Swant: Ouch ... Sorry end of my knowledge as I do not run Gnome.
[04:17] <tomreyn> AWest21: then you dont have the firefox extension installed
[04:17] <tomreyn> visit https://extensions.gnome.org/ with firefox
[04:18] <nojimon> no cant unmount and running apt purge nt clearing out additional old ones
[04:18] <tomreyn> read the warning about installing the extension. consider the risks and if you feel fine with it then do it. then visit https://extensions.gnome.org/extension/1544/cast-to-tv/ again and flip the switch again
[04:18] <tomreyn> AWest21: ^
[04:19] <tomreyn> nojimon: "apt purge nt"?
[04:19] <tomreyn> nojimon: what happens when you click on the "umount" icon next to one of the mounts on nautilus?
[04:21] <agio> Hi, I have defined a udev rule which fires upon plugging a USB mouse in. Problem is, at the time the rule fires, the mouse is not ready (it takes about 5-10 seconds before device is ready) any ideas to fix this?
[04:22] <tomreyn> sleep, or find out how to detect that it is ready, and check for it.
[04:22] <agio> tried sleep. it doesn't work because it blocks the whole process
[04:24] <agio> i.e. if the mouse normally takes 8 seconds before its available and I put a "sleep 30" in the script. it now just takes 38 seconds before the hardware is ready
[04:26] <tomreyn> 8 seconds for device initalization is pretty long already, could it be a hardware issue?
[04:27] <agio> well its 8 seconds for everything, from hardware to udev to X itself - so I don't see that as indicative of a hardware issue
[04:27] <agio> also, I have a usb keyboard , and that also takes about the same time before the keys start working
[04:28] <AWest21> Bashing-om, tomreyn  its installed now saying i can launch it from the "status menu"????
[04:28] <tomreyn> agio: hmm thats definitely longer than what i'd expect to see. have a look at dmesg, maybe it gives away some more clues.
[04:29] <tomreyn> AWest21: i'm not sure which one that is
[04:31] <tomreyn> AWest21: actually the screenshot on the extensions' README explains
[04:31] <agio> tomreyn: looking at dmesg (or Xorg logs) does show the event, but nothing I can use. I think I'm just going to define a systemd service and timer which calls xinput every minute - its going to flood syslog - but its the only thing I can think of
[04:31] <tomreyn> AWest21: it's the menu which includes the power icon
[04:32] <tomreyn> agio: i can't really suggest anything there, lack understanding.
[04:33]  * tomreyn afk for a while
[04:34] <silenf2> Im facing error while compiling from git
[04:35] <silenf2> Mostly on qt themes
[04:35] <silenf2> and they're compiling perfectly without errors on any other distro
[04:35] <silenf2> Um using kubuntu atm
[04:36] <silenf2> facing errors when using "make"
[04:36] <silenf2> for example when compiling https://github.com/alex47/BreezeBlurred
[04:36] <AWest21> sweet tomreyn found it. second and last question is there an easy way to configure 18.10 to have a verbose boot up vs a purple screen?
[04:37] <silenf2> Im getting these errors on sudo make install
[04:37] <silenf2> ntoNothingness  ~/BreezeBlurred/build   master  sudo make install
[04:37] <silenf2> [  4%] Automatic MOC for target breezeblurred
[04:37] <silenf2> [  4%] Built target breezeblurred_autogen
[04:37] <silenf2> [  9%] Building CXX object CMakeFiles/breezeblurred.dir/breezebutton.cpp.o
[04:37] <silenf2> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1,
[04:37] <OerHeks> !paste
[04:38] <silenf2>      ^~~~~~~~~
[04:38] <silenf2>      iswctype
[04:38] <silenf2> make[2]: *** [CMakeFiles/breezeblurred.dir/build.make:87: CMakeFiles/breezeblurred.dir/breezebutton.cpp.o] Error 1
[04:38] <silenf2> make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/breezeblurred.dir/all] Error 2
[04:38] <silenf2> make: *** [Makefile:130: all] Error 2
[04:38] <OerHeks> and you might want to reask in #kubuntu
[04:38] <silenf2> Okay sory
[04:38] <OerHeks> oh no, no paste like that, the servers go bonkers
[04:38] <silenf2> https://paste.ubuntu.com/p/rf6QjDBjTT/
[04:39] <silenf2> Heres the pastebin
[04:41] <silenf2> They're getting compiled properly on manjaro or any other distro
[04:44] <OerHeks> tons of issues indeed, not exactly written for kubuntu .. contact the author ? https://store.kde.org/p/1221562
[04:44] <OerHeks> see the comments :-(
[04:47] <silenf2> the comments do say it works well with ubuntu and kde neon
[04:47] <silenf2> and people have said it is working for them on kde neon
[04:49] <qwebirc62570> Anyone around that might be able to help answer a question about why a bcache backed LVM on Luks device isn't expanding?
[04:59] <AWest21> anyone know how to make 18.10 do a verbose boot up instead of purple screen?
[05:00] <oceanquake> tomreyn: had to step afk for a bit; my gratitude wasn't directed to the key hit specifically (I am actually doing something like that already), but rather an appreciation for the level of help you are providing overall.
[05:00] <oceanquake>  /s/hit/hint/
[05:09] <raidensnake> Is there any way to install ubuntu using a 4g modem?
[05:11] <MadLamb> I'm having some memory issues. My system monitor reports 92% usage of ram, but from the avg I can sum from top I estimate it way lower. I installed smem to double check and it reports 21% as unused memory and 11% as other. 21% is obviously more than 8 reported from system monitor/top. Any idea of what might be going on? 16gb + 2 swap . Not so many stuff running to justify that.
[05:14] <energizer> MadLamb: https://www.linuxatemyram.com/
[05:16] <MadLamb> energizer, interesting but i dont think its the case
[05:17] <MadLamb> energizer, free -m also reports low "available" memory and I'm actualty looking at this because i was getting the almost full memory freeze
[05:17] <MadLamb> energizer, swap is completely full
[05:30] <guiverc> AWest21, I don't see an answer to you, but hit <e> (for edit) at grub, go to linux (kernel) line and remove the "nosplash quiet" line I think is what you are after..
[05:56] <AWest21> guiverc so just commet out "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash""??
[05:57] <tomreyn> AWest21: yes, and update-grub
[05:58] <tomreyn> AWest21: this is if you want it changed permanently, not just for a single boot
[05:58] <guiverc> sorry AWest21, I only saw your last line (not history) so I assumed question was a once-off how to boot
[05:59] <AWest21> no i want a permanent verbose boot
[05:59] <raj> thanks tomreyn
[05:59] <tomreyn> AWest21: so edit it in /etc/default/grub
[06:00] <tomreyn> raj: you're welcome
[06:01] <AWest21> how come gksu gedit /etc/default/grub doesnt work in 18.10 tomreyn?
[06:01] <tomreyn> AWest21: i dont know, does it say?
[06:02] <AWest21> tomreyn command not found
[06:02] <tomreyn> AWest21: you can run a terminal and do: sudoedit /etc/default/grub
[06:06] <AWest21> tomreyn, ok how do i save in sudoedit?
[06:07] <tomreyn> AWest21: depends on your editor, is there something like a menu bar on the bottom?
[06:08] <tomreyn> AWest21: if it looks like this, you hit Ctrl-x: https://i.imgur.com/2hjy4UJ.png
[06:10] <AWest21> tomreyn, ugh ok i didnt know it would offer to save after an exit prompt, now its trying to save it as a temp file how do I get it to save the original? -_-
[06:11] <tomreyn> AWest21: save it as this temporary file, the sudoedit command will make sure it goes to the right file
[06:14] <stinkleg> -_-
[06:20] <lotuspsychje> On bionic the language extra packages only suggest when clicking 'manage installed languages' i think thats not very handy for new users those package are proposed so deep, should i make this a wishlist or is this 'normal 'procedure? https://imgur.com/a/oTcFR7M
[06:43] <teamcoltra> Something really weird has happened... one of my disks was at 99% so I started moving a big directory of random stuff from one disk to another using mv * /files/stuff/ and after I cleared about 100GB I just ctrl+c to stop the move. Upon doing that some of my web services stopped working (refused connection to host -- even though they are running on the server) and my torrent client wont download anything saying permission denied
[06:44] <lotuspsychje> teamcoltra: your ubuntu version please?
[06:44] <teamcoltra> Yeah one sec
[06:45] <teamcoltra> 16.04
[06:46] <lotuspsychje> desktop or server?
[06:46] <teamcoltra> desktop edition (but used headless currently)
[06:47] <lotuspsychje> teamcoltra: i would suggest deep cleaning system with bleachbit, see where all the leftovers are and reboot after
[06:47] <lotuspsychje> teamcoltra: system up to date also?
[06:48] <teamcoltra> lotuspsychje, yeah that was my first step was to make sure I was up-to-date and restart
[06:50] <lotuspsychje> teamcoltra: maybe your data move made everything full, system flipping
[06:52] <teamcoltra> lotuspsychje, I still have 42GB left on the one drive and 176G on the one that was full that I moved things from https://hastebin.com/mafedepiha
[06:52] <teamcoltra> (hastebin -> df -h results)
[06:55] <lotuspsychje> 99% doesnt look good teamcoltra
[06:57] <teamcoltra> lotuspsychje, I can clean it up but I'm not sure that is my problem as my file drive doesn't have much bearing on any of this... transmission is in my / directory /dev/sda1        19G   15G  2.3G  87% /
[06:57] <teamcoltra> and it's trying to write to my /home directory
[06:57] <comet23> 工业设计院有限公司是专业人才现在比较多企业文化产业之一
[07:02] <lotuspsychje> !zh | comet23
[07:03] <comet23> 不过我是你不懂为什么这么不开心我还是喜欢这个哦
[07:11] <lotuspsychje> teamcoltra: full dirs can lead to all sorts of weird behaviours
[07:12] <lotuspsychje> teamcoltra: if a cleanup and reboot didnt fix, we can investigate more/deeper
[07:16] <teamcoltra> I have cleaned all my temporary files, and also just deleted a whole bunch of random files that I wasn't overly attached to. https://hastebin.com/jakexadofo
[07:16] <teamcoltra> still having problems :\
[07:16] <lotuspsychje> did you reboot teamcoltra
[07:16] <teamcoltra> Yep
[07:17] <lotuspsychje> teamcoltra: ok whats having problems?
[07:19] <teamcoltra> so SABnzbd starts up but "doesn't" at the same time, like I'm looking at the logs and it shows it's listening on port 8080 but trying to connect to it says connection refused. Transmission does start up and I can access it on 9091 but I can't save files as it says "permission denied"
[07:23] <lotuspsychje> teamcoltra: connection problem?
[07:24] <lotuspsychje> teamcoltra: try restart networking perhaps
[07:24] <teamcoltra> I just saw this in my SABnzb log which might be useful? 2019-01-12 23:23:24,639::INFO::[postproc:187] Completed Download Folder /home/teamcoltra/Downloads/complete is not on FAT
[07:25] <teamcoltra> lotuspsychje, no because I have a bunch of web services that are all running fine, I did also restart my modem just to test that too
[07:28] <lotuspsychje> maybe try a tail -f /var/log/syslog and start both sabnzbd and transmission, maybe it spits out usefull errors?
[07:32] <bigMouthCommie> my bluetooth stopped working. when i click on the bluetooth icon, under the "recent connections" my headset is grayed-out. when i click on adapters, i get an empty window with just a close button. hardware failure?
[07:34] <teamcoltra> lotuspsychje, nothing useful came up the same basic types of logs that are in the log files. I tried adding a torrent again and the permission error remained
[07:34] <teamcoltra> Transmission did crash after which is at least new it hasn't been having any troubles https://hastebin.com/uvewoqoxis.js
[07:35] <teamcoltra> the logs are showing sabnzbd doing it's background work just fine though as though it's running
[07:35] <teamcoltra> I even tried wgetting localhost:8080 just to see if maybe it was some network issue but it also refused
[07:36] <teamcoltra> Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
[07:44] <lotuspsychje> teamcoltra: what does: sudo service network-manager restart ?
[07:46] <teamcoltra> I'll have to find out in the morning, thanks for your help.
[07:46] <lotuspsychje> hope it helps
[07:50] <bigMouthCommie> plz
[07:50] <bigMouthCommie> bluetooth ubuntu
[07:50] <bigMouthCommie> alternatively, fastest way to drink Steel Reserve
[08:09] <soapee01> hiya. Just installed kubuntu 18.04. X is on virtual terminal 1 (ctrl+alt+f1), and now I don't seem to have the ability to have two sessions on at the same time. Previously these were on f7 ad f8. Is there a fix for this?
[08:27] <JadedJ> Hi
[08:28] <JadedJ> I installed Ubuntu-Mate 16 LTS on Vmware workstation 14. Then installed open-vm-tools. But pasting into the VM doesn't work
[08:29] <tomreyn> JadedJ: sounds like a vmware workstation issue.
[08:29] <tomreyn> !yy.mm | JadedJ
[08:30] <JadedJ> Ubuntu MATE 16.04.5
[08:31] <SlidingHorn> new factoid?  I love it.
[09:11] <no_gravity> Sometimes my ssh connection from my desktop to my laptop suddently hangs for 10s or so. I wonder how to debug this. Any ideas?
[09:30] <SlidingHorn>  no_gravity: are you using Ubuntu or Debian?
[09:30] <no_gravity> One machine is Ubuntu, the other one Debian.
[09:40] <tomreyn> no_gravity: you can run both sshd (server) and ssh (client) with increased log verbosity
[10:12] <CoolerZ> how do i fix my ubuntu?
[10:12] <CoolerZ> can i just reinstall the latest version on top of it?
[10:12] <CoolerZ> will i lose any data?
[10:13] <CoolerZ> I am on ubuntu 18.04 and its failing to upgrade
[10:14] <tomreyn> CoolerZ: if you don't have backups (why?!) and your /home directory is not a separate file system listed on 'df -h' then yes, you will loose your data
[10:14] <tomreyn> otherwise, just maybe, if things go wrong
[10:15] <tomreyn> CoolerZ: what are you trying to upgrade 18.04 to? 18.10 then?
[10:19] <CoolerY> 18.10 is the latest
[10:19] <CoolerY> but i can't upgrade to it
[10:19] <CoolerY> sudo apt dist-upgrade fails with Connection failed [ip.address]
[10:19] <CoolerY> multiple times
[10:22] <kab0m> Just installed a fresh KDE Neon...i added a global menu widget which works, but after every reboot the widget does not show a global menu for every programm that got restored from the last kde session until i close and reopen this programm...has someone a fix for this?
[10:46] <aqd> what exactly grant the user temporary access  to sound devices via ACL on console/desktop switch??
[10:47] <aqd> I found switching of virtual consoles triggers that too, that's beyond logind and udev??
[10:49] <BurekzFinezt> i think there's upgrade path only from LTS to LTS CoolerY but don't hold my word for it
[11:09] <tomreyn> CoolerY: are you in a special / restricted network environment then?
[11:09] <tomreyn> like a public wireless lan, university or company network?
[11:13] <tomreyn> looks like you're on a mobile network now and used to be in a university network previously
[11:16] <CoolerY> tomreyn, yeah university
[11:17] <CoolerY> i switched to mobile to check if that works
[11:17] <CoolerY> seems to have worked
[11:17] <CoolerY> however, VERSION="18.04.1 LTS (Bionic Beaver)"
[11:17] <tomreyn> CoolerY: so the university network has restrictions, i guess
[11:17] <BurekzFinezt> check kernel version
[11:17] <CoolerY> why didn't  sudo apt dist-upgrade   go to 18.10 ?
[11:18] <BurekzFinezt> 18.10 is on 4.18
[11:18] <tomreyn> sudo apt dist-upgrade doesn't dist upgrade
[11:18] <BurekzFinezt> maybe it upgraded everything but version name
[11:18] <tomreyn> that's a misunderstanding, and bad naming
[11:18] <CoolerY> i can't understand what you are trying to say
[11:19] <CoolerY> 18.10 is the latest ubuntu right?
[11:19] <tomreyn> CoolerY: use update-manager -c
[11:19] <BurekzFinezt> well, technically. 19.04 has daily builds afaik
[11:19] <tomreyn> yes 18.10 is the latest ubuntu release
[11:19] <CoolerY> it says partial upgrade
[11:20] <tomreyn> CoolerY: do it, and then run it again
[11:20] <CoolerY> and i remember someone saying not to do that
[11:20] <anma> because if i'm right you are with LTS release. Maybe it's configured to make upgrades between LTS releases
[11:20] <tomreyn> CoolerY: you didn't you sources.list to point to 18.10, right?
[11:21] <anma> Look at Software sources
[11:21] <tomreyn> here's how you upgrade https://tutorials.ubuntu.com/tutorial/tutorial-upgrading-ubuntu-desktop#0
[11:21] <anma> Update section
[11:21] <BurekzFinezt> yeah, that's what i said. i think there's upgrade path only between LTS releases
[11:23] <CoolerY> 18.10 isn't LTS?
[11:23] <tomreyn> !lts | CoolerY: no
[11:24] <tomreyn> the next LTS will be 20.04
[11:26] <CoolerY> on the site it says 18.04.1 https://www.ubuntu.com/download/desktop
[11:26] <BurekzFinezt> 18.10 is supported for 9 months, and most of those packages go to 19.04
[11:26] <CoolerY> which is what i have
[11:26] <BurekzFinezt>    .04 is always LTS
[11:26] <CoolerY> ok then
[11:26] <CoolerY> thanks for the support
[11:26] <BurekzFinezt> np
[11:26] <tomreyn> BurekzFinezt: not really, 19.04 wont be LTS
[11:26] <CoolerY> also how do i avoid the university blockage?
[11:27] <BurekzFinezt> really? how come?
[11:27] <CoolerY> do i always have to go to mobile network to upgrade?
[11:27] <BurekzFinezt> because 18.04 is 10 years LTS?
[11:27] <tomreyn> BurekzFinezt: LTS releases happen every 4 years
[11:27] <tomreyn> i mean every 2
[11:27] <tomreyn> sorry
[11:27] <BurekzFinezt> oh yeah tru, sorry. had a a brainfart there
[11:27] <anma> There is an option at software sources that will allow to do upgrade to gegular release
[11:28] <anma> https://wiki.ubuntu.com/Releases
[11:28] <tomreyn> CoolerY: you should talk to the university network folks to understand why you can't reach the ubuntu mirrors from there
[11:29] <BurekzFinezt> i mean, you could always go for a cup of coffee and find some good internet in a cafe (if you're on laptop) :D
[11:29] <CoolerY> tomreyn, is it using ftp?
[11:29] <CoolerY> or https ?
[11:29] <CoolerY> or some custom protocol to pull the updates
[11:30] <tomreyn> CoolerY: i think the error message you posted earlier suggested it was using http
[11:30] <CoolerY> some protocols may be blocked
[11:30] <CoolerY> anyway thanks
[11:30] <tomreyn> blocking http entirely is unusual, but there are wireless networks where you need to login before you get full internet access
[11:31] <tomreyn> CoolerY: i'm sure it's not that the university don't want you to update or upgrade ubuntu there, it's probably just that you should use local mirror servers they provide, or you need to login somehow for full internet access.
[11:31] <tomreyn> oh they're gone
[11:48] <Vuurdraak_> hi everybody, a question im planning to upgrade 14.04 lts to 18.04 lts, i was searching around the net to see how much disk space i need to have empty to not run in to problems, will ubuntu automaticly check for the diskspace needed and halt the upgrade before it has even started , or can i potentialy run in to disk space problems halve way ? i got currently 22GB free in home
[11:50] <tomreyn> Vuurdraak_: the updater won't start the upgrade if insufficient disk space is available
[11:50] <ducasse> Vuurdraak_: the upgrader should check, and 22gb should be plenty
[11:51] <Vuurdraak_> okay thanks :D
[11:51] <tomreyn> Vuurdraak_: you need free space in /, not in /home, though /home may be part of /
[11:51] <tomreyn> "df -h" tells
[11:51] <Vuurdraak_> VoHiYo tomreyn
[11:52] <Vuurdraak_> /dev/sda1        73G   57G   13G  82% /
[11:53] <Vuurdraak_> ow i think i looked wrong
[11:53] <Vuurdraak_> but the home & boot dir r on the same partition
[11:54] <Vuurdraak_> with 13 gig free
[11:54] <Vuurdraak_> i guess thats okay then
[11:54] <tomreyn> that's enough for 2 full installations ;)
[11:54] <Vuurdraak_> okay :D
[11:56] <Vuurdraak_> oops my script is greeting people sorry brb
[11:57] <Vuurdraak_> fixed :D
[12:27] <aaa801> I have a few sas arrays hooked up to a box running ubuntu 18 kernel 4.15.0-43-generic, It seems that /sys/class/enclosure is empty , any ideas?
[12:27] <aaa801> MD1200's
[12:27] <kab0m> Is omeone willign to help me with an KDE plasma related problem?
[12:29] <BluesKaj> Howdy folks
[12:31] <ducasse> kab0m: ask your problem, maybe BluesKaj can help :)
[12:31] <kab0m> ducasse: :) ok
[12:32] <kab0m> BluesKaj: Just installed a fresh KDE Neon...i added a global menu widget which works, but after every reboot the widget does not show a global menu for every programm that got restored from the last kde session until i close and reopen this programm...do you maybe know a fix for this?
[12:33] <ducasse> !neon | kab0m please be aware of this
[12:35] <BluesKaj> kab0m, I run Kubuntu and the Kmenu is installed in the Panel by default .I have no idea why KDE-Neon wouldn't do the same
[12:36] <kab0m> ducasse:  *rolling-eyes* well...no one is answering at #kde #kubuntu and #kde-neon
[12:36] <kab0m> BluesKaj: ohh, i meant the "global menu widget"...not the Kmenu :)
[12:37] <ducasse> kab0m: maybe you'll get more responses on a weekday, weekends are quiet
[12:40] <BluesKaj> kab0m, tried the globak menu widget and it seems buggy here, doesn't show anything
[12:40] <BluesKaj> global
[12:40] <kab0m> ducasse: i see...i tried so many times before with so many different questions and i almost NEVER got an answer at the kde channels...for hours and even days...the Linux community makes it really hard if you need fast answers and fixes...even if you would pay for them. this is so frustrating...i dont know where to ask anymore
[12:40] <kab0m> BluesKaj: ohh, so its also broken at kubuntu?
[12:40] <BluesKaj> yup
[12:41] <kab0m> BluesKaj: ohh dang... thank you for trying it.this really helps me to know...so im lost until the kde guys fix it...
[12:42] <kab0m> It feels like no kde DE is ever really complete...when someting is fixed, something is broken...this is frustrating as i just want something that works OOB :(
[12:42] <BluesKaj> I really don't think many people use it, that could be why you aren't receiving any response
[12:42] <kab0m> *no linux DE
[12:43] <kab0m> BluesKaj: Well, then i will avoid it fos a while and hope it gets fixed. Its a shame as a global menu is a really nice feature *shrug*
[12:45] <BluesKaj> kab0m,, have you seen this ? http://fasterland.net/activate-global-menu-kde-plasma-5-9.html
[12:48] <kab0m> BluesKaj: yeah i saw this. and i have a new top panel with a global menu widget working...but my problem is...as soon as dolphin or konsole has more than one tab and i reboot the system the global menu does not show any entries for this applications until i kill them and open them up again
[12:51] <BluesKaj> kab0m, ok then i suggest you file a bug
[12:52] <kab0m> BluesKaj: ok, can you tell me where i can file one or maybe can look if maybe someone alse has already filed a bug?
[12:53] <ducasse> kab0m: you can check launchpad.net if a bug is filed for kubuntu, but you can't file one there as you're not running ubuntu
[12:53] <BluesKaj> !bug | kab0m
[12:55] <BluesKaj> kab0m, check the 3kubuntu chat for kde apps
[12:56] <BluesKaj> #kubuntu
[12:56] <BluesKaj> kab0m: If you find a bug in Kubuntu, please follow the instructions at https://wiki.kubuntu.org/Kubuntu/Bugs/Reporting to report the issue to the developers.
[12:58] <BluesKaj> hmm , crossposting all over freenode
[13:03] <kab0m> thank you BluesKaj i will try the kde bugtracker ;)
[13:03] <BluesKaj> ok
[13:17] <hexhaxtron> I'm trying to run 'googleplaydownloader' and I get: /bin/sh: 1: dummydroid: Exec format error
[13:17] <hexhaxtron> Anyone knows how to fix this?
[13:17] <aaa801> output of file googleplaydownloader?
[13:18] <hexhaxtron> aaa801, yes.
[13:18] <aaa801> Sigh.
[13:19] <jeremy31> hexhaxtron: What does line 1 of googleplaydownloader say?
[13:21] <hexhaxtron> jeremy31, #!/usr/bin/env sh
[13:21] <jeremy31> hexhaxtron: is googleplaydownloader a py file?
[13:22] <hexhaxtron> jeremy31, the Bash script only has two lines. The 2nd line says: exec python2 "/usr/lib/python2.7/dist-packages/googleplaydownloader/googleplaydownloader.py"
[13:23] <jeremy31> hexhaxtron: It might be an issue with line 1 of the py file
[13:23] <hexhaxtron> jeremy31, it says: #! /usr/bin/python2
[13:24] <jeremy31> hexhaxtron: It might need to be python2.7
[13:25] <hexhaxtron> jeremy31, same error.
[13:29] <ducasse> hexhaxtron: where is googleplaydownloader from, and which release is this?
[13:29] <jeremy31> hexhaxtron: does this work in terminal> /usr/lib/python2.7/dist-packages/googleplaydownloader/googleplaydownloader.py
[13:32] <hexhaxtron> ducasse, I was doing this: https://itsfoss.com/download-apk-ubuntu/
[13:34] <hexhaxtron> jeremy31, yes, but it was working before too. The problem is when I press the 'Generate' button. I get that Exec format error
[13:35] <ducasse> hexhaxtron: you really need to get support from those who provide the app, as it's not in the repos it's not supported here
[13:42] <Tux57> hello
[13:42] <Tux57> i'm trying to use libpam auditd tty without any succes on ubuntu 18.04 LTS
[13:42] <Tux57> each time it closes my ssh connection with an error in auth.log
[13:46] <ioria> !info gplaycli
[13:47] <ioria> hexhaxtron, ^  (without a gui ,i guess)
[13:49] <Tux57> nobody ? :(
[13:51] <lipe66> so wzup
[13:55] <tomreyn> Tux57: provide more info. configured how, what's the error
[13:55] <Tux57> hum, fresh ubuntu 18.04 installation
[13:56] <Tux57> installed auditd with apt then reboot to be sure
[13:56] <Tux57> the service is running well
[13:56] <Tux57> then i edited pam.d/sshd with session   required pam_tty_audit.so disable=* enable=root
[13:57] <Tux57> restart the service, and when i try a logon : pam_tty_audit(sshd:session): error setting current audit status: Invalid argument
[13:58] <tomreyn> you can run auditd -f to keep it in the foreground for debugging.
[13:58] <Tux57> i read a lot of articles, some are speaking about interference with other pam module ... hard to find the one
[14:02] <Tux57> let me check
[14:03] <Tux57> ok so did it
[14:03] <Tux57> i've a lot of lines x)
[14:05] <tomreyn> Tux57: be sure to read the Debian / Ubuntu specific documentation in /usr/share/doc/auditd/
[14:08] <tomreyn> so README.Debian (if it exists) + NEWS.Debian (which does exist)+
[14:08] <Tux57> nothing special here ...
[14:08] <Tux57> my auditd set of rule is working well
[14:08] <Tux57> but not keystroke :/
[14:12] <tomreyn> hmm, not sure, Tux57, i haven't tried it on 18.04, yet
[14:12] <tomreyn> maybe file a bug if you think it is one. "ubuntu-bug auditd" if you want to.
[14:13] <tomreyn> (requires a launchpad.net login)
[14:14] <Tux57> i think it is similar to https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1666203
[14:17] <tomreyn> hmm another bug report in a sad state.
[14:18] <Tux57> :/
[14:19] <Tux57> i'm going to compile libpam modules in git version
[14:24] <aldcor> hello! I am trying to get pipelight but this happens https://textuploader.com/1amwo
[14:25] <aldcor> im on ubuntu 18.04
[14:25] <aldcor> i want to get netflix running on chromium
[14:25] <tomreyn> Tux57: i pointed the security team to it, but since it's not actually a security issue i don't know if they can do anything about it. you may want to subscribe to the bug report, though.
[14:26] <hexhaxtron> ioria, I can't make it work... I get IndexError: list index out of range
[14:27] <hexhaxtron> ducasse, gplaycli is in the repositories. Can you help with it?
[14:27] <tomreyn> aldcor: take a look at the link that was shown in your terminal before you had to cionfirm adding the ppa.
[14:28] <tomreyn> aldcor: then click on the drop down box for "published in" and look for "bionic", the code name of ubuntu 18.04.
[14:29] <tomreyn> you won't find it, meaning this PPA doesn't support this ubuntu release.
[14:29] <ducasse> hexhaxtron: i've never used it, but if you post full output in a pastebin maybe i or someone else can help
[14:30] <tomreyn> aldcor: this is the technical way to express this situation "E: The repository 'http://ppa.launchpad.net/pipelight/stable/ubuntu bionic Release' does not have a Release file."
[14:30] <BluesKaj> aldcor, suggest you switch to chrome, netflix runs perfectly on it
[14:32] <tomreyn> or just use firefox
[14:32] <aldcor> BluesKaj, not in my case. I am not sure why but runing with chrome videos are looking kind of stuttery/laggy .. hard to explain. Tried firefox - same issue. I want to try cromium
[14:33] <aldcor> its like for a split second a frame is taken out and then put back
[14:34] <aldcor> but not really.. its minor disturbance but its noticable and its annoying
[14:35] <aldcor> so is there a way to install html5 or silverlight or moonlight for chromium
[14:35] <aldcor> ?
[14:37] <BluesKaj> aldcor, have you tried disabling hardware acceleration in chrome ?
[14:41] <aldcor> BluesKaj,  i have no idea what's that :)
[14:42] <BluesKaj> aldcor, in chrome settings, near the bottom
[14:43] <BluesKaj> of advanced
[14:44] <qid|ydl> does anyone know which package is responsible for the unity dock? I need to file a small bug report
[14:45] <ducasse> qid|ydl: you can just file against 'unity', the devs will move it if necessary
[14:47] <niee> Hi folks. Somebody to help me please?
[14:47] <niee> Can anyone tell me how to recover a folder/files. Some program or command?
[14:47] <niee> The last days quite often stops electricity at home.
[14:47] <niee> Folder may be have damage. Not deleted!!! Visible, but may be...
[14:47] <niee> Filesystem Ext4, Ubutu 16.04
[14:48] <aldcor> BluesKaj, disabling hardware acceleration did not help
[14:50] <BluesKaj> aldcor,did you refresh the browser?
[14:50] <aldcor> yes
[14:50] <BluesKaj> ok
[14:50] <aldcor> i have another issue https://ibb.co/xfLFgGJ - musescroe icons are so small
[14:51] <aldcor> i can barely see them and its practically impossible to work
[14:54] <tomreyn> Tux57: the bug report has just been through triage. Please see https://wiki.ubuntu.com/SponsorshipProcess and https://wiki.ubuntu.com/StableReleaseUpdates#Procedure if you can volunteer to get the fix landed.
[15:11] <ioria> hexhaxtron, the full error output please
[15:47] <Furai> Hey, I've just upgraded to 18.10. For some reason I can only start visual session with Wayland.
[15:47] <Furai> Is that normal?
[15:48] <lotuspsychje> no, xorg is now default so should also work Furai
[15:48] <Furai> I had issue at the beginning with black screen which I kind of fixed.
[15:48] <lotuspsychje> Furai: what kind of graphics driver and chipset do you have?
[15:48] <Furai> So, I have no idea why it's not working.
[15:49] <Furai> I have nvidia, I had custom installed graphic drivers but removed them since then and removed the nouveau blacklist.
[15:49] <lotuspsychje> Furai: custom?
[15:49] <Furai> As in downloaded directly from Nvidia website, using their installer.
[15:49] <Furai> Usually people go with ppa and so on.
[15:50] <lotuspsychje> Furai: we reccomend to install the nvidia drivers from the official repos, or ubuntu graphics ppa
[15:50] <lotuspsychje> !nvidia | Furai
[15:51] <Furai> Anyway, that's not a problem at hand. To my understanding I should just be able to start xorg session.
[15:51] <Furai> But it just loops.
[15:51] <lotuspsychje> Furai: it might be related to your driver
[15:52] <Furai> Anyway, will try resetting xorg.conf files
[15:53] <lotuspsychje> Furai: these days its not really needed anymore to tweak xorg, unless you have very specific reason
[15:54] <Furai> Which log files could help me with identifying the issue?
[15:54] <lotuspsychje> Furai: i would first go for the apt/ppa nvidia drivers
[15:55] <Furai> And if I'm stubborn and don't want to do that? It used to work without slightest issues since 16.04 or even earlier.
[15:56] <Furai> Anyway, right now I'm in graphical session but in wayland.
[15:56] <Furai> Which as far as I know still uses xorg wrapper?
[15:56] <ducasse> Furai: try /var/log/Xorg.0.log, but it sounds like a driver issue
[15:56] <lotuspsychje> Furai: its your system, perhaps also other volunteers might have ideas for you
[16:00] <Furai> Ok, thanks for the help.
[16:24] <fr0xk> Why can't I make snapshots? http://0x0.st/s7dB.txt
[16:28] <fr0xk> I execute, sudo btrfs subvolume snapshot /@snap1 and it shows invalid syntax
[16:28] <fr0xk> http://0x0.st/s7dB.txt
[16:34] <curlyears> heigh  hough
[16:35] <curlyears> say, if I can't get anyone in #freecad to talk, can I ask some questions inhere?  I thihnk nmy problems are ubuntu based
[16:36] <ducasse> curlyears: you can try, what makes you think they are ubuntu-related?
[16:43] <curlyears> ducasse: well.  When I download the ubuntu zpecific package, and things don't work, I am assuning that the package doesn't work ocrrectly under ubunto
[16:44] <curlyears> there's some for of problem with gtk stuff
[16:48] <curlyears> damnit.  I can't get a pastebinit working.  The "freecad" cpmmand comes back with an error code, then just hangs.  If I terminate it with a ctrl-C, pastebinit doesn't generate a URL for the upload.  DAMN
[16:49] <ducasse> curlyears: problem is that we can't really support packages obtained from outside the ubuntu repos. check that the package is intended for your ubuntu release, though.
[16:57] <lotuspsychje> curlyears: use blender instead?
[16:57] <curlyears> ducasse: it is an ubuntu package
[16:58] <curlyears> lotus:  A)  I am trying to do 3D CAD, not "artwork"
[16:58] <etronik> Hi all, will upgrading from 16.04 to 18.04 cause me to loose all (non-default) installed sofwtare? I have /home in another partition
[16:59] <lotuspsychje> etronik: safe-wise its always prudent to make a backup
[16:59] <lotuspsychje> etronik: when you say non-default, you mean external ppa's?
[16:59] <etronik> lotuspsychje, yes
[17:00] <ducasse> curlyears: you said you downloaded it - where from?
[17:00] <lotuspsychje> etronik: for lts upgrades its reccomended to purge/disable external ppa's 'before' you start upgrading
[17:01] <etronik> lotuspsychje, if I make a backup then try to restore (if I lost it) won't I run the risk of affecting the rest of the system ?
[17:01] <lotuspsychje> etronik: well the ppa part we cannot support here sorry
[17:01] <curlyears> ducasse: if I unnderstand correctly, from Canonoical
[17:02] <curlyears> -o
[17:02] <ducasse> ah, ok
[17:02] <lotuspsychje> etronik: after you upgraded with vanilla sources/packages you are free again to do what you want/need
[17:02] <curlyears> When I first installed it, IO was able to get it to run, once.  Haven't been able to since
[17:02] <etronik> lotuspsychje, so basically he upgrade involves re-installing all other stuff from scratch each and every upgrade we do ?
[17:03] <lordcirth__> etronik, ppas are generally not all that big
[17:04] <lotuspsychje> etronik: we always advice to use packages first from the official ubuntu repos, but in the real field users install software on their own manual or ppa based
[17:04] <curlyears> etronik: not, if you upgrade, rather than fresh install.  Fresh oinstall formats and resets you harddrive
[17:05] <lotuspsychje> etronik: to make an upgrade go flawless, its best not to have scrambled dependencies i hope you understand that part?
[17:05] <etronik> sort of ...
[17:05] <curlyears> an nteresting tidbit:  I tried to usse pastebinit to captutre the reponse to tryinh to run freecad, but it just hangds when I try redirectly the output to pastebinit
[17:05] <etronik> curlyears, i aware that what you're saying is in conflict (I think) to whhat lotuspsychje is saying ? :)
[17:06] <etronik> @curlyears, i aware that what you're saying is in conflict (I think) to whhat lotuspsychje is saying ? :)
[17:06] <TJ-> etronik: Something else to be aware of. If you rely on software provided by a PPA, that PPA may not publish the software for the new release. In which case after a release-upgrade that software may no longer be available from the PPA.
[17:07] <CookieM> I wouldn’t listen to curlyears if I were you, etronik
[17:07] <curlyears> etronik: NO.  What happens depends on whether you explicitly "upgrade" as opposed to simply "installing" the new version.   With thr insdtall, you have to reinstall everything else separately.  With an upgrade procedure, you don't have to
[17:08] <etronik> TJ thanks - I see but I don't use that exotic sofware anyway so I guess there's low risk of that
[17:08] <ioria> curlyears, if you cannot use pastebinit, just copy/paste the content on paste.ubuntu.com
[17:08] <lotuspsychje> etronik: feel free to share your sources.list, we can have a look for you
[17:09] <curlyears> I am no expert, and CookieM is, generally correct.  But there *IS* a difference between "reinstalling with a newer version" and "upgrading" to that newer version.  (assuminh everything goes correctly, hence, the backup advice)
[17:10] <core7> My machine was running and suddenly it wont pull ip from the router+switch anymore - static ip - any ideas on how to debug this? the light on the ethernet cord is blinking - ubuntu 16.04
[17:11] <lotuspsychje> core7: did you try reboot pc and router/switch?
[17:11] <TJ-> core7: check if the PC is sending DHCP requests, and if it is getting replies from the DHCP server. You might find log entries in /var/log/syslog
[17:11] <core7> lotuspsychje: i did reboot the pc - not the router switch yet -
[17:11] <curlyears> https://paste.ubuntu.com/p/rKZ3fJctr8/
[17:12] <etronik> whats the code name for the 16.04 release ? is it xenial something ?
[17:12] <core7> DHCPREQUEST of ...dhclient started
[17:12] <ioria> curlyears, FreeCAD 0.17   ?  you installed from snap ?
[17:12] <TJ-> core7: look at the diagram of the way it works on the right of "Operation" here https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol
[17:13] <curlyears> ioria:  snap?   NO, so fdar as I know I installed using files and instructions on canonical's website\\
[17:13] <core7> TJ-: interval of 8 - seems its trying and not getting?
[17:13] <lotuspsychje> curlyears: url?
[17:13] <TJ-> core7: if your PC is simply trying to renew an existing lease, then the process will likely start with a REQEST for the existing allocated IP address
[17:13] <core7> dont see a DHCPACK on the syslog - I am not sure its logged
[17:13] <curlyears> and yes, v 0.17
[17:14] <ioria> curlyears, on bionic freecad is 0.16
[17:14] <TJ-> core7: so the DHCP server has gone bye-bye :)
[17:14] <curlyears> iotus:  of what?
[17:14] <ioria> !info freecad
[17:14] <lotuspsychje> curlyears: instructions of canonical url?
[17:14] <ioria> curlyears, paste apt-cache policy freecad
[17:14] <core7> TJ-: first it tried REQUEST, then it tried DISCOVER
[17:15] <ioria> curlyears, and, for the record, the snap version is BETA
[17:15] <TJ-> core7: OK, so the DHCP server on the gateway has likely failed, in which case restarting the service (or the entire gateway device) might be the solution
[17:15] <ioria> curlyears, and reported as 'borked'
[17:17] <core7> TJ-: will try to reboot router - strange though.
[17:17] <ioria> curlyears, my idea is that you installed freecad from gnome-software and picked up the snap ver (not the official repo one)
[17:17] <TJ-> core7: if it isn't that then you'd have to suspect the link between PC and gateway
[17:17] <curlyears> https://paste.ubuntu.com/p/ympS8m458k/
[17:18] <ioria> curlyears, ah, from ppa
[17:18] <curlyears> ioria:  anything is possible.  I found the entire freecad installationm approach messy and difficult to understand
[17:18] <curlyears> \I couldn't find any other way
[17:19] <ioria> curlyears, no snap, from ppa  (and it should work)....
[17:19] <curlyears> my linux skills are definitly shrunken from when I was "in the  biz"
[17:19] <curlyears> nom, snap?   Not sure what uyou're telling me here.
[17:20] <curlyears> s/nom/no/
[17:20] <TJ-> ioria: curlyears could it be running on a Wayland back-end ?
[17:20] <curlyears> I have been retired for over 18 years, and I have lost much of my knowledge and skill
[17:21] <ioria> curlyears, but you're running an outdated version
[17:21] <ioria> curlyears, ^ TJ- are you on wayland ?
[17:21] <curlyears> how would I know if I am on a Wayland backend?
[17:21] <ioria> curlyears, echo $XDG_SESSION_TYPE
[17:21] <curlyears> ioria:   where do I find a not-out-of-date version?
[17:22] <etronik> lotuspsychje, y ppa manager or Aptik ?
[17:22] <ioria> curlyears, look at your paste : Installed: 1:0.17.13541-1ppa3~ubuntu18.04.1    ;  Candidate: 1:0.17.13541-1ppa10~ubuntu18.04.1
[17:22] <lotuspsychje> !ppapurge | etronik
[17:23] <ioria> curlyears, echo $XDG_SESSION_TYPE    ; <-   this please
[17:23] <etronik> lotuspsychje, why would I purge if I also want to backup and later restore stuff outside the scope of the distribution ?
[17:25] <lotuspsychje> etronik: you can do what you like, its your system. i would advice to purge the ppa's before upgrade
[17:25] <etronik> lotuspsychje, I understand that part, but shouldn't I back them up before purging? I mean is it safe to restore PPA from the backup post-upgrade ?
[17:26] <lotuspsychje> etronik: i think you confuse data backup with ppa purge
[17:27] <lotuspsychje> etronik: before upgrading its wise to backup normal data from /home to external 'and' also purge external ppa's
[17:27] <curlyears> tkeller@bigboy:~$  echo $G_SESSION_TYPE
[17:27] <curlyears> tkeller@bigboy:so, I should begin again, strting with apt-get remove freecad      right?
[17:27] <etronik> lotuspsychje, got it but... by purging ppa.... I basically need to re-install every external ppa one by one correct ?
[17:27] <lotuspsychje> etronik: yes
[17:28] <ioria> curlyears, nope; echo $XDG_SESSION_TYPE    ; <-   this please
[17:28] <etronik> lotuspsychje, so... wahy not back the external ppa as well ? hence my question of y ppa manager or aptik
[17:28] <Furai> Sooo, did anyone ever experience double error sound? (Most likely bell terminal.)
[17:29] <lotuspsychje> etronik: again, you can do whatever you like, but here in #ubuntu we cannot give you advice on external ppa's as we dont support them
[17:29] <lotuspsychje> etronik: we can only advice to keep your ubuntu system vanilla, with the reccomended sources
[17:31] <curlyears> how do I know what to put in <repository-name> and <subdirectory>   ?
[17:32] <curlyears> ioria:     x11
[17:32] <ioria> curlyears,  ok, sudo apt update
[17:33] <curlyears> \done
[17:33] <ioria> curlyears,  uname -r
[17:33] <curlyears> 4.15.0-43-generic
[17:33] <ioria> curlyears,  sudo apt full-upgrade
[17:35] <curlyears> it's taking its time
[17:36] <curlyears> \by the way, hello iorisa, long time no see
[17:36] <curlyears> ioria
[17:36] <ioria> curlyears,  yep
[17:39] <curlyears> still updating, or whatever
[17:40] <jpop> hello im getting this postfix error the postfix channel told me to come here cause tehre is something to do with ur packages
[17:40] <jpop> https://pastebin.com/LNNgmRYe
[17:41] <jpop> https://pastebin.com/akJDiKEC
[17:42] <jpop> i am trying to do this fix i guess https://askubuntu.com/questions/37156/how-to-restore-a-single-file-from-a-package
[17:42] <jpop> its the same error
[17:42] <jpop> https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1791403
[17:53] <curlyears> finally, that "full-update" is done.  Now what, ioria?
[17:53] <curlyears> just apt-get installl freecad?
[17:53] <ioria> curlyears,  run freecad
[17:54] <curlyears> that seems to have gotten it started...THANK YOU., iroia!!!
[17:54] <curlyears> ioria
[17:54] <ioria> curlyears, ok, good job
[17:55] <curlyears> namdde ginfers!
[17:55] <curlyears> now, if I can just learn to get it to DO something useful
[17:56] <ioria> high five
[17:56] <curlyears> BCNU allthanks again
[17:56] <ioria> no prob
[18:11] <jpop> anybody can help me with a postfix error with some postfix packages
[18:20] <core7> Booting ubuntu 18.04 hangs at the point of - "Started network name resolution." - any ideas on how to fix thi?
[19:21] <ovrh> Hello! Does anybody know if there is a way to intercept what command/script/executable is ran when using a keyboard shortcut?
[19:25] <pragmaticenigma> ovrh: What keyboard shortcut are you asking about? Applications/Commands keyboard shortcuts are typically defined by you
[19:27] <ovrh> pragmaticenigma, Yeah I know, but there are some on my laptop that came pre-configured by the vendor, like the shortcut to disable the webcam. I want to figure out what command that shortcut runs in order to make it run at startup and have the webcam turned off by default
[19:32] <TJ-> ovrh: no command; that is done in-kernel usually by ACPI input events
[19:37] <ovrh> TJ-, so I have no way to replicate that at startup?
[19:37] <jpop> hi can a admin please help me completely remove postfix and its packages
[19:37] <jpop> its caussies me issues
[19:41] <OerHeks> jpop, on what ubuntu version?
[19:42] <LTCD> When I plugged in my external HDD it asked for a password. Now I have finished using it how do I make my computer forget this password?
[19:42] <LTCD> When I eject and reinsert it mounts without asking for the password again.
[19:44] <OerHeks> jpop, asking multiple channels?
[19:45] <AWest21> Anyone know when they plan to fix the bug for the dock showing up on the lock screen and then not auto-hiding afterwards? or a quick fix for it? I tried restarting gdm and that just made my laptop hang on the lock screen
[19:45] <OerHeks> LTCD, what filesystem is on that hdd? if you were owner, it would not ask for the password
[19:46] <LTCD> I used LUKS or something IDK it was years ago.
[19:46] <LTCD> There is like 3 different ways to encrypt a HDD by default on Ubuntu so lets not look out into space.
[19:49] <OerHeks> https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1769383
[19:50] <OerHeks>  resolved the issue by removing default ubuntu-dock@ubuntu.com: sudo mv /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com ~/   >>> https://github.com/micheleg/dash-to-dock/issues/649#issuecomment-348433909
[19:52] <OerHeks> LTCD, if this is encrypted, i have no clue howto forget it in that session :-(
[19:59] <AWest21> 0erHeks what does that command do? Will that disable the dock completely?
[19:59] <ioria> LTCD try to look at seahorse
[20:00] <AWest21> OerHeks ^
[20:01] <OerHeks> AWest21, it removes the troubling plugin, not disabling the dock completely AFAIK
[20:12] <SwaggerArch> can someone tell me away to look at kernel for GPU supported. instead of loading kernel that doesn't work?
[20:17] <teamcoltra> Hey everyone, I was getting help with a weird issue I was having last night but I needed to get to bed. So I'm back to try again. I'm running 16.04 I had one drive near full so I was running mv * on a directory of like 500gb to my other drive to help free some space and in the middle of it I used ctrl+c to cancel it and as soon as I did I got so many weird issues.
[20:18] <teamcoltra> transmission wont save files to the drive A (the one that was almost full that I was moving files away from) and SABNZBD is starting up and says it's listening on 8080 but I get connection refused both remotely but from the computer iself, and
[20:22] <ioria> and ?
[20:25] <lipe66> do you want to make space on drive A or put more files in drive A?
[21:03] <comet23> 最近我也想去北京
[21:04] <OerHeks> !cn
[21:05] <comet23> 分不清是怎么想要
[21:08] <James_Epp> Ubuntu 18.04 user here. I just ran a file transfer/share from my android phone to my laptop. The transfer report on the phone says it was successful. The file is not in my Downloads folder. updatedb & locate as root can't find the file. Anyone have experience with bluetooth transfers? I hardly ever use it, I forgot my transfer cable.
[21:09] <James_Epp> does ubuntu rename the file transfers? is there a .part file or similar saved in a hidden directory?
[21:10] <kk4ewt> .part while it is transfered after the transfer completes the .part file is deleted
[21:10] <James_Epp> kk4ewt: ...great.
[21:10] <kk4ewt> even winblows does that
[21:11] <justme23> Hello. How can I increate the limits on /etc/security/limits.conf
[21:11] <James_Epp> I'm just upset the file is gone.
[21:11] <justme23> I want unlimited
[21:11] <kk4ewt> justme23,  edit the file
[21:11] <kk4ewt> and man limits.conf
[21:12] <justme23> Pleae help me i am newbie
[21:12] <kk4ewt> i just did
[21:12] <TJ-> justme23: did you use Bluetooth transfer?
[21:12] <justme23> no why
[21:12] <TJ-> grrr, justme23 ignore that!
[21:13] <TJ-> James_Epp: did you use Bluetooth transfer?
[21:13] <James_Epp> TJ: Yes, I initiated it from the android.
[21:14] <TJ-> James_Epp: the BT manager on the PC should show where it puts file transfers
[21:14] <TJ-> James_Epp: in any case it should be somewhere in the user's $HOME, usually it is $HOME/Downloads/ but that may be different on some desktop environments
[21:15] <TJ-> James_Epp: if you know (part of) the name of the file do "find $HOME -type f - name '*partofname*' -ls"
[21:15] <TJ-> James_Epp: typo there; remove the space in '- name'
[21:16] <James_Epp> TJ-: I used updatedb & locate. It's effectively the same as find
[21:17] <rcm888> hi! What tool to use for linux cloning to dissim hardware?
[21:17] <OerHeks> !clone
[21:17] <kk4ewt> more info
[21:17] <kk4ewt> dd
[21:17] <OerHeks> !backup
[21:17] <how2hack> hi, about nfs shares, can i specify client ip ranges? instead of manually writing them to the /etc/exports file?
[21:19] <rcm888> not backup. cloning! with mbr, bootloader (grub) and fs metadata, files only, compression.
[21:19] <kk4ewt> dd
[21:20] <rcm888> kk4ewt: will dd restore linux aside with windows?
[21:20] <kk4ewt> hd needs to be same size or larger
[21:20] <kk4ewt> yes
[21:20] <OerHeks> rcm888, cloning with dd is easy, but you must make sure the UUID of the partitions are updated too
[21:20] <kk4ewt> and deifinitely backup before you start anything
[21:21] <rcm888> dd is cloning sector by sector
[21:22] <rcm888> vm might have 50 gb hdd, why would I scan over 50 gb? if files occupy only 6 gb...
[21:22] <kk4ewt> and you need to do it without either drives mounted
[21:23] <kk4ewt> depends on how you setup the vm
[21:23] <kk4ewt> if it was dynamic it will be 6gb otherwise it will be the 50G
[21:24] <rcm888> for dd it doesnt matter, if it reads each sector...
[21:24] <kk4ewt> yes it does
[21:24] <rcm888> this is what I dont need.
[21:24] <kk4ewt> then what exactly are you trying to do
[21:25] <rcm888> some tool like acronis woulbe of use
[21:25] <kk4ewt> which is ghost which guess what used dd
[21:25] <rcm888> I am trying to clone "setted" up alinux.
[21:25] <kk4ewt> then dd
[21:26] <rcm888> no. dd is inappropriate tool for file + meta level backup.
[21:28] <rcm888> I tried clonezilla but it is text based and very ugly from GUI perspective. I'm not sure how how it worked but I have 1mb extra bootsec data saved by it.
[21:28] <kk4ewt> i didnt say for backup you asked for cloneing
[21:29] <rcm888> kk4ewt: cloning means saving disk at meta+files level, not completely sector by sector the whole partition.
[21:29] <rcm888> kk4ewt: efficient and sufficient bot not more than that. ok?
[21:30] <kk4ewt> rcm888,  to me cloneing is cloneing one hard drive to another
[21:30] <TJ-> rcm888: that is not the correct definition of cloning. A clone is a bit-accurate duplicate of the source block device
[21:31] <TJ-> rcm888: Especially in the context you mentioned of including partition table, bootloader et al
[21:32] <TJ-> All of those entities are stored on a sector offset+count basis
[21:32] <rcm888> TJ-: but not all sectors are needed. why would I compress whole 50gb drive with "dirty sectors"? it is time consuming insanity. It may be good for data recovery purposed but not for friendly linux distributing..
[21:33] <TJ-> rcm888: what you /can/ do is temporarily shrink the source file-system to its minimum size, clone just those sectors (which will be smaller than the partition the file-system is contained within)
[21:33] <rcm888> TJ-: no, this would be BDSM
[21:33] <kk4ewt> so now we are down to he only wants to backup his VM files
[21:34] <kk4ewt> and it appears he has limited bandwidth as well
[21:34] <James_Epp> rcm888: I skimmed through the chat log here. In my neck of the woods, cloning generally implies sector-by-sector. Backup is much more vague.
[21:34] <kk4ewt> and there is always rsync as well
[21:34] <kk4ewt> for files
[21:35] <kk4ewt> but you are still going to copy the 50G if you set it up without being dynamic
[21:35] <TJ-> If you're 'cloning' to a file on another system you can do sparse copies (using dd or cp of the block device) and it won't actually copy the sectors that are all zero
[21:36] <rcm888> kk4ewt: not only files, but chunks of vhdd needed for boot and functioning of linux. Saying it another way: tool for optimized automated 2p2 transferring Linux OS to dissimilar hardware.
[21:37] <rcm888> kk4ewt: 1 deleting files does not make sectors zero, and 2 no need to scan whole drive, only files + partition metadata.
[21:37] <oceanquake> how2hack: in /etc/exports, you can specify client IP ranges; are you looking for something beyond that?
[21:37] <TJ-> !info zerofree Use ZeroFree if you want to do sparse copies of a file-system
[21:37] <TJ-> !info zerofree rcm888 Use ZeroFree if you want to do sparse copies of a file-system
[21:37] <TJ-> oh for...!
[21:38] <TJ-> !info zerofree bionic | rcm888 Use ZeroFree if you want to do sparse copies of a file-system
[21:39] <how2hack> oceanquake: yes, the format, i'm confused cuz the pdf i'm reading says the number after /XX is for the number of addresses, but /XX is cidr, so that's why i'm confused
[21:41] <rcm888> so I mean I need tool that will do at once: mbr, parttable, extended mbr data, partition metadata, and files backup for restoring them on the other computer. Compression, crypt, resizing, over network is "must have".
[21:41] <TJ-> how2hack: see "man exports" for details of the syntax
[21:45] <how2hack> TJ-: it says address/netmask, so the pdf is wrong, it is the netmask and not the number of addresses to allow, right?
[21:46] <TJ-> how2hack: yes, it is one of two types of netmask, either a prefix bitcount (e.g. /24) or a mask (e.g. 255.255.255.0)
[21:47] <how2hack> TJ-: thanks
[21:52] <oceanquake> how2hack: yes, it should be standard CIDR notation; if in doubt, exports (5) manpage should be the reference.  see e.g.: https://linux.die.net/man/5/exports
[21:53] <how2hack> oceanquake: thanks
[21:53] <rcm888> qt4-fsarchiver ??
[21:54] <rcm888> how does grub find vmlinuz? by LBA sector or by fsmod?
[21:56] <OerHeks> by uuid
[21:58] <rcm888> OerHeks: so moving , resizing, opimizing root partition will not affect grub boot?
[21:59] <OerHeks> rcm888, moving, yes, if you move your install to an other drive,..
[21:59] <OerHeks> you must make sure the UUID of the partitions are updated too
[22:00] <rcm888> OerHeks: updated means preserved?
[22:02] <seven-eleven> hi
[22:02] <seven-eleven> can someone help me to setup fail2ban. Im stuck since an hour :|
[22:02] <OerHeks> https://help.ubuntu.com/community/UsingUUID
[22:04] <TJ-> rcm888: GRUB contains its own complete set of file-system drivers so it mounts file-systems the same way the OS does, and finds files the same way (by path)
[22:04] <rcm888> OerHeks: poor explanation... if grub finds vmlinuz by partition's uuid, then moving partition to another drive shoulnt change anything, IF grub handles all hdds at once.
[22:05] <rcm888> OerHeks: I mean if grub sees all hdds, and doesn't  need to be directed to specific hdd for uuid
[22:06] <OerHeks> well, if you move your linux to an other hdd, UUID will change
[22:06] <rcm888> TJ-: o, that means, as long as uuid is not changed, grub will find vmlinuz and will boot successfully. if whole system is uuid based.
[22:07] <rcm888> OerHeks: I can preserve UUID, set UUID - no problems.
[22:07] <OerHeks> just boot a live iso, chroot into the install, and update-grub
[22:09] <rcm888> OerHeks: sorry, dont have spare keys fo my keyboard for that kind repeatative operations..lol.
[22:09] <OerHeks> oh, you are not serious, so i leave you thinking about your problem
[22:09] <EriC^^> rcm888: heh
[22:09] <EriC^^> trollolol
[22:11] <rcm888> EriC^^: no, just old, very culturized pragmatical son of a...
[22:12] <EriC^^> rcm888: what i can add to your problem is that indeed grub uses uuid, however if you use uefi it will look for the partuuid to get the initial efi to load
[22:13] <EriC^^> also you can use for loops to mount --bind and set up a chroot pretty quickly
[22:14] <EriC^^> for i in /dev /proc /sys; mount -R /mnt /mnt$i; done
[22:14] <EriC^^> no keys were abused in the process
[22:14] <rcm888> ok
[22:17] <TJ-> GRUB doesn't always use UUIDs, as well as it being possible to disable use, if using LVM and other abstractions like cryptodisk, the root-fs maybe indicated by a path, e.g root=/dev/mapper/VG02-rootfs
[22:18] <TJ-> But that is a function of the OS scripts, GRUB at boot-time never uses that, it is for the use of the Linux initialramfs tools
[22:20] <TJ-> GRUB itself only needs to know where the file-system where its files are (/boot/grub/) and sets root= and prefix= to point to those, then when grub-core does 'insmod normal' it reads $prefix/grub.cfg (which OS sees as /boot/grub/grub.cfg) and executes that script
[22:21] <jeremy31> Or just ditch grub and use systemd boot if UEFI
[22:36] <fishcooker> how to set the specific xwindow apps always to be launched on the top layer of the screen?
[22:52] <JoeLlama> where do I go to safely d/l ubuntu and how do I use the CRC check?
[22:53] <lordcirth__> JoeLlama, https://help.ubuntu.com/community/UbuntuHashes
[22:53] <JoeLlama> thanks lolmac :)
[22:53] <JoeLlama> oops
[22:53] <JoeLlama> lordcirth__
[22:53] <lordcirth__> np
[22:58] <JoeLlama> so like I have a number of limited systems (not much memory etc) and I think lubuntu and xubuntu are the builds for that kind of machine.  Can someone confirm?  If there is another build that is good for that kind of application please let me know.  Also, which one has the sweeter GUI?
[23:00] <OerHeks> xubuntu would be my 1st choise, or mate
[23:01] <OerHeks> dual core, 1 gb memory .. anything less is not worth using IMHO
[23:04] <JoeLlama> hey thanks OerHeks
[23:05] <JoeLlama> yes I was thinking of going xubuntu
[23:05] <OerHeks> !flavors
[23:05] <OerHeks> lubuntu is minimalistic, but sure, try it too
[23:18] <database2>  i wrote a program to read device but when i am running it under ubuntu it says permission denied so i ran it with command sudo but i want my program to run as a root by itself
[23:20] <profbear> I don't think there's a way to easily programmatically gain root access - after all, applying the principle of least privilege, why would you need to? https://stackoverflow.com/a/2483802/823282
[23:20] <oceanquake> profbear, database2: it
[23:20] <profbear> #it ?
[23:20] <oceanquake> profbear, database2: it's called a suid executable.  you can make something suid root
[23:21] <oceanquake> but it's heavily discouraged.
[23:21] <profbear> nod
[23:21] <oceanquake> hence security mechanisms such as sudo
[23:21] <oceanquake> or dropping privileges, etc.
[23:22] <profbear> also, database2, systemd makes it trivial to write your own daemons. you could escalate in the unit file (i think that's the name)
[23:22] <TJ-> database2: the other option is to set the device ownership group using udev rules, and ensuring your user is a member of that group. E.g. the plugdev or disk groups
[23:23] <TJ-> database2: what device is it?
[23:25] <database2> oceanquake: i wrote program to read devices but when i run that program as a normal user it says permission denied now i want that my program run itself as a root user when that program run by normal user
[23:26] <oceanquake> database2: yes, and we discussed how to do literally what you want (make your program setuid root) and TJ- pointed out a good alternate option, such as running your program with group membership in a group that has permission to access the device in question
[23:27] <oceanquake> generally setuid root is heavily frowned-upon/discouraged
[23:27] <database2> Okay thanks to all
[23:28] <database2> Why setuid root discouraged?
[23:29] <oceanquake> because you are effectively giving an unprivileged user permission to run an arbitrary program, which may do anything or have exploitable holes, with root permission
[23:30] <TJ-> database2: Udev is /the/ standard way of doing this
[23:30] <database2> Ohh
[23:31] <database2> Tj is their any refrence for udev
[23:31] <profbear> database2: type `man udev<tab`
[23:32] <profbear> that was supposed to be a tab key press, database2
[23:32] <oceanquake> although that may be a pretty dense read
[23:33] <database2> profbear: okay
[23:33] <profbear> ya where's that reader's digest, oceanquake
[23:33] <TJ-> database2: what device node is it your program needs access to?
[23:34] <TJ-> database2: in summary, you drop a file into /etc/ude/rules.d/ with a name like "myprogram.rules" with some relatively simply match + action strings
[23:34] <TJ-> If I could type I'd be dangerous!
[23:34] <profbear> XD
[23:34] <TJ-> database2: should be  /etc/udev/rules.d/
[23:37] <database2> Tj: give me a minute
[23:38] <jpop> anybody can help me please https://pastebin.com/X9HTismN
[23:39] <TJ-> database2: E.g. ACTION=="add|change",SUBSYSTEM=="usb",ATTR{idVendor}=="abcd",ATTR{idProduct}=="0123",MODE="0664",GROUP="plugdev"
[23:39] <TJ-> database2: then provided the user is a member of 'plugdev' group the program will be able to read/write the device node
[23:40] <database2> Tj: /dev/sda
[23:42] <TJ-> database2: sounds scary already! but /dev/sd* should have owner/group root:disk, and already be r/w for both, so all you need is to add your user to the 'disk' group
[23:42] <TJ-> database2: as in "sudo adduser $USER disk" then re-login for that to take effect
[23:42] <oceanquake> TJ-: why not just have him have the users be a part of existing disks group
[23:42] <TJ-> oceanquake: ^^
[23:43] <TJ-> now we know which device
[23:43] <database2> Okay and i can do all this by setguid right
[23:43] <TJ-> database2: NO!
[23:43] <TJ-> database2: forget setguid
[23:43] <oceanquake> Yeah, I hit return abuot the same time you did :)
[23:43] <TJ-> oceanquake: :P
[23:43] <database2> Tj: then ?
[23:44] <TJ-> database2: please read what I've already typed; I've explained and given you the single command required
[23:44] <oceanquake> database2: as long as the users you want to be able to do this (I agree, giving users arbitrary access to /dev/sda is a bit scary) have membership in the disks group, they will have access since the device node is owned by group
[23:44] <oceanquake> disks with permission rw at the group level
[23:46] <oceanquake> the executable doesn't need to be setgid if the users are already members of the group that owns the resource
[23:46] <oceanquake> the users -> the users running the program
[23:46] <oceanquake> even if it's not their login group; a user can be a member of any group
[23:47] <database2_> Tj: "adduser $USER disk" can this be done from c program itself
[23:47] <Stormmore> why would updating the initrd break the video settings used at install? i.e. install ubuntu without updating it the video works, but as soon as an update that update the initrd, I no longer get to a desktop and resuming boot from recovery gets me an 8x6 resolution only?
[23:48] <TJ-> database2_: No, it requires a user that has 'sudo' permissions to issue the command
[23:48] <oceanquake> database2_: it's a one-time action per user
[23:48] <oceanquake> that the administrator or someone with admin access does
[23:49] <TJ-> Stormmore: depends on what the 'update' actually changed and what happened before that to influence what is put in the initrd.img
[23:52] <database2_> Tj: okay but i want this program to do whatever it need to do to open /dev/sda for reading writing and the program should run by normal user in summary "program must run by normal usr and get root access"
[23:52] <oceanquake> database2_: perhaps you should take a moment to understand the concepts at play here
[23:53] <oceanquake> database2_: 1. note that /dev/sd* is owned by root:disk (default udev rules in *buntu)
[23:53] <database2_> oceanquake: right but idon't understand from where to start
[23:54] <OerHeks> just run your script as root. or use TJ- answer
[23:56] <oceanquake> database2_: 2. If a user belongs to the group that owns a file/device node/socket, can have the group permissions on that resource control their access
[23:56] <TJ-> database2_: whatever you're doing, it sounds very dodgy. Only a user with admin privs should have access to do raw writes to /dev/sd* devices
[23:57] <oceanquake> database2_: 3. TJ- is explaining to you how to add a given user to the disk group
[23:57] <database2__> oceanquake: yup right
[23:57] <TJ-> I really hope database2_ isn't thinking of distributing this tool to non-technical users, it sounds like a recipe for disaster
[23:57] <oceanquake> database2_: 4. What TJ- described is the one-time action to perform that modifies the system account/group database to ensure the user is in that disk group
[23:58] <oceanquake> This is a one-time administrative step, akin to adding the user in the first place.  Your program itself (the one that accesses /dev/sda) does not do it.