/srv/irclogs.ubuntu.com/2021/03/19/#ubuntu.txt

morticide_is there something that works better than vnc for remote access and can do audio?00:21
derpadminmorticide_, I used to have dlma or something00:23
derpadminbut nowadays, I just share via nfs and play with whatever I want00:23
derpadminhttps://tuxbyte.com/dlna-server-raspberry-pi-linux/00:23
derpadminvnc...00:24
derpadminI read vlc00:24
derpadminI'm a retard00:24
oerheksyeah :-D00:24
oerheksaudio, depends what source..00:24
oerheksvlc can stream that easily00:24
=== thinkofher8 is now known as thinkofher
abffI added a manual rule to ufw to reject an IP that seems to be trying to break in using key exchange negotiation but they're still appearing in my auth.log. What can I do?00:38
furkanhi all, when I have scaling enabled, and i have more than a handful of windows open for a specific application (like Firefox), when i click on the dash-to-dock icon to see the window previews the scrolling doesn't work (so i can't scroll through the preview thumbnails), but turning scaling off fixes this - is this a known bug and/or is there a workaround?00:38
furkanabff: i'm not familiar with ufw but if you run "sudo iptables --list" and share what comes up under the "INPUT" chain i might be able to help identify the issue00:41
abfffurkan: the IP shows up under a ufw tagged chain as REJECT     all  --  [REDACTED]       anywhere             reject-with icmp-port-unreachable00:44
furkanabff: two questions 1) beside "Chain INPUT", do you see "policy DROP" or "policy ACCEPT"? and 2) firewall rules are processed in order from top to bottom, so do you have any lines above that one which might be accepting the connection? if yes, it would mean that your reject rule never gets processed00:46
furkanoh i see you mentioned a ufw-tagged chain and not the INPUT chain... I have to say I'm not sure how that works, but i suppose in any case what i said above is still a possibility00:48
abff honestly ufw makes a real mess of it and I don't know enough about iptables output to track the chain00:53
furkanabff: also if you run "sudo iptables --list -v" you'll see a counter beside each rule which will tell you how many times that rule was actually triggered00:53
furkanmy guess is that your rule just isn't being triggered because another rule is accepting the connection before it even reaches your REJECT rule00:54
abffall right well I'll comb through this00:56
=== thinkofher3 is now known as thinkofher
=== themayor_ is now known as themayor
=== sh91 is now known as sh9
=== rfm_ is now known as rfm
=== Loshki_ is now known as Loshki
zambai'm attempting to run the command systemctl, but that just times out07:03
zambaFailed to list units: Connection timed out07:03
zambaanyone have any idea how to fix that?07:03
TheBigK02zamba: i never had that issue and i never cared how it exactly works. but im looking into how it actually works :D07:08
zambaTheBigK02: hehe, what does that mean? :)07:09
TheBigK02zamba: i assume rebooting didnt work07:09
TheBigK02zamba: u tried also as root?07:09
TheBigK02zamba: a good way of checking if something is wrong is looking into /var/log/syslog07:10
TheBigK02zamba: can u paste a processlist that I can compare with my system ?07:10
zambaTheBigK02: i haven't rebooted.. i don't want to reboot.. the server is critical for operations07:11
zambabesides.. this is linux, we don't solve issues by rebooting :)07:12
zambawe *solve* them07:12
TheBigK02zamba: on core components like systemd u might have to. but lets see whats wrong first07:13
zambasyslog doesn't reveal much: https://dpaste.org/CToh07:13
zambadunno if that's related, though07:13
zambathe original problem i had was that i had *lots* of old sessions in the state: closing07:14
TheBigK02zamba: something in kern.log ?07:14
zambathe server is a server running the proftpd service.07:14
zambaand there's quite a lot of activity on it07:14
zamba# loginctl | wc -l: 15462607:14
TheBigK02zamba: a process list would help07:16
TheBigK02systemctl daemon-reload doesnt do anything i assume.07:16
zambaFailed to execute operation: No buffer space available07:16
zambahttps://dpaste.org/JwiM07:19
zambakern.log is empty07:19
TheBigK02zamba: may be check for too many open files?07:22
TheBigK02sounds like u ran into a hard limit of some kind07:22
TheBigK02Mar 19 06:48:09 SVL-FTP systemd[1]: thermald.service: Cannot watch bus name org.freedesktop.thermald: No buffer space available <- also hinting in syslog07:23
zamba7819 open files07:27
zambacat /proc/sys/fs/file-max ; 81132407:27
zambabut i see PID 1 is running 100 %07:28
TheBigK02something wrong with the number of sockets since u mentioned so many open login sessions07:30
TheBigK02lsof -i -P -n <- thats my usual way of checking something wrong with the number of connections. but i wouldnt pastebin that I think07:31
TheBigK02zamba: is it a VM or a hardware machine?07:35
TheBigK02zamba: can u pastebin cat /proc/meminfo ?07:36
zambaTheBigK02: it's a VM, yes07:38
TheBigK02zamba: what kind of VM?07:39
TheBigK02zamba: hypervisor?07:39
zambahttps://dpaste.org/8FbS07:39
zambaesxi07:39
TheBigK02kk07:39
TheBigK02zamba: i see nothing unusual on a first glance07:44
TheBigK02zamba: the proftp service accepts new sessions? i wonder if its some sort of networking issue since i assume (didnt find the ressource yet) systemctl communicates over a socket with the daemon07:48
zambaTheBigK02: yeah, it works just fine07:52
TheBigK02sudo systemctl is-system-running <- das this return something or also no buffer space07:53
zambadegraded07:53
TheBigK02try systemctl daemon-reexec07:55
TheBigK0207:55
TheBigK02degraded means the system is operational but one or more units failed07:57
summonnerno buffer space usually means you're out of disk space in /tmp07:59
TheBigK02summonner: if u found it... ur a genius :D08:00
zambaFailed to execute operation: No buffer space available08:10
zamba/ /tmp is under / and / has 6 GB free08:10
zambabut i have lots of these: tmpfs                          799M     0  799M   0% /run/user/101508:11
zambawhen i run df -h08:11
TheBigK02zamba: and none of those are full i assume08:12
zambaTheBigK02: that's correct08:13
TheBigK02zamba: df -i also nothing full08:14
zambacorrect..08:15
TheBigK02zamba: which ubuntu version ur using?08:17
TheBigK02https://www.linuxquestions.org/questions/linux-server-73/unkown-cause-for-systemd-failure-state-systemd-logind-cannot-start-org-freedesktop-systemd1-after-server-reboot-4175634346/ <- this might help u. but on ur own risk ;)08:20
zambaTheBigK02: 16.0408:20
TheBigK02zamba: did u have an upgrade schedulded yet? the support is running out soon08:21
TheBigK02zamba: seems like u ran into a bug of systemd. sounds very lookalike what u face on that system08:21
zambaTheBigK02: yeah, we're getting a maintenance window for it08:22
clexHi! A liveUSB has way better performances in an online game than my install, how can I investigate this?08:22
=== BlackDex_ is now known as BlackDex
TheBigK02clex: what means performance? fps?08:23
clexI tried both times with firefox and my install includes proprietary drivers.08:23
clexTheBigK02: yup08:23
TheBigK02clex: is it a browser game?08:23
clexTheBigK02: yeah, it's krunker.io a FPS08:23
zambaTheBigK02: killing pid 1 should respawn, right?08:23
TheBigK02zamba: i have no idea to be honest... let me try in a VM for u ;)08:24
TheBigK02zamba: im confused. i have no pidid 1 ... :D08:26
TheBigK02atleast not in ps auxf08:26
superschnellHow I can I see the changelogs of the packages /about to be upgraded/? Apt-listchanges seems unable to provide this information: it wants to either be passed a .deb file manually or it only works by hooking into the process while its happening.08:27
TheBigK02packages.ubuntu.com is usually a good source08:27
TheBigK02zamba: when i kill id 1... nothing happens for me08:28
TheBigK02zamba: the process does not get killed neither does it respawn08:28
TheBigK02zamba: but i have no ubuntu 16.04 on hand to try it on.. u might wanna setup a VM to be sure what happens? but thats no guarantee either...08:29
TheBigK02zamba: even killing -9 doesnt do anything...08:30
zambaTheBigK02: seems like it "resolved".. i'm able to perform systemctl list-units08:32
TheBigK02zamba: im glad u found a way to make it work. glad i finally could do some help. thanks for all the information u provided08:33
zambaTheBigK02: but i still have a lot of abandoned sessions08:33
zambawhich was the original problem :)08:34
TheBigK02zamba: thats always something i have as well.. by debugging something i find other problems :D08:34
TheBigK02zamba: loginctl terminate-session $ID08:35
TheBigK02does this do something?08:35
=== denningsrogue6 is now known as denningsrogue
zambaTheBigK02: but there's thousands of them08:35
TheBigK02zamba: a small script might help there... just try with one08:36
zamba# systemctl list-units | grep abandoned | wc -l08:36
zamba12594008:36
TheBigK02zamba: if that works u can run a small loop to go through the sessions08:38
summonnerzamba / is not /tmp08:40
summonnerzamba  run   df -h | nc termbin.com 9999     and give the URL thanks08:41
summonnerah, disregard, I see the "resolved" message now08:45
zambaFailed to issue method call: No session '108650' known08:47
zambagetting lots of them now08:47
Newb101Hi, does someone know why this command is not working08:48
Newb101cp -R ~/var/snap/anbox/common/data/media/0/WhatsApp/Media/WhatsApp Images# ~/home/a08:48
Newb101I get the error cp: target '/home/a/home/a' is not a directory08:48
summonneryou have a # in there08:48
TheBigK02Newb101: ~ says u refer to the $HOME directory08:49
TheBigK02and theres also a # in there, correct :D08:49
summonnerand you haven't escaped the space08:49
TheBigK02if u use absolute path... u need to remove ~08:50
Newb101thanks for the info, what should the command look like if it was correct08:50
summonnerNewb101, is the stuff in home/var/snap or do you mean /var/snap?08:51
TheBigK02assuming the path is correct cp -R /var/snap/anbox/common/data/media/0/WhatsApp/Media/WhatsApp\ Images /home/a08:52
TheBigK02spaces u need to escape with \ or put it into ""08:52
Newb101thanks got it to work08:53
summonnerprobably use a v with that R  so,   -vR    just to make sure it's doing what you think you want it to do08:53
Newb101all good08:53
Newb101worked thanks08:53
CryptoSiDis there a way to create non-gpt partition during Ubuntu 20.04 installation?09:21
CryptoSiDI don't want the 1M bios boot partition...09:21
Ravagethen you cant use EFI09:21
CryptoSiDin the menu to create partition, it's only "create gpt partition"09:22
CryptoSiDthere'S no way to bypass the GPT?09:22
CryptoSiDi want 100% MBR.09:22
Ravagedepends on your disk size09:22
CryptoSiD2 X 120GB SSD09:22
CryptoSiDI wouldn't mind about the 1M bios boot partition but there's no way to mirror it...09:23
Ravagei think the installer always greates GPT09:23
Ravageyou could drop to a shell and create a msdos partition09:23
CryptoSiDyeah... there's no way to bypass that and to use MBR instead?09:23
CryptoSiDI mean.. it's pretty bad that we don't have the choice.09:24
Ravagenot sure why you would mirror that09:24
Ravageyou install grub on all drives anyway09:24
CryptoSiDWell, the thing is, the 1MB bios boot partition is FORCED on the first disk, so there should be a way to mirror it09:24
Ravageit does not contain any actual boot files like initramfs or kernel09:24
CryptoSiDor to bypass this by going MBR09:25
TheBigK02i assume u want to be sure that the system boots even when one drive fails. but that is possible anyways when u install the gpt on both drives...09:27
groveOn a fresh focal it seems there is a user called systemd-coredump with uid 999, which conflicts with what out configuration management uses (it is based on some allocations from when we ran proper Debian, as ubuntu is a derivative, I assumed they had inherited the policy on uids), where is ubuntus policy on uids described?10:16
=== Underknowledge1 is now known as Underknowledge
TheBigK02grove: check /etc/adduser.conf10:39
TheBigK02grove: as far as i can tell its same on debian and ubuntu10:40
TheBigK02uid 999 can be obtained by a system user anytime... on ubuntu and debian10:40
groveTheBigK02: I thought adduser assigned uids from each range sequentially, so using 999 was reasonably safe - but I guess I'll have to look at our code at find out a way to use a different uid10:58
clarkkI recently installed 20.04 from scratch a month ago. All was well, but now some application windows have started becoming very transparent, and unusable. Can anyone think of anything that may be causing it?11:21
clarkkanyone here?11:34
diofantoztransparent?11:37
clarkkdiofantoz, see-through.11:37
diofantozwhat application?11:39
diofantozhave you tried re-install it?11:40
diofantozsudo apt remove x11:40
diofantozthere's also a apt purge11:40
IamTryingWhen Ubuntu will have mining OS? (Hiveos, mineros)?11:41
diofantozyes11:41
clarkk@diofantoz, it can be any application. I can get it working again, but I have to restart that app11:41
diofantozclarkk: maybe it is related to your windows manager11:41
clarkkdiofantoz, it's a fresh install11:41
diofantozlike gnome, xfce or whatever you are using11:41
clarkkI'm using gnome, but it's a fresh install11:42
clarkkcan extensions cause these kinds of problems?11:42
diofantozunless you have anything important on there, re-install11:42
clarkkffs11:42
clarkkI'm not reinstalling11:42
diofantozhave you tried upgrading all packages?11:42
clarkkyes, I'm all up to date11:43
diofantozwhat version of ubuntu11:43
clarkk20.0411:43
diofantozjust 20.04?11:44
clarkkdiofantoz, yes, what do you mean?11:47
diofantozthere are 20.04.1-211:47
diofantozalso11:47
marenzg'day11:47
clarkkhmm, I don't know.  I only know of the official, main version11:47
marenzI am adding some swap space to enable hibernation on my desktop, but the swapon command takes >2 minutes to initialize the 36gb swap file on my ssd11:47
clarkkhow do I find out?11:47
diofantozcat /etc/issue11:48
clarkkdiofantoz, Ubuntu 20.04.2 LTS11:48
marenzit eventually finishes, but when I restarted it got stuck trying to enable the swapspace and timed out (timer was <2 minutes though)11:48
Maik!discuss | IamTrying11:49
ubottuIamTrying: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!11:49
diofantozclarkk: it's difficult to say without seeing the bug, but it may be gnome related11:49
marenzMaik, I guess that's for me as it is not specific enough?11:49
diofantozso maybe try reinstall gnome or else reinstall the OS11:50
Maiknope not you11:50
diofantozmake sure you backup11:50
diofantozif you have anything important11:50
marenzoh. okay11:50
clarkkdiofantoz, literally, randomly, a random application window will become about 80% transparent, and I won't be able to use it. If I restart the app, I can continue as normal, until it happens again to either that app, or another app11:51
clarkkdiofantoz, ok, thanks for your help. I'll ask in #gnome too11:52
diofantoznp, good luck11:54
marenzHmm so just now it took 7 minutes for the swapon command to complete11:54
marenzoh great. smartd[1252]: Device: /dev/sde [SAT], 1 Currently unreadable (pending) sectors11:55
BluesKajHowdy folks11:58
slidercrankmarenz, did you enable swap on a tape device? :)12:05
marenznope, SSD (though with a ntfs system)12:05
marenzi am "borrowing" disk space from my windows part12:05
marenzslidercrank, because it says "SAT"?12:09
marenzI found this for example: Mar 18 18:58:34 fortune smartd[86976]: Device: /dev/sda, type changed from 'scsi' to 'sat'12:09
marenzfar all devices actually12:09
marenzhmm maybe that explains why my hdd rate was extremely slow a few days earlier12:10
marenzSo12:28
marenzI am currently doing this12:28
marenzsudo dd if=/dev/zero of=swap32gb.img bs=1M count=32768 status=progress12:28
marenzas a result, most applications completely froze12:29
marenzwell, became unresponsive12:29
marenze.g. my browser is taking about 2 minutes just to scroll12:30
marenzand now my irc client stopped, I guess because it tried to write to disk now12:30
marenzah, it's back12:30
marenzso the sympthoms seem to be that all disk i/o is slowed down to a crawl if I do any heavy disk operations12:32
marenzany one got any ideas? This is with btrfs as fs and an amd ryzen 7 cpu + 32gb mem12:32
marenzon an ssd12:32
marenzMeanwhile I have another app running doing lots of IO but it's operating on an NFS mounted folder12:34
marenzAh yes, the browser crashed now12:34
marenzSo I guess either the btrfs driver has a severe bug or the SSD is crap or the io scheduler is.. I have no idea12:35
marenzhmm I think I am gonna repartition this to have a small section with a different fs to check if it's the fs driver  or general IO on that device12:35
marenzHmm inconclusive. It seems better when I do heavy IO on an ext4 system on the same ssd, but the browser did lock up shortly.12:47
Maiklike talking to yourself marenz?12:48
marenznot really, I am hoping someone might jump in with the perfect idea/clue12:48
TheBigK02i have a ryzen system with btrfs as well... lets test around ... but i think i would have realized something like that12:49
marenzI first noticed it during compiling. I thought it was the cpu usage, but it was all the IO i guess12:50
marenzwell, that's disturbing dd: closing input file '/dev/zero': Bad file descriptor12:50
TheBigK02pastebin a smartctl -a $DEVICE pls12:51
TheBigK02https://paste.debian.net/1189997/ <- for me works fine... on btrfs (with multiple snapshots on the /root volume12:54
marenz(I am trying, but the system is not responding much)12:54
irgendwer4711hi, I have a strange problem. systemd stopped forwarding to syslog12:54
TheBigK02irgendwer4711: but syslog is running?12:54
marenzTheBigK02,  http://paste.debian.net/1189998/12:54
irgendwer4711I have a 2nd server with same config, this is fine12:54
irgendwer4711TheBigK02: yes. syslog-ng procudes log lines12:55
marenzTheBigK02, I mean it "works", just that the rest of the system that tries to access the HD is blocked12:56
TheBigK02marenz: the ssd looks fine on first glance.12:56
marenzwhat if you run for example time find &> /dev/null? on my small home it takes <1s but during the operation it varyied between 1 and 10 secnods12:56
=== ace_me1 is now known as ace_me
slidercrankmy /dev/null is full. out of disk space12:58
TheBigK02slidercrank: :D12:58
marenzrofl12:58
TheBigK02for me is around 1 second. but i use nvme ssd... that probably makes a difference12:59
TheBigK02marenz: iostat doesnt show much usage when u have ur system idle?12:59
marenz(..installing)13:02
marenzokay, time find doesn't seem to be a good indicator because it just ran happily through while my music played from the browser stopped13:02
marenzThis is during idle https://paste.debian.net/1190000/13:03
marenzoh13:03
marenzno it isn't my find is still running in a loop :D13:03
irgendwer4711TheBigK02: systemd show timed out waiting for device dev-getty-device13:03
marenzwell, not much difference though13:04
irgendwer4711ah seems normal on VMs13:06
=== Norkle is now known as MrPrice
silv3r_m00nhi there13:17
silv3r_m00nif i install ubuntu on a pendrive and use it from there, would it be any problem ?13:17
=== MrPrice is now known as Norkle
meandrainif I have issues with kernel 5.8 on amd ryzen 9 (computer freezing) is it ok if I try kernel 5.10 ?13:25
ThinkT510!mainline | meandrain13:27
ubottumeandrain: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds13:27
meandrainThinkT510: thank you!13:28
=== StathisA_ is now known as StathisA
=== rwdrich5 is now known as rwdrich
=== Nomad__ is now known as Nomad_
=== armeg is now known as jrgilman
=== SpudDogg1 is now known as SpudDogg
marenzmeandrain, are you using btrfs by any chance? ^^13:36
meandrainmarenz: no, I am using ext4 in soft raid (mdadm)13:36
=== diofantoz is now known as hikikomori
meandrainI don't know if my freezing problem it's an ubuntu kernel issue with ryzen, or a nvme driver problem or some kind of other problem with an userland app I run with the linux kernel ...13:40
meandrainI tried to make the kernel dump to a file but nothing is written in /var/crash (and it works, If I simulate a kernel panic, I have the dump there)13:41
=== hikikomori is now known as diofantoz
uboneI installed vsftpd, tried to configure, did systemctl restart a few times, then it returned INVALIDARGUMENT, removed /etc/vsftpd.conf, reinstalled, did dpkg-reconfigure, /etc/vsftpd.conf is not re-made14:00
slidercrankubone, this should help: sudo apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" vsftpd14:05
ubonety14:10
p0aHello my ubuntu 20.04 just crashed and it has happened a few times now, can I find out why?14:36
p0aWhen it crashes, it freezes entirely, nothing works and I have to reboot from the power button14:36
p0aThere's two files under /var/crash/, one from emacs and one from ibus, I don't know how to understand these, or whether they are relevant14:37
slidercrankp0a, typically nowadays they use journalctl14:43
slidercrankyou can pass -b n, where n could be negative and positive. 0 - from last boot, -1 from the boot before the last and so on.14:44
p0aso journalctl -k -b -1?14:44
slidercranknot sure about -k. omit it for now. Let's see the full log14:44
slidercrank-k limits only to kernel messages14:45
p0ahttps://termbin.com/ccuq14:47
slidercrankyou can add -p n (n is a priority level). Let's say -p 4 (to include warnings)14:47
p0ahere's journalctl -b -1 -p 4: https://termbin.com/wznob14:48
slidercrankp0a, at what time did you reboot? I don't see it for some reason14:51
p0aabout 10 minutes ago or so14:52
p0aI rebooted by holding the power button down14:52
slidercrankp0a, in the log I see only one boot session.14:52
=== taowa is now known as tr
slidercrank you should look at what was just before you rebooted14:53
p0aWell, what's the meaning of that?14:53
p0aso -b -2?14:53
p0aThe timestamps seem off by the way. not sure why14:54
p0aIt looks like these events (the last recorde ones) happened approx an hour ago, but I just rebooted14:54
slidercrankwell, try -2 then :)14:55
=== tr is now known as taowa
slidercrankbut -1 is supposed to include two last boots14:55
p0ajournalctl -b -2 -p 4: https://termbin.com/37e414:55
p0aThat's even worse it looks like, there's no recent logs with that14:57
slidercrankyes, I don't get it14:59
p0aWhere's the raw files? maybe we can look for ourselves15:00
slidercrankraw files are in the binary form15:00
p0aslidercrank: the manual for journalctl indicates that the argument of -b is an index (when it is negative)15:02
p0ait's not going to give you a range15:02
p0aMoreover, it appears that the kernel went silent and thus the reason to crash was not recorder15:02
p0arecorded *15:02
slidercrankp0a, then don't pass -b, just journalctl |less and jump to the end of the file (by pressing the END key) - it will take a while. And scroll back until you get to the place where you rebooted. See if there is anything suspicious before that time (some errors)15:02
p0aThat looks to work, but how do I know where the reboot happened>? I didn't timestamp it myself15:04
slidercrankp0a, see when time changes sharply.15:06
slidercrankthere are also lots of ACPI related messages on start. So if you see them, it's where booting starts15:07
p0aah, there's a -- Rebot -- line15:08
slidercrankyes15:09
p0aThese look to be the missing logs: https://pastebin.com/mysnvB8V after my journalctl -b -1 -p 4 here: https://termbin.com/wznob15:11
p0aTells me nothing to be frank15:12
slidercrankp0a, were there recent changes in your hardware?15:13
p0assd and ram, months ago15:14
p0aram crashed once when I plugged it in and then not again, do you think it could be that?15:14
slidercrankhow did ram crash? I don't get it15:15
p0aThe computer did is what I meant15:15
p0athe kernel, somebody. At the time I didn't not inspect further15:16
slidercrankI see15:16
slidercrankWell, it could be anything. Sometimes it's hard to debug. If you suspect it's ram, try to use fail-safe settings for ram (in CMOS setup)15:17
slidercrankif it's ram, you won't see anything in the logs. because there is no one to log at this stage15:17
p0aGot it. I just wanted to make sure there's nothing popping out to you, because I really can't tell what I'm reading15:18
p0aIf it's the ram I might just tolerate crashing every now and then, I'm not doing anything very important on this computer15:18
slidercrankI am not an expert either. I just answered your question about reading logs. So the tool is journalctl :)15:18
p0ahehe :) that's fair15:18
slidercrankdmesg could be used to read the kernel ring buffer. Sometimes it's helpful. But probably not in your case. It only contains the last boot and could be overwritten when it's full (it's a ring buffer after all)15:19
p0aI don't see anything red there, except stuff already in journalctl . Not sure.15:25
p0aThat's alright, thank you for the help15:25
plujonWhere can I find like the smallest .iso installer for Ubuntu 20.10, Lubuntu 20.10, etc.?16:22
plujonI don't care which variant of Ubuntu it is.  I really just want the base system with a functioning 'apt'...16:23
plujonI will install a web browser, but that's about it.16:23
oerheksmaybe the netinstall or mini iso?16:24
oerheks!mini16:25
ubottuThe Minimal CD image is very small in size, and it downloads most packages from the Internet during installation, allowing you to select only those you want.  The installer is text based (rather than graphical as used on the Desktop DVD). See https://help.ubuntu.com/community/Installation/MinimalCD16:25
oerheksbut that required internet available during install16:25
oerhekslist with all iso's, have fun! https://torrent.ubuntu.com/tracker_index16:26
marenzre16:35
marenzIf anyone is interested, I solved my earlier problem of IO activity making my system unresponsive16:37
marenzby changing from btrfs to ext416:37
leumashm hi guys, i have i query, i know if i have want to allow a ftpuser to read write to /var/www/html i need to do this sudo chown ftpuser:ftpuser /var/www/html but what if i have multiple users ftpusera ,b ,c how do i do it? I see online ppl talking about putting ftpusersa,b,c in groups16:49
oerheks... www-data16:50
=== [1]MrMobius is now known as MrMobius
=== anton is now known as am32
=== am32 is now known as anton
EriC^leumashm: you could add a group as an acl, and them to that group17:02
leumashmEriC^ but how to check if apache2 still has access to the directory and can load the files properly?17:19
leftyfbleumashm: you should be adding your user(s) to the existing group the /var/www/html directory is owned by. Not the other way around17:20
EriC^leumashm: if you dont change the original user/group it should still have access, acl are just extra users/groups17:24
leumashmEriC^ do you mean like that? gpasswd -a <-username> <-groupname>     chgrp -R <-groupname> <-dirname->17:27
leumashmchmod -R g+rw <-dirname->17:27
EriC^no17:27
EriC^setfacl -m g:somegroup:rwx /path/to/dir17:28
leftyfbor usermod -a -G somegroup someuser17:28
EriC^leumashm: it really depends on what exactly you want, you have some ideas/options now17:29
leftyfbEriC^: setfacl?17:29
leumashmEriC^ nv used setfacl before17:30
flrndset file access list17:30
leumashmleftyfb if use usermod -a -G somegourp someuser then how to set the permissions for the /path/dir?17:30
EriC^leumashm: would you mind your users be a part of www-data group? if you dont mind just add them there, if it makes some difference, then use acl+group17:31
leumashmEriC^ i read www-data group seems to have some security issue but im not really sure.17:31
oerheksand when you do fiddle around with groups, logout/login to let it take effect17:31
leftyfbEriC^: I would just stick with adding your user(s) to the apache group. In my case I created a new group and added my user(s) and apache. I also bind mounted the appropriate html directory into each users home directory so they didn't have to traverse the filesystem(keeps them out of /var)17:31
leumashmoerheks yes that one i am aware17:32
leumashmleftyfb understood on the setting the home directory17:32
leumashmleftyfb so how do u add the the apache group?17:33
leumashmleftyfb sorry im not very familar with this.. a noob starting off today17:33
leftyfbleumashm: https://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/17:38
leumashmleftyfb add user to www-data ? https://www.cyberciti.biz/faq/ubuntu-add-user-to-group-www-data/17:43
=== Grldfrdom_ is now known as Grldfrdom
=== Grldfrdom is now known as Grldfrdom_
leftyfbleumashm: that is what I would suggest. Though you really should be asking this sort of thing in #ubuntu-server17:44
leumashmleftyfb haha any security issue?17:44
leftyfbleumashm: there's always security issues17:45
leftyfbsome known, some unknown17:45
leumashmleftyfb i mean like doing 777 is sure an issue.. but using adding user to www-data if there is any security issue17:45
oerheksthat is what i told him in -server.17:45
leumashmoerheks was the only person replying there haha17:46
leftyfbleumashm: you don't ever do 77717:46
oerheksstill, there are more solutions, like EriC^ said17:46
BatoehHello! I hope you are all having a nice day. I installed ubuntu server 20.10. Good for my needs right now but I am debating if my workflow would benefit more from using the lts release and staying on that release cycle once the newest lts release is out. Is there a simple way to make my system permanently lts? I am not going to worry about rolling back to the current lts release and rather wait for the17:51
Batoehnext one. I am not sure if that is making it more difficult rather simpler like I suspect.17:51
BatoehI am having a little trouble finding an answer searching so far.17:54
flrndhum, you want to roll back a 20.10 to 20.04? Not sure If I follow17:54
lordcirthBatoeh, just wait until 22.04 and then you can change /etc/update-manager/release-upgrades to "lts"17:54
BatoehNah to be clear I don't want to worry about rolling back to 20.04. I rather wait to switch 20.10 to the next lts release once it is out.17:55
BatoehSorry that was my fault for not just using the version numbers17:55
lordcirthBatoeh, 20.10 will be unsupported by the time 22.04 is out17:55
BatoehOh damn it is going to be little bit. Well that is cool. The option is there once it is out. Thanks guys. I really appreciate your help17:56
oerheksBatoeh, yes, basicly stick to LTS, and there is !HWE as extention..17:56
oerheks!hwe17:56
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack17:56
oerheksstable, unless you really *need* new features17:56
flrndBatoeh: if that's not a critical system, can you re-install?17:56
flrndthis is not a ideal solution by all means17:57
BatoehCool thing about my setup honestly more updates to X or the kernel maybe a pain. It will be awesome. Oh yeah I have made it so worst worst case if I ever have to go nuclear I am good to go. Able to move my data and transition my config files in a snap.17:57
BatoehI am really hoping for pipewire to be great.17:59
Batoeh!#!18:03
BatoehMy apologies.18:03
=== [1]MrMobius is now known as MrMobius
devslashThis is the output of ip route when I run it on Ubuntu Server: https://pastebin.com/5jAHsCm8 does this mean that the default DNS server is 192.168.1.1 ?18:32
lordcirthdevslash, your default route is 192.168.1.1. Your DNS server may or may not be the same18:36
devslashok...18:37
devslashI want to use a different one18:37
lordcirthdevslash, cat /etc/resolv.conf to see how DNS is configured18:37
devslashhow do i change it18:37
devslashI thought that /etc/resolv.conf is not used any more18:37
lordcirthIt still exists for compatibility, and usually tells you how your DNS is being managed18:38
devslashI also disabled systemd-resolved service in ubuntu I dont know if that matters much18:38
flrndwell, if you don't know, you shouldn't :)18:40
devslashwhat do you mean ?18:41
devslashI disabled systemd-resolved on my ubuntu host because I use Docker and I have an instance of Pi-Hole running and within my LAN, I configure my devices to use Pi Hole as the DNs server18:42
summonnerjust set DNS=192.168.x.x for the pihole in /etc/systemd/resolved.conf  and bounce the service. easy peasy18:44
devslashok I added it to /etc/resolv.conf18:45
devslashbut the output of ip route is the same18:45
* summonner blinks18:46
summonnerport 53 is a little different to a route table18:47
devslashAfter the change I did systemctl restart systemd-networkd18:47
devslashwell how do I know if its using my pi hole18:47
summonnercat /etc/resolv.conf18:48
Gigabittenfrickin heck. so I'm trying to get a new mechanical keyboard to work in apple mode, since it doesn't work with windows mode at all. I need to switch fn and left ctrl (everything else is fine). There's a pretty easy way to do this (install a patch, then throw some settings in /etc/modprobe.d/hid_apple.conf) but I can't actually get this configuration to load. I'm following this from the arch wiki (https://wiki.archlinux.org/index.php/App19:18
Gigabittenle_Keyboard) and inintramfs is empty for some reason. I'm not gonna pretend to understand what any of this means. What went wrong?19:18
=== jrm2 is now known as jrm
GigabittenIt said that if they're not there I should check /etc/mkinitcpio.conf to include the necessary files, but that also doesn't exist!19:19
GigabittenIt is quite notable that I'm not on arch, which may screw with this.19:20
GigabittenI'm on lubuntu.19:20
beanbag-did something change in the way the bootloader works in ubuntu server that would make it not boot on 256MB of ram19:42
tomreynthe kernel did19:43
tomreyn+ initrd19:43
oerheksmaybe your onboard GPU snoops mem.19:43
beanbag-tomreyn, ah I figured it had something to do with the image address19:44
beanbag-I didn't think about initrd19:45
beanbag-that's fine i'll just leave it on 512MB in the vm19:45
beanbag-it works there and is not enough host ram to worry about losing19:45
beanbag-it's just a vm to run a ups monitoring software then ssh into the hypervisor and execute a host shutdown19:46
oerheksinteresting.. increase the vm to 2 Gb, see how fast it goes.19:48
beanbag-me?19:49
=== V|A is now known as VIA_actually
=== VIA_actually is now known as V|A
jbskihi everyone, i have a bit of a non-common network configuration im trying to accomplish. ubuntu 18, i want to set the ip to 10.10.10.129, network is 255.255.255.240(/28) gateway is 10.10.10.12820:08
jbskiif in 01-netcfg.yaml i set addresses to: 10.10.10.129/28 then i cant ping 10.10.10.12820:08
jbskibecause it thinks the network range is 10.10.10.129-14320:09
jbskiwhen it should be 128-14220:09
jbskidoes anyone know how to accomplish this? thanks.20:09
jbskiso i want ubuntu18 to have ip 10.10.10.129 but be in the 10.10.10.128-142 network basically20:10
=== BrianG61UK__ is now known as BrianG61UK
erle-is there a way to install gnome-software-flatpak without snap?20:13
oerhekserle-, no.20:13
sarnoldjbski: at least one other ip calculator thingy draws the same conclusion http://jodies.de/ipcalc?host=10.10.10.129&mask1=28&mask2=20:13
erle-oerheks, why?20:14
oerhekserr, flatpak ?20:14
erle-it feels like a desperate attempt to force snapd20:14
erle-oerheks, it is not required on Debian20:14
oerheksgnome-software-flatpak should be installed with the flatpak app?20:14
oerheksmixing 2 things.20:14
erle-gnome-software-flatpak via apt20:14
erle-*gnome-software-plugin-flatpak20:15
jbskiyeah sarnold, its a bit odd, but lets say then the network is 10.10.10.129-143 and i want the machine to be 130, how would i do that? if i set the ip to 130/28 then i cant ping 12820:15
jbski*cant ping 129 i meant20:15
oerheksoh, not an flatpak itself, yes indeed20:15
oerheks!info gnome-software-plugin-flatpak20:15
ubottugnome-software-plugin-flatpak (source: gnome-software): Flatpak support for GNOME Software. In component universe, is optional. Version 3.36.1-0ubuntu0.20.04.0 (focal), package size 94 kB, installed size 343 kB20:15
jbskii guess my question is how do I set an IP in the middle of a given network20:16
oerheksenable universe?20:16
jbskiit works great for /24 networks but I dont know how to do it for a /2820:16
sarnoldjbski: if you need to ping an IP address that's not reachable in the 'network' you've defined, then you'll need to add a route for that IP address directly to the interface that can reach it20:16
leftyfbjbski: ipcalc says the same thing. Your CIDR is invalid. 10.10.10.130/28 would still start the same usable ip as 12820:16
leftyfbjbski: install ipcalc and use it to run: ipcalc 10.10.10.129/28   # that should give you an idea20:17
jbskiyeah, im having a hard time explaining my issue, i agree the correct network for 10.10.10.128/28 is 128-142, the question is, if i want to use that network how do i assign a ubuntu machine an ip in the middle of that range, lets say 129,130,131, etc20:18
leftyfbjbski: short answer, 10.10.10.128 is not usable in a /2820:18
leftyfbjbski: assigning 129 or 130 in the /28 is fine the way you had it. That isn't the problem. The problem is .128 cannot be used as your gateway in that /2820:19
jbskithanks for the help leftyfb, let me explain further, in reality im not dealing with 10.10 ips, im dealing with public IPs, ( i just said 10.10 for privacy )20:21
jbskitheres another host on the network that already has 12820:21
jbskii want to put this ubuntu machine on that same network with ip 12920:21
jbskibut be able to ping 12820:21
sarnoldassigning numbers in the middle of ranges is the *common* case, btw -- there's usually hundreds, sometimes thousands, of those :)20:21
jbskiits a public ip range /28 (16 ips)20:22
leftyfbjbski: you can't because according to proper CIDR notation, in a /28, you cannot use .128. It is a network identifier and not a usable ip address.20:22
jbskii see20:22
jbskii think i understand now, first usable ip is 12920:22
leftyfbcorrect20:22
jbskisorry it took so long for me to grasp it, youre right, thanks for the patience20:23
sarnoldjbski: maybe look up 'Reaching a directly connected gateway' on https://netplan.io/examples/ if you need to route packets to an ip address that's not on your network20:23
jbskigot it sarnold , thanks also20:24
leftyfbsarnold: that won't matter in their case with the current issue of trying to use .12820:24
leftyfb!yy.mm | jbski, future reference when referring to Ubuntu versions:20:25
ubottujbski, future reference when referring to Ubuntu versions:: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle20:25
sarnoldleftyfb: at this point I don't understand if the goal is to assign an IP address outside the range, or ping an IP address outside the range, etc :) it's just a link in case it reflects that's being attempted..20:25
leftyfbsarnold: it was a misunderstanding of the actual problem. They assigned .128 to a different machine and couldn't ping it from anything else because it's not valid to use it in the first place. They thought the reason they couldn't ping it from the 2nd machine was because the 2nd machine was misconfigured. It wasn't.20:26
leftyfbsarnold: there's outside of range which usually means adding a route or increasing your subnet, but then there's using an invalid ip address within a CIDR20:27
GigabittenWhat a time for my internet to go out. I don't suppose anybody responded to my thing which is probably long lost by now?20:29
GigabittenFrankly not sure where to ask about such things!20:30
sarnoldGigabitten: this is pretty good for many things, askubuntu.com is another option for more involved questions that need more supporting framework; it didn't look like anyone replied20:31
Gigabittenheck, thanks20:31
sarnoldGigabitten: different distros use entirely different tools for generating initrds20:31
Gigabittenoh geez, that'd explain why it's so different20:32
sarnoldGigabitten: start with the update-initramfs(8) manpage, it'll have breadcrumbs to the debian/ubuntu pieces, hopefully you'll be able to translate from arch stuff20:32
Gigabittencool20:32
leftyfbGigabitten: I can point you where to add in hooks for initramfs. It will be in /etc/initramfs-tools/hooks  . but not sure what the documentation you posted earlier wants to put in there exactly20:32
GigabittenI'm not sure either lol20:32
sarnoldleftyfb: re: invalid ip, aha! thanks :)20:33
Gigabittenbut if I do journalctl -b | grep apple I see that there are logs from loading hid_apple; it says that "loading out-of-tree module taints kernel" which I'm pretty sure doesn't stop the load.20:34
GigabittenBut that means it's loading, right?20:34
GigabittenSo why on earth isn't it doing things?20:34
leftyfbGigabitten: is the module loaded?  "sudo lsmod"20:35
Gigabittenyep, it's in the list20:35
Gigabittener, in "used by" it's got 0 listed20:36
Gigabittenis that bad?20:36
sarnoldmodules have a list of pci ids or usb ids or whatever that they'll look for; it could be you need to set the device id of your keyboard to match something that the module already supports, or modify the module to tell it to support your keyboard's existing ids, etc20:36
sarnold(this is a guess, I don't actually ahve one of whatever it is :)20:37
Gigabittenhmmmm20:37
Gigabittenwell uh, in fairness, I've seen other people using this keyboard on linux without so much issue lol20:37
Gigabittenoh, it's a mechanical keyboard with an apple mode and a windows mode - it could be that it's not recognizing it as "an apple keyboard" but that it is merely a keyboard, in apple mode, not communicating this fact to anything20:39
Gigabittenwhich validates your hypothesis a bit20:39
sarnoldback when I used an apple keyboard for a few years, I think I needed a module parameter to tell it to use the "delete" key as a backspace rather than a delete, or maybe it was fiddling with the printscreen key or somethihng, but it was easy enough to just fiddle with the module parameters20:39
sarnoldI'd believe that; I would expect most things to just be usb these days20:40
Gigabittenproblem: I have no idea how any of this stuff actually works.20:40
sarnoldhehe20:41
Gigabittensomething something modprobe?20:41
sarnoldmy kinesis ergo keyboards (or maybe just the one?) have a windows / mac preset switch, and it changes the keycodes output by a few of the keys, but it'd mostly work fine in either mode.. just those specific keys might not work as expected20:42
sarnoldI found the windows setting way easier to work with20:42
Gigabittenwell20:42
Gigabittenthey are both annoying20:42
Gigabittenhere's the thing20:42
Gigabittenwhen I go into xev in windows mode, neither the fn key nor the ctrl key generates an event20:42
leftyfbthey won't20:43
Gigabittenwhen I go there in apple mode, at least the fn key does - L_Control or whatever20:43
Gigabittenand I was aware already that you could swap them20:43
leftyfbthey're keyboard modifiers at the BIOS level, they're not key presses20:43
sarnoldhmm, ctrl *should* show up in xev, it does for me, anyway20:43
sarnoldfn you're right, that probably doesn't show up in xev20:43
leftyfboh right, ctrl does, not fn though20:44
Gigabittenyeah20:44
Gigabittenbut again, in windows mode, neither shows, and in apple mode, fn shows as lctrl20:44
Gigabittenwhich is so weird20:44
leftyfbI would love to set a shortcut on my new XPS 13 to allow for fn + left arrow to be home like every other laptop keyboard I have ever used :(20:44
Gigabittenmaybe there's some way to fix whatever's wrong with windows mode rather than the approach I'm currently taking?20:44
sarnoldGigabitten: many newer keyboards let you set your own mappings entirely; that'd be my first approach, because then it'd work on whatever machine you might plug it into20:46
Gigabittenhmmmmmmm20:47
Gigabittenthere is no first-party remapping for this keyboard20:48
Gigabittenbut let's see here20:48
reactDev843Helo20:48
Gigabittennope, that won't work. there is no first-party remapping and I'm pretty sure any remapping I try will be at a very high level. my manual here suggests a few programs for it, but they seem to be generic and wouldn't stick with the keyboard itself.20:50
Gigabittenhow do you do that thing you mentioned where you let the module know to work with a certain device?20:52
Gigabittenbrb20:54
GigabittenI return20:55
sarnoldGigabitten: I'm pretty sure I used fnmode and swap_opt_cmd from https://wiki.archlinux.org/index.php/Apple_Keyboard .. but that was ~decade ago20:56
JoeLlamaTime to do a fresh install of xubuntu 20.04:  "How do I transfer my entire environment including destop, panel stuff, files, etc to the new platform?"  Is it something like I just copy the home directory?20:56
Gigabitten...wait.20:57
Gigabittendoes rebooting regenerate initramfs or not?20:57
GigabittenI tried doing it manually rather than rebooting, and it swapped my super and command keys.20:58
GigabittenWhich *is* an option, but not the option in my /etc/modprobe.d/hid_apple.conf??20:59
Gigabittenthere's gotta be another conf file somewhere20:59
JoeLlamais it going to be hard to transfer my current desptop etc configuration if I want a fresh install of xubuntu?21:00
=== jess is now known as JESS
Gigabittensarnold: to respond to that earlier thing - even if I do that, it very straightforwardly doesn't work; absolutely nothing changes, as far as I can discriminate21:07
JoeLlamaokay guys, I wanna copy my environment from a xubuntu box to a new fresh install for xubuntu...  what's the trick please?21:07
JoeLlamadoesn't have to have the programs that are installed21:07
GigabittenI've seen that page and even the "immediate" one doesn't work21:07
JoeLlamajust the desktop and panel and prefersneses etc21:07
sarnoldJoeLlama: probably moving your home directory across would do it.. but why the reinstall?21:09
sarnoldGigabitten: is that module actually taking the hardware?21:09
JoeLlamayeah that'\s what I thought sarnold21:09
JoeLlamaxubuntu lose power now things aren't working right :(21:09
Gigabitten...brb again21:09
JoeLlamahow do you fsck the same volume you are operating on?21:09
JoeLlamaCan I fsck on reboot?  like it will schedule fsck on next bootup (like windows?)21:10
Gigabittenanyway, how do I tell if it's actually grabbing my hardware?21:11
sarnoldGigabitten: heh, good question :( I haven't found it yet..21:11
oerheksJoeLlama, no, use a live iso21:11
Gigabittengeez, fair21:11
Gigabittenit is an annoyingly messy problem21:11
=== JESS is now known as jess
sarnoldJoeLlama: historically you could touch /forcefsck -- but it's probably better to use a liveimage21:12
GigabittenI think a lot of blame can be thrown around here but the place I have the most annoyance towards is whoever decided to make the fn key its own weird thing when it surely would have been pretty easy to not do that21:14
Gigabittenif it just generated an input event, this would have been fixed ages ago21:14
Gigabittenxmodmap could have easily solved this21:14
sarnoldbut keyboard folks *can* do clever things that would be hard to do via xmodmap / setxkbmap etc -- eg macros that spew out another 40 or 100 keystrokes, etc21:16
JoeLlamaoh oerheks oh! :)21:20
JoeLlamaand sarnold21:21
JoeLlamaok liveimage gotcha21:21
bray90820Hey is thre a way to hide a mounted drive on the sidebar?21:21
bray90820Not all drives just one drive21:21
leftyfbbray90820: mount it manually21:23
bray90820I was hoping to have it nounted with fstab21:23
bray90820What would you think of using x-gvfs-hide21:24
leftyfbbray90820: I have no experience with it21:25
bray90820I'll try it and see what I get21:25
oerheks dconf editor21:26
oerheksorg > gnome shell > extensions > dash-to-dock page, switching the show-mounts toggle to the off position.21:26
oerheks.. so easy to find21:26
Gigabittenoh my21:26
leftyfboerheks: that's for all drives, not just 121:26
GigabittenI... seem to have gotten it?21:26
Gigabittensor tof.21:26
Gigabittenonly sort of.21:26
=== thebope is now known as thebear
oerheksdrives will show up anyway in filemanager21:27
bray90820oerheks: that does all drives not just one21:28
bray90820But thanks for trying21:28
oerheksdo so, and add manually those drives you want to be visable21:28
Gigabittensarnold: it turns out that swap_fn_leftctrl was *active* and that this was causing their, well, swappedness; the fact that it doesn't seem to be generating with my config file in mind caused me to believe that it was actually off by default, but I checked with cat /sys/module/hid_apple/parameters/swap_fn_leftctrl and it was set to 1. I set it to 0 with echo "0" > /sys/module/hid_apple/parameters/swap_fn_leftctrl and then21:29
Gigabittenupdate-initramfs -u, and now it's working perfectly fine. The problem seems to be that it actually works correctly with linux by default, and a previous apple keyboard which did not was screwing me because I had those settings there in the first place.21:29
GigabittenHow do I make this persistent?21:29
sarnoldGigabitten: awesome!21:30
sarnoldGigabitten: the /etc/modprobe.d/ thingy from the arch wiki should do the trick; make a new file in that directory with "options hid_apple swap_fn_leftctrl=0" or something similar21:31
Gigabittenoh! of course.21:31
Gigabittenrestarting21:32
=== thebear is now known as thebope
GigabittenThat did not work.21:34
GigabittenIt's back to how it was before despite the config file being changed.21:34
Gigabitten`cat /etc/modprobe.d/hid_apple.conf` produces `options hid_apple swap_fn_leftctrl=0`21:36
Gigabitten`cat /sys/module/hid_apple/parameters/swap_fn_leftctrl` produces `1`21:38
Gigabittensomehow, the config file just isn't getting picked up21:38
Gigabittenthe config file isn't getting picked up, and simultaneously, the default is wrong for me21:39
sarnoldhmm :( I wonder why that didn't work :(21:39
GigabittenBut this is *close.*21:40
GigabittenWorst case, I set up a script to do those commands for me.21:41
Gigabitten...Actually21:41
Gigabittenit might do fine to just blacklist hid_apple21:42
Gigabittenbrb21:43
Gigabittenheh, worth a try21:45
Gigabittenoh well21:45
Gigabittenfor some reason it seems like my /etc/modprobe.d just isn't getting loaded at all21:45
Gigabittenwhen I tried `modprobe -r hid_apple` before, my keybaord didn't work in apple mode21:46
sarnoldGigabitten: so, last thought, and it's a stretch -- perhaps the module is being loaded by the initrd .. try regenerating the initrd? I *hope* it would copy in the module configs..21:46
Gigabittensarnold: hate to say it, but how do you regenerate the initrd?21:47
Gigabittenwait -21:48
GigabittenI thought the initramfs and the initrd were like21:48
Gigabittenthe same sorta thing21:48
sarnoldthey are, I don't even know which term is used in debian/ubuntu land despite using it for ages..21:49
Gigabittenah fair21:49
Gigabittenwell I can just regenerate it with update-initramfs -u right?21:49
sarnoldyeah21:49
Gigabittenno dice21:49
Gigabittenguess I'll go set it up so that the configuration happens when hid_apple is already running lol21:50
Gigabittenjust run a script, ez21:50
pasizinitrd != initramfs21:51
erle-but you have either one or the other21:51
Gigabittenmy figuring is that since update-initramfs did something, that's the one I have21:51
pasizyes... i might have ferrari or fiat...21:51
flrndboth have wheels, so win win :P21:52
pasizinitrd uses ramdev, initramfs uses tmpfs21:52
Gigabittenalright so I've noticed something a bit... odd21:52
GigabittenI've been doing something possibly inadvisable to make this work21:53
Gigabittenif I just try to edit the module parameter unpriveleged it doesn't work. if I do it with sudo, it still doesn't work.21:53
GigabittenI was only able to make it happen with sudo su lol21:53
Gigabittena question which I swear I have perfectly fine intentions for using the answer to: how do I make a script which executes as superuser privileges on startup?21:54
pasizon startup everything is executed as superuser21:55
Gigabittenokay, better question then, how do I get some stuff to execute after modules load?21:56
pasizGigabitten: on user login or where?21:56
Gigabittenum, I suppose as late as possible would be fine.21:56
oerhekshttps://wiki.ubuntu.com/SystemdForUpstartUsers21:56
sarnoldpasiz: oh, thanks :) hehe21:57
pasizsarnold: ??21:57
sarnoldpasiz: 'initrd is ramdisk'21:58
pasizyes, and initramfs is a ramdisk21:58
pasizbut they work differently21:59
pasizboth do the same job21:59
Gigabittenalright, hopefully this works22:00
pasizat least it broke irc connection...22:00
=== nickware2 is now known as nickware
=== dynetrekk1 is now known as dynetrekk
=== urdh_ is now known as urdh
=== mycookie8 is now known as mycookie
=== denwa1 is now known as denwa
=== tnewman6 is now known as tnewman
=== oerheks1 is now known as oerheks
=== AJC_Z0 is now known as AJ_Z0
Gigabittensarnold: in case you're curious, an account of the last few minutes. I edited /etc/rc.local so that it sets hid_apple's parameters straight. I reboot. Now my keyboard isn't working. I log in with another keyboard and do `modprobe hid_apple` and now everything works fine even though the settings were pointed at a non-running module. This all lines up with the hypothesis that /etc/modprobe.d conf files are finally getting loaded, so I22:15
Gigabittenunblacklist hid_apple and fix my settings in there, and boom: it's working. Do you (or does anyone) have any idea why those config files just randomly started loading?22:15
GigabittenOr maybe, why they stopped loading for a while?22:16
sarnoldGigabitten: you mentioned something funny about sudo su vs sudo .. were the owner / modes correct on the files when you were writing them? I could imagine modprobe ignoring files not owned by root22:17
Gigabittenhuh22:18
Gigabittenthat seems potentially plausible22:18
Gigabittenbut I don't remember how I wrote or rewrote every file22:18
Gigabittenso I don't think I'll ever know if it's correct22:18
GigabittenI do know that a lot of random crap got changed leading up to the critical reboot22:19
Gigabittenwhatever the case, I'm glad this hours-long clusterfuck is now over and I can have a working keyboard22:19
GigabittenI'm an emacs user, for christ's sake, I'd have to relearn so much muscle memory if my ctrl key got moved lol22:20
Gigabittenthanks for your help - I learned a lot, and I jiggled something to fix it somewhere in there as a result of it22:20
sarnoldGigabitten: hah, you just gave me some fear.. I'm a vim user, what if escape suddenly didn't work?22:25
sarnoldhow would I ever fix it?22:25
Gigabittenheh. I guess you'd just have to buy a new keyboard or something at that rate.22:26
GigabittenI'd definitely suggest having a backup handy.22:26
sarnoldyeah, cause I couldn't figure out pico well enough to fix it22:29
westorhello , any one has any idea how can i fix that error ? https://paste.ubuntu.com/p/TXDGM7VxgQ/22:33
westorit's there when 'apt update'22:34
sarnoldwestor: look around the yarn website for an updated key that you can install22:35
guivercwestor, is the URL correct?  I get 40422:43
westoryeah no clue really, just wanna find a way how-to correct that url or remove it22:44
westorto fix not getting that error anymore22:44
oerheks'Err:6 https://dl.yarnpkg.com/debian stable InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>'22:45
oerhekswestor, what guide did you follow?22:45
oerhekswith the part to add the key properly?22:46
westorit was long time ago , sorry i don't remember but the sure is that i think i followed a guide how to install 'yarn'22:46
oerhekslooks like you never installed a package, nor updates for a while22:47
westoryeah maybe you're right22:48
westorif you having any fix please so i can get rid of that error22:48
oerhekssure they give a guide howto install that repo and key?22:51
oerheksjust checked, they provide no deb on our repos, nor a snap package22:52
westorright, so the only solution is to remove it from 'apt update' to avoid getting that error ?22:53
leftyfbwestor: remove the yarn repo from /etc/apt/sources.list.d/22:54
westorhow can i do that via command sir ? if you can please give me that command, thanks22:55
oerhekscd /etc/apt/sources.list.d/ perhaps?22:56
oerheksand rm the nasty .list22:56
westornot any 'yarn' .list is there22:57
oerhekshorrible, maybe they added themselves to the sources.list itself.22:58
oerheks'the old way'22:58
westoryeah there is one: longsleep-ubuntu-golang-backports-focal.list22:59
westorbut thats related on golang22:59
NetsrotHi,in gtk3 apps: how do I move the open and save buttons back down? The have moved to the title bar.22:59
oerhekswestor,indeed, a proper ppa https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports23:00
oerhekscheck the end of /etc/apt/sources.list itself23:00
westoryeah, i am too starter on this so maybe i just followed a guide that shouldn't23:00
oerheksno worries23:01
westor# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse23:01
westordeb https://dl.yarnpkg.com/debian/ stable main23:01
oerheksgood23:01
oerheksput a # in front23:02
westorok23:02
westornice23:02
oerhekssudo apt update && sudo apt full-upgrade23:02
oerheksand you want to reboot after the fresh kernel23:02
NetsrotI think I need to change gtk-dialogs-use-header but I don't know how.23:03
westoryeah, thanks a lot my friend for helping me out, god bless you.23:03
oerhekshave fun!23:03
oerheksNetsrot, gnome-tweak-tool can handle some settings, max/min left or right23:04
oerheks!info gnome-tweak-tool23:04
ubottugnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.34.0-2ubuntu1 (focal), package size 1 kB, installed size 12 kB23:04
Netsrotoerheks: I haven't found that option there.23:11
oerheksNetsrot, oh, i think that is called global menu23:17
oerheksnope, that setting is gone23:20

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