morticide_ | is there something that works better than vnc for remote access and can do audio? | 00:21 |
---|---|---|
derpadmin | morticide_, I used to have dlma or something | 00:23 |
derpadmin | but nowadays, I just share via nfs and play with whatever I want | 00:23 |
derpadmin | https://tuxbyte.com/dlna-server-raspberry-pi-linux/ | 00:23 |
derpadmin | vnc... | 00:24 |
derpadmin | I read vlc | 00:24 |
derpadmin | I'm a retard | 00:24 |
oerheks | yeah :-D | 00:24 |
oerheks | audio, depends what source.. | 00:24 |
oerheks | vlc can stream that easily | 00:24 |
=== thinkofher8 is now known as thinkofher | ||
abff | I 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 |
furkan | hi 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 |
furkan | abff: 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 issue | 00:41 |
abff | furkan: the IP shows up under a ufw tagged chain as REJECT all -- [REDACTED] anywhere reject-with icmp-port-unreachable | 00:44 |
furkan | abff: 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 processed | 00:46 |
furkan | oh 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 possibility | 00:48 |
abff | honestly ufw makes a real mess of it and I don't know enough about iptables output to track the chain | 00:53 |
furkan | abff: 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 triggered | 00:53 |
furkan | my guess is that your rule just isn't being triggered because another rule is accepting the connection before it even reaches your REJECT rule | 00:54 |
abff | all right well I'll comb through this | 00: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 | ||
zamba | i'm attempting to run the command systemctl, but that just times out | 07:03 |
zamba | Failed to list units: Connection timed out | 07:03 |
zamba | anyone have any idea how to fix that? | 07:03 |
TheBigK02 | zamba: i never had that issue and i never cared how it exactly works. but im looking into how it actually works :D | 07:08 |
zamba | TheBigK02: hehe, what does that mean? :) | 07:09 |
TheBigK02 | zamba: i assume rebooting didnt work | 07:09 |
TheBigK02 | zamba: u tried also as root? | 07:09 |
TheBigK02 | zamba: a good way of checking if something is wrong is looking into /var/log/syslog | 07:10 |
TheBigK02 | zamba: can u paste a processlist that I can compare with my system ? | 07:10 |
zamba | TheBigK02: i haven't rebooted.. i don't want to reboot.. the server is critical for operations | 07:11 |
zamba | besides.. this is linux, we don't solve issues by rebooting :) | 07:12 |
zamba | we *solve* them | 07:12 |
TheBigK02 | zamba: on core components like systemd u might have to. but lets see whats wrong first | 07:13 |
zamba | syslog doesn't reveal much: https://dpaste.org/CToh | 07:13 |
zamba | dunno if that's related, though | 07:13 |
zamba | the original problem i had was that i had *lots* of old sessions in the state: closing | 07:14 |
TheBigK02 | zamba: something in kern.log ? | 07:14 |
zamba | the server is a server running the proftpd service. | 07:14 |
zamba | and there's quite a lot of activity on it | 07:14 |
zamba | # loginctl | wc -l: 154626 | 07:14 |
TheBigK02 | zamba: a process list would help | 07:16 |
TheBigK02 | systemctl daemon-reload doesnt do anything i assume. | 07:16 |
zamba | Failed to execute operation: No buffer space available | 07:16 |
zamba | https://dpaste.org/JwiM | 07:19 |
zamba | kern.log is empty | 07:19 |
TheBigK02 | zamba: may be check for too many open files? | 07:22 |
TheBigK02 | sounds like u ran into a hard limit of some kind | 07:22 |
TheBigK02 | Mar 19 06:48:09 SVL-FTP systemd[1]: thermald.service: Cannot watch bus name org.freedesktop.thermald: No buffer space available <- also hinting in syslog | 07:23 |
zamba | 7819 open files | 07:27 |
zamba | cat /proc/sys/fs/file-max ; 811324 | 07:27 |
zamba | but i see PID 1 is running 100 % | 07:28 |
TheBigK02 | something wrong with the number of sockets since u mentioned so many open login sessions | 07:30 |
TheBigK02 | lsof -i -P -n <- thats my usual way of checking something wrong with the number of connections. but i wouldnt pastebin that I think | 07:31 |
TheBigK02 | zamba: is it a VM or a hardware machine? | 07:35 |
TheBigK02 | zamba: can u pastebin cat /proc/meminfo ? | 07:36 |
zamba | TheBigK02: it's a VM, yes | 07:38 |
TheBigK02 | zamba: what kind of VM? | 07:39 |
TheBigK02 | zamba: hypervisor? | 07:39 |
zamba | https://dpaste.org/8FbS | 07:39 |
zamba | esxi | 07:39 |
TheBigK02 | kk | 07:39 |
TheBigK02 | zamba: i see nothing unusual on a first glance | 07:44 |
TheBigK02 | zamba: 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 daemon | 07:48 |
zamba | TheBigK02: yeah, it works just fine | 07:52 |
TheBigK02 | sudo systemctl is-system-running <- das this return something or also no buffer space | 07:53 |
zamba | degraded | 07:53 |
TheBigK02 | try systemctl daemon-reexec | 07:55 |
TheBigK02 |  | 07:55 |
TheBigK02 | degraded means the system is operational but one or more units failed | 07:57 |
summonner | no buffer space usually means you're out of disk space in /tmp | 07:59 |
TheBigK02 | summonner: if u found it... ur a genius :D | 08:00 |
zamba | Failed to execute operation: No buffer space available | 08:10 |
zamba | / /tmp is under / and / has 6 GB free | 08:10 |
zamba | but i have lots of these: tmpfs 799M 0 799M 0% /run/user/1015 | 08:11 |
zamba | when i run df -h | 08:11 |
TheBigK02 | zamba: and none of those are full i assume | 08:12 |
zamba | TheBigK02: that's correct | 08:13 |
TheBigK02 | zamba: df -i also nothing full | 08:14 |
zamba | correct.. | 08:15 |
TheBigK02 | zamba: which ubuntu version ur using? | 08:17 |
TheBigK02 | https://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 |
zamba | TheBigK02: 16.04 | 08:20 |
TheBigK02 | zamba: did u have an upgrade schedulded yet? the support is running out soon | 08:21 |
TheBigK02 | zamba: seems like u ran into a bug of systemd. sounds very lookalike what u face on that system | 08:21 |
zamba | TheBigK02: yeah, we're getting a maintenance window for it | 08:22 |
clex | Hi! 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 | ||
TheBigK02 | clex: what means performance? fps? | 08:23 |
clex | I tried both times with firefox and my install includes proprietary drivers. | 08:23 |
clex | TheBigK02: yup | 08:23 |
TheBigK02 | clex: is it a browser game? | 08:23 |
clex | TheBigK02: yeah, it's krunker.io a FPS | 08:23 |
zamba | TheBigK02: killing pid 1 should respawn, right? | 08:23 |
TheBigK02 | zamba: i have no idea to be honest... let me try in a VM for u ;) | 08:24 |
TheBigK02 | zamba: im confused. i have no pidid 1 ... :D | 08:26 |
TheBigK02 | atleast not in ps auxf | 08:26 |
superschnell | How 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 |
TheBigK02 | packages.ubuntu.com is usually a good source | 08:27 |
TheBigK02 | zamba: when i kill id 1... nothing happens for me | 08:28 |
TheBigK02 | zamba: the process does not get killed neither does it respawn | 08:28 |
TheBigK02 | zamba: 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 |
TheBigK02 | zamba: even killing -9 doesnt do anything... | 08:30 |
zamba | TheBigK02: seems like it "resolved".. i'm able to perform systemctl list-units | 08:32 |
TheBigK02 | zamba: im glad u found a way to make it work. glad i finally could do some help. thanks for all the information u provided | 08:33 |
zamba | TheBigK02: but i still have a lot of abandoned sessions | 08:33 |
zamba | which was the original problem :) | 08:34 |
TheBigK02 | zamba: thats always something i have as well.. by debugging something i find other problems :D | 08:34 |
TheBigK02 | zamba: loginctl terminate-session $ID | 08:35 |
TheBigK02 | does this do something? | 08:35 |
=== denningsrogue6 is now known as denningsrogue | ||
zamba | TheBigK02: but there's thousands of them | 08:35 |
TheBigK02 | zamba: a small script might help there... just try with one | 08:36 |
zamba | # systemctl list-units | grep abandoned | wc -l | 08:36 |
zamba | 125940 | 08:36 |
TheBigK02 | zamba: if that works u can run a small loop to go through the sessions | 08:38 |
summonner | zamba / is not /tmp | 08:40 |
summonner | zamba run df -h | nc termbin.com 9999 and give the URL thanks | 08:41 |
summonner | ah, disregard, I see the "resolved" message now | 08:45 |
zamba | Failed to issue method call: No session '108650' known | 08:47 |
zamba | getting lots of them now | 08:47 |
Newb101 | Hi, does someone know why this command is not working | 08:48 |
Newb101 | cp -R ~/var/snap/anbox/common/data/media/0/WhatsApp/Media/WhatsApp Images# ~/home/a | 08:48 |
Newb101 | I get the error cp: target '/home/a/home/a' is not a directory | 08:48 |
summonner | you have a # in there | 08:48 |
TheBigK02 | Newb101: ~ says u refer to the $HOME directory | 08:49 |
TheBigK02 | and theres also a # in there, correct :D | 08:49 |
summonner | and you haven't escaped the space | 08:49 |
TheBigK02 | if u use absolute path... u need to remove ~ | 08:50 |
Newb101 | thanks for the info, what should the command look like if it was correct | 08:50 |
summonner | Newb101, is the stuff in home/var/snap or do you mean /var/snap? | 08:51 |
TheBigK02 | assuming the path is correct cp -R /var/snap/anbox/common/data/media/0/WhatsApp/Media/WhatsApp\ Images /home/a | 08:52 |
TheBigK02 | spaces u need to escape with \ or put it into "" | 08:52 |
Newb101 | thanks got it to work | 08:53 |
summonner | probably use a v with that R so, -vR just to make sure it's doing what you think you want it to do | 08:53 |
Newb101 | all good | 08:53 |
Newb101 | worked thanks | 08:53 |
CryptoSiD | is there a way to create non-gpt partition during Ubuntu 20.04 installation? | 09:21 |
CryptoSiD | I don't want the 1M bios boot partition... | 09:21 |
Ravage | then you cant use EFI | 09:21 |
CryptoSiD | in the menu to create partition, it's only "create gpt partition" | 09:22 |
CryptoSiD | there'S no way to bypass the GPT? | 09:22 |
CryptoSiD | i want 100% MBR. | 09:22 |
Ravage | depends on your disk size | 09:22 |
CryptoSiD | 2 X 120GB SSD | 09:22 |
CryptoSiD | I wouldn't mind about the 1M bios boot partition but there's no way to mirror it... | 09:23 |
Ravage | i think the installer always greates GPT | 09:23 |
Ravage | you could drop to a shell and create a msdos partition | 09:23 |
CryptoSiD | yeah... there's no way to bypass that and to use MBR instead? | 09:23 |
CryptoSiD | I mean.. it's pretty bad that we don't have the choice. | 09:24 |
Ravage | not sure why you would mirror that | 09:24 |
Ravage | you install grub on all drives anyway | 09:24 |
CryptoSiD | Well, the thing is, the 1MB bios boot partition is FORCED on the first disk, so there should be a way to mirror it | 09:24 |
Ravage | it does not contain any actual boot files like initramfs or kernel | 09:24 |
CryptoSiD | or to bypass this by going MBR | 09:25 |
TheBigK02 | i 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 |
grove | On 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 | ||
TheBigK02 | grove: check /etc/adduser.conf | 10:39 |
TheBigK02 | grove: as far as i can tell its same on debian and ubuntu | 10:40 |
TheBigK02 | uid 999 can be obtained by a system user anytime... on ubuntu and debian | 10:40 |
grove | TheBigK02: 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 uid | 10:58 |
clarkk | I 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 |
clarkk | anyone here? | 11:34 |
diofantoz | transparent? | 11:37 |
clarkk | diofantoz, see-through. | 11:37 |
diofantoz | what application? | 11:39 |
diofantoz | have you tried re-install it? | 11:40 |
diofantoz | sudo apt remove x | 11:40 |
diofantoz | there's also a apt purge | 11:40 |
IamTrying | When Ubuntu will have mining OS? (Hiveos, mineros)? | 11:41 |
diofantoz | yes | 11:41 |
clarkk | @diofantoz, it can be any application. I can get it working again, but I have to restart that app | 11:41 |
diofantoz | clarkk: maybe it is related to your windows manager | 11:41 |
clarkk | diofantoz, it's a fresh install | 11:41 |
diofantoz | like gnome, xfce or whatever you are using | 11:41 |
clarkk | I'm using gnome, but it's a fresh install | 11:42 |
clarkk | can extensions cause these kinds of problems? | 11:42 |
diofantoz | unless you have anything important on there, re-install | 11:42 |
clarkk | ffs | 11:42 |
clarkk | I'm not reinstalling | 11:42 |
diofantoz | have you tried upgrading all packages? | 11:42 |
clarkk | yes, I'm all up to date | 11:43 |
diofantoz | what version of ubuntu | 11:43 |
clarkk | 20.04 | 11:43 |
diofantoz | just 20.04? | 11:44 |
clarkk | diofantoz, yes, what do you mean? | 11:47 |
diofantoz | there are 20.04.1-2 | 11:47 |
diofantoz | also | 11:47 |
marenz | g'day | 11:47 |
clarkk | hmm, I don't know. I only know of the official, main version | 11:47 |
marenz | I 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 ssd | 11:47 |
clarkk | how do I find out? | 11:47 |
diofantoz | cat /etc/issue | 11:48 |
clarkk | diofantoz, Ubuntu 20.04.2 LTS | 11:48 |
marenz | it 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 | IamTrying | 11:49 |
ubottu | IamTrying: 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 |
diofantoz | clarkk: it's difficult to say without seeing the bug, but it may be gnome related | 11:49 |
marenz | Maik, I guess that's for me as it is not specific enough? | 11:49 |
diofantoz | so maybe try reinstall gnome or else reinstall the OS | 11:50 |
Maik | nope not you | 11:50 |
diofantoz | make sure you backup | 11:50 |
diofantoz | if you have anything important | 11:50 |
marenz | oh. okay | 11:50 |
clarkk | diofantoz, 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 app | 11:51 |
clarkk | diofantoz, ok, thanks for your help. I'll ask in #gnome too | 11:52 |
diofantoz | np, good luck | 11:54 |
marenz | Hmm so just now it took 7 minutes for the swapon command to complete | 11:54 |
marenz | oh great. smartd[1252]: Device: /dev/sde [SAT], 1 Currently unreadable (pending) sectors | 11:55 |
BluesKaj | Howdy folks | 11:58 |
slidercrank | marenz, did you enable swap on a tape device? :) | 12:05 |
marenz | nope, SSD (though with a ntfs system) | 12:05 |
marenz | i am "borrowing" disk space from my windows part | 12:05 |
marenz | slidercrank, because it says "SAT"? | 12:09 |
marenz | I found this for example: Mar 18 18:58:34 fortune smartd[86976]: Device: /dev/sda, type changed from 'scsi' to 'sat' | 12:09 |
marenz | far all devices actually | 12:09 |
marenz | hmm maybe that explains why my hdd rate was extremely slow a few days earlier | 12:10 |
marenz | So | 12:28 |
marenz | I am currently doing this | 12:28 |
marenz | sudo dd if=/dev/zero of=swap32gb.img bs=1M count=32768 status=progress | 12:28 |
marenz | as a result, most applications completely froze | 12:29 |
marenz | well, became unresponsive | 12:29 |
marenz | e.g. my browser is taking about 2 minutes just to scroll | 12:30 |
marenz | and now my irc client stopped, I guess because it tried to write to disk now | 12:30 |
marenz | ah, it's back | 12:30 |
marenz | so the sympthoms seem to be that all disk i/o is slowed down to a crawl if I do any heavy disk operations | 12:32 |
marenz | any one got any ideas? This is with btrfs as fs and an amd ryzen 7 cpu + 32gb mem | 12:32 |
marenz | on an ssd | 12:32 |
marenz | Meanwhile I have another app running doing lots of IO but it's operating on an NFS mounted folder | 12:34 |
marenz | Ah yes, the browser crashed now | 12:34 |
marenz | So I guess either the btrfs driver has a severe bug or the SSD is crap or the io scheduler is.. I have no idea | 12:35 |
marenz | hmm 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 device | 12:35 |
marenz | Hmm 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 |
Maik | like talking to yourself marenz? | 12:48 |
marenz | not really, I am hoping someone might jump in with the perfect idea/clue | 12:48 |
TheBigK02 | i have a ryzen system with btrfs as well... lets test around ... but i think i would have realized something like that | 12:49 |
marenz | I first noticed it during compiling. I thought it was the cpu usage, but it was all the IO i guess | 12:50 |
marenz | well, that's disturbing dd: closing input file '/dev/zero': Bad file descriptor | 12:50 |
TheBigK02 | pastebin a smartctl -a $DEVICE pls | 12:51 |
TheBigK02 | https://paste.debian.net/1189997/ <- for me works fine... on btrfs (with multiple snapshots on the /root volume | 12:54 |
marenz | (I am trying, but the system is not responding much) | 12:54 |
irgendwer4711 | hi, I have a strange problem. systemd stopped forwarding to syslog | 12:54 |
TheBigK02 | irgendwer4711: but syslog is running? | 12:54 |
marenz | TheBigK02, http://paste.debian.net/1189998/ | 12:54 |
irgendwer4711 | I have a 2nd server with same config, this is fine | 12:54 |
irgendwer4711 | TheBigK02: yes. syslog-ng procudes log lines | 12:55 |
marenz | TheBigK02, I mean it "works", just that the rest of the system that tries to access the HD is blocked | 12:56 |
TheBigK02 | marenz: the ssd looks fine on first glance. | 12:56 |
marenz | what 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 secnods | 12:56 |
=== ace_me1 is now known as ace_me | ||
slidercrank | my /dev/null is full. out of disk space | 12:58 |
TheBigK02 | slidercrank: :D | 12:58 |
marenz | rofl | 12:58 |
TheBigK02 | for me is around 1 second. but i use nvme ssd... that probably makes a difference | 12:59 |
TheBigK02 | marenz: iostat doesnt show much usage when u have ur system idle? | 12:59 |
marenz | (..installing) | 13:02 |
marenz | okay, time find doesn't seem to be a good indicator because it just ran happily through while my music played from the browser stopped | 13:02 |
marenz | This is during idle https://paste.debian.net/1190000/ | 13:03 |
marenz | oh | 13:03 |
marenz | no it isn't my find is still running in a loop :D | 13:03 |
irgendwer4711 | TheBigK02: systemd show timed out waiting for device dev-getty-device | 13:03 |
marenz | well, not much difference though | 13:04 |
irgendwer4711 | ah seems normal on VMs | 13:06 |
=== Norkle is now known as MrPrice | ||
silv3r_m00n | hi there | 13:17 |
silv3r_m00n | if i install ubuntu on a pendrive and use it from there, would it be any problem ? | 13:17 |
=== MrPrice is now known as Norkle | ||
meandrain | if 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 | meandrain | 13:27 |
ubottu | meandrain: 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/MainlineBuilds | 13:27 |
meandrain | ThinkT510: 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 | ||
marenz | meandrain, are you using btrfs by any chance? ^^ | 13:36 |
meandrain | marenz: no, I am using ext4 in soft raid (mdadm) | 13:36 |
=== diofantoz is now known as hikikomori | ||
meandrain | I 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 |
meandrain | I 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 | ||
ubone | I 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-made | 14:00 |
slidercrank | ubone, this should help: sudo apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" vsftpd | 14:05 |
ubone | ty | 14:10 |
p0a | Hello my ubuntu 20.04 just crashed and it has happened a few times now, can I find out why? | 14:36 |
p0a | When it crashes, it freezes entirely, nothing works and I have to reboot from the power button | 14:36 |
p0a | There'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 relevant | 14:37 |
slidercrank | p0a, typically nowadays they use journalctl | 14:43 |
slidercrank | you 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 |
p0a | so journalctl -k -b -1? | 14:44 |
slidercrank | not sure about -k. omit it for now. Let's see the full log | 14:44 |
slidercrank | -k limits only to kernel messages | 14:45 |
p0a | https://termbin.com/ccuq | 14:47 |
slidercrank | you can add -p n (n is a priority level). Let's say -p 4 (to include warnings) | 14:47 |
p0a | here's journalctl -b -1 -p 4: https://termbin.com/wznob | 14:48 |
slidercrank | p0a, at what time did you reboot? I don't see it for some reason | 14:51 |
p0a | about 10 minutes ago or so | 14:52 |
p0a | I rebooted by holding the power button down | 14:52 |
slidercrank | p0a, 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 rebooted | 14:53 |
p0a | Well, what's the meaning of that? | 14:53 |
p0a | so -b -2? | 14:53 |
p0a | The timestamps seem off by the way. not sure why | 14:54 |
p0a | It looks like these events (the last recorde ones) happened approx an hour ago, but I just rebooted | 14:54 |
slidercrank | well, try -2 then :) | 14:55 |
=== tr is now known as taowa | ||
slidercrank | but -1 is supposed to include two last boots | 14:55 |
p0a | journalctl -b -2 -p 4: https://termbin.com/37e4 | 14:55 |
p0a | That's even worse it looks like, there's no recent logs with that | 14:57 |
slidercrank | yes, I don't get it | 14:59 |
p0a | Where's the raw files? maybe we can look for ourselves | 15:00 |
slidercrank | raw files are in the binary form | 15:00 |
p0a | slidercrank: the manual for journalctl indicates that the argument of -b is an index (when it is negative) | 15:02 |
p0a | it's not going to give you a range | 15:02 |
p0a | Moreover, it appears that the kernel went silent and thus the reason to crash was not recorder | 15:02 |
p0a | recorded * | 15:02 |
slidercrank | p0a, 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 |
p0a | That looks to work, but how do I know where the reboot happened>? I didn't timestamp it myself | 15:04 |
slidercrank | p0a, see when time changes sharply. | 15:06 |
slidercrank | there are also lots of ACPI related messages on start. So if you see them, it's where booting starts | 15:07 |
p0a | ah, there's a -- Rebot -- line | 15:08 |
slidercrank | yes | 15:09 |
p0a | These look to be the missing logs: https://pastebin.com/mysnvB8V after my journalctl -b -1 -p 4 here: https://termbin.com/wznob | 15:11 |
p0a | Tells me nothing to be frank | 15:12 |
slidercrank | p0a, were there recent changes in your hardware? | 15:13 |
p0a | ssd and ram, months ago | 15:14 |
p0a | ram crashed once when I plugged it in and then not again, do you think it could be that? | 15:14 |
slidercrank | how did ram crash? I don't get it | 15:15 |
p0a | The computer did is what I meant | 15:15 |
p0a | the kernel, somebody. At the time I didn't not inspect further | 15:16 |
slidercrank | I see | 15:16 |
slidercrank | Well, 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 |
slidercrank | if it's ram, you won't see anything in the logs. because there is no one to log at this stage | 15:17 |
p0a | Got it. I just wanted to make sure there's nothing popping out to you, because I really can't tell what I'm reading | 15:18 |
p0a | If it's the ram I might just tolerate crashing every now and then, I'm not doing anything very important on this computer | 15:18 |
slidercrank | I am not an expert either. I just answered your question about reading logs. So the tool is journalctl :) | 15:18 |
p0a | hehe :) that's fair | 15:18 |
slidercrank | dmesg 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 |
p0a | I don't see anything red there, except stuff already in journalctl . Not sure. | 15:25 |
p0a | That's alright, thank you for the help | 15:25 |
plujon | Where can I find like the smallest .iso installer for Ubuntu 20.10, Lubuntu 20.10, etc.? | 16:22 |
plujon | I don't care which variant of Ubuntu it is. I really just want the base system with a functioning 'apt'... | 16:23 |
plujon | I will install a web browser, but that's about it. | 16:23 |
oerheks | maybe the netinstall or mini iso? | 16:24 |
oerheks | !mini | 16:25 |
ubottu | The 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/MinimalCD | 16:25 |
oerheks | but that required internet available during install | 16:25 |
oerheks | list with all iso's, have fun! https://torrent.ubuntu.com/tracker_index | 16:26 |
marenz | re | 16:35 |
marenz | If anyone is interested, I solved my earlier problem of IO activity making my system unresponsive | 16:37 |
marenz | by changing from btrfs to ext4 | 16: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 groups | 16:49 |
oerheks | ... www-data | 16: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 group | 17:02 |
leumashm | EriC^ but how to check if apache2 still has access to the directory and can load the files properly? | 17:19 |
leftyfb | leumashm: you should be adding your user(s) to the existing group the /var/www/html directory is owned by. Not the other way around | 17:20 |
EriC^ | leumashm: if you dont change the original user/group it should still have access, acl are just extra users/groups | 17:24 |
leumashm | EriC^ do you mean like that? gpasswd -a <-username> <-groupname> chgrp -R <-groupname> <-dirname-> | 17:27 |
leumashm | chmod -R g+rw <-dirname-> | 17:27 |
EriC^ | no | 17:27 |
EriC^ | setfacl -m g:somegroup:rwx /path/to/dir | 17:28 |
leftyfb | or usermod -a -G somegroup someuser | 17:28 |
EriC^ | leumashm: it really depends on what exactly you want, you have some ideas/options now | 17:29 |
leftyfb | EriC^: setfacl? | 17:29 |
leumashm | EriC^ nv used setfacl before | 17:30 |
flrnd | set file access list | 17:30 |
leumashm | leftyfb 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+group | 17:31 |
leumashm | EriC^ i read www-data group seems to have some security issue but im not really sure. | 17:31 |
oerheks | and when you do fiddle around with groups, logout/login to let it take effect | 17:31 |
leftyfb | EriC^: 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 |
leumashm | oerheks yes that one i am aware | 17:32 |
leumashm | leftyfb understood on the setting the home directory | 17:32 |
leumashm | leftyfb so how do u add the the apache group? | 17:33 |
leumashm | leftyfb sorry im not very familar with this.. a noob starting off today | 17:33 |
leftyfb | leumashm: https://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/ | 17:38 |
leumashm | leftyfb 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_ | ||
leftyfb | leumashm: that is what I would suggest. Though you really should be asking this sort of thing in #ubuntu-server | 17:44 |
leumashm | leftyfb haha any security issue? | 17:44 |
leftyfb | leumashm: there's always security issues | 17:45 |
leftyfb | some known, some unknown | 17:45 |
leumashm | leftyfb i mean like doing 777 is sure an issue.. but using adding user to www-data if there is any security issue | 17:45 |
oerheks | that is what i told him in -server. | 17:45 |
leumashm | oerheks was the only person replying there haha | 17:46 |
leftyfb | leumashm: you don't ever do 777 | 17:46 |
oerheks | still, there are more solutions, like EriC^ said | 17:46 |
Batoeh | Hello! 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 the | 17:51 |
Batoeh | next one. I am not sure if that is making it more difficult rather simpler like I suspect. | 17:51 |
Batoeh | I am having a little trouble finding an answer searching so far. | 17:54 |
flrnd | hum, you want to roll back a 20.10 to 20.04? Not sure If I follow | 17:54 |
lordcirth | Batoeh, just wait until 22.04 and then you can change /etc/update-manager/release-upgrades to "lts" | 17:54 |
Batoeh | Nah 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 |
Batoeh | Sorry that was my fault for not just using the version numbers | 17:55 |
lordcirth | Batoeh, 20.10 will be unsupported by the time 22.04 is out | 17:55 |
Batoeh | Oh 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 help | 17:56 |
oerheks | Batoeh, yes, basicly stick to LTS, and there is !HWE as extention.. | 17:56 |
oerheks | !hwe | 17:56 |
ubottu | The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack | 17:56 |
oerheks | stable, unless you really *need* new features | 17:56 |
flrnd | Batoeh: if that's not a critical system, can you re-install? | 17:56 |
flrnd | this is not a ideal solution by all means | 17:57 |
Batoeh | Cool 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 |
Batoeh | I am really hoping for pipewire to be great. | 17:59 |
Batoeh | !#! | 18:03 |
Batoeh | My apologies. | 18:03 |
=== [1]MrMobius is now known as MrMobius | ||
devslash | This 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 |
lordcirth | devslash, your default route is 192.168.1.1. Your DNS server may or may not be the same | 18:36 |
devslash | ok... | 18:37 |
devslash | I want to use a different one | 18:37 |
lordcirth | devslash, cat /etc/resolv.conf to see how DNS is configured | 18:37 |
devslash | how do i change it | 18:37 |
devslash | I thought that /etc/resolv.conf is not used any more | 18:37 |
lordcirth | It still exists for compatibility, and usually tells you how your DNS is being managed | 18:38 |
devslash | I also disabled systemd-resolved service in ubuntu I dont know if that matters much | 18:38 |
flrnd | well, if you don't know, you shouldn't :) | 18:40 |
devslash | what do you mean ? | 18:41 |
devslash | I 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 server | 18:42 |
summonner | just set DNS=192.168.x.x for the pihole in /etc/systemd/resolved.conf and bounce the service. easy peasy | 18:44 |
devslash | ok I added it to /etc/resolv.conf | 18:45 |
devslash | but the output of ip route is the same | 18:45 |
* summonner blinks | 18:46 | |
summonner | port 53 is a little different to a route table | 18:47 |
devslash | After the change I did systemctl restart systemd-networkd | 18:47 |
devslash | well how do I know if its using my pi hole | 18:47 |
summonner | cat /etc/resolv.conf | 18:48 |
Gigabitten | frickin 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/App | 19:18 |
Gigabitten | le_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 | ||
Gigabitten | It 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 |
Gigabitten | It is quite notable that I'm not on arch, which may screw with this. | 19:20 |
Gigabitten | I'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 ram | 19:42 |
tomreyn | the kernel did | 19:43 |
tomreyn | + initrd | 19:43 |
oerheks | maybe your onboard GPU snoops mem. | 19:43 |
beanbag- | tomreyn, ah I figured it had something to do with the image address | 19:44 |
beanbag- | I didn't think about initrd | 19:45 |
beanbag- | that's fine i'll just leave it on 512MB in the vm | 19:45 |
beanbag- | it works there and is not enough host ram to worry about losing | 19:45 |
beanbag- | it's just a vm to run a ups monitoring software then ssh into the hypervisor and execute a host shutdown | 19:46 |
oerheks | interesting.. 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 | ||
jbski | hi 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.128 | 20:08 |
jbski | if in 01-netcfg.yaml i set addresses to: 10.10.10.129/28 then i cant ping 10.10.10.128 | 20:08 |
jbski | because it thinks the network range is 10.10.10.129-143 | 20:09 |
jbski | when it should be 128-142 | 20:09 |
jbski | does anyone know how to accomplish this? thanks. | 20:09 |
jbski | so i want ubuntu18 to have ip 10.10.10.129 but be in the 10.10.10.128-142 network basically | 20:10 |
=== BrianG61UK__ is now known as BrianG61UK | ||
erle- | is there a way to install gnome-software-flatpak without snap? | 20:13 |
oerheks | erle-, no. | 20:13 |
sarnold | jbski: 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 |
oerheks | err, flatpak ? | 20:14 |
erle- | it feels like a desperate attempt to force snapd | 20:14 |
erle- | oerheks, it is not required on Debian | 20:14 |
oerheks | gnome-software-flatpak should be installed with the flatpak app? | 20:14 |
oerheks | mixing 2 things. | 20:14 |
erle- | gnome-software-flatpak via apt | 20:14 |
erle- | *gnome-software-plugin-flatpak | 20:15 |
jbski | yeah 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 128 | 20:15 |
jbski | *cant ping 129 i meant | 20:15 |
oerheks | oh, not an flatpak itself, yes indeed | 20:15 |
oerheks | !info gnome-software-plugin-flatpak | 20:15 |
ubottu | gnome-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 kB | 20:15 |
jbski | i guess my question is how do I set an IP in the middle of a given network | 20:16 |
oerheks | enable universe? | 20:16 |
jbski | it works great for /24 networks but I dont know how to do it for a /28 | 20:16 |
sarnold | jbski: 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 it | 20:16 |
leftyfb | jbski: ipcalc says the same thing. Your CIDR is invalid. 10.10.10.130/28 would still start the same usable ip as 128 | 20:16 |
leftyfb | jbski: install ipcalc and use it to run: ipcalc 10.10.10.129/28 # that should give you an idea | 20:17 |
jbski | yeah, 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, etc | 20:18 |
leftyfb | jbski: short answer, 10.10.10.128 is not usable in a /28 | 20:18 |
leftyfb | jbski: 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 /28 | 20:19 |
jbski | thanks 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 |
jbski | theres another host on the network that already has 128 | 20:21 |
jbski | i want to put this ubuntu machine on that same network with ip 129 | 20:21 |
jbski | but be able to ping 128 | 20:21 |
sarnold | assigning numbers in the middle of ranges is the *common* case, btw -- there's usually hundreds, sometimes thousands, of those :) | 20:21 |
jbski | its a public ip range /28 (16 ips) | 20:22 |
leftyfb | jbski: 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 |
jbski | i see | 20:22 |
jbski | i think i understand now, first usable ip is 129 | 20:22 |
leftyfb | correct | 20:22 |
jbski | sorry it took so long for me to grasp it, youre right, thanks for the patience | 20:23 |
sarnold | jbski: 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 network | 20:23 |
jbski | got it sarnold , thanks also | 20:24 |
leftyfb | sarnold: that won't matter in their case with the current issue of trying to use .128 | 20:24 |
leftyfb | !yy.mm | jbski, future reference when referring to Ubuntu versions: | 20:25 |
ubottu | jbski, 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-cycle | 20:25 |
sarnold | leftyfb: 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 |
leftyfb | sarnold: 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 |
leftyfb | sarnold: 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 CIDR | 20:27 |
Gigabitten | What 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 |
Gigabitten | Frankly not sure where to ask about such things! | 20:30 |
sarnold | Gigabitten: 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 replied | 20:31 |
Gigabitten | heck, thanks | 20:31 |
sarnold | Gigabitten: different distros use entirely different tools for generating initrds | 20:31 |
Gigabitten | oh geez, that'd explain why it's so different | 20:32 |
sarnold | Gigabitten: 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 stuff | 20:32 |
Gigabitten | cool | 20:32 |
leftyfb | Gigabitten: 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 exactly | 20:32 |
Gigabitten | I'm not sure either lol | 20:32 |
sarnold | leftyfb: re: invalid ip, aha! thanks :) | 20:33 |
Gigabitten | but 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 |
Gigabitten | But that means it's loading, right? | 20:34 |
Gigabitten | So why on earth isn't it doing things? | 20:34 |
leftyfb | Gigabitten: is the module loaded? "sudo lsmod" | 20:35 |
Gigabitten | yep, it's in the list | 20:35 |
Gigabitten | er, in "used by" it's got 0 listed | 20:36 |
Gigabitten | is that bad? | 20:36 |
sarnold | modules 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, etc | 20:36 |
sarnold | (this is a guess, I don't actually ahve one of whatever it is :) | 20:37 |
Gigabitten | hmmmm | 20:37 |
Gigabitten | well uh, in fairness, I've seen other people using this keyboard on linux without so much issue lol | 20:37 |
Gigabitten | oh, 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 anything | 20:39 |
Gigabitten | which validates your hypothesis a bit | 20:39 |
sarnold | back 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 parameters | 20:39 |
sarnold | I'd believe that; I would expect most things to just be usb these days | 20:40 |
Gigabitten | problem: I have no idea how any of this stuff actually works. | 20:40 |
sarnold | hehe | 20:41 |
Gigabitten | something something modprobe? | 20:41 |
sarnold | my 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 expected | 20:42 |
sarnold | I found the windows setting way easier to work with | 20:42 |
Gigabitten | well | 20:42 |
Gigabitten | they are both annoying | 20:42 |
Gigabitten | here's the thing | 20:42 |
Gigabitten | when I go into xev in windows mode, neither the fn key nor the ctrl key generates an event | 20:42 |
leftyfb | they won't | 20:43 |
Gigabitten | when I go there in apple mode, at least the fn key does - L_Control or whatever | 20:43 |
Gigabitten | and I was aware already that you could swap them | 20:43 |
leftyfb | they're keyboard modifiers at the BIOS level, they're not key presses | 20:43 |
sarnold | hmm, ctrl *should* show up in xev, it does for me, anyway | 20:43 |
sarnold | fn you're right, that probably doesn't show up in xev | 20:43 |
leftyfb | oh right, ctrl does, not fn though | 20:44 |
Gigabitten | yeah | 20:44 |
Gigabitten | but again, in windows mode, neither shows, and in apple mode, fn shows as lctrl | 20:44 |
Gigabitten | which is so weird | 20:44 |
leftyfb | I 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 |
Gigabitten | maybe there's some way to fix whatever's wrong with windows mode rather than the approach I'm currently taking? | 20:44 |
sarnold | Gigabitten: 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 into | 20:46 |
Gigabitten | hmmmmmmm | 20:47 |
Gigabitten | there is no first-party remapping for this keyboard | 20:48 |
Gigabitten | but let's see here | 20:48 |
reactDev843 | Helo | 20:48 |
Gigabitten | nope, 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 |
Gigabitten | how do you do that thing you mentioned where you let the module know to work with a certain device? | 20:52 |
Gigabitten | brb | 20:54 |
Gigabitten | I return | 20:55 |
sarnold | Gigabitten: I'm pretty sure I used fnmode and swap_opt_cmd from https://wiki.archlinux.org/index.php/Apple_Keyboard .. but that was ~decade ago | 20:56 |
JoeLlama | Time 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 |
Gigabitten | does rebooting regenerate initramfs or not? | 20:57 |
Gigabitten | I tried doing it manually rather than rebooting, and it swapped my super and command keys. | 20:58 |
Gigabitten | Which *is* an option, but not the option in my /etc/modprobe.d/hid_apple.conf?? | 20:59 |
Gigabitten | there's gotta be another conf file somewhere | 20:59 |
JoeLlama | is 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 | ||
Gigabitten | sarnold: 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 discriminate | 21:07 |
JoeLlama | okay guys, I wanna copy my environment from a xubuntu box to a new fresh install for xubuntu... what's the trick please? | 21:07 |
JoeLlama | doesn't have to have the programs that are installed | 21:07 |
Gigabitten | I've seen that page and even the "immediate" one doesn't work | 21:07 |
JoeLlama | just the desktop and panel and prefersneses etc | 21:07 |
sarnold | JoeLlama: probably moving your home directory across would do it.. but why the reinstall? | 21:09 |
sarnold | Gigabitten: is that module actually taking the hardware? | 21:09 |
JoeLlama | yeah that'\s what I thought sarnold | 21:09 |
JoeLlama | xubuntu lose power now things aren't working right :( | 21:09 |
Gigabitten | ...brb again | 21:09 |
JoeLlama | how do you fsck the same volume you are operating on? | 21:09 |
JoeLlama | Can I fsck on reboot? like it will schedule fsck on next bootup (like windows?) | 21:10 |
Gigabitten | anyway, how do I tell if it's actually grabbing my hardware? | 21:11 |
sarnold | Gigabitten: heh, good question :( I haven't found it yet.. | 21:11 |
oerheks | JoeLlama, no, use a live iso | 21:11 |
Gigabitten | geez, fair | 21:11 |
Gigabitten | it is an annoyingly messy problem | 21:11 |
=== JESS is now known as jess | ||
sarnold | JoeLlama: historically you could touch /forcefsck -- but it's probably better to use a liveimage | 21:12 |
Gigabitten | I 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 that | 21:14 |
Gigabitten | if it just generated an input event, this would have been fixed ages ago | 21:14 |
Gigabitten | xmodmap could have easily solved this | 21:14 |
sarnold | but 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, etc | 21:16 |
JoeLlama | oh oerheks oh! :) | 21:20 |
JoeLlama | and sarnold | 21:21 |
JoeLlama | ok liveimage gotcha | 21:21 |
bray90820 | Hey is thre a way to hide a mounted drive on the sidebar? | 21:21 |
bray90820 | Not all drives just one drive | 21:21 |
leftyfb | bray90820: mount it manually | 21:23 |
bray90820 | I was hoping to have it nounted with fstab | 21:23 |
bray90820 | What would you think of using x-gvfs-hide | 21:24 |
leftyfb | bray90820: I have no experience with it | 21:25 |
bray90820 | I'll try it and see what I get | 21:25 |
oerheks | dconf editor | 21:26 |
oerheks | org > gnome shell > extensions > dash-to-dock page, switching the show-mounts toggle to the off position. | 21:26 |
oerheks | .. so easy to find | 21:26 |
Gigabitten | oh my | 21:26 |
leftyfb | oerheks: that's for all drives, not just 1 | 21:26 |
Gigabitten | I... seem to have gotten it? | 21:26 |
Gigabitten | sor tof. | 21:26 |
Gigabitten | only sort of. | 21:26 |
=== thebope is now known as thebear | ||
oerheks | drives will show up anyway in filemanager | 21:27 |
bray90820 | oerheks: that does all drives not just one | 21:28 |
bray90820 | But thanks for trying | 21:28 |
oerheks | do so, and add manually those drives you want to be visable | 21:28 |
Gigabitten | sarnold: 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 then | 21:29 |
Gigabitten | update-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 |
Gigabitten | How do I make this persistent? | 21:29 |
sarnold | Gigabitten: awesome! | 21:30 |
sarnold | Gigabitten: 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 similar | 21:31 |
Gigabitten | oh! of course. | 21:31 |
Gigabitten | restarting | 21:32 |
=== thebear is now known as thebope | ||
Gigabitten | That did not work. | 21:34 |
Gigabitten | It'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 |
Gigabitten | somehow, the config file just isn't getting picked up | 21:38 |
Gigabitten | the config file isn't getting picked up, and simultaneously, the default is wrong for me | 21:39 |
sarnold | hmm :( I wonder why that didn't work :( | 21:39 |
Gigabitten | But this is *close.* | 21:40 |
Gigabitten | Worst case, I set up a script to do those commands for me. | 21:41 |
Gigabitten | ...Actually | 21:41 |
Gigabitten | it might do fine to just blacklist hid_apple | 21:42 |
Gigabitten | brb | 21:43 |
Gigabitten | heh, worth a try | 21:45 |
Gigabitten | oh well | 21:45 |
Gigabitten | for some reason it seems like my /etc/modprobe.d just isn't getting loaded at all | 21:45 |
Gigabitten | when I tried `modprobe -r hid_apple` before, my keybaord didn't work in apple mode | 21:46 |
sarnold | Gigabitten: 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 |
Gigabitten | sarnold: hate to say it, but how do you regenerate the initrd? | 21:47 |
Gigabitten | wait - | 21:48 |
Gigabitten | I thought the initramfs and the initrd were like | 21:48 |
Gigabitten | the same sorta thing | 21:48 |
sarnold | they are, I don't even know which term is used in debian/ubuntu land despite using it for ages.. | 21:49 |
Gigabitten | ah fair | 21:49 |
Gigabitten | well I can just regenerate it with update-initramfs -u right? | 21:49 |
sarnold | yeah | 21:49 |
Gigabitten | no dice | 21:49 |
Gigabitten | guess I'll go set it up so that the configuration happens when hid_apple is already running lol | 21:50 |
Gigabitten | just run a script, ez | 21:50 |
pasiz | initrd != initramfs | 21:51 |
erle- | but you have either one or the other | 21:51 |
Gigabitten | my figuring is that since update-initramfs did something, that's the one I have | 21:51 |
pasiz | yes... i might have ferrari or fiat... | 21:51 |
flrnd | both have wheels, so win win :P | 21:52 |
pasiz | initrd uses ramdev, initramfs uses tmpfs | 21:52 |
Gigabitten | alright so I've noticed something a bit... odd | 21:52 |
Gigabitten | I've been doing something possibly inadvisable to make this work | 21:53 |
Gigabitten | if 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 |
Gigabitten | I was only able to make it happen with sudo su lol | 21:53 |
Gigabitten | a 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 |
pasiz | on startup everything is executed as superuser | 21:55 |
Gigabitten | okay, better question then, how do I get some stuff to execute after modules load? | 21:56 |
pasiz | Gigabitten: on user login or where? | 21:56 |
Gigabitten | um, I suppose as late as possible would be fine. | 21:56 |
oerheks | https://wiki.ubuntu.com/SystemdForUpstartUsers | 21:56 |
sarnold | pasiz: oh, thanks :) hehe | 21:57 |
pasiz | sarnold: ?? | 21:57 |
sarnold | pasiz: 'initrd is ramdisk' | 21:58 |
pasiz | yes, and initramfs is a ramdisk | 21:58 |
pasiz | but they work differently | 21:59 |
pasiz | both do the same job | 21:59 |
Gigabitten | alright, hopefully this works | 22:00 |
pasiz | at 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 | ||
Gigabitten | sarnold: 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 I | 22:15 |
Gigabitten | unblacklist 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 |
Gigabitten | Or maybe, why they stopped loading for a while? | 22:16 |
sarnold | Gigabitten: 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 root | 22:17 |
Gigabitten | huh | 22:18 |
Gigabitten | that seems potentially plausible | 22:18 |
Gigabitten | but I don't remember how I wrote or rewrote every file | 22:18 |
Gigabitten | so I don't think I'll ever know if it's correct | 22:18 |
Gigabitten | I do know that a lot of random crap got changed leading up to the critical reboot | 22:19 |
Gigabitten | whatever the case, I'm glad this hours-long clusterfuck is now over and I can have a working keyboard | 22:19 |
Gigabitten | I'm an emacs user, for christ's sake, I'd have to relearn so much muscle memory if my ctrl key got moved lol | 22:20 |
Gigabitten | thanks for your help - I learned a lot, and I jiggled something to fix it somewhere in there as a result of it | 22:20 |
sarnold | Gigabitten: hah, you just gave me some fear.. I'm a vim user, what if escape suddenly didn't work? | 22:25 |
sarnold | how would I ever fix it? | 22:25 |
Gigabitten | heh. I guess you'd just have to buy a new keyboard or something at that rate. | 22:26 |
Gigabitten | I'd definitely suggest having a backup handy. | 22:26 |
sarnold | yeah, cause I couldn't figure out pico well enough to fix it | 22:29 |
westor | hello , any one has any idea how can i fix that error ? https://paste.ubuntu.com/p/TXDGM7VxgQ/ | 22:33 |
westor | it's there when 'apt update' | 22:34 |
sarnold | westor: look around the yarn website for an updated key that you can install | 22:35 |
guiverc | westor, is the URL correct? I get 404 | 22:43 |
westor | yeah no clue really, just wanna find a way how-to correct that url or remove it | 22:44 |
westor | to fix not getting that error anymore | 22: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 |
oerheks | westor, what guide did you follow? | 22:45 |
oerheks | with the part to add the key properly? | 22:46 |
westor | it 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 |
oerheks | looks like you never installed a package, nor updates for a while | 22:47 |
westor | yeah maybe you're right | 22:48 |
westor | if you having any fix please so i can get rid of that error | 22:48 |
oerheks | sure they give a guide howto install that repo and key? | 22:51 |
oerheks | just checked, they provide no deb on our repos, nor a snap package | 22:52 |
westor | right, so the only solution is to remove it from 'apt update' to avoid getting that error ? | 22:53 |
leftyfb | westor: remove the yarn repo from /etc/apt/sources.list.d/ | 22:54 |
westor | how can i do that via command sir ? if you can please give me that command, thanks | 22:55 |
oerheks | cd /etc/apt/sources.list.d/ perhaps? | 22:56 |
oerheks | and rm the nasty .list | 22:56 |
westor | not any 'yarn' .list is there | 22:57 |
oerheks | horrible, maybe they added themselves to the sources.list itself. | 22:58 |
oerheks | 'the old way' | 22:58 |
westor | yeah there is one: longsleep-ubuntu-golang-backports-focal.list | 22:59 |
westor | but thats related on golang | 22:59 |
Netsrot | Hi,in gtk3 apps: how do I move the open and save buttons back down? The have moved to the title bar. | 22:59 |
oerheks | westor,indeed, a proper ppa https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports | 23:00 |
oerheks | check the end of /etc/apt/sources.list itself | 23:00 |
westor | yeah, i am too starter on this so maybe i just followed a guide that shouldn't | 23:00 |
oerheks | no worries | 23:01 |
westor | # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse | 23:01 |
westor | deb https://dl.yarnpkg.com/debian/ stable main | 23:01 |
oerheks | good | 23:01 |
oerheks | put a # in front | 23:02 |
westor | ok | 23:02 |
westor | nice | 23:02 |
oerheks | sudo apt update && sudo apt full-upgrade | 23:02 |
oerheks | and you want to reboot after the fresh kernel | 23:02 |
Netsrot | I think I need to change gtk-dialogs-use-header but I don't know how. | 23:03 |
westor | yeah, thanks a lot my friend for helping me out, god bless you. | 23:03 |
oerheks | have fun! | 23:03 |
oerheks | Netsrot, gnome-tweak-tool can handle some settings, max/min left or right | 23:04 |
oerheks | !info gnome-tweak-tool | 23:04 |
ubottu | gnome-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 kB | 23:04 |
Netsrot | oerheks: I haven't found that option there. | 23:11 |
oerheks | Netsrot, oh, i think that is called global menu | 23:17 |
oerheks | nope, that setting is gone | 23:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!