/srv/irclogs.ubuntu.com/2022/04/06/#ubuntu.txt

=== JoeBk_ is now known as JoeBk
=== five643333496347 is now known as five64333349634
=== brsvh__ is now known as brsvh
Steven_MHi 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:01
EldonMcGuinnessWhy would it not be trustable? As long as there has never been revoked your fine, no?05:08
Steven_MEldonMcGuinness: I would've thought signing keys would expire more often, in the same way that credit cards do.05:14
EldonMcGuinnessNot 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:16
EldonMcGuinnessTo be honest, I can not think of a single key I've encountered that does have an expiration date05:17
Steven_MEldonMcGuinness: Oh okay, thanks for explaining. :-)05:53
EldonMcGuinnessno problem05:54
=== Ricardus_ is now known as Ricardus
=== polve2 is now known as polve
=== polve2 is now known as polve
vaiHi, just installed Ubuntu Linux from scratch. I had to turn off the power management, to make it not crash on sleeping.07:01
=== vai is now known as Jari--
rfmvai, 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:06
pmjdebruijnhey, does anybody know if there's a debian-installer version of 22.04?07:23
pmjdebruijnor is there any documentation on how to preseed the new installer?07:25
lotus|NUC!next | pmjdebruijn07:26
ubottupmjdebruijn: Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.07:26
oerhekspreseeding with the new ubiquity installer?07:34
pmjdebruijnoerheks: the new text based installer that was also in 20.04, is that called ubiquity as well?07:35
oerheksyes, new one is Ubiquity NG07:36
oerheksbased on curtin07:36
oerhekshttps://www.omgubuntu.co.uk/2018/05/mark-shuttleworth-outlines-plans-for-a-next-gen-ubuntu-installer07:36
oerheksnot sure howto preseed with that one..07:36
nvonaeschsalut07:37
pmjdebruijnoerheks: it seems bizarre to replacement the server installer without preseeding being obvious though07:37
pmjdebruijnsome places suggest it the same syntax as d-i07:39
alkisgpmjdebruijn: 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:40
pmjdebruijnalkisg: tnx for the subiquity reference!07:41
=== westor is now known as Guest8784
=== chalcedny is now known as Sunrise
=== mort7 is now known as mort
=== DonRichie2 is now known as DonRichie
=== rdr_ is now known as rdr
xu-irc92w!info fcitx09:29
ubottufcitx (1:4.2.9.8-3, impish): Flexible Input Method Framework. In component universe, is optional. Built by fcitx. Size 6 kB / 39 kB09:29
=== diamond is now known as diamondbond
=== diskin is now known as Guest694
luizubuntuPronto agora estou usando ubuntu 20.04.4 esta rodando de boa11:10
luizubuntuBom dia a todos !!!11:11
bittin!pt11:12
ubottuPor favor, use #ubuntu-br para ajuda em português. Para entrar no canal por favor faça "/join #ubuntu-br" sem as aspas. Para a comunidade local portuguêsa, use #ubuntu-pt. Obrigada.11:12
dirtcastle how to read epub with zathura in ubuntu11:13
dirtcastlei have to install mudpf or poppler?11:15
bittincalibre?11:17
=== nicoz- is now known as nicoz
mio_giochi sniper11:21
mio_game sniper goost11:22
luizubuntuMio instala steam pra jogos11:23
ravageluizubuntu: english please or try the channel that supports your language11:27
luizubuntuYou Install ubuntu 20.04.411:30
luizubuntuubuntu 20.04.4 running good11:33
deadromhi12:03
deadromdoes ubuntu server have a firewall set installed and active right after base install?12:03
EriC^no deadrom12:09
deadromthanks12:09
EriC^np12:09
=== Mikro is now known as Mikro`
gooseshi 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:30
rob0did you restart sshd?  How did you measure when the disconnect happened?12:41
goosesI've restarted sshd and bounced the server12:43
BluesKajHi all12:49
goosesrebooting the server does not appear to trigger disconnects on the login clients though :/12:50
rob0Oh, 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:56
goosesThat'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 later12:57
=== diskin_ is now known as diskin
=== jesopo is now known as jess
rob0but that does not mean it did not disconnect12:59
rob0try giving a password at 21 seconds12:59
rob0you'll probably see the server is gone12:59
rob0So it goes back to my earlier question: "How did you measure when the disconnect happened?"13:00
iomari891Greetings, 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:13
goosesoh, I have not tried that13:14
goosesyou are a genius thank you13:15
goosesyou saved a considerable portion of the dwindling resource that is my sanity13:15
rob0haha13:15
rob0I don't know why the client does not immediately see the disconnect.  I guess the sshd did not send a TCP reset.13:16
goosesI was expecting a connection reset by peer, yes13:18
dirtcastlehow to use xbacklight.13:38
dirtcastleit says no output have bavklight property13:38
yuzihi13:53
yuzianyone having fingerprint support in ubunut?13:54
yuziI don't see fingerprint option in my settings13:54
wokerslaughhi how to solve my rootfs is running out of space14:04
riverwokerslaugh: need to delete unused things14:04
yuzisimple14:05
wokerslaughi'm afraid i don't know what are the unused things i don't wanna mess my system14:05
leftyfbwokerslaugh: sudo ncdu /14:05
yuziwokerslaugh, whats the / size14:05
leftyfbthat will tell you where all the space is being used14:05
leftyfbwokerslaugh: yeah, how big14:05
wokerslaugh756 Mb14:06
wokerslaughsudo: ncdu: command not found14:06
leftyfb:/14:06
leftyfbwokerslaugh: your root is less than a gig?14:07
wokerslaughthere's rootfs & boot & home14:07
yuzi756mb, why did you do that wokerslaugh14:07
yuzidual boot?14:07
leftyfbwokerslaugh: what makes you think you can create a rootfs less than half the size of the minimum requirements?14:07
yuziroot must be given the maximum space, all apps intalled there only14:08
wokerslaughi'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 instructions14:08
yuziI have given almot 90 % / and 10 % home+efi14:09
wokerslaughwhat's the command to check the space of rootfs14:09
yuzidf -h14:09
yuzior you can use lsblk14:09
leftyfbwokerslaugh: don't follow their instructions. You need to rebuild with a bigger rootfs14:10
wokerslaughoh wait boot is 725 mb  home is 22gb rootfs is 30gb14:10
wokerslaughbut 100% use14:10
wokerslaughmounted on /14:10
leftyfbwokerslaugh: what is at 100% / or /boot?14:11
yuziwell I think you can extend that using gparted14:11
yuzibut first keep backup of your /home14:11
wokerslaugh100% use for /14:12
leftyfbwokerslaugh: 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 up14:12
yuzileftyfb, boot won't consume more 300mb ever14:12
leftyfbyuzi: regardless14:12
yuzileftyfb, if there is no benifit then why it is there14:12
wokerslaughleftyfb i want to do tha with a clean install but not right now because i'm doing some backups14:12
yuziwokerslaugh, good job14:13
wokerslaughand i actually heard someone before saying that i'm HIGHLY RECOMMENDED to split my hard disk like that14:13
leftyfbyuzi: I said no benefit to wokerslaugh. There are use cases14:13
leftyfbwokerslaugh: you heard wrong14:13
wokerslaughYour Root partition is running out of disk space, you have 83 MiB remaining (0%). p, li { white-space: pre-wrap; }14:14
yuziwokerslaugh, yes there is really a benifit14:14
yuzidon't go with the default install14:15
leftyfbyuzi: bad advice14:15
=== Vercas4 is now known as Vercas
wokerslaughlol i'm lost14:15
leftyfbyuzi: there's a reason for defaults14:15
leftyfbwokerslaugh: just do 1 partition. Unless you know you need them separate (you don't), then you don't need them separate14:16
yuzileftyfb, reason for beginners only14:16
leftyfbyuzi: exactly14:16
yuzileftyfb, if he is going for default then he doesn't have to do partitions14:16
yuziwhy are you misguiding him14:17
leftyfbyuzi: you have yet to give a valid reason to split up the partitions14:17
leftyfbyuzi: there are use cases, a basic install for a beginner is not one of them14:17
yuziWell, I am the reason14:17
wokerslaughbut 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 files14:17
wokerslaughright?14:17
leftyfbyuzi: personal opinion is not valid reasons14:17
leftyfbwokerslaugh: no14:18
yuziwokerslaugh, yes but still you will have the home dir14:18
=== Mikro` is now known as Mikro
wokerslaugh:]14:18
leftyfbwokerslaugh: that is not true14:18
yuziyou have to erase everything if you want to switch in future14:19
leftyfbthat's what backups are for14:19
yuzithat's where partiotions comes handy14:19
wokerslaughYour Root partition is running out of disk space, you have 55 MiB remaining (0%). p, li { white-space: pre-wrap; }14:19
wokerslaughwhat happens when it's 0 Mib14:19
wokerslaughYour Root partition is running out of disk space, you have 20 MiB remaining (0%). p, li { white-space: pre-wrap; }14:20
yuzileftyfb, well backup is always a good practice but you don't need to do it in partion case14:20
wokerslaughi don't know what to delete14:20
yuziwokerslaugh, on 0 mb Apocalypse14:20
wokerslaughoh  no14:21
wokerslaughpls help14:21
yuzijust remove some apps you don't use much14:21
ravagewokerslaugh: try /var/log and /var/cache14:21
yuzithat will save some memory14:21
ravagethere are usually a few mb to kill there14:21
yuziravage, he's not familier to that cache14:22
leftyfbwokerslaugh: what is your partition name?14:22
leftyfbwokerslaugh: /dev/sdX ?14:23
yuzis/d/e14:23
leftyfbyuzi: huh?14:23
ravage"rm /var/cache/apt/archives/*.deb" is safe to execute for example14:23
wokerslaughsda14:23
webchat47hello14:24
leftyfbravage: the proper way is to sudo apt clean14:24
leftyfbwokerslaugh: tune2fs -m2 /dev/sda14:24
ravageit really does not make a difference14:24
leftyfbwokerslaugh: sudo tune2fs -m2 /dev/sda14:24
yuzi"rm /var/cache/apt/archives/*.deb" is safe to execute for example14:24
webchat47my ft232 usb adapter works not correctly in ubuntu14:24
yuzi232?14:25
webchat47in windows it works perfectly14:25
webchat47a usb serial adapter14:25
yuziit is always recommended to try ubuntu before actually intalling it14:26
yuziI don't see a point people say device not working14:26
ravagewebchat47: check "lsusb" and see if your your device is supported14:26
webchat47its detected as 'Bus 003 Device 098: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC'14:27
webchat47rx and tx is connected(a simple echo connection), in windows it works but in ubuntu not14:28
slicehey14:28
wokerslaughi found a file that's 11Gb called syslog - is it safe to delete?14:28
sliceyes14:29
sliceit is a log file14:29
=== slice is now known as Guest2284
=== esv_ is now known as esv
Guest2284if its taking much space and you don't want then delete14:29
ravagewokerslaugh: yes. but you should really keep that file monitored after you got your space back. it should not grow this big14:29
Guest2284clear14:30
yuziGuest2284, rwalpindi?14:30
Guest2284yuzi what?14:30
Guest2284you from where?14:30
yuziRawalpindi14:31
yuzino bro14:31
Guest2284come private14:31
wokerslaughravage: thanks for the tip what else i should keep my eyes on on the system please14:31
Guest2284yuzi you Pakistani?14:32
wokerslaughso i shouldn't keep it gorw like 2 Gb or something?14:32
Guest2284yes14:32
Mibix_hmm i switch from lightdm to gdm3 and now i am getting a login loop14:32
yuziGuest2284, no14:32
Guest2284a log file should not be that big14:32
yuziI am hindustani14:32
Guest2284okay14:32
Mibix_and now it seems i cant even ctrl+alt+f3 to get in to the console to fix it14:32
Guest2284yuzi well how you figured out my location14:33
yuzikoi bhi pta lga sakta h14:33
Guest2284hwo14:33
Guest2284how14:33
yuziip14:33
Guest2284but how14:33
ravagewokerslaugh: usually the service rsyslog takes care of log rotation. so make sure its running and that the syslog file is in /etc/logrotate.d/rsyslog14:33
yuziip addresses Guest228414:34
yuzi182.188.188.140 this is your public ip14:34
Guest2284i know but how you find ip?14:34
yuziit belongs to rawalpindi punjab14:34
Guest2284actually that's not my real loaction14:35
Guest2284to be honest14:35
ravageyuzi, Guest2284 can you please continue your private conversation... private?14:35
yuziyes that is not precise14:35
yuziyou may use vpn14:35
Guest2284no14:35
Guest2284vpn is risk for privacy14:35
Guest2284tor14:35
Guest2284ravage yes?14:35
yuziextra security lvl lol14:35
leftyfb!ot | Guest228414:36
ubottuGuest2284: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!14:36
wokerslaughthanks ravage i will remember that14:36
Guest2284i don't use vpn14:36
wokerslaughthanks everyone14:36
yuziGuest2284, itna bhi konsa private kam kr rhe ho tor se14:36
Guest2284tor is more secure than you think14:36
leftyfbGuest2284: do you have an ubuntu support question?14:36
Guest2284what kind of question?14:36
leftyfbGuest2284: feel free to chat in #ubuntu-offtopic14:36
yuzileftyfb, yes join offtopic channel Guest228414:37
=== Mibix_ is now known as Mibix
Guest2284okay14:37
Guest2284clear14:38
yuzileftyfb, can we pm?14:39
leftyfbyuzi: sorry, no14:39
Guest2284anyway14:39
Guest2284i have a question14:39
yuzileftyfb, ok sed14:39
Guest2284packer.nvim cannot create directory in .config location14:39
Guest2284how to grant access to packer.nvim14:40
Guest2284i use neovim as my code editor14:40
leftyfbGuest2284: that's a packer-specific  question, not ubuntu14:40
Guest2284no it's a ubuntu14:40
yuziyes leftyfb full support to you14:40
Guest2284i asked how to grant permission14:41
Guest2284to packer14:41
Guest2284so it can create directory in there14:41
leftyfbGuest2284: use sudo or change the permissions on the directory14:41
yuziask in pfftopic Guest228414:41
Guest2284sudo get to the root account14:41
Guest2284i want to do it in normal use14:41
Guest2284not sudo14:41
Guest2284otherwise i will have to be root everytime i use nwovim14:42
Guest2284neovim14:42
yuzioff topic me puch le vai wha bhi log hn14:42
Mibixif i switched from lightdm to gdm3 is there a reason i wouldnt be able to login anymore?14:42
Guest2284i use my own custom setup for neovim, built according to my needs only14:43
=== Mibixy is now known as Mibix
jhutchinsyuljk: Can you log in to a console? (Ctl-Alt-F1-F6)15:09
jhutchinsSorry, Mibix15:10
Mibixi restarted and it let me login via ctrl-alt-f3 and i switched back to lightdm and it works again15:11
Mibixjust weird gdm3 wont work :/15:12
Mibixwas going to see if it worked better with cinnamon15:13
=== Sven_vB_ is now known as Sven_vB
jhutchinsGnome knows what's good for you, if you shouldn't log in it won't let you.15:36
=== Miles is now known as Miles8of9
goddardhow can i find out where a binary exists for my flatpak?15:56
goddardi usually just use which15:56
ioriagoddard, maybe in  ~/.lib   ?15:57
Sven_vBin 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_vBnevermind, found the "d" in 2nd16:25
rob0haha, yeah16:25
Sven_vBOTOH, c+d+group looks like it might be a type on the tutorial.16:26
Sven_vBwould explain why some folks comment that it had no effect.16:27
jhutchinsSven_vB: It might help if you said what application you were working in.  Focal is a release tag, not an environment.16:30
Sven_vBjhutchins, I'm trying to configure kernel 5.4.0-106-lowlatency in a way that allows docker to limit CPU and RAM use.16:31
Sven_vBon x86_64 desktop Ubuntu focal16:32
BlackMagegives it no lts development release?16:32
jhutchinsSven_vB: So kernel config file is the context.16:32
Sven_vBnope, kernel boot options in my GRUB config16:32
jhutchinsThere we go.16:33
Sven_vBsorry, I thought that was the only meaning of kernel command line options.16:33
jhutchinsSorry.  I blame bad eyesight.16:33
Sven_vBwell I guess there would be a default command line in kernel config when you build one16:33
jhutchinsSven_vB: Yes, that's possible.16:34
Sven_vBIn my case I hope GRUB config will suffice :)16:34
Sven_vBalso 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:37
goddardanyone know with barrier does it also need each additional screen added for that specific client?16:50
goddardlike 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:50
leftyfbgoddard: try #barrier16:55
BlackMagei can't install libxml2 libxml2:i386 libxml2-dev16:57
BlackMagebecause:  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 installed16: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 installed16:57
goddardleftyfb:thanks16:57
BlackMagehow can i fix that?16:57
oerhekslooks like your sury ppa breaks it?16:58
oerheksask them to update, or remove the ppa with ppa-purge?16:58
BlackMageehh what ppa breaks it?16:59
oerheksondrej16:59
leftyfbBlackMage: https://launchpad.net/~ondrej/+archive/ubuntu/php16:59
oerheksweird, 2.9.12 is not on the ppa anymore, did you run apt update properly?17:02
oerhekshttps://launchpad.net/~ondrej/+archive/ubuntu/php/+index?field.series_filter=focal17:02
BlackMageoerheks: yes17:08
oerhekscontact the ppa owner? nothing we can do.17:13
seifeslimeneIs there a book about GNOME17:24
seifeslimene?17:24
jhutchinsseifeslimene: Books are kinda last-century.17:25
Sven_vBseifeslimene, yes, my local library has several.17:25
jhutchinsseifeslimene: By the time one gets printed and distributed, it's probably out of date.17:25
seifeslimenejhutchins: lol17:26
lotuspsychjeseifeslimene: yelp has manual/community support for your ubuntu release17:27
jhutchinslotuspsychje: yelp?17:29
lotuspsychjejhutchins: the blue ? help icon17:29
seifeslimeneyelp?17:31
seifeslimeneI never heard of this command17:31
ograseifeslimene, the gnome help viewer ... the thing that starts if you click the blue icon with the little i in it ...17:32
lotuspsychje!info yelp17:32
ubottuyelp (40.stable-1build1, impish): Help browser for GNOME. In component main, is optional. Built by yelp. Size 527 kB / 2,108 kB17:32
jhutchinsNot to be confused with the ubiquitous and popular restaraunt finder.17:39
ograthe gnome app name is way older 🙂17:44
composite_higgsI'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_higgsI'd be happy either fixing the issue with Wayland or with Xorg.17:59
composite_higgsBut having to switch back and forth is a hassle17:59
funhouseI have a command where I extract data from a csv and move it to a new csv18:00
funhousegzip -dc $path/$f | cut -d, -f1,8  | sort | uniq > ${tag}_${f}.os_count18:00
funhousehow would I make the 1 and 8 columns lowercase?18:00
composite_higgsCan you just use `tr`18:00
composite_higgsThat can do such a character substitution18:00
composite_higgsLet me see18:01
funhousecomposite_higgs, ok do you know how I would use that in the command?18:01
funhouselike right after cut?18:01
composite_higgsYeah, something like that18:01
composite_higgsOr use sed18:01
composite_higgstr '[:upper:]' '[:lower:]'18:02
composite_higgsecho HELLO wORlD | tr '[:upper:]' '[:lower:]'18:02
composite_higgs-> hello world18:02
funhousecomposite_higgs so something like this? `gzip -dc $path/$f | cut -d, -f1,8  | tr '[:lower:]' |  sort | uniq > ${tag}_${f}.os_count`18:03
lotuspsychjemore a topic for #linux perhaps?18:03
funhouseok thank you composite_higgs18:05
funhouselotuspsychje ubuntu people are cool thats all18:05
composite_higgsUnless you have strong guarantees on the content of that CSV file I'd use Python to do this.18:05
darksishello 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_higgscut isn't smart enough to handle strings with commas in them18:05
funhousedarksis data is consisten18:06
darksiswhat is mean?18:06
funhousesorry meant composite_higgs18:07
darksissomeone can help to me?18:07
darksisi will try make upgrade and i get error18:07
darksishttps://paste.ubuntu.com/p/RWGY4BhsHh/18:08
PTNapivoskidarksis, mirror.isoc.org.il might be down18:08
darksishow i fix it?18:08
darksisis have something change?18:08
noarbis there a way to view netplan's rendered output? Just to debug an issue and see how it interprets a configuration18:09
PTNapivoskidarksis, https://mirror.isoc.org.il/pub/ubuntu/pool/main/libk/ has no package18:10
darksishow i fix it please?18:11
PTNapivoskidarksis, change your apt sources.list18:12
darksishow i do it please?18:13
jhutchinsdarksis: Do you know which Ubuntu release you're running?18:14
darksisyes ubuntu 18.0418:14
darksiswhat i need to dor for that please?18:17
jhutchinsdarksis: This is pretty verbose but has the correct repos: https://gist.github.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d118:18
sarnoldnoarb: not really, netplan generate will write the configs but not apply them .. https://netplan.io/faq/#test-a-configuration18:18
jhutchinsdarksis: How did you set up your sources in the first place?18:18
darksisi dont know what commands to inside sources.list18:20
Andrew1981Hi18:29
lotuspsychjewelcome Andrew198118:30
Andrew1981Anyone 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:30
Andrew1981As 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:31
Andrew1981Noone?18:32
acognignihey. 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:33
Andrew1981According to https://wiki.debian.org/SystemGroups: netdev: Members of this group can manage network interfaces through the network manager and wicd.18:34
sarnoldAndrew1981: https://sources.debian.org/src/wicd/1.7.4%2Btb2%2B2019.09.18git2e0ba579-1/debian/wicd-daemon.postinst/#L2618:37
jhutchinsAndrew1981: As far as I know, netdev (or rather _netdev) is an fstab option, not a group.18:37
sarnoldit's a group if you install wicd18:39
Andrew1981no sorry on Debian based distros this used to be a system group, see my link above18:39
Andrew1981even without wicd18:39
jhutchinsWell there's yer problem.18:39
Andrew1981But I might be wrong18:39
Andrew1981Question 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
jhutchinsAndrew1981: sudo?18:41
sarnoldnetworkmanager (and probably systemd-networkd) can do polkit-based authorization, too18:42
Andrew1981the user is used to run a legacy server console application which creates an ip alias using ifconfig, without any interactive user session18:43
Andrew1981on 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 all18:44
Andrew1981*achieve18:44
Andrew1981I 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:47
jhutchinsAndrew1981: Is sudo nopass a solution?18:48
Andrew1981acognini, hey maybe you can use something like /var/lib/apt/extended_states18:48
Andrew1981you should see entries like: Package: grub-common18:49
Andrew1981Architecture: amd6418:49
Andrew1981Auto-Installed: 018:49
Andrew1981Package: linux-headers-2.6.35-22-generic18:49
Andrew1981Architecture: amd6418:49
Andrew1981Auto-Installed: 118:49
sarnoldAndrew1981: 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:49
Andrew1981sarnold: Okay, so I checked and it seems as it is a server the network is managed by systemd only18:53
Andrew1981can I just grant some user the ability to use ifconfig instead of running the application in question with root priviledges18:53
=== Bencraft5 is now known as Bencraft
jhutchinsAndrew1981: Running it with root privileges is how you grant permission.18:54
Andrew1981Unsafest way poosible, I'd rather avoid that because that is good practice, there must be a better way...18:56
Andrew1981maybe I am missing something in the .service file in question?18:57
jhutchinsAndrew1981: Using a sudo permission is exactly how you do it.  Nothing "unsafest" about it.18:57
jhutchinsAndrew1981: It's safer than using a group in that it only allows one user one command.18:57
sarnoldAndrew1981: 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 correctly18:58
Andrew1981As 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 privileges19:00
Andrew1981But maybe I confused something here19:01
Andrew1981The 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:07
sarnoldAndrew1981: dialout group was different because those have device nodes in the /dev/ filesystem that could have group ownerships, group acls, etc19:09
=== diskin is now known as Guest9432
=== diskin_ is now known as diskin
sarnoldAndrew1981: 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 users19:10
Andrew1981I 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:12
Andrew1981I did some research on capabilities when I was struggling with that...19:13
Andrew1981My maybe wrong assumption was, that being a memeber in netdev group granted exactly that: CAP_NET_ADMIN19:14
Andrew1981Some problems haunt you forever ^^19:14
sarnoldhah, yeah, group membership gives you a brand new integer in your supplementary groups19:16
sarnoldthat's it :)19:16
Andrew1981Yep, 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-user19:17
Andrew1981*pointing19:17
sarnoldI strongly recommend avoiding this and figuring out how to configure the systemd-networkd polkit privileges for your user instead19:18
Andrew1981Okay, 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:21
Andrew1981Darn legacy applications assuming to run with root privileges ;-)19:22
Guest96hello19:37
Guest96after the upgrade the display manager acceptsno input19:38
Guest96no mouse or keyboard input possible19:40
Guest96but root shell with network works19:40
Guest96i try gdm319:43
jhutchinsGuest96: Does lightdm work?19:44
Guest96i dont know, but gdm3 works19:45
jhutchinsGuest96: So you're all set now.19:45
oerheksboot in recovery mode, run apt install -f # to see if some parts were missing?19:46
Guest96yes lxqt whereremoved :(19:48
Guest96i reinstaling it19:48
Guest96I don't think the newer design of ubuntu is that nice19:51
=== Radek is now known as radekno
=== Miles is now known as Miles8of9
Night-Owl-No-Souhello, i've a problem21:25
Night-Owl-No-Soui 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:26
jhutchinsNight-Owl-No-Sou: ...and?21:27
Night-Owl-No-Souno i've deleted windows completely and installed a kubuntu distro - when i connect the hdd, it shows me a WD unlocker CD as removable device21:27
Night-Owl-No-Soui'be wine installed so when i click on the WD drive unlocker insied the CD21:28
Night-Owl-No-Souit shows me that i have to run it INSIDE the hdd itself - which isn't an option because i can't see it21:28
NeilRGcan I use Ubuntu's "Startup Disk Creator" to create a Windows 11 bootable USB key?21:29
leftyfbNeilRG: no, it's not meant for that21:30
NeilRGleftyfb, okay, is there a tool that will do it?21:31
NeilRGI changed my motherboard and CPU and now my Windows isn't working21:31
NeilRGmy Ubuntu works fine since I guess it has all the drivers21:31
NeilRGand my network adapter doesn't work in Windows, so I couldn't update21:31
NeilRGI'm trying to find the easiest route to getting up and running again21:32
leftyfbNeilRG: https://itsfoss.com/bootable-windows-usb-linux/   first result on google for "ubuntu create windows 10 bootable usb"21:32
NeilRGleftyfb, yes, thanks I was actually just reading htat now21:33
NeilRGI'll try the first method, hope it works21:33
leftyfbNight-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 Ubuntu21:33
NeilRGI hope windows 11 have the right drivers for my network card since windows 10 did not21:33
leftyfbNeilRG: use Ubuntu if it works21:34
Night-Owl-No-Souso 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:36
leftyfbNight-Owl-No-Sou: https://linuxconfig.org/basic-guide-to-encrypting-linux-partitions-with-luks21:37
leftyfbNight-Owl-No-Sou: for linux, use ext4. For Windows, you're not doing encryption that supports both Windows and linux21: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 you21:38
leftyfbEriC^^: they're already on ubuntu, not need for an ubuntu live usb21:38
EriC^^in the installer there's an option to erase disk and use encryption21:38
leftyfbEriC^^: this is an external drive. Not the OS21:38
EriC^^oh i see, thought he wanted to do a clean install, my bad21:39
Night-Owl-No-Souis luks supported by default on all linux machines? i mean i don't want to get locked out like this again21:40
leftyfbNight-Owl-No-Sou: cryptsetup should be available on just about any linux distro, yes21:41
leftyfbNight-Owl-No-Sou: it will not work on Windows though21:41
NeilRGleftyfb, lol21:42
Night-Owl-No-Souleftyfb 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-Souor ext4 will not be readable at all?21:43
leftyfbNeilRG: 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. Crazy21:43
leftyfbNight-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 AFAIK21:44
leftyfbthough you could use WSL221:45
Night-Owl-No-Souok ay thank you leftyfb21:47
hodbogiI 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:40
ramblebamblehodbogi ever heard of failures?22:42
ramblebamblethey are rumored to happen even if you are prepared like crazy22:43
hodbogiThat's what makes them fun.22:46
danhi22:49
carnophage2yo22:51
hodbogiIt 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:51
hodbogiI've been daily driving linux since Linux 2.4 and I have never once done it by accident.22:53
blahboybazWhy 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 workflow23:03
=== Miles9of9 is now known as Miles8of9
danjoin debian23:21
danfrick23:21
marchelloHi 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:39
sarnoldit'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 dies23:40
sarnoldthere'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 comparison23:40
marchellosarnold: 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:51
leftyfbmarchello: just use autossh23:54
marchelloleftyfb: yeah it could be a way to go, unfortunately I can't install anything there -- any other solution?...23:58
leftyfbmarchello: can't install anything?23:58
marchelloleftyfb: yeah, no sudo there23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!