[00:07] <ExcessiveAggro> Evening all!  I set up shutter to screenshot for me...  I then tied it to my print screen keyboard button but everyone i use it I have to press the button twice.  The first time kills the process and the second time launmches a new one
[00:07] <ExcessiveAggro> Any ideas on how you can tell it to use the currently running process instead of killing it first?
[00:08] <pyeverything> what are the internationally and also nationally (within USA) recognized certificates for Ubuntu knowledge? (such as LPIC)
[00:09] <pyeverything> what are the internationally and also nationally (within USA) recognized certificates for Ubuntu knowledge? (such as LPIC) -- sorry I closed the tab by mistake (my touchpad is acting weirdly today)
[00:10] <ExcessiveAggro> @pyeverything I don't know of any certifications that are specific to Ubuntu that companies would be looking for.
[00:11] <pyeverything> I wish there was one
[00:11] <ExcessiveAggro> I know Ubuntu offers training and completing those courses nets a completion cert of some kind
[00:11] <pyeverything> btw do you know why my touchpad is being weird today? it keeps closing tabs on browser, terminal, and here
[00:11] <ExcessiveAggro> But I've always seen companies looking for general Linux certs and experience
[00:12] <pyeverything> which certificates? ExcessiveAggro
[00:12] <ExcessiveAggro> Maybe it doesnt want to leave 2020
[00:12] <pyeverything> :))))
[00:12] <pyeverything> I wonder if any of the updates I had today is causing it
[00:12] <ExcessiveAggro> https://hackr.io/blog/best-linux-certifications
[00:13] <ExcessiveAggro> That's a random google I did... others here will have to weigh in if there are others
[00:15] <ExcessiveAggro> If you were looking for Ubuntu specific training you can look here: https://ubuntu.com/training (Although I doubt companies would be specifically looking for this unless they had a pile of Ubuntu servers :)
[00:15] <foxide> pyeverything: I've found, including as a hiring manager, that when hiring for a Linux admin/engineer position, "Linux" understanding is more valuable to me than "RHEL" or "Ubuntu" knowledge.
[00:16] <ExcessiveAggro> @foxide - Agreed
[00:16] <pyeverything> thank you foxide
[00:16] <foxide> Those who understand RHEL only know how to work with the system in the confines of how Red Hat thinks you should, as an example. Those who understand Linux systems understand how the system functions outside of the distro-specific tooling that's provided.
[00:17] <foxide> Because, as should surprise no one, that tooling can break, and if you don't understand what that tooling is doing to the system under the hood, you're in trouble.
[00:17] <pyeverything> is there a certificate for 'linux understanding' you'd suggest? foxide
[00:18] <foxide> If you were going to do any at all, I'd say the Linux Foundation series.
[00:18] <pyeverything> thanks a lot foxide
[00:18] <foxide> I've found a more significant correlation between certification and useful skills with those certs than with others.
[00:18] <foxide> However, at the end of the day, you're being hired for what you can do, not what paperwork you have.
[00:18] <foxide> Study to UNDERSTAND, not to pass the test.
[00:19] <foxide> I cannot stress that enough.
[00:21] <foxide> And, in near-2021, having a demonstrable foundation in security is absolutely critical.
[00:22] <ExcessiveAggro> @foxide \ well said
[00:24] <foxide> So if you were looking for a starting point, and wanted a certification to go with it, go for the LFCS (Linux Foundation Certified System Administrator), which is course LFS201 and its exam, and the Linux Security Fundamentals course (LFS216).
[00:24] <pyeverything> unfortunately they didn't teach us security at school I wish it was obligatory
[00:24] <foxide> Ugh, it should be.
[00:25] <pyeverything> though heard a while back they are making it obligatory in Arizona
[00:25] <foxide> I suspect that this channel is FULL of people that could direct you to good resources. I'm one of them.
[00:25] <pyeverything> I was at UW-Madison and now at BU and none is obligatory
[00:25] <foxide> To be truthful with you, though, its becoming more and more prevalent that managers are looking for skills and not certifications.
[00:25] <foxide> You're talking about a near thousand dollar investment in what I just listed.
[00:26] <pyeverything> I found linux for sys admins and that is $4000
[00:26] <foxide> A course for $4000?
[00:26] <pyeverything> LFS301 --sorry $3250
[00:27] <foxide> Oh, that's an in-person course.
[00:27] <pyeverything> I know things like kubeflow are super necessary for my work
[00:27] <pyeverything> oh I see
[00:27] <foxide> LFS201 AND the LFCS exam is $499.
[00:27] <foxide> Security is $299.
[00:28] <foxide> If you are at all capable of managing your own time and focus, never do in-person stuff.
[00:28] <pyeverything> I'll note these thanks
[00:28] <foxide> It's a total ripoff.
[00:31] <tacomaster> I am not sure what I am doing wrong here. I am trying to setup private internet access in openvpn but after I generate the openvpn config file and import it, it will not connect. I am getting "network connection failed". I installed wireshark and filtered by udp.port == 1198, which is the port that the openvpn config file has as the default but I am not seeing any traffic at all. I have also checked by udp.port == 53 to see if I see the
[00:31] <tacomaster> dns traffic but I am not seeing anything here as well
[00:32] <foxide> tacomaster: Obligatory warning that VPN services like PIA do almost nothing for you in terms of privacy or security.
[00:33] <foxide> tacomaster: That aside, have you tried increasing openvpn's logging verbosity (3 should do it) to see if any particular issue jumps out?
[00:34] <tacomaster> foxide: I use it to bypass geo restrictions not for privacy. I understand all I would be doing for privacy is taking the trust away from my isp and giving it to another company.
[00:34] <foxide> tacomaster: It's a blanket warning I give everyone. :)
[00:46] <Elw3> Are there ways to resize a currently mounted disk, my root to be exact?
[00:47] <foxide> Depends on certain things.
[00:47] <foxide> What is your current setup in terms of disk partitioning, etc?
[00:49] <Elw3> Its two basic partitions on the disk, and 15gb space where i just deleted ubuntu 10
[00:50] <foxide> Could you paste the output of fdisk -l so I can get a better picture?
[00:50] <foxide> !paste
[00:51] <Elw3> https://pb.larskl.de/d5dd
[00:53] <foxide> And which is the one you're wanting to expand?
[00:54] <Elw3> sda3
[00:55] <foxide> So, NORMALLY, I'd say that's a problem, but your partition order isn't in disk order, so this may be easier.
[00:55] <foxide> First: Do you have BACKUPS of important data
[00:55] <foxide> Because any operation that modifies the disk layout can cause loss.
[00:55] <Elw3> I am no beginner...
[00:56] <foxide> I have 20 years of experience, and things can still go wrong.
[00:57] <Elw3> Then i would not touch it in the first place.
[00:57] <foxide> Backups are a good idea regardless, but alright.
[00:57] <Elw3> Thihi my backups are 5 years overdue...
[00:58] <Elw3> But my problem is this is the only drive i have.
[00:58] <foxide> After you back up important data, you'd delete the existing partitions using fdisk, then create a new single partition that starts in the same spot that sda3 does now, and spans the entire disk. Then you'd perform a resize operation (resize2fs, xfs_grow, etc.)
[01:00] <Elw3> So wait, i cannot resize the disk directly but have to overwrite it with a new one of different size?
[01:00] <foxide> You're not overwriting the disk. You're just changing the partition boundaries so that when you resize the filesystem, it sees a larger partition.
[01:01] <foxide> Given that you only have one disk, though, this is something you'll need to do via a live image, because the system won't honor partition table changes whenever the disk is mounted.
[01:01] <Elw3> I specifically asked if its possible to do that without a live disk tho...
[01:02] <foxide> You asked if its possible to resize it while mounted. Yes, just not in your case.
[01:02] <Elw3> Ah, in what cases is it possible then?
[01:03] <foxide> When using logical volumes, or when only partitions other than your currently mounted root have to be modified.
[01:04] <Elw3> Huh, i thought logical volumes make everything worse.
[01:04] <foxide> Not at all.
[01:05] <foxide> Makes it much easier to manage your available storage.
[01:05] <foxide> I use LVM in all but the simplest setups.
[01:06] <Elw3> Wont this add another layer of possible problems? Eg one space more that can get corrupted, and IF corrupted you lose more partitions than without?
[01:07] <foxide> Data managed within logical volumes is still written directly to the disk. LVM has been around for YEARS, and is extremely robust and stable.
[01:08] <Deano59> hi! happy new year... question, I'm trying to use samba! I try and connect via a file manager and I get connection refused. if I try and mount the dir with cifs it works fine. what am I missing?
[01:09] <foxide> Deano59: Is the samba server firewalled?
[01:09] <Deano59> foxide: nope, I disabled ufw.
[01:09] <foxide> Is the client system on the same subnet?
[01:09] <Deano59> yeah
[01:09] <foxide> Sorry, just going through a checklist of Crap I've Seen With Samba(tm).
[01:10] <Deano59> xD
[01:10] <foxide> File manager and cifs client are the same machine, I'm guessing?
[01:10] <Deano59> works great with cifs, just can't click through the file manager.
[01:10] <Deano59> yeah
[01:10] <foxide> Which file manager?
[01:10] <Elw3> well thanks for your opinion.
[01:10] <Deano59> thunar and pcmanfm
[01:11] <foxide> Do you have thunar-shares-plugin installed?
[01:11] <Deano59> no?
[01:11] <foxide> I THINK that's required for SMB support in Thunar.
[01:11] <Deano59> it worked fine before, but all of a sudden I get connection refused.
[01:12] <Deano59> only thing I changed was installing an ad-blocker (adguard home)
[01:12] <foxide> Wait, I'm dumb, ignore me.
[01:12] <foxide> That's not a separate package in Ubuntu.
[01:12] <Deano59> lol :D
[01:14] <foxide> Ugh. Samba should be called Heisenberg's Uncertainty Service.
[01:14] <onomatopie> Is there any reason on the latest version of Ubuntu the volume control only works at the last 5% or less?
[01:14] <onomatopie> If I move it past that it goes silent
[01:14] <Deano59> foxide: I done: sudo mount -t cifs //192.168.0.225/root rootdir -o; just can't copy/paste anything.
[01:15] <Deano59> but connection refused via thunar/pcmanfm
[01:16] <foxide> Are you trying to mount actual '/root' on the remote end, or does the share just happen to be named 'root'?
[01:16] <dman777> hello, I am installing ubuntu 20 lts live server. on the storage configuration, I have a partition set with / and with ext 4 but the done is still greyed out. what I am missing?
[01:16] <foxide> dman777: How large is the disk?
[01:16] <Deano59> named root, tried other names too.
[01:16] <foxide> Deano59: What is the path that corresponds to that share on the server?
[01:17] <Deano59> path = /mnt/3TB/
[01:17] <dman777> foxide: the disk is 500gb and the partition I am using is 110gb
[01:18] <foxide> dman777: Is this disk used for anything else, or ONLY Ubuntu?
[01:19] <Deano59> foxide: IF I do: sudo mount -t cifs //192.168.0.225/mnt/3TB external -o it says no such dir... but if I do /home or /root it works?
[01:19] <foxide> Deano59: Could you !paste your smb.conf?
[01:20] <dman777> foxide: I have windows 10 on it the disk also. partition 1 is unused ESP.... it's for the EFI bios. I suspect that maybe I need to mark the disk as bootable somehow? I do not see the option
[01:20] <foxide> dman777: Yes, you need to specify that partition as the ESP. Both Ubuntu and Windows will "share" it.
[01:21] <Deano59> foxide: https://paste.ubuntu.com/p/dGJgPwCfrc/
[01:21] <dman777> foxide: well, the storage configuration shows partition 1 as 'existing, unused ESP, already formated as vfat.'
[01:22] <dman777> foxide: in the edit menu it shows as bootloader parition
[01:24] <dman777> oh...I see the text on the top that saids to conitune I need to select a boot disk
[01:24] <Deano59> foxide: keeps saying mount error(2): No such file or directory but /home and /root works?
[01:26] <dman777> foxide: how do I select a boot disk in the storage configuration? so far when I go to edit on the partitions I don't get the option
[01:30] <foxide> dman777: Go to the ESP in the partition menu and tell it to use it as the ESP.
[01:30] <foxide> Deano59: You have the 'root' share specified as /, not /mnt/3TB.
[01:30] <foxide> Deano59: /mnt/3TB is presented as the hdd share.
[01:32] <Deano59> foxide: yeah
[01:32] <Deano59> I tried changing and it's a no go.
[01:33] <Hash> Before I begin, how does custom kernel in ubuntu work? Can I just get the kernel source, customize, build and install or does it have to be ubuntu way somehow
[01:49] <JFox762> I need help figuring out how to set up a cron job that will periodically check a directory for a new file... if no new file has been created in an hour's time... it gives me a notification
[01:50] <JFox762> The purpose is to act as a sort of notification system that my NVR software has stopped recording one of my cameras
[01:51] <foxide> JFox762: I would check the modify time of the newest file in the directory. If its older than an hour, yell.
[01:51] <JFox762> thing is, I dont know how to do cron jobs
[01:51] <foxide> Ahh, gotcha.
[01:52] <JFox762> I'd like a tutorial or guide if there exists for the task I'm trying to accomplish :)
[01:52] <foxide> https://help.ubuntu.com/community/CronHowto
[02:05] <Deano59> foxide: why doesn't this work? //192.168.0.225/home  /media/server  cifs   uid=pi,credentials=/home/pi/.smbcredentials,iocharset=utf8,sec=ntlm   0       0
[02:06] <Deano59> mount error(22): Invalid argument
[02:06] <Deano59> I'm following the ubuntu man page and it won't work!
[02:06] <foxide> I hate samba's indecipherable error codes.
[02:06] <Deano59> yeah this is cifs lol
[02:06] <foxide> To be honest, I'm not sure where to go from here.
[02:10] <Mystified1234> need help with this issue. there is no enties in  the file of apt/sources.list.d or any other source list for the missing entry
[02:10] <Mystified1234> N: Ignoring file 'balena-etcher' in directory '/etc/apt/sources.list.d/' as it has no filename extension
[02:11] <Mystified1234> i'm unable to run updates till i resolve this issue
[02:11] <Mystified1234> its missing gpg key
[02:11] <Mystified1234> for balena etcher
[02:11] <Mystified1234> i've tried purging the source. but there is nothing to purge
[02:12] <dman777> foxide: I get through the installation all the way until the end. It saids that there was a problem with the installation and it resets the installer to the first step
[02:14] <Mystified1234> dman777: https://itectec.com/ubuntu/ubuntu-mounting-cifs-drive-gives-mount-error22-invalid-argument/
[02:15] <Mystified1234> https://community.exchange.se.com/t5/EcoStruxure-IT-forum/CIFS-mount-error/td-p/197506
[02:15] <dman777> Mystified1234: no.... I didn't get that. I got a message box saying it was gather stats to send
[02:15] <Mystified1234> oops, sorry
[02:15] <dman777> np :)
[02:15] <Mystified1234> just joined the channel
[02:16] <dman777> but there is no way for me to view that log before it resets
[02:17] <Mystified1234> no one here to help with my issues
[02:20] <pyeverything> this is supposed to be a 8G file but when I download using wget --no-check-certificate 'https://docs.google.com/uc?export=downloa&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk' -O hico_20160224_det.tar.gz --> it only downloads 32k you know how I could fix?
[02:21] <vulpine> pyeverything: -o sets the location to log, not the location of the downloaded file
[02:22] <dman777> foxide: looks like a error with curtin
[02:23] <pyeverything>  https://docs.google.com/uc?export=downloa&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk vulpine
[02:23] <Deano59> foxide: //192.168.0.225/home /home/pi/homeserver cifs rw,credentials=/home/pi/.smbcredentials,uid=1000,nofail,gid=1000 works. but can't mount /mnt/3TB but can /root and go into /mnt/3TB so thanks. :)
[02:24] <pyeverything> wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME --> I am following this vulpine
[02:24] <pyeverything> what am i missing?
[02:25] <vulpine> oh apperently thats not a direct download link, theres a confirm page that says google cant scan it for viruses
[02:25] <pyeverything> so how can I download it?
[02:25] <pyeverything> in terminal
[02:25] <rjwiii> ubuntu 18.04 ... on the task bar I have an icon for Thunderbird ... How can I see what command the icon is issuing to start Thunderbird?
[02:31] <pyeverything> this didn't work too ---> wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk" -O Data/hico_20160224_det.tar.gz && rm -rf /tmp/cookies.txt
[02:33] <pyeverything> opted to transferring it via rsync from my local machine
[02:40] <Mystified1234> if anyone can help, switch the gnome default virtual keyboard to "ONBOARD " keyboard, i'd appreciate that. running 20.10 groovy
[02:41] <Mystified1234> i have a 2in1
[02:44] <rjwiii> New question: I can't seem to ssh to my laptop anymore ... connection refused ... ubuntu 18.04 (on the laptop)
[02:46] <Mystified1234> rjwiii: goto your home folde .ssh/known_hosts and delete the entry and try again
[02:50] <rjwiii> Mystified1234: laptop or desktop?
[02:50] <Mystified1234> laptop
[02:51] <Mystified1234> gnome virtual kbrd suxs
[02:51] <rjwiii> Mystified1234: there's a bunch of cryptic looking lines in there ... not what I'm used to seeing ...
[02:52] <Mystified1234> keyboard & sucks
[02:52] <Mystified1234> :)
[02:53] <rjwiii> Mystified1234: what am I looking for? Or should I just nuke everything?
[02:53] <Mystified1234> ooh
[02:53] <Mystified1234> sorry..
[02:53] <Mystified1234> delete all the lines
[02:54] <Mystified1234> save, then ssh back into again.
[02:55] <rjwiii> Mystified1234: My thought, too ... mv known_hosts known_hosts.old; touch known_hosts ...
[02:55] <Mystified1234> it will allow you to reset , by entering the correct user password
[02:56] <rjwiii> Mystified1234: restart ssh?
[02:57] <Mystified1234> yes, but only from the pc using to access the server
[02:58] <Mystified1234> ssh name@192.123.642.555
[02:58] <Mystified1234> what ever you use to login with.
[02:58] <Mystified1234> you will enter'yes' the enter the password
[02:59] <Mystified1234> btw do you have port 22 open on both pc's
[02:59] <rjwiii> Mystified1234: still getting connection refused ... username is the same on both machines, so I'm using ssh -X IPADDRESS
[03:00] <Mystified1234> post the exact messsage
[03:00] <Mystified1234> have you changed any paswwords lately on the server
[03:01] <rjwiii> Mystified1234: hmmmm ... I think something is hosed on the laptop ... tried a restart there and got: Failed to restart ssh.service: Unit ssh.service not found.
[03:01] <Mystified1234> renable ssh
[03:02] <Mystified1234> are you running a systemd or non systemd
[03:02] <rjwiii> Mystified1234: stock install of 18.04
[03:03] <rjwiii> Mystified1234: how do I renable?
[03:03] <Mystified1234> https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-18-04/
[03:03] <Mystified1234> sudo systemctl status ssh
[03:04] <Mystified1234> interesting, i'm having the same issue..
[03:05] <Mystified1234> but i thought it was becaused i changed my password on the server
[03:12] <rjwiii> Mystified1234: "Unit ssh.service could not be found."
[03:14] <foxide> Confirm that the openssh-server package is actually installed.
[03:20] <Mystified1234> mine is exactly the same
[03:20] <Mystified1234> sssd-ssh.service                                      loaded    inactive dead    SSSD SSH Service responder
[03:21] <Mystified1234> usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[03:21] <foxide> That's not the ssh service.
[03:22] <Mystified1234> well, it was there and working 2 days ago
[03:22] <Mystified1234> im running 20.10 testing
[03:22] <foxide> Confirm that the openssh-server package is actually installed, please.
[03:23] <foxide> And 20.10 is a stable release.
[03:24] <Mystified1234> whats the apt '-' variable to list if its installed
[03:24] <foxide> dpkg -l
[03:24] <foxide> dpkg -l | grep ssh
[03:24] <Mystified1234> thanks
[03:26] <Mystified1234> openssh-client
[03:27] <foxide> Which is not the server.
[03:27] <Mystified1234> correct, ill install now..
[03:27] <foxide> Though that was more for rjwiii .
[03:30] <rjwiii> foxide: openssh_client is installed ...
[03:30] <foxide> Is openssh-server installed on the system that you are trying to connect to?
[03:31] <foxide> The one on which you're trying to enable/start ssh.service?
[03:33] <rjwiii> foxide: I believe so ... when I try to install it with apt install ssh_server, I get "not available"
[03:33] <foxide> Because that is not the package name.
[03:33] <foxide> openssh-server is.
[03:34] <rjwiii> foxide: so I tried to install "ssh-askpass-gnome" and it says already at current version
[03:34] <Mystified1234> systemctl -l --type service --all|grep ssh
[03:34] <Mystified1234>   ssh.service                                           loaded    active   running OpenBSD Secure Shell server
[03:34] <foxide> rjwiii: The server that you are trying to connect to must have the openssh-server package installed.
[03:34] <foxide> That is the package that provides ssh server functionality, so that other systems can connect to it.
[03:35] <Mystified1234> openssh-sftp-server  1:8.3p1-1
[03:35] <foxide> I did not say that package.
[03:35] <foxide> I said openssh-server.
[03:35] <Mystified1234> openssh-server                                1:8.3p1-1
[03:36] <Mystified1234> sorry pasted wrong 1
[03:36] <foxide> Gah. I'm talking to rjwiii ! :P
[03:36] <Mystified1234> k
[03:36] <Mystified1234> sudo apt install openssh-server
[03:37] <Mystified1234> sudo systemctl start sshd
[03:37] <foxide> On Ubuntu, installing the package enables and starts the service, and its ssh.service on Ubuntu.
[03:38] <rjwiii> foxide: I get "refered to by another package" & "has no installation candidate" ...
[03:38] <foxide> rjwiii: Exactly what did you enter?
[03:38] <rjwiii> fox "sudo apt install openssh-server"
[03:39] <rjwiii> foxide:  "sudo apt install openssh-server"
[03:39] <foxide> Well, that's the name of the package.
[03:39] <rjwiii> foxide: I have ssh'd to this laptop before without issue ...
[03:39] <foxide> What is the output of dpkg -l | grep openssh-server?
[03:41] <Mystified1234> i need to reset the password on my server.. i forgotten it
[03:41] <Mystified1234> back soon
[03:43] <rjwiii> foxide: nada
[03:44] <foxide> rjwiii: Then you don't have the correct package installed. Please !paste the contents of your /etc/apt/sources.list file and anything in /etc/apt/sources.list.d
[03:44] <foxide> !paste
[03:45] <foxide> paste.ubuntu.com
[03:46] <Mystified1234> pastebin or dpaste.com
[03:46] <Mystified1234> any of those
[03:46] <foxide> Pastebin is a bit trash, so please not.
[03:48] <rjwiii> foxide: progress ... sort of .... my sources.list file seems to be missing ...
[03:49] <foxide> That would indeed present a problem, yes. :)
[03:49] <rjwiii> foxide: I had a .bak and .sav file ... copied the .bak file to sources.list and got a boatload of errors ...
[03:50] <foxide> Which release of Ubuntu are you running?
[03:51] <rjwiii> foxide: laptop is running 18.04 ...
[03:51] <rjwiii> foxide: updater is working ...
[03:51] <foxide> The server you're trying to connect to is the one that matters.
[03:52] <rjwiii> foxide: I'm trying to ssh TO the laptop ... :)
[03:53] <rjwiii> foxide: I have Thunderbird on the laptop because it's portable ... I want to run Thunderbird via ssh on my desktop ...
[03:58] <foxide> Alright, then yes, the laptop will need openssh-server installed.
[03:59] <foxide> Running Thunderbird over SSH will require X forwarding as well, which is a whole new pile of stuff.
[04:00] <rjwiii> foxide: understood ... I've run X apps via ssh before ...
[04:01] <foxide> Then have fun!
[04:02] <rjwiii> foxide: I still need to get ssh running (again) ...
[04:03] <rjwiii> foxide: is there a way to restore the default sources.list?
[04:05] <foxide> https://gist.github.com/rhuancarlos/c4d3c0cf4550db5326dca8edf1e76800
[04:06] <foxide> That's the default for 18.04. Someone was nice enough to post it online. You could easily just paste that into sources.list.
[04:10] <Mystified1234> back, ssh to my server
[04:11] <Mystified1234> works fine
[04:11] <Mystified1234> thankyou
[04:12] <Mystified1234> the question is why did openssh server disapeaar
[04:12] <rjwiii> foxide: pasted ,,, still no luck installing openssh-server
[04:14] <rjwiii> foxide: still getting "package is not available" "referred to by another package" and "no installation candidate" ...
[04:15] <ArthurStrong> Happy New Year everyone!
[04:17] <Bashing-om> !info openssh-server
[04:18] <Mystified1234> ahh foxide; what version are you running
[04:18] <ArthurStrong> !info test
[04:19] <Mystified1234> uname -a
[04:19] <Mystified1234> uname -a
[04:19] <rjwiii> Mystified1234: wrong window ... :)
[04:21] <foxide> That package is in every Ubuntu release as far back as I can remember and all the way up to now, without exception.
[04:21] <rjwiii> foxide: I believe you ... my laptop is not letting me install it ...
[04:21] <Mystified1234> ubuntu release
[04:22] <rjwiii> Mystified1234: I'm using 18.04 on the laptop ...
[04:22] <rjwiii> Maybe if I upgrade to 20.04 things will start working again ...
[04:23] <Mystified1234> from command line or software(snap)
[04:25] <rjwiii> I'll just byte the bullet and upgrade it on Monday ...
[04:27] <Mystified1234> apt install --fix-missing
[06:25] <linuxmint> anyone know a good hypervisor?
[06:41] <Mystified1234> can anyone pls help with a 2in1 laptop changing the default virtual keyboard from gnome to onboard. Running  20.10 groovy thanks in advance.
[06:42] <Mystified1234> BTW i have the pkg installed but dont know to configure it as default and remove gnome
[06:43] <Mystified1234> BTW i have the pkg installed but dont know to configure it as default and remove gnome keyboard as the default virtual keyboard
[08:38] <ducasse> linuxmint: kvm?
[10:22] <aldcor> Hi. After installing primus, Nvidia settings shows only one tab - Prime profiles. And glxinfo shows that I'm using Intel again but I want to use nvidia.
[10:50] <oerheks> Happy NewYear all'
[11:15]  * Jari-- & Locomotion Tango - Modern Talking
[11:16] <TJ-> Anyone aware of a Debian/Ubuntu build of iputils-ninfod ? neither distro is building it currently which is a bit stupid when we have ping6 that can send IPv6 NI requests but nothing to reply to them!
[11:16] <Jari--> beer day here
[11:16] <Jari--> a friend is bringing up 24 pack
[11:23] <TJ-> bug #1909802
[11:29] <Jari--> where in Ubuntu I can change the stereo settings ?
[11:29] <Jari--> I mean dolby, etc. advanced
[11:30] <Jari--> some settings are breaking up the Spotify Premium playback
[11:30] <Jari--> I read from the Google it might be dolby, etc. stereo settings
[11:37] <bitblit> when i play a video with nnn file manager, nnn waits for the video to exit before i can use it again. it is using xdg-open. any idea how to get it to return immediately?
[12:08] <dsofeir> Hello, can anyone explain why when I install https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img on KVM does 18.04.5 get installed?
[12:09] <ice99> why the Ubuntu installer (full disk encryption) doesn't encrypt the /boot partition too?
[12:16] <jeremy31> ice99: Because grub needs it unencrypted
[12:16] <ice99> jeremy31, negative, grub can unlock luks encrypted partition
[12:18] <dsofeir> Please, can anyone explain why when I install https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img on KVM does 18.04.5 get installed?
[12:20] <jeremy31> ice99: what is in /boot?  I would suspect the grub files
[12:52] <TJ-> ice99: see my tutorial for (almost) FDE https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
[13:14] <ice99> TJ-, nice tutorial, thanks; but my question is why this cannot be accomplished by the installer automatically? why canonical hasn't done it yet?
[13:17] <TJ-> ice99: I'm not sure; inertia partially, but also possibly it being incompatible with some use cases
[13:39] <gravitos> hello there, installed half life 2 on bionic, get this error, how to fix? russian means 'no such file or directory' https://www.irccloud.com/pastebin/tsf1j9RQ/stdout
[13:43] <summonner> does the file exist? if not, try reinstalling the app?
[13:43] <gravitos> tried, still got this
[13:49] <summonner> Probably reach out to the developers and ask there
[14:07] <grndslm> can someone help me figure out how to run a script in /etc/rc.local bootup with the screen command??
[14:08] <grndslm> basically, /etc/rc.local looks like this to where it matters.... "screen -d -m -S scriptName ./scriptFile"
[14:09] <grndslm> it works on a regular command prompt, but not in /etc/rc.local, even tho it *is* executable
[14:09] <grndslm> says something like.... "rc-local.service:  Failed to execute command:  Exec format error
[14:11] <grndslm> Failed at step EXEC spawning ..... Exec format error.... Control process exited, code=exited, status=203/EXEC... Failed with result 'exit-code'.
[14:11] <Guest92650> Hello
[14:11] <jeremy31> grndslm: is the first line of the script>   #!/bin/bash
[14:11] <grndslm> jeremy31: yes.  :-)
[14:12] <alanbell> grndslm: I would be suspicious of the ./scriptFile relative path and any other relative paths going on
[14:12] <grndslm> it's #!/bin/sh, actually
[14:12] <Guest92650> I have Ubuntu 20.04.1. My problem is, I cannot any file transfer from FileZilla to the only root directory. It says: "open for write: permission denied"
[14:12] <grndslm> alanbell:  the only other command in the script is to "cd" to the working directory
[14:14] <alanbell> grndslm: /usr/bin/screen possibly
[14:15] <grndslm> hmm.. lemme try
[14:19] <grndslm> alanbell:  just adding /usr/bin/ to the front of that line doesn't seem to get it started either.... still same errors about format, compatibility issues
[14:22] <grndslm> alanbell:  i'm not a bash expert, but what if i did....... exec "/usr/bin/screen -d -m -S scriptName ./scriptFile"??
[14:22] <grndslm> think that might help?
[14:36] <alanbell> grndslm: seems to be working for me, I set up an rc-local.service file in /etc/systemd/system and an rc.local file containing just #!/bin/bash echo "hi"
[14:37] <alanbell> starting the service and doing sudo systemctl status rc-local.service shows "hi" in the log
[14:38] <alanbell> then I added "/usr/bin/screen -d -m -S fromservice"
[14:38] <alanbell> and restarted the service and now have screen running
[14:46] <grndslm> alanbell:  i don't get it.... mine won't work
[14:50] <BluesKaj> Happy New Year everyone
[14:50] <foxide> You too!
[15:02] <CrimsonRogue> hello. I am requesting an invite to #ubuntu-dev, #ubuntu-touch and #ubuntu-devel. could someone please relay these messages to the appropriate channels? thanks in advance.
[15:06] <alanbell> grndslm: I got the rc-local.service from here https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd
[15:07] <alanbell> I am having a bit of a DNS resolution problem, this domain bumpinto.eu stopped working, not sure why. Looks OK at my registrar but I can't seem to resolve it any more, can anyone see it or help explain what is going on?
[15:14] <foxide> alanbell: What DNS server are you using? Is this a domain that you own/control?
[15:14] <BluesKaj> alanbell, not loading here either
[15:15] <oerheks> alanbell, not really an ubuntu issue.
[15:15] <alanbell> yeah, my domain, was working for ages. dig bumpinto.eu. @ns1.blacknight.com seems OK
[15:15] <oerheks> alanbell, if you ar in the UK ...
[15:15] <foxide> It's not, I can't even retrieve its NS records.
[15:16] <alanbell> oerheks: yeah, I am thinking it isn't an Ubuntu issue, thought i was doing something wrong but it seems elsewhere
[15:16] <oerheks> alanbell, so, are you in the UK?
[15:16] <alanbell> oerheks: I moved to Ireland (didn't want to go for that ride) and the domain is registered to an Ireland address
[15:17] <alanbell> and with an Irish registrar
[15:17] <Woet> alanbell: https://www.whatsmydns.net/#A/bumpinto.eu
[15:17] <oerheks> maybe NI is the same, no EU domain for UK people in 2021
[15:17] <alanbell> Woet: thanks, nice tool, and it is broken everywhere.
[15:18] <alanbell> oerheks: probably, but I am in County Clare so definitely still in the EU
[15:18] <relipse> how do I know if my cron ran
[15:18] <relipse> i tried journalctl
[15:18] <relipse> i'm on ubuntu 20
[15:18] <oerheks> contact them, businesshours
[15:19] <alanbell> oerheks: yeah, I think that is the way forward, thanks for confirming it isn't just me!
[15:27] <dongs> how do i stop systemd from redirecting console output of a service process to syslog
[15:27] <dongs> (for some insane reason asterisk ubuntu package is setup like that, despite the fact it has a perfectly usable logging system already on its own)
[15:37] <alanbell> oerheks: it is to do with Brexit, I lost two .eu domains, probably they looked at citizenship not addresses
[15:37] <foxide> dongs: I believe you can enter an override in the service definition to change its logging behavior.
[15:37] <dongs> yeah i just found that. StandardOutput/StandardError needed to be set to null.
[15:38] <dongs> in asterisk.service but how will that affect future upgrades?
[15:38] <foxide> dongs: Don't edit the service in /usr.
[15:38] <dongs> . then where would i edit it.
[15:38] <foxide> dongs: Future upgrades may wipe out those changes. systemctl edit asterisk will take you into an override editor.
[15:39] <foxide> It will drop a separate file in /etc that will override the default service definitions without changing the original file. :)
[15:39] <dongs> that jsut gives me a blank text editor using freaking nano, wtf. why isnt it VI
[15:39] <foxide> EDITOR=vi systemctl edit asterisk
[15:40] <foxide> And yes, it will be blank. Only enter the items you want to change from the original unit, not the entire unit.
[15:40] <dongs> and what do I add in the blank thing? the StandardOutput overrides I made in teh other file?
[15:40] <foxide> [Service]
[15:40] <dongs> do i need to add [Service] part too?
[15:40] <dongs> ok
[15:40] <foxide> Yup, you got it.
[15:41] <dongs> how do i make the editor thing permanent system wide.
[15:41] <dongs> i have neverf used nano and dont plan to
[15:42] <dongs> looks like update-alternatives. k ill screw aroudn with it
[15:42] <foxide> I think that's the one, yes.
[15:44] <dongs> ok, asterisk no longer spams syslog.
[15:58] <dongs> i went ahead and reported the situation as a bug as I don't think it should be happening.
[15:59] <dongs> if asterisk didn't have its own logging system it would make some sense
[15:59] <foxide> Makes sense. Or at least some easy configurable to log to the journal OR using its internal logging.
[16:00] <foxide> Or report service status to the journal, and all app activity goes to the asterisk logs.
[16:00] <foxide> A few ways you could slice that one.
[16:00] <dongs> tehere's no or really, because its usually started as a daemon and you can connect to it's console remotely via asterisk -r, and yeah, it has its own log setup which can be directed to files/databases/or even syslog itself
[16:01] <dongs> and by default it sticks its own messages in to /var/log/asterisk/messages, so the double-reporting in syslog is just wasting space
[16:01] <foxide> I have near-zero experience with asterisk - IP voice stuff gives me a rash.
[16:02] <dongs> yeah, ive avoided touching it for > 10 years since i last setup a machine with it, but its been dying so i upgraded to a newer system and took time to cleanup configs meanwhile.
[16:02] <foxide> makes sense
[16:02] <dongs> hopefully after this i dont have to touch it for another 10+
[16:04] <oerheks> max support is 5 years + 5 years paid..
[16:04] <dongs> tell that to some of my machines running kernel 2.6.31
[16:17] <leftyfb> dongs: just because it's still running, doesn't mean it's supported or secure for that matter
[16:20] <dongs> i'd wager something custom-configured 10 years ago to do a single task is probably more secure than today's shitbox with 5000 things running that nobody knows why or how they operate
[16:20] <dongs> but yeah im not gonna get into this argument. i just want shit to work.
[16:20] <oerheks> lolz... unrealistic
[16:22] <leftyfb> dongs: did you custom configure that 2.6 kernel with the patches for the dirty cow exploit?
[16:22] <leftyfb> or the other 343 vulnerabilities? https://www.cvedetails.com/vulnerability-list/vendor_id-33/product_id-47/version_id-123682/Linux-Linux-Kernel-2.6.32.html
[16:22] <dongs> no because its a single user system
[16:22] <dongs> with no internet access
[16:23] <dongs> so who gives a shit.
[16:23] <leftyfb> dongs: please watch the language
[16:25] <merimus> IFF the machine is not connected to the internet, or a lan which is connected to the internet, and never has data transfered to it.  Then is it "mostly" safe
[16:26] <merimus> I'm attempting to follow the docs at https://ubuntu.com/server/docs/samba-domain-controller but they don't seem to work.
[16:26] <dongs> the fact that its still running and im only shutting it down because the hardware itself is dying (its some ancient Atom thing with a spinning rust drive) clearly shows it has done perfectly fine for the last 10+ years.
[16:26] <merimus> $  net rpc rights grant -U merimus "JAGGERBUSH\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoveShutdownPrivilege
[16:28] <dongs> anyway, my problem is solved, bug is opened, time to sleep
[16:30] <merimus> net rpc user shows merimus
[16:30] <merimus> net rpc group shows Domain Admins
[16:51] <grndslm> ok.... so i'm trying to start a script thru the screen command..... at startup.... but it won't work.  the screen command w/ script works just fine at a regular command prompt.... but it does NOT work when placed in rc.local and made executable, NOR does it work in crontab -e
[16:52] <grndslm> there's something special about launching screen outside of a regular terminal that is giving me a huge headache
[16:52] <grndslm> i've tried so many different variations, but none of them are working....   :-(
[16:59] <oerheks> grndslm, make a proper systemd unit for that?
[16:59] <grndslm> oerheks:  don that already
[16:59] <grndslm> at least a proper rc-local.service
[17:00] <grndslm> oerheks:  doesn't work... keeps spitting out an error saying that it's incompatible, failed to execute or whatever...
[17:00] <oerheks> some example; https://bbs.archlinux.org/viewtopic.php?pid=1207664#p1207664
[17:03] <melodie> hello
[17:03] <melodie> I would like a hint or help around users/right-permissions/polkit
[17:04] <melodie> I had to create a new user to make my computer work right, because something in my initial profile got corrupted and my session was freezing all the time. I had not found what was wrong, and a new profile did the trick.
[17:05] <melodie> but since a pair of weeks I can't use the programs that need pkexec anymore in my new profile : ie: synaptic, gnome-admin-tools.
[17:05] <melodie> I just tried to start my old profile session, and there, it works.
[17:05] <melodie> both profiles belong to the same groups, both are admin (with of course a different password, strong ones)
[17:06] <melodie> I wonder if this could have something to do with the files under "/etc/polkit-1/localauthority.conf.d/" :
[17:07] <melodie> such as 50-localauthority.conf with has "[Configuration]
[17:07] <melodie> AdminIdentities=unix-user:0"
[17:07] <melodie> I am not very keen with polkit tools, this is why I am asking here for help and pointers, if someone knows about that?
[17:15] <grndslm> oerheks:  doesn't work.... perhaps running screen alone works at boot.... but running screen in -detached mode with a script that has 10 or so switches... does not seem to work, no matter what
[17:28] <geosmile> apt upgrade -> https://paste.ubuntu.com/p/bWnFHf57cm/ - how can i fix this?
[17:50] <pillager86> I think my Ubuntu 20.04 installation has a virus because since this morning, it keeps freezing up in VS Code.
[17:50] <pillager86> I changed the autorefresh settings on git files and still no luck.
[17:51] <oerheks> why would you think of a virus?
[17:52] <pillager86> My whole system freezes and requires a hard reset even though I have 16 GB of RAM.
[17:53] <oerheks> vscode is a proprietary blob, btw
[17:53] <mefistofeles> pillager86: I'd try checking for memory errors or maybe something related to your graphical processing unit
[17:53] <pillager86> OK but another thing is I can't use "dub" to build my project in a separate terminal. That has nothing to do with VSCOde.
[17:53] <pillager86> It just started happening this morning it was fine last night.
[17:54] <mefistofeles> pillager86: also, is there anything in the logs?
[17:54] <pillager86> How do I check the logs if it keeps freezing up?
[17:54] <pillager86> I'm on Windows right now
[17:54] <mefistofeles> pillager86: you can check after next boot
[17:55] <mefistofeles> looks for previous boots are stored (up to some point)
[17:55] <mefistofeles> s/looks/logs
[17:55] <pillager86> where in /var/log do I look?
[17:56] <mefistofeles> I can't remember if there'sa dmesg there (I'm not currently using ubuntu so I cannot tell for sure)
[17:56] <mefistofeles> they left :P
[18:04] <pillager86> ok i'm back, i didn't find anything in var/log but i reverted my code's changes to the last commit and it seems to work so it's a problem with dub
[18:04] <pillager86> i guess i have no virus on ubuntu
[18:07] <sgen> Is it just me or are some packages really bad at cleaning up after themselves? like leaving piles of files behind
[18:08] <TJ-> sgen: possibly just you - what are you expecting, and which packages?
[18:08] <TJ-> sgen: package removal will NEVER touch any files created in user home directories for example
[18:09] <TJ-> sgen: and any config files in /etc/ /var/ will not be removed without --purge
[18:10] <sgen> Mono and I guess most are in /etc so that explains a lot of it
[18:22] <douglaswinship> Possibly the wrong chat, but does anyone have any advice on buying a laptop to run linux on? I'm in the UK, and the most demanding thing I'd ask it to do would be to hand high-quality video calls.
[18:22] <Maik> !discuss | douglaswinship
[18:22] <douglaswinship> oh, thanks
[18:23] <Maik> yw
[18:35] <Lutin> Is there a online tool/site which shows package versions of 3rd party companies their repo's ?
[18:35] <oerheks> if they publish on launchpad, they will be listed.
[18:47] <qbdown> why does my Ubuntu 20.04 have a cloud-init when I'm installing manually in a VM ?
[18:48] <jidar> qbdown: I'd assume you picked the cloud image?
[18:48] <qbdown> I picked the Ubuntu Server 20.04 live install
[18:49] <oerheks> cloud-init is basicly a standard tool now?
[18:50] <oerheks> to remove it, a short howto https://gist.github.com/zoilomora/f862f76335f5f53644a1b8e55fe98320
[18:50] <qbdown> I read that it can execute user data etc on EC2 but I don't need all of that for a local install so was wondering why its running anyway
[18:53] <qbdown> oerheks: thanks
[19:27] <tgarder> First time on IRC in like 20 years, glad to see there's people here :D
[19:29] <Maik> !ask | tgarder
[19:29] <Maik> also
[19:29] <Maik> !discuss
[19:30] <Maik> just for information so you know :)
[19:30] <tgarder> Oh, sorry, thought this was meant for general chat. Gotcha!
[19:30] <Maik> no problem :)
[19:31] <Maik> tgarder: well, the topic says  Official Ubuntu Support Channel... :D
[20:06] <Hackwar> hi folks, happy new year. I'm trying to debug a PHP script and to do that, I had to create a VM with ubuntu and LAMP. I did the usual setup, but when trying to access the server, I only get a generic 500 error. I created a phpinfo(); and that works fine, but the complex script fails and I get no error logs anywhere. Anybody got an idea how I can debug that?
[20:10] <garyserj> if you simplify the script and it works then maybe it's a php problem not an apache problem?
[20:11] <TJ-> Hackwar: 500 is a server error; check the web-server logs. location depends on the web-server and additional config for the site
[20:11] <Hackwar> I did and it contains nothing helpfull...
[20:11] <tomreyn> Hackwar: depending on how you're using php (mod_php vs *cgi vs fpm) error logs may end up in separate file or with those of the web server. also there are php.ini configurations for (not) logging.
[20:11] <Hackwar> the error log contains only a line "SIGTERM received, shutting down"
[20:11] <TJ-> Hackwar: then presumably something in the PHP side so you'd need to enable PHP debugging
[20:12] <Hackwar> I set error_reporting to maximum and display_errors to ON
[20:12] <Hackwar> still nothing.
[20:12] <tomreyn> setting display_errors to ON cn already break some php scripts, if they depedn on output buffering
[20:13] <Hackwar> I wouldn't have an issue if the response would be a 500 error with the actual errors, but I only get a fancy error page from apache
[20:13] <TJ-> Hackwar: in which case it's likely the web-server<>php config itself
[20:14] <TJ-> Hackwar: possibly when the web server calls the PHP executable
[20:14] <Hackwar> I'm unsure if there is a feature to hide such an error behind that page and I have to disable that fancy error page somehow
[20:14] <TJ-> Hackwar: are you calling the PHP via CGI or using an internal server module. Which web-server are you using?
[20:15] <Hackwar> since <?php phpinfo(); works fine, it looks like something else.
[20:15] <Hackwar> apache and I'd have to look up how it is called. I only did sudo apt-get install apache2 libapache2-mod-php php php-mysql mysql-server  from https://wiki.ubuntuusers.de/LAMP/
[20:15] <Hackwar> I expected it to configure everything correctly.
[20:16] <tomreyn> mixing php version and modules of different abi versions could also cause this
[20:16] <TJ-> Hackwar: "libapache2-mod-php" would suggest the internal module
[20:17] <TJ-> Hackwar: without seeing the actual PHP script it's hard to know; in the dim distant past when I used PHP I added debug messages in the script that were immediately flushed to the client so I could track this kind of issue; basically find out at which point the script fails, starting from line 1!
[20:18] <Hackwar> as I said, since calling just <?php phpinfo(); from the webserver works fine, it seems to be something else.
[20:18] <tomreyn> (there is also #ubuntu-de for german language support)
[20:19] <Hackwar> PHP should return the specific error and not hide between a fancy HTML error page.
[20:20] <TJ-> Hackwar: if PHP is die-ing it cannot
[20:21] <TJ-> Hackwar: if you can make it send back reports before the point it dies you can track down the location just before it dies
[21:20] <Deyaa> KDE Vs gnome
[22:33] <ax562> Happy New Years to all!
[22:48]  * Augur is away: Gone away for now
[23:37] <hi^-^> i start xubuntu, and no ttys work. when i press ctrl+alt+F1, there is still the polymouth loading page.
[23:38] <hi^-^> "A start job is running until the boot process finishes up" for like 4 days
[23:39] <tomreyn> !recovery
[23:39] <hi^-^> also polymothd is at the top of top using a lot of CPU
[23:40] <tomreyn> by "polymouth" and "polymothd", I assume you mean "plymouth".
[23:41] <hi^-^> yeah
[23:41]  * hi^-^ looks at all the moths around
[23:42] <tomreyn> start in recovery mode, optionall mount file systems and enable networking, then drop to a shell and inspect the previous boots' system logs using    journalctl -b -1