snake | hello, my kubuntu has been starting up slowly. it used to also have problems with network connection until i reboot. i think i resolved that but the bootup is still really slow. | 00:16 |
---|---|---|
snake | the only thing i can think that might have caused it to slow down is when I added my hard drives to be mounted automatically using systemd | 00:16 |
oerheks | run systemd-analyze blame # to see what takes up time | 00:20 |
oerheks | you can be right adding extra mounts | 00:21 |
snake | this is the result: 4.960s systemd-udev-settle.service 4.526s NetworkManager-wait-online.service 2.496s fwupd-refresh.service 914ms fwupd.service | 00:22 |
snake | oh i didnt disable the mounts before.. i actually just ran the enable command again >.> | 00:25 |
snake | guess i'll just try to use fstab instead? | 00:25 |
oerheks | auto mounts belong in fstab, yes | 00:28 |
=== Barry is now known as rwrv | ||
causative | is it possible to make it so when I press ctrl+uparrow, it sends a page up? | 01:06 |
causative | my kbd has page up and page down in inconvenient places | 01:06 |
xangua | causative: did you try with keyboard shortcut settings? | 01:14 |
causative | well I would need a "command" that does pageup | 01:19 |
causative | I don't know if that can be done | 01:19 |
Deihmos | Doesn’t Ubuntu lts only offer security updates? I’m seeing non-security updates | 01:21 |
Deihmos | Never mind | 01:28 |
anon143 | causative: sudo apt-get update && sudo sudo apt install xdotool -f -y; | 01:32 |
anon143 | causative: Step 2: Create a Custom Shortcut in Ubuntu | 01:33 |
anon143 | Open the Settings application. | 01:33 |
anon143 | In the Settings window, navigate to Keyboard and then go to the Shortcuts tab. | 01:33 |
anon143 | Scroll down to the bottom and click on + (Add Custom Shortcut). | 01:33 |
anon143 | In the Name field, give your shortcut a name, like "Page Up Shortcut". | 01:33 |
anon143 | caustative: or just build your own key faker:... #include <X11/Xlib.h> | 01:35 |
anon143 | #include <X11/extensions/XTest.h> | 01:35 |
anon143 | #include <unistd.h> | 01:35 |
anon143 | int main() { | 01:35 |
anon143 | // Open a connection to the X server | 01:35 |
anon143 | Display *display = XOpenDisplay(NULL); | 01:35 |
tomreyn | anon143: please stop pasting to this channel. thank you. | 01:37 |
causative | well I took his idea and tried making a shortcut for xdootool key 81 to pageup | 01:41 |
causative | but it doesn't work | 01:41 |
tomreyn | chances are you aren't running Xorg | 01:46 |
causative | no, I am | 01:46 |
causative | xdotool key 81 does have the effect of a page up when I run it from the cmd line | 01:47 |
causative | but it doesn't work as a shortcut | 01:48 |
causative | it does do *something* as a shortcut, but not pageup | 01:50 |
causative | the cursor kind of blinks for a moment | 01:50 |
causative | ah I got it, the trick is xdotool sleep 0.2 key 81 | 02:02 |
causative | otherwise the shortcut program has the keyboard focus so the pageup doesn't get sent to where I want it | 02:03 |
causative | and the other trick is to press the key combo very quickly and release it | 02:04 |
causative | I think it has to be released within that 200 ms window | 02:04 |
causative | and it's really not very good because you can't pageup/pagedown in quick succession, there has to be a slight but significant delay | 02:33 |
causative | it's actually terrible, worse than nothing, because sometimes it directs the pageup/pagedown to a different window | 02:51 |
causative | or maybe that's just some weird quirk of emacs. anyway I would not recommend this | 03:00 |
=== fling_ is now known as fling | ||
pzerone | Hello, i have an ubuntu server VM running on proxmox with couple of services. had to take a manual backup so i stopped it and copied the .qcow2 file. but the VM no longer boots after this. systemd shows a lot of services failed and ends in "uninitialized random read". The recovery mode also will not work, its service fail to start. tried to chroot into it and read logs but there are no error logs i can | 04:08 |
pzerone | see. just the shutdown logs and my application logs. any idea on what could be going wrong? | 04:08 |
pzerone | also, fsck did not report any errors | 04:08 |
pzerone | its on bios mode. not uefi | 04:09 |
tomreyn | pzerone: consider installing haveged or work out another way to get entropy into that host. | 04:17 |
pzerone | will an apt install haveged on chroot suffice? | 04:19 |
tomreyn | pzerone: you need to install it on the virtualization host | 04:22 |
tomreyn | your issue there seems to be entropy pool depletion, at least based on the little info we have so far. | 04:26 |
tomreyn | normally this should not occur since kernel 5.6, though, so i'm not sure what causes it for you. | 04:27 |
tomreyn | maybe the host runs something older | 04:27 |
pzerone | host runs 6.8 | 04:29 |
pzerone | proxmox 8.2 based on debian 12 | 04:29 |
pzerone | tried installing haveged on host. proxmox has this option to pass virtiorng-pci device to the guest. tried both. did not help | 04:31 |
pzerone | the error message begins from "failed to apply kernel variables" and then a bunch of failed services. and then ends in this uninitialized random read. | 04:32 |
tomreyn | check the systemd jopurnal on the guest then to see what's actually going wrong | 04:32 |
pzerone | journalctl -b -1 erros out. there is only 1 boot entry --all returns some openssh errors | 04:34 |
tomreyn | if mounting the guest file system from outside the chroot, use journalctl --directory /path/to/mountpoint/var/log/journal | 04:35 |
tomreyn | ...replacing /path/to/mountpoint by the path to where you mounted the guests' root file system | 04:35 |
tomreyn | also check that the guest file system hasnot run full and that its date was correct | 04:35 |
tomreyn | finally, also check the VM hosts' system logs for errors regarding storage | 04:36 |
pzerone | journal show a clean shutdown: "Reached target System poweroff" the filesystem is not corrupt according to fsck neither is it full. 26GB out of 100 used. | 04:42 |
pzerone | I swithed the hosts to another proxmox server to see if it was the host. its not.. | 04:43 |
tomreyn | without a kernel log, i don't think i will come up with more suggestions, you can try asking in #ubuntu-server, too | 04:47 |
tomreyn | double-check that you are running an official ubuntu kernel image and have an up to date ubuntu installation on the guest before you do | 04:48 |
pzerone | I can share it. dmesg file or syslog file? | 04:49 |
pzerone | its running 22.04 LTS | 04:49 |
tomreyn | understanding how the services are failing during boot should help getting a better idea of what may be wrong. | 04:50 |
pzerone | I tried screen recording the boot process. its too fast for the qemu display output | 04:51 |
=== cambam100561 is now known as cambam10056 | ||
agassi | hi | 04:56 |
=== mrpond2 is now known as mrpond | ||
=== PasiZ4 is now known as PasiZ | ||
Metro42 | do you need to add a apt sources directory to install python3-venv | 08:38 |
Metro42 | .. | 08:38 |
=== mrpond3 is now known as mrpond | ||
Metro42 | hello. | 08:41 |
PeGaSuS | usually, no. you just need to `apt install python3-venv` | 08:55 |
=== root is now known as Guest5299 | ||
Metro42 | ok | 09:10 |
Metro42 | thanks. pegasus | 09:10 |
pagios | hi guys, should i be able to connect to a vm serial console even when it s OFF? meaning i connect to serial and then boot VM ? | 09:38 |
magnulu | my auth.log file suddenly changed from nicely formatted date and time to not so nicely (IMO!) formattet datetime: https://dpaste.com/HVM8YCYB5 - I think this arose when updating from 22.04 to 24.04 | 10:09 |
magnulu | how can I change this behaviour? | 10:09 |
Yogaum60000 | 안녕 | 10:13 |
Yogaum60000 | write me in korean | 10:13 |
magnulu | 'journalctl' har the correct, simplified date and time format I am looking for :) | 10:16 |
=== kentucky444243 is now known as kentucky44424 | ||
mgedmin | curious | 10:31 |
mgedmin | is the date format in legacy log files determined by rsyslogd or by systemd-journald that forwards those logs to rsyslogd? | 10:32 |
tesseract | guys, i am getting this failure when i want to install upgrades on ubuntu 24.04. it says "The following upgrades have been deferred due to phasing" | 10:36 |
tesseract | i am using ubuntu on raspberry pi 5 | 10:37 |
waveform | tesseract, that's not a failure -- that's indicating that those updates are available but are being gradually rolled out across ubuntu users | 10:38 |
waveform | (and your machine hasn't been selected *yet* for that particular update) | 10:38 |
tesseract | waveform: so, should leave it as it is, and wait? | 10:39 |
waveform | up to you -- you can force phased updates to install straight away with some apt config. But be aware if there's a bad update (which we would hopefully spot early with phasing, which would then be paused) you'll get it straight away | 10:40 |
waveform | on my main development Pi I do indeed run without phasing (install all updates immediately), but then as one of those responsible for pushing such updates I do feel some responsibility to install them immediately and deal with the consequences if they're bad :) | 10:41 |
waveform | personally I would recommend you just ignore it -- take it as a notice that these updates will be coming fairly shortly (phasing of updates usually lasts a week IIRC) | 10:42 |
tesseract | waveform: i see. i am going to wait it then | 10:42 |
tesseract | waveform: it will be fixed by itself after some time, right? | 10:43 |
tesseract | i didn2t understand that part | 10:43 |
waveform | correct -- the phasing will gradually ramp up to 100% and at some point during that your machine will install those updatese | 10:44 |
tesseract | great | 10:44 |
tesseract | ok i am gonna wait | 10:44 |
tesseract | thanks | 10:44 |
arkanoid | on my ubuntu 24.04 box, "pkg-config --variable pc_path pkg-config" returns "/usr/local/lib/i386-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig" | 11:43 |
arkanoid | that does not include "/usr/lib/x86_64-linux-gnu/pkgconfig" | 11:43 |
arkanoid | for example "dpkg -S gtk+-3.0.pc" returns "libgtk-3-dev:amd64: /usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-3.0.pc" | 11:44 |
mgedmin | arkanoid: do you perchance have pkgconfig:i386 installed instead of pkgconfig:amd64? | 11:56 |
BluesKaj | Hi all | 12:11 |
veltas | After an unattended update to openssh-server this morning my SSH daemon config was broken, SSH no longer accessible. I think it's because I had a non-default socket listed. | 12:49 |
veltas | The technique at bottom of this post fixed things for me https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 | 12:49 |
veltas | I don't know why things have changed, I think looking at my config the deamon should have been started regardless, so something surrounding this has changed subtly | 12:50 |
veltas | "openssh-server (1:9.6p1-3ubuntu13.7) over (1:9.6p1-3ubuntu13.5)" | 12:51 |
veltas | I think this was the upgrade that broke things | 12:52 |
mgedmin | did you configure your non-standard socket in sshd_config, sshd_config.d/, or a systemd config dropin? | 12:53 |
veltas | It was in sshd_config, and had been working until that upgrade as far as I know | 12:53 |
veltas | Also sshd wasn't running, so looks like somehow it converted me to a socket-based activation, even though I was not socket-based prior AFAIK | 12:54 |
mgedmin | what ubunu version? 24.04? | 12:54 |
veltas | Yep | 12:54 |
mgedmin | yeah, upgrades are supposed to convert to socket activation afaiu, but they're also supposed to parse sshd_config to get the port number | 12:54 |
veltas | Didn't this 'upgrade' happen a long time ago though? | 12:55 |
mgedmin | and unattended upgrades are not supposed to override modified config files | 12:55 |
mgedmin | whenever you upgraded to 24.04, and apparently it worked until recently | 12:55 |
veltas | Exactly | 12:55 |
mgedmin | so I'm very curious to know what exactly happened, before this happens to me | 12:55 |
veltas | This is my concern, I think something's broken the patched config for a non-default socket | 12:55 |
mgedmin | the way things are supposed to work is there's a systemd generator that parses sshd_config and writes a /run/systemd/system/sshd.socket.d/override.conf or something like that | 12:56 |
veltas | I think I might be wrong about what I said actually, for all I know I could have been on socket-based activation, because it worked seamlessly before | 12:56 |
mgedmin | that overrides the ListenStream=... directives using the port it extracted from your sshd_config | 12:56 |
mgedmin | this generator runs every time you run systemctl daemon-reload, AFAIU | 12:56 |
veltas | But I do know that disabling socket-based activation has fixed things today | 12:56 |
veltas | Okay | 12:56 |
mgedmin | did you check with netstat -tl/ss -tl to see whether anything was listening on your custom ssh port? | 12:57 |
veltas | No, didn't know about those until you showed them right now | 12:58 |
mgedmin | ah, sad | 12:58 |
veltas | systemctl status sshd said it was listening on my custom port | 12:58 |
mgedmin | I thought you said sshd wasn't running? | 12:58 |
veltas | So it definitely knew what it was meant to do, but somehow didn't work with socket-based activation | 12:58 |
veltas | mgedmin: Sorry, wasn't running, and then I forced it to run and it said the custom port in status | 12:58 |
veltas | And systemctl complained about socket dependencies or something which was noise to me, but would have clued an expert in that it's meant to be socket-based activation | 12:59 |
veltas | Anyway yes I'm no sysadmin, but I do have an Ubuntu server and thought I'd report this issue because it seems like it might hit a number of people | 13:03 |
mgedmin | that's a good thought, although irc might not be usefully permanent | 13:03 |
veltas | What's the best place to submit this? | 13:04 |
mgedmin | ubuntu-bug openssh-server would be better | 13:04 |
mgedmin | (from the server where this happened) | 13:04 |
mgedmin | ubuntu-bug will collect the relevant information (package versions, log entries) and give you a link you can click and finish reporting the bug in a browser | 13:04 |
mgedmin | (it offers to launch a browser for you automatically, which is not very useful when you're reporting from a remote server over ssh with no browser installed on the server itself) | 13:05 |
veltas | Does that need X? | 13:05 |
mgedmin | no | 13:05 |
veltas | Should I run as root? | 13:05 |
mgedmin | normally no | 13:05 |
mgedmin | some packages have apport hooks for collecting information that needs root, but you get asked for a password in those cases (either sudo or polkit, I don't remember) | 13:06 |
veltas | Under SSHDConfig report it's said "Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 1: sshd: no hostkeys available -- exiting." | 13:07 |
mgedmin | maybe it does need root, but the apport-hook doesn't have that flag set? | 13:08 |
mgedmin | I get the same when I run sshd -T here (but get a dump of the full sshd config if I run sudo sshd -T) | 13:08 |
veltas | Ah right, thought it might have been an issue with my config | 13:09 |
kpn | hello. i'm having trouble setting up fingerprint recognition on my laptop. i made sure that i'm on 24.04, but when i go the my profile's settings, the option for setting up the fingerprint scanner disappears after a fraction of a second. any help? | 13:25 |
veltas | mgedmin: Okay thanks, I've uploaded a report https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2087551 | 13:25 |
-ubottu:#ubuntu- Launchpad bug 2087551 in openssh (Ubuntu) "OpenSSH server config broken on unattended update" [Undecided, New] | 13:25 | |
veltas | Hopefully doesn't die, I didn't put config in there but just described the fact my port was different. I don't really want to put my whole config out there, and it's working right now anyway after applying the referenced workaround. | 13:26 |
=== Awoobis is now known as gAy_Dragon | ||
=== lucascarl71 is now known as lucascarl70 | ||
mgedmin | nice things I can't have: a bash-compatible shell that recognizes terminal FocusIn events and redraws the prompt, reevalutating $PS1, so I always get an up-to-date git status in my shell prompt | 14:06 |
leftyfb | mgedmin: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | 14:10 |
aronas | hello | 16:06 |
rtch | o/ | 16:07 |
aronas | this chat is dead | 16:07 |
leftyfb | aronas: it's a support channel | 16:07 |
leftyfb | aronas: what can we help you with? | 16:08 |
aronas | oh, thanks! i didnt know. | 16:08 |
aronas | nothing, im fine | 16:08 |
rtch | Sorry the multiple disconnect. Setting up my bouncer. Not been around IRC since Freenode and I missed everyone. | 16:11 |
kut | maybe it's nice that no one is in immediate need of help | 16:12 |
kut | #ubuntu-offtopic is more chatty | 16:12 |
Guest5 | hi | 16:21 |
kut | hello, do you need help? | 16:21 |
samsam57 | hi | 16:21 |
kut | yes hello | 16:23 |
din0 | Looking for some guidance on where to ask this question, here or with curl maintainers -- I have a game on steam that requires libcurl4. Launching the game directly works perfectly fine, but launching through Steam throws 1 of 2 errors: If I override the LD_LIBRARY_PATH to use local lib paths, the error is "symbol lookup error" "undefined symbol: curl_multi_wakeup ...". If I use Steam native | 16:24 |
din0 | lib paths, I get {steam/libpath}/pinned_libs_64/libcurl.so.4: version `CURL_OPENSSL_4` not found | 16:24 |
din0 | This had worked in the past, overriding the library path to avoid Steam using its older libraries in favor of the system-installed ones, but an update in Steam has changed something and broke the workaround | 16:25 |
rtch | @din0 There is a #gaminonlinux channel that may yeild better results for this topic. | 16:28 |
rtch | #gamingonlinux * | 16:28 |
din0 | Yeah I might try there... it's sort of a steam/general linux/c library/linker/shell combo problem | 16:29 |
magnulu | mgedmin, rsyslogd was the way to go, got my desired results by adding "$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat" to /etc/rsyslogd.conf (thanks to https://www.baeldung.com/linux/syslog-change-date-format) | 16:53 |
mgedmin | cool | 17:22 |
tomreyn | pagios: depends on implementation. not all virtual serial consoles are equal. | 17:27 |
tomreyn | amongst those i've worked with the answer would have been 'no', though, unless you put a fifo in front | 17:28 |
aronas | Hello users, do you need help? #ubuntu is the official support channel. | 18:24 |
aronas | well i want to help out, soo | 18:25 |
oerheks | hi aronas, just wait and see if someone comes in | 18:25 |
oerheks | oh | 18:25 |
lotuspsychje | that was quick support :p | 18:26 |
aronas | Oh hey | 18:26 |
leftyfb | aronas: if you'd like to chat, feel free to /join #ubuntu-offtopic | 18:26 |
aronas | :Okay thanks | 18:26 |
oerheks | :-) | 18:27 |
=== EriC^^ is now known as Guest8304 | ||
Guest3924 | filed https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2042043 a while ago but haven't gotten any triage response on it and still seeing in oracular. any advice on routing to the right package and/or people to get help triaging it? | 19:42 |
-ubottu:#ubuntu- Launchpad bug 2042043 in linux (Ubuntu) "system boot freeze while typing crypt password" [Undecided, New] | 19:42 | |
oerheks | pretty old bugreport, 2023/23.10 .. | 19:46 |
tomreyn | well, it never got triaged | 19:48 |
tomreyn | Guest3924: your chances of getting it triaged now will indeed be better if you can re-report from a fully updated system running, ideally, and LTS release. | 19:50 |
tomreyn | ideally also do bios updates and discuss whether the system is stable otherwise | 19:50 |
tomreyn | !bootlog | 19:50 |
ubottu | To show errors during boot and shutdown, edit the kernel command line: https://wiki.ubuntu.com/Kernel/KernelBootParameters and replace "quiet splash" by "debug systemd.log_level=info". Disable "Full screen logo" and "Fastboot" options in your BIOS setup, or hit 'Esc' when the logo shows on power up. | 19:51 |
Guest3924 | ie, file a new bug? all the symptoms are identical and once i get the crypt password entered everything is fine | 19:51 |
tomreyn | yes, i'm suggesting to file a new bug report, using ubuntu-bug linux and to refer to the other bug report from there, but repeating all the key facts. | 19:52 |
Guest3924 | will do, thanks | 19:52 |
tomreyn | i'm not guaranteeing that you'll have more luck with it getting tirage this time, though | 19:52 |
tomreyn | but you could also ask about it in #ubuntu-kernel once you filed it | 19:52 |
tomreyn | (with muuuuch patience) | 19:53 |
tomreyn | Guest3924: if you want to dig deeper: https://wiki.ubuntu.com/Kernel/Debugging https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks | 19:55 |
tomreyn | !register | Guest3924 | 19:56 |
ubottu | Guest3924: For information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera | 19:56 |
=== Guest3924 is now known as jjjoooeee | ||
=== JanC is now known as Guest3452 | ||
=== ravage1 is now known as ravage |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!