[05:01] <Steven_M> Hi All, I was verifying the gpg signature of the checksums file for the ISO, and I noticed that the Signing Key dated back to 2012. That's 10 years ago. Can this key still be trusted? Here's the output from gpg: https://paste.ubuntu.com/p/TC2MDjCTPG/
[05:08] <EldonMcGuinness> Why would it not be trustable? As long as there has never been revoked your fine, no?
[05:14] <Steven_M> EldonMcGuinness: I would've thought signing keys would expire more often, in the same way that credit cards do.
[05:16] <EldonMcGuinness> Not really, most of the keys I've interacted with do not have an expiration date. Really no need to as long as you generate a revocation certificate and remember your password you're golden. At least that has always been my understanding.
[05:17] <EldonMcGuinness> To be honest, I can not think of a single key I've encountered that does have an expiration date
[05:53] <Steven_M> EldonMcGuinness: Oh okay, thanks for explaining. :-)
[05:54] <EldonMcGuinness> no problem
[07:01] <vai> Hi, just installed Ubuntu Linux from scratch. I had to turn off the power management, to make it not crash on sleeping.
[07:06] <rfm> vai, so do you have an actual problem?  I've turned off power management/sleep on all my Windows computers.  Crappy power managment is usually due to the bios of your computer, not the OS...]
[07:23] <pmjdebruijn> hey, does anybody know if there's a debian-installer version of 22.04?
[07:25] <pmjdebruijn> or is there any documentation on how to preseed the new installer?
[07:26] <lotus|NUC> !next | pmjdebruijn
[07:34] <oerheks> preseeding with the new ubiquity installer?
[07:35] <pmjdebruijn> oerheks: the new text based installer that was also in 20.04, is that called ubiquity as well?
[07:36] <oerheks> yes, new one is Ubiquity NG
[07:36] <oerheks> based on curtin
[07:36] <oerheks> https://www.omgubuntu.co.uk/2018/05/mark-shuttleworth-outlines-plans-for-a-next-gen-ubuntu-installer
[07:36] <oerheks> not sure howto preseed with that one..
[07:37] <nvonaesch> salut
[07:37] <pmjdebruijn> oerheks: it seems bizarre to replacement the server installer without preseeding being obvious though
[07:39] <pmjdebruijn> some places suggest it the same syntax as d-i
[07:40] <alkisg> pmjdebruijn: I *think* the new installer is called subiquity and it's favouring "cloud-init" over the d-i preseeding. But I'm only saying these two words as google-pointers, I'm usually uninstalling cloud-init anyway... :)
[07:41] <pmjdebruijn> alkisg: tnx for the subiquity reference!
[09:29] <xu-irc92w> !info fcitx
[11:10] <luizubuntu> Pronto agora estou usando ubuntu 20.04.4 esta rodando de boa
[11:11] <luizubuntu> Bom dia a todos !!!
[11:12] <bittin> !pt
[11:13] <dirtcastle>  how to read epub with zathura in ubuntu
[11:15] <dirtcastle> i have to install mudpf or poppler?
[11:17] <bittin> calibre?
[11:21] <mio_> giochi sniper
[11:22] <mio_> game sniper goost
[11:23] <luizubuntu> Mio instala steam pra jogos
[11:27] <ravage> luizubuntu: english please or try the channel that supports your language
[11:30] <luizubuntu> You Install ubuntu 20.04.4
[11:33] <luizubuntu> ubuntu 20.04.4 running good
[12:03] <deadrom> hi
[12:03] <deadrom> does ubuntu server have a firewall set installed and active right after base install?
[12:09] <EriC^> no deadrom
[12:09] <deadrom> thanks
[12:09] <EriC^> np
[12:30] <gooses> hi all, I'm trying to harden a 20.04 server install and have set LoginGraceTime in sshd_config, but it doesn't appear to being respected. Does anyone have any ideas why?
[12:41] <rob0> did you restart sshd?  How did you measure when the disconnect happened?
[12:43] <gooses> I've restarted sshd and bounced the server
[12:49] <BluesKaj> Hi all
[12:50] <gooses> rebooting the server does not appear to trigger disconnects on the login clients though :/
[12:56] <rob0> Oh, maybe you misunderstood LoginGraceTime.  That's the amount of time a client is allowed to auth.  Disconnect happens only when auth is not completed in that time.
[12:57] <gooses> That's what I thought - I've set it to 20, and then left a login prompt idle without providing a password - it's still sitting there 20m later
[12:59] <rob0> but that does not mean it did not disconnect
[12:59] <rob0> try giving a password at 21 seconds
[12:59] <rob0> you'll probably see the server is gone
[13:00] <rob0> So it goes back to my earlier question: "How did you measure when the disconnect happened?"
[13:13] <iomari891> Greetings, I can't get hibernate to work. I've followed the instructions at "https://www.linuxuprising.com/2021/08/how-to-enable-hibernation-on-ubuntu.html" but when I hibernate and restart,  the system show "restoring hibernation" but it never completes. I have to shutdown and boot the normal way. Any suggestions?
[13:14] <gooses> oh, I have not tried that
[13:15] <gooses> you are a genius thank you
[13:15] <gooses> you saved a considerable portion of the dwindling resource that is my sanity
[13:15] <rob0> haha
[13:16] <rob0> I don't know why the client does not immediately see the disconnect.  I guess the sshd did not send a TCP reset.
[13:18] <gooses> I was expecting a connection reset by peer, yes
[13:38] <dirtcastle> how to use xbacklight.
[13:38] <dirtcastle> it says no output have bavklight property
[13:53] <yuzi> hi
[13:54] <yuzi> anyone having fingerprint support in ubunut?
[13:54] <yuzi> I don't see fingerprint option in my settings
[14:04] <wokerslaugh> hi how to solve my rootfs is running out of space
[14:04] <river> wokerslaugh: need to delete unused things
[14:05] <yuzi> simple
[14:05] <wokerslaugh> i'm afraid i don't know what are the unused things i don't wanna mess my system
[14:05] <leftyfb> wokerslaugh: sudo ncdu /
[14:05] <yuzi> wokerslaugh, whats the / size
[14:05] <leftyfb> that will tell you where all the space is being used
[14:05] <leftyfb> wokerslaugh: yeah, how big
[14:06] <wokerslaugh> 756 Mb
[14:06] <wokerslaugh> sudo: ncdu: command not found
[14:06] <leftyfb> :/
[14:07] <leftyfb> wokerslaugh: your root is less than a gig?
[14:07] <wokerslaugh> there's rootfs & boot & home
[14:07] <yuzi> 756mb, why did you do that wokerslaugh
[14:07] <yuzi> dual boot?
[14:07] <leftyfb> wokerslaugh: what makes you think you can create a rootfs less than half the size of the minimum requirements?
[14:08] <yuzi> root must be given the maximum space, all apps intalled there only
[14:08] <wokerslaugh> i'm not dual booting .. and the reason why it's set like that because i didn't make it this way i followed someone's instructions
[14:09] <yuzi> I have given almot 90 % / and 10 % home+efi
[14:09] <wokerslaugh> what's the command to check the space of rootfs
[14:09] <yuzi> df -h
[14:09] <yuzi> or you can use lsblk
[14:10] <leftyfb> wokerslaugh: don't follow their instructions. You need to rebuild with a bigger rootfs
[14:10] <wokerslaugh> oh wait boot is 725 mb  home is 22gb rootfs is 30gb
[14:10] <wokerslaugh> but 100% use
[14:10] <wokerslaugh> mounted on /
[14:11] <leftyfb> wokerslaugh: what is at 100% / or /boot?
[14:11] <yuzi> well I think you can extend that using gparted
[14:11] <yuzi> but first keep backup of your /home
[14:12] <wokerslaugh> 100% use for /
[14:12] <leftyfb> wokerslaugh: I would highly recommend just reinstalling from scratch and just pick the default of 1 partition. There's no benefit to you to split them up
[14:12] <yuzi> leftyfb, boot won't consume more 300mb ever
[14:12] <leftyfb> yuzi: regardless
[14:12] <yuzi> leftyfb, if there is no benifit then why it is there
[14:12] <wokerslaugh> leftyfb i want to do tha with a clean install but not right now because i'm doing some backups
[14:13] <yuzi> wokerslaugh, good job
[14:13] <wokerslaugh> and i actually heard someone before saying that i'm HIGHLY RECOMMENDED to split my hard disk like that
[14:13] <leftyfb> yuzi: I said no benefit to wokerslaugh. There are use cases
[14:13] <leftyfb> wokerslaugh: you heard wrong
[14:14] <wokerslaugh> Your Root partition is running out of disk space, you have 83 MiB remaining (0%). p, li { white-space: pre-wrap; }
[14:14] <yuzi> wokerslaugh, yes there is really a benifit
[14:15] <yuzi> don't go with the default install
[14:15] <leftyfb> yuzi: bad advice
[14:15] <wokerslaugh> lol i'm lost
[14:15] <leftyfb> yuzi: there's a reason for defaults
[14:16] <leftyfb> wokerslaugh: just do 1 partition. Unless you know you need them separate (you don't), then you don't need them separate
[14:16] <yuzi> leftyfb, reason for beginners only
[14:16] <leftyfb> yuzi: exactly
[14:16] <yuzi> leftyfb, if he is going for default then he doesn't have to do partitions
[14:17] <yuzi> why are you misguiding him
[14:17] <leftyfb> yuzi: you have yet to give a valid reason to split up the partitions
[14:17] <leftyfb> yuzi: there are use cases, a basic install for a beginner is not one of them
[14:17] <yuzi> Well, I am the reason
[14:17] <wokerslaugh> but if it's 1 partition then everything is going chaos right? i mean my personal files will be on the same folder as my system files
[14:17] <wokerslaugh> right?
[14:17] <leftyfb> yuzi: personal opinion is not valid reasons
[14:18] <leftyfb> wokerslaugh: no
[14:18] <yuzi> wokerslaugh, yes but still you will have the home dir
[14:18] <wokerslaugh> :]
[14:18] <leftyfb> wokerslaugh: that is not true
[14:19] <yuzi> you have to erase everything if you want to switch in future
[14:19] <leftyfb> that's what backups are for
[14:19] <yuzi> that's where partiotions comes handy
[14:19] <wokerslaugh> Your Root partition is running out of disk space, you have 55 MiB remaining (0%). p, li { white-space: pre-wrap; }
[14:19] <wokerslaugh> what happens when it's 0 Mib
[14:20] <wokerslaugh> Your Root partition is running out of disk space, you have 20 MiB remaining (0%). p, li { white-space: pre-wrap; }
[14:20] <yuzi> leftyfb, well backup is always a good practice but you don't need to do it in partion case
[14:20] <wokerslaugh> i don't know what to delete
[14:20] <yuzi> wokerslaugh, on 0 mb Apocalypse
[14:21] <wokerslaugh> oh  no
[14:21] <wokerslaugh> pls help
[14:21] <yuzi> just remove some apps you don't use much
[14:21] <ravage> wokerslaugh: try /var/log and /var/cache
[14:21] <yuzi> that will save some memory
[14:21] <ravage> there are usually a few mb to kill there
[14:22] <yuzi> ravage, he's not familier to that cache
[14:22] <leftyfb> wokerslaugh: what is your partition name?
[14:23] <leftyfb> wokerslaugh: /dev/sdX ?
[14:23] <yuzi> s/d/e
[14:23] <leftyfb> yuzi: huh?
[14:23] <ravage> "rm /var/cache/apt/archives/*.deb" is safe to execute for example
[14:23] <wokerslaugh> sda
[14:24] <webchat47> hello
[14:24] <leftyfb> ravage: the proper way is to sudo apt clean
[14:24] <leftyfb> wokerslaugh: tune2fs -m2 /dev/sda
[14:24] <ravage> it really does not make a difference
[14:24] <leftyfb> wokerslaugh: sudo tune2fs -m2 /dev/sda
[14:24] <yuzi> "rm /var/cache/apt/archives/*.deb" is safe to execute for example
[14:24] <webchat47> my ft232 usb adapter works not correctly in ubuntu
[14:25] <yuzi> 232?
[14:25] <webchat47> in windows it works perfectly
[14:25] <webchat47> a usb serial adapter
[14:26] <yuzi> it is always recommended to try ubuntu before actually intalling it
[14:26] <yuzi> I don't see a point people say device not working
[14:26] <ravage> webchat47: check "lsusb" and see if your your device is supported
[14:27] <webchat47> its detected as 'Bus 003 Device 098: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC'
[14:28] <webchat47> rx and tx is connected(a simple echo connection), in windows it works but in ubuntu not
[14:28] <slice> hey
[14:28] <wokerslaugh> i found a file that's 11Gb called syslog - is it safe to delete?
[14:29] <slice> yes
[14:29] <slice> it is a log file
[14:29] <Guest2284> if its taking much space and you don't want then delete
[14:29] <ravage> wokerslaugh: yes. but you should really keep that file monitored after you got your space back. it should not grow this big
[14:30] <Guest2284> clear
[14:30] <yuzi> Guest2284, rwalpindi?
[14:30] <Guest2284> yuzi what?
[14:30] <Guest2284> you from where?
[14:31] <yuzi> Rawalpindi
[14:31] <yuzi> no bro
[14:31] <Guest2284> come private
[14:31] <wokerslaugh> ravage: thanks for the tip what else i should keep my eyes on on the system please
[14:32] <Guest2284> yuzi you Pakistani?
[14:32] <wokerslaugh> so i shouldn't keep it gorw like 2 Gb or something?
[14:32] <Guest2284> yes
[14:32] <Mibix_> hmm i switch from lightdm to gdm3 and now i am getting a login loop
[14:32] <yuzi> Guest2284, no
[14:32] <Guest2284> a log file should not be that big
[14:32] <yuzi> I am hindustani
[14:32] <Guest2284> okay
[14:32] <Mibix_> and now it seems i cant even ctrl+alt+f3 to get in to the console to fix it
[14:33] <Guest2284> yuzi well how you figured out my location
[14:33] <yuzi> koi bhi pta lga sakta h
[14:33] <Guest2284> hwo
[14:33] <Guest2284> how
[14:33] <yuzi> ip
[14:33] <Guest2284> but how
[14:33] <ravage> wokerslaugh: usually the service rsyslog takes care of log rotation. so make sure its running and that the syslog file is in /etc/logrotate.d/rsyslog
[14:34] <yuzi> ip addresses Guest2284
[14:34] <yuzi> 182.188.188.140 this is your public ip
[14:34] <Guest2284> i know but how you find ip?
[14:34] <yuzi> it belongs to rawalpindi punjab
[14:35] <Guest2284> actually that's not my real loaction
[14:35] <Guest2284> to be honest
[14:35] <ravage> yuzi, Guest2284 can you please continue your private conversation... private?
[14:35] <yuzi> yes that is not precise
[14:35] <yuzi> you may use vpn
[14:35] <Guest2284> no
[14:35] <Guest2284> vpn is risk for privacy
[14:35] <Guest2284> tor
[14:35] <Guest2284> ravage yes?
[14:35] <yuzi> extra security lvl lol
[14:36] <leftyfb> !ot | Guest2284
[14:36] <wokerslaugh> thanks ravage i will remember that
[14:36] <Guest2284> i don't use vpn
[14:36] <wokerslaugh> thanks everyone
[14:36] <yuzi> Guest2284, itna bhi konsa private kam kr rhe ho tor se
[14:36] <Guest2284> tor is more secure than you think
[14:36] <leftyfb> Guest2284: do you have an ubuntu support question?
[14:36] <Guest2284> what kind of question?
[14:36] <leftyfb> Guest2284: feel free to chat in #ubuntu-offtopic
[14:37] <yuzi> leftyfb, yes join offtopic channel Guest2284
[14:37] <Guest2284> okay
[14:38] <Guest2284> clear
[14:39] <yuzi> leftyfb, can we pm?
[14:39] <leftyfb> yuzi: sorry, no
[14:39] <Guest2284> anyway
[14:39] <Guest2284> i have a question
[14:39] <yuzi> leftyfb, ok sed
[14:39] <Guest2284> packer.nvim cannot create directory in .config location
[14:40] <Guest2284> how to grant access to packer.nvim
[14:40] <Guest2284> i use neovim as my code editor
[14:40] <leftyfb> Guest2284: that's a packer-specific  question, not ubuntu
[14:40] <Guest2284> no it's a ubuntu
[14:40] <yuzi> yes leftyfb full support to you
[14:41] <Guest2284> i asked how to grant permission
[14:41] <Guest2284> to packer
[14:41] <Guest2284> so it can create directory in there
[14:41] <leftyfb> Guest2284: use sudo or change the permissions on the directory
[14:41] <yuzi> ask in pfftopic Guest2284
[14:41] <Guest2284> sudo get to the root account
[14:41] <Guest2284> i want to do it in normal use
[14:41] <Guest2284> not sudo
[14:42] <Guest2284> otherwise i will have to be root everytime i use nwovim
[14:42] <Guest2284> neovim
[14:42] <yuzi> off topic me puch le vai wha bhi log hn
[14:42] <Mibix> if i switched from lightdm to gdm3 is there a reason i wouldnt be able to login anymore?
[14:43] <Guest2284> i use my own custom setup for neovim, built according to my needs only
[15:09] <jhutchins> yuljk: Can you log in to a console? (Ctl-Alt-F1-F6)
[15:10] <jhutchins> Sorry, Mibix
[15:11] <Mibix> i restarted and it let me login via ctrl-alt-f3 and i switched back to lightdm and it works again
[15:12] <Mibix> just weird gdm3 wont work :/
[15:13] <Mibix> was going to see if it worked better with cinnamon
[15:36] <jhutchins> Gnome knows what's good for you, if you shouldn't log in it won't let you.
[15:56] <goddard> how can i find out where a binary exists for my flatpak?
[15:56] <goddard> i usually just use which
[15:57] <ioria> goddard, maybe in  ~/.lib   ?
[16:25] <Sven_vB> in focal, to combine kernel command line options "cgroup_enable=cpuset" and "cdgroup_enable=memory", do I list both or do I need to merge them so the 2nd won't overwrite the 1st?
[16:25] <Sven_vB> nevermind, found the "d" in 2nd
[16:25] <rob0> haha, yeah
[16:26] <Sven_vB> OTOH, c+d+group looks like it might be a type on the tutorial.
[16:27] <Sven_vB> would explain why some folks comment that it had no effect.
[16:30] <jhutchins> Sven_vB: It might help if you said what application you were working in.  Focal is a release tag, not an environment.
[16:31] <Sven_vB> jhutchins, I'm trying to configure kernel 5.4.0-106-lowlatency in a way that allows docker to limit CPU and RAM use.
[16:32] <Sven_vB> on x86_64 desktop Ubuntu focal
[16:32] <BlackMage> gives it no lts development release?
[16:32] <jhutchins> Sven_vB: So kernel config file is the context.
[16:32] <Sven_vB> nope, kernel boot options in my GRUB config
[16:33] <jhutchins> There we go.
[16:33] <Sven_vB> sorry, I thought that was the only meaning of kernel command line options.
[16:33] <jhutchins> Sorry.  I blame bad eyesight.
[16:33] <Sven_vB> well I guess there would be a default command line in kernel config when you build one
[16:34] <jhutchins> Sven_vB: Yes, that's possible.
[16:34] <Sven_vB> In my case I hope GRUB config will suffice :)
[16:37] <Sven_vB> also I wonder, there is no cgroup_enable in https://www.kernel.org/doc/html/v5.4/admin-guide/kernel-parameters.html , only cgroup_disable. does it mean CPU and RAM limit support should be enabled by default in 5.4.x kernels?
[16:50] <goddard> anyone know with barrier does it also need each additional screen added for that specific client?
[16:50] <goddard> like if client 1 has 2 screens and client 2 has 2 screens do I need to add 4 or just 3 or just 2 screens?
[16:55] <leftyfb> goddard: try #barrier
[16:57] <BlackMage> i can't install libxml2 libxml2:i386 libxml2-dev
[16:57] <BlackMage> because:  libxml2 : Breaks: libxml2:i386 (!= 2.9.13+dfsg-0+ubuntu20.04.1+deb.sury.org+1) but 2.9.12+dfsg-0+ubuntu20.04.1+deb.sury.org+1 is to be installed
[16:57] <BlackMage>  libxml2:i386 : Breaks: libxml2 (!= 2.9.12+dfsg-0+ubuntu20.04.1+deb.sury.org+1) but 2.9.13+dfsg-0+ubuntu20.04.1+deb.sury.org+1 is to be installed
[16:57] <goddard> leftyfb:thanks
[16:57] <BlackMage> how can i fix that?
[16:58] <oerheks> looks like your sury ppa breaks it?
[16:58] <oerheks> ask them to update, or remove the ppa with ppa-purge?
[16:59] <BlackMage> ehh what ppa breaks it?
[16:59] <oerheks> ondrej
[16:59] <leftyfb> BlackMage: https://launchpad.net/~ondrej/+archive/ubuntu/php
[17:02] <oerheks> weird, 2.9.12 is not on the ppa anymore, did you run apt update properly?
[17:02] <oerheks> https://launchpad.net/~ondrej/+archive/ubuntu/php/+index?field.series_filter=focal
[17:08] <BlackMage> oerheks: yes
[17:13] <oerheks> contact the ppa owner? nothing we can do.
[17:24] <seifeslimene> Is there a book about GNOME
[17:24] <seifeslimene> ?
[17:25] <jhutchins> seifeslimene: Books are kinda last-century.
[17:25] <Sven_vB> seifeslimene, yes, my local library has several.
[17:25] <jhutchins> seifeslimene: By the time one gets printed and distributed, it's probably out of date.
[17:26] <seifeslimene> jhutchins: lol
[17:27] <lotuspsychje> seifeslimene: yelp has manual/community support for your ubuntu release
[17:29] <jhutchins> lotuspsychje: yelp?
[17:29] <lotuspsychje> jhutchins: the blue ? help icon
[17:31] <seifeslimene> yelp?
[17:31] <seifeslimene> I never heard of this command
[17:32] <ogra> seifeslimene, the gnome help viewer ... the thing that starts if you click the blue icon with the little i in it ...
[17:32] <lotuspsychje> !info yelp
[17:39] <jhutchins> Not to be confused with the ubiquitous and popular restaraunt finder.
[17:44] <ogra> the gnome app name is way older 🙂
[17:59] <composite_higgs> I'm running Ubuntu 21.10. When I run under Wayland Obs and Microsoft Teams can't see my Desktop when they should. On Xorg everything works but all the settings related to palm rejection on my touchpad are ignored and its unusable.
[17:59] <composite_higgs> I'd be happy either fixing the issue with Wayland or with Xorg.
[17:59] <composite_higgs> But having to switch back and forth is a hassle
[18:00] <funhouse> I have a command where I extract data from a csv and move it to a new csv
[18:00] <funhouse> gzip -dc $path/$f | cut -d, -f1,8  | sort | uniq > ${tag}_${f}.os_count
[18:00] <funhouse> how would I make the 1 and 8 columns lowercase?
[18:00] <composite_higgs> Can you just use `tr`
[18:00] <composite_higgs> That can do such a character substitution
[18:01] <composite_higgs> Let me see
[18:01] <funhouse> composite_higgs, ok do you know how I would use that in the command?
[18:01] <funhouse> like right after cut?
[18:01] <composite_higgs> Yeah, something like that
[18:01] <composite_higgs> Or use sed
[18:02] <composite_higgs> tr '[:upper:]' '[:lower:]'
[18:02] <composite_higgs> echo HELLO wORlD | tr '[:upper:]' '[:lower:]'
[18:02] <composite_higgs> -> hello world
[18:03] <funhouse> composite_higgs so something like this? `gzip -dc $path/$f | cut -d, -f1,8  | tr '[:lower:]' |  sort | uniq > ${tag}_${f}.os_count`
[18:03] <lotuspsychje> more a topic for #linux perhaps?
[18:05] <funhouse> ok thank you composite_higgs
[18:05] <funhouse> lotuspsychje ubuntu people are cool thats all
[18:05] <composite_higgs> Unless you have strong guarantees on the content of that CSV file I'd use Python to do this.
[18:05] <darksis> hello i need please help i will try  make upgrade and i get error how i can please if it ?https://paste.ubuntu.com/p/RWGY4BhsHh/
[18:05] <composite_higgs> cut isn't smart enough to handle strings with commas in them
[18:06] <funhouse> darksis data is consisten
[18:06] <darksis> what is mean?
[18:07] <funhouse> sorry meant composite_higgs
[18:07] <darksis> someone can help to me?
[18:07] <darksis> i will try make upgrade and i get error
[18:08] <darksis> https://paste.ubuntu.com/p/RWGY4BhsHh/
[18:08] <PTNapivoski> darksis, mirror.isoc.org.il might be down
[18:08] <darksis> how i fix it?
[18:08] <darksis> is have something change?
[18:09] <noarb> is there a way to view netplan's rendered output? Just to debug an issue and see how it interprets a configuration
[18:10] <PTNapivoski> darksis, https://mirror.isoc.org.il/pub/ubuntu/pool/main/libk/ has no package
[18:11] <darksis> how i fix it please?
[18:12] <PTNapivoski> darksis, change your apt sources.list
[18:13] <darksis> how i do it please?
[18:14] <jhutchins> darksis: Do you know which Ubuntu release you're running?
[18:14] <darksis> yes ubuntu 18.04
[18:17] <darksis> what i need to dor for that please?
[18:18] <jhutchins> darksis: This is pretty verbose but has the correct repos: https://gist.github.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d1
[18:18] <sarnold> noarb: not really, netplan generate will write the configs but not apply them .. https://netplan.io/faq/#test-a-configuration
[18:18] <jhutchins> darksis: How did you set up your sources in the first place?
[18:20] <darksis> i dont know what commands to inside sources.list
[18:29] <Andrew1981> Hi
[18:30] <lotuspsychje> welcome Andrew1981
[18:30] <Andrew1981> Anyone here can tell me why 18.04 LTS server is missing the system group netdev? Seraching on google did not give any results so far.
[18:31] <Andrew1981> As far as I know debian is having this system group by default and I aasumed Ubuntu does as well but seems not to be the case. Am I missing something?
[18:32] <Andrew1981> Noone?
[18:33] <acognigni> hey. I have mounted a raspberry pi's dying microsd in my main pc as readonly to save as much as poossible and migrate to a new one. Is there a way to get a list of expicitly installed software from that system? a sqlite file? csv? plaintext?
[18:34] <Andrew1981> According to https://wiki.debian.org/SystemGroups: netdev: Members of this group can manage network interfaces through the network manager and wicd.
[18:37] <sarnold> Andrew1981: https://sources.debian.org/src/wicd/1.7.4%2Btb2%2B2019.09.18git2e0ba579-1/debian/wicd-daemon.postinst/#L26
[18:37] <jhutchins> Andrew1981: As far as I know, netdev (or rather _netdev) is an fstab option, not a group.
[18:39] <sarnold> it's a group if you install wicd
[18:39] <Andrew1981> no sorry on Debian based distros this used to be a system group, see my link above
[18:39] <Andrew1981> even without wicd
[18:39] <jhutchins> Well there's yer problem.
[18:39] <Andrew1981> But I might be wrong
[18:41] <Andrew1981> Question is, how is one otherwise able to grant access to network management commands (i.e. ip or ifconfig) to a non root user?
[18:41] <jhutchins> Andrew1981: sudo?
[18:42] <sarnold> networkmanager (and probably systemd-networkd) can do polkit-based authorization, too
[18:43] <Andrew1981> the user is used to run a legacy server console application which creates an ip alias using ifconfig, without any interactive user session
[18:44] <Andrew1981> on debian one might acieve this by adding the user to the netdev group, on my ubuntu server 18.04 machine I am not seeing this option because the netdev group seems not to exist at all
[18:44] <Andrew1981> *achieve
[18:47] <Andrew1981> I was hoping it is the same, but it's not. Is this related to systemd somehow or why is the group missing? Should it have been created under normal circumstances by default? I am just trying to understand if this is expected behaviour.
[18:48] <jhutchins> Andrew1981: Is sudo nopass a solution?
[18:48] <Andrew1981> acognini, hey maybe you can use something like /var/lib/apt/extended_states
[18:49] <Andrew1981> you should see entries like: Package: grub-common
[18:49] <Andrew1981> Architecture: amd64
[18:49] <Andrew1981> Auto-Installed: 0
[18:49] <Andrew1981> Package: linux-headers-2.6.35-22-generic
[18:49] <Andrew1981> Architecture: amd64
[18:49] <Andrew1981> Auto-Installed: 1
[18:49] <sarnold> Andrew1981: the netdev group would only have meaning to an application that manages the network interfaces -- in this case, it sounds like network manager and wicd. on ubuntu the network manager polkit rules don't require netdev membership. (I bet it isn't required on debian, either.)
[18:53] <Andrew1981> sarnold: Okay, so I checked and it seems as it is a server the network is managed by systemd only
[18:53] <Andrew1981> can I just grant some user the ability to use ifconfig instead of running the application in question with root priviledges
[18:54] <jhutchins> Andrew1981: Running it with root privileges is how you grant permission.
[18:56] <Andrew1981> Unsafest way poosible, I'd rather avoid that because that is good practice, there must be a better way...
[18:57] <Andrew1981> maybe I am missing something in the .service file in question?
[18:57] <jhutchins> Andrew1981: Using a sudo permission is exactly how you do it.  Nothing "unsafest" about it.
[18:57] <jhutchins> Andrew1981: It's safer than using a group in that it only allows one user one command.
[18:58] <sarnold> Andrew1981: I don't understand polkit well enough to tell you what to type, but probably what you want to do can be done by configuring the org.freedesktop.network1.policy polkit actions correctly
[19:00] <Andrew1981> As far as my undestanding is, netdev group is working in a similar way compared to adding a user to e.g. dialout group if it needs to use dialout connections so you do not need to have root privileges
[19:01] <Andrew1981> But maybe I confused something here
[19:07] <Andrew1981> The Debian method of granting access to devices like the network cards, audio output, printers, etc., is to add a user to the appropriate system group. Is this no longer true for 18.04 server and networking?
[19:09] <sarnold> Andrew1981: dialout group was different because those have device nodes in the /dev/ filesystem that could have group ownerships, group acls, etc
[19:10] <sarnold> Andrew1981: there's no similar thing for network interfaces; those require CAP_NET_ADMIN to work on -- which basically means that you need either root privileges to modify the interfaces with ip, or you need a daemon like systemd-networkd or networkmanager to perform the operations for unprivileged users
[19:12] <Andrew1981> I see, so that seems to have changed. I can remember this being a problem in older wireshark versions and distros as well. Okay. Thank you.
[19:13] <Andrew1981> I did some research on capabilities when I was struggling with that...
[19:14] <Andrew1981> My maybe wrong assumption was, that being a memeber in netdev group granted exactly that: CAP_NET_ADMIN
[19:14] <Andrew1981> Some problems haunt you forever ^^
[19:16] <sarnold> hah, yeah, group membership gives you a brand new integer in your supplementary groups
[19:16] <sarnold> that's it :)
[19:17] <Andrew1981> Yep, thank you for pinting that out, I think the way to go here is similar to: https://stackoverflow.com/questions/1956732/is-it-possible-to-configure-linux-capabilities-per-user
[19:17] <Andrew1981> *pointing
[19:18] <sarnold> I strongly recommend avoiding this and figuring out how to configure the systemd-networkd polkit privileges for your user instead
[19:21] <Andrew1981> Okay, maybe that is the correct way to go about it or I could also try to do it based on the executable. Well seems there is no way around getting to know and understand polkit better... ;-)
[19:22] <Andrew1981> Darn legacy applications assuming to run with root privileges ;-)
[19:37] <Guest96> hello
[19:38] <Guest96> after the upgrade the display manager acceptsno input
[19:40] <Guest96> no mouse or keyboard input possible
[19:40] <Guest96> but root shell with network works
[19:43] <Guest96> i try gdm3
[19:44] <jhutchins> Guest96: Does lightdm work?
[19:45] <Guest96> i dont know, but gdm3 works
[19:45] <jhutchins> Guest96: So you're all set now.
[19:46] <oerheks> boot in recovery mode, run apt install -f # to see if some parts were missing?
[19:48] <Guest96> yes lxqt whereremoved :(
[19:48] <Guest96> i reinstaling it
[19:51] <Guest96> I don't think the newer design of ubuntu is that nice
[21:25] <Night-Owl-No-Sou> hello, i've a problem
[21:26] <Night-Owl-No-Sou> i have a WD external hdd drive, which i used when i had windows - and set a a password on it using their software program (on windows)
[21:27] <jhutchins> Night-Owl-No-Sou: ...and?
[21:27] <Night-Owl-No-Sou> no i've deleted windows completely and installed a kubuntu distro - when i connect the hdd, it shows me a WD unlocker CD as removable device
[21:28] <Night-Owl-No-Sou> i'be wine installed so when i click on the WD drive unlocker insied the CD
[21:28] <Night-Owl-No-Sou> it shows me that i have to run it INSIDE the hdd itself - which isn't an option because i can't see it
[21:29] <NeilRG> can I use Ubuntu's "Startup Disk Creator" to create a Windows 11 bootable USB key?
[21:30] <leftyfb> NeilRG: no, it's not meant for that
[21:31] <NeilRG> leftyfb, okay, is there a tool that will do it?
[21:31] <NeilRG> I changed my motherboard and CPU and now my Windows isn't working
[21:31] <NeilRG> my Ubuntu works fine since I guess it has all the drivers
[21:31] <NeilRG> and my network adapter doesn't work in Windows, so I couldn't update
[21:32] <NeilRG> I'm trying to find the easiest route to getting up and running again
[21:32] <leftyfb> NeilRG: https://itsfoss.com/bootable-windows-usb-linux/   first result on google for "ubuntu create windows 10 bootable usb"
[21:33] <NeilRG> leftyfb, yes, thanks I was actually just reading htat now
[21:33] <NeilRG> I'll try the first method, hope it works
[21:33] <leftyfb> Night-Owl-No-Sou: you need to run the WD software on Windows or type "ubuntu unlock western digital drive" into google. There are no official methods in Ubuntu
[21:33] <NeilRG> I hope windows 11 have the right drivers for my network card since windows 10 did not
[21:34] <leftyfb> NeilRG: use Ubuntu if it works
[21:36] <Night-Owl-No-Sou> so is there a way to start clean with the hdd? i want it encrypted and asks for password whenever i use it on a linux machine - also is it better to split it into partitions? and what's the best file format should i use if i'm going to format it?
[21:37] <leftyfb> Night-Owl-No-Sou: https://linuxconfig.org/basic-guide-to-encrypting-linux-partitions-with-luks
[21:38] <leftyfb> Night-Owl-No-Sou: for linux, use ext4. For Windows, you're not doing encryption that supports both Windows and linux
[21:38] <EriC^^> Night-Owl-No-Sou: use an ubuntu live usb to install and encrypt it, ext4 should be fine, i think it will handle everything for you
[21:38] <leftyfb> EriC^^: they're already on ubuntu, not need for an ubuntu live usb
[21:38] <EriC^^> in the installer there's an option to erase disk and use encryption
[21:38] <leftyfb> EriC^^: this is an external drive. Not the OS
[21:39] <EriC^^> oh i see, thought he wanted to do a clean install, my bad
[21:40] <Night-Owl-No-Sou> is luks supported by default on all linux machines? i mean i don't want to get locked out like this again
[21:41] <leftyfb> Night-Owl-No-Sou: cryptsetup should be available on just about any linux distro, yes
[21:41] <leftyfb> Night-Owl-No-Sou: it will not work on Windows though
[21:42] <NeilRG> leftyfb, lol
[21:43] <Night-Owl-No-Sou> leftyfb i understand it will be unusable on windows but as windows user can mess with the data on the driver even though they aren't shows as unencrypted files?
[21:43] <Night-Owl-No-Sou> or ext4 will not be readable at all?
[21:43] <leftyfb> NeilRG: yeah, crazy for someone from #ubuntu to suggest using Ubuntu over other operating systems right? Especially when the particular situation involves the other OS not working properly and Ubuntu working perfectly. Crazy
[21:44] <leftyfb> Night-Owl-No-Sou: ext4 is not readable by default on Windows, though there are 3rd party tools that fumble their way through reading the content. LUKS encryption isn't supported at all AFAIK
[21:45] <leftyfb> though you could use WSL2
[21:47] <Night-Owl-No-Sou> ok ay thank you leftyfb
[22:40] <hodbogi> I have a question, why does do-release-upgrade warn about upgrading over ssh, and then start up a backup ssh instance in case of failure? If people are too stupid to upgrade in an ssh-only system to use screen or something, then why not let them #$^& themselves over anyways? At least perhaps they won't do it again, or maybe they will try to understand what they're actually doing. Just a curiosity I had.
[22:42] <ramblebamble> hodbogi ever heard of failures?
[22:43] <ramblebamble> they are rumored to happen even if you are prepared like crazy
[22:46] <hodbogi> That's what makes them fun.
[22:49] <dan> hi
[22:51] <carnophage2> yo
[22:51] <hodbogi> It reminds me of the time when there were changes made to disable ctrl alt backspace in Xorg, and all I can think of is, If some joe told you to do it as a troll, then you learn once. Worse things could have happened for sure that I won't even mention here. For those who accidently hit it, I think it's time to lay off the drugs...
[22:53] <hodbogi> I've been daily driving linux since Linux 2.4 and I have never once done it by accident.
[23:03] <blahboybaz> Why is nautilus behaving is such a rude way? In some cases a menu or something (file history?) pops down from the top when attempting to navigate. Its really obnoxioux! It interrupts what the workflow
[23:21] <dan> join debian
[23:21] <dan> frick
[23:39] <marchello> Hi all, I'm looking for a way to create ssh tunnel only in case it doesn't exist on particular port yet. This is how I would check if the tunnel exists:           nc -z 127.0.0.1 9521 || echo "no tunnel open"                        And this is how I would create the tunnel:         ssh user1@example.com -D9521 -C -N -q        Now how do I combine those two or maybe there is another more robust way?... Please advise.
[23:40] <sarnold> it's probably more reliable / easier / better to do something like a systemd unit for an ssh command that sets up the tunnel, and then let systemd restart it if it dies
[23:40] <sarnold> there's also the run-one command, mostly intended for cronjobs, but might be useful here; it's probably easier to set up than the systemd unit file but a bit janky in comparison
[23:51] <marchello> sarnold: I'm looking rather for bash approach to combine those two, because I plan to run it on a system where I would not have access to systemd and cron...
[23:54] <leftyfb> marchello: just use autossh
[23:58] <marchello> leftyfb: yeah it could be a way to go, unfortunately I can't install anything there -- any other solution?...
[23:58] <leftyfb> marchello: can't install anything?
[23:59] <marchello> leftyfb: yeah, no sudo there