=== Sidewyz1 is now known as Sidewyz | ||
jjakob | hmm, a problem after release upgrading 22.04 to 24.04, ssh.service isn't starting, says "ssh.socket: Failed to create listening socket (192.0.2.2:22): Address already in use" | 00:51 |
---|---|---|
jjakob | when ss -tulpn or lsof :22 show no results | 00:51 |
jjakob | lsof -i :22 | 00:52 |
leftyfb | jjakob: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 | 00:53 |
jjakob | found the issue, /run/systemd/generator/ssh.socket.d/addresses.conf created by sshd-socket-generator had two conflicting ListenStream definitions, it pulled the "ListenAddress 192.0.2.2; ListenAddress ::" from my sshd_config.d/listenaddress.conf and wrongly converted them to ListenStream | 00:58 |
jjakob | my old config was listening on just one v4 address but all v6 addresses | 00:58 |
sarnold | that seems like it's worth a bug report :) would you mind? | 00:59 |
sarnold | ubuntu-bug openssh-server will probably do the thing | 00:59 |
jjakob | will do, I already checked lp and doesn't seem like it's been reported yet | 01:01 |
jjakob | hmm, after disabling ssh.socket and enabling/starting ssh.service, it's listening on *:22, seems like my config wasn't doing what I wanted it to | 01:06 |
Siamaster | Hi, my backup disk is not mountable, please help :'( | 01:34 |
Siamaster | I have dual boot, so when I was restarting windows it sounded like it hanged, and now when I log in to ubuntu I can see my 4tb disk in "Disks" but it says disk ok, one bad sector | 01:35 |
Siamaster | and it's not in Files to be mounted as usual | 01:35 |
leftyfb | Siamaster: what is the filesystem? | 01:36 |
Siamaster | the linux one I think, but i'm not sure | 01:36 |
Siamaster | it's not ntfs | 01:36 |
Siamaster | How can I find out? | 01:36 |
leftyfb | so what does restarting Windows have to do with it? | 01:36 |
Siamaster | It was first now this problem came | 01:37 |
leftyfb | Siamaster: you didn't have the drive mounted in Windows right? | 01:37 |
Siamaster | no | 01:37 |
Siamaster | In disks, it says unkown partition | 01:37 |
Siamaster | the disk was almost full | 01:38 |
leftyfb | that's not good | 01:38 |
Siamaster | oh cmon don't be like that | 01:38 |
Siamaster | any ideas? | 01:38 |
leftyfb | not with "unknown partition" | 01:39 |
leftyfb | that's hours of potentially fruitless work | 01:39 |
Siamaster | what was the name of that program test something? | 01:39 |
leftyfb | testdisk | 01:39 |
Siamaster | ty | 01:40 |
Siamaster | is there no tool to run that may repair this? | 01:43 |
sarnold | oh dang, I'd never heard of testdisk before, it sounds cool | 01:43 |
leftyfb | Siamaster: I don't see how a GUI would help in this situation | 01:44 |
Siamaster | hmm, okay, doesn't need to be gui? | 01:44 |
leftyfb | no | 01:45 |
leftyfb | Siamaster: mind you, testdisk isn't a silver bullet for failed drives | 01:45 |
leftyfb | it's a last ditch effort | 01:45 |
Siamaster | I know, but I had some luck with it once | 01:45 |
Siamaster | But how else can I recover data? | 01:46 |
Siamaster | there should be a way | 01:46 |
leftyfb | there should be a way to do what? Recover files from a failed drive? | 01:47 |
Siamaster | yes? testdrive is able to tell how much was allocated , 3760gb of 4000 which is correct | 01:47 |
Siamaster | lefyfb don't ditch me at this state, I'm having a heart attack | 01:53 |
=== powersurge3604 is now known as powersurge360 | ||
=== lucenera9 is now known as lucenera | ||
Siamaster | o my god I can't find the partition!! | 02:14 |
Siamaster | plz someone say something hopeful!! | 02:14 |
Siamaster | Why does a partition suddenly become corrupt? | 02:15 |
=== ryuu5 is now known as ryuu | ||
Siamaster | helllo? :) :'( | 02:27 |
Siamaster | I'm out of ideas, how can a partition suddenly become corrupt? | 02:27 |
Siamaster | I sweat it was Windows doing this even if it wasn't mounted there | 02:28 |
Siamaster | swear* | 02:28 |
Siamaster | But as long as testdisk recognizes size there should be hope right? | 02:28 |
Siamaster | do you think any professionals can do this? or am I'm out of options? | 02:28 |
sarnold | Siamaster: drives die, unclean shutdowns or missing ejects can corrupt them, etc | 02:28 |
Siamaster | and there is no hope for recoverY? | 02:29 |
sarnold | Siamaster: if it were me, I'd make a clone of the drive with dd and do all my work on a copy of that clone | 02:29 |
sarnold | it depends on what broke | 02:29 |
sarnold | certainly there are professional data recovery firms | 02:29 |
Siamaster | I do have another 8tb disk | 02:30 |
Siamaster | but it contains part of the backup | 02:30 |
Siamaster | I should buy a new disk and dd to that | 02:30 |
Siamaster | but will I be able to browse it ? | 02:31 |
sarnold | it depends how busted it is | 02:31 |
Siamaster | How do I know how busted it is? how can I get more info? the disk is recognized, but the partition is not | 02:32 |
Siamaster | the size of the partition is recognized in testdisk | 02:32 |
Siamaster | it says "disk ok, one bad sector" | 02:32 |
sarnold | i've never used testdisk but if it's right that's very encouraging | 02:33 |
Siamaster | what else can I do right now? | 02:34 |
Siamaster | to get info | 02:34 |
sarnold | if it were my problem, I'd run dmesg -w in one terminal while running dd if=/dev/whatever of=/dev/null and see if there's any errors printed while reading the whole drive | 02:35 |
sarnold | while that's going on, I'd be buying big enough hard drives to store a few copies of it | 02:36 |
Siamaster | dd if=/dev/whatever of=/dev/null is that safe to run? | 02:37 |
sarnold | if you type it exactly correctly | 02:37 |
sarnold | if you make a mistake it is very unforgiving | 02:38 |
Siamaster | the disk is recognized as sdb when I run lsblk but there's no partitions | 02:38 |
Siamaster | so what do I run exactly? what's the dd command? | 02:38 |
sarnold | dd if=/dev/sdb of=/dev/null | 02:39 |
Siamaster | I'm already seeing some errors: [ 708.102367] I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 | 02:39 |
Siamaster | [ 708.102377] Buffer I/O error on dev sdb, logical block 0, async page read | 02:39 |
sarnold | dd moves data from the 'input file' to the 'output file' | 02:39 |
sarnold | oh that's no good | 02:39 |
Siamaster | don't say just like that and not anything more.. | 02:40 |
Siamaster | is it not recovarable? | 02:40 |
sarnold | dd also gives up on the first sign of trouble, so you need a different tool to make your clone .. | 02:41 |
sarnold | so I'm trying to find the thing I've used in the past | 02:41 |
tr0n | can anybody read this? | 02:41 |
Siamaster | ok thanks <3 | 02:41 |
sarnold | tr0n: pong | 02:41 |
tr0n | if so, woohoo! | 02:41 |
enigma9o7 | clonezilla? | 02:41 |
tr0n | \o/ I finally got static IPs working for the first time in years. | 02:41 |
enigma9o7 | tr0n: i dunno, what is it supposed to say? | 02:41 |
Siamaster | btw, I didn't run the dd command to get that error | 02:42 |
Siamaster | it was already there | 02:42 |
tr0n | I'm a very technically inclined person, but not very technically proficient. | 02:42 |
enigma9o7 | where? | 02:42 |
sarnold | enigma9o7: does clonezilla have some guardrails to take the sharp edges away from dd? | 02:43 |
tr0n | bbl, thx o/ | 02:43 |
enigma9o7 | If I recall correctly, it was fairly intuitive GUI, but it's been years, so I can't really answer definitively. I was just guessing that may have been what you used in the past. | 02:45 |
enigma9o7 | I think the clonezilla iso launched other tools that may already be in ubuntu, but by booting the iso you make sure nothing is mounted already, which may not be as relevant in this case. | 02:46 |
sarnold | enigma9o7: oh, heh :) I used ddrescue, from kurt garloff. it's no longer pcakaged for debian / ubuntu ;( but there's a gnu version packaged as 'gddrescue' that'd probably do the same thing | 02:47 |
Siamaster | sarnold so the disk is failing right? but the partition should still be there | 02:55 |
Siamaster | and if I dd it to a new disk, I should be able to browse it right? | 02:56 |
leftyfb | no | 02:56 |
Siamaster | is the data gone? | 02:57 |
sarnold | Siamaster: it depends how many more of those i/o errors you get when you read the entire drive | 02:57 |
Siamaster | leftyfb: you are being very insensitive today | 02:57 |
sarnold | Siamaster: if you've got one unreadable sector you're probably in good shape to recover it via gddrescue or maybe clonezilla | 02:57 |
sarnold | Siamaster: if you've got millions of those, then you're going to have to engage the services of a professional data recovery service | 02:58 |
Siamaster | in disks it says "one bad sector" | 02:58 |
Siamaster | says disk is ok, one bad sector | 02:58 |
sarnold | I wouldn't trust that | 02:58 |
sarnold | it probably skims the logs and found the same thing | 02:58 |
Siamaster | how can I know ? | 02:59 |
sarnold | but if that one dead sector contained the filesystem metadata, and that kept you from reading the filesystem, you haven't even tried to read the rest of the disk | 02:59 |
sarnold | which is why I suggested the dd command half an hour ago | 02:59 |
sarnold | to try to read the whole disk and find out how bad it is | 02:59 |
sarnold | did you run that command? | 02:59 |
Siamaster | but I don't have have another disk, is that okay? | 02:59 |
sarnold | hopefully you bought another disk or two while that command was running | 03:00 |
Siamaster | it's just output dd right? I'm not going to ruine anything | 03:00 |
leftyfb | Siamaster: do you have another copy of the data on this disk? | 03:00 |
Siamaster | no, it's just one | 03:00 |
Siamaster | It's 4 tb data backup data. My current disk is just 240gb | 03:01 |
Siamaster | I have another 8tb backup data whichi s not attached | 03:01 |
leftyfb | 1 copy of data is not considered a backup | 03:01 |
Siamaster | you're right | 03:01 |
leftyfb | it's a single point of failure with 0 backup | 03:02 |
Siamaster | yes, I'm getting screwed.. | 03:02 |
Siamaster | sarnold: should I run that command or not, I don't understand | 03:02 |
Siamaster | I'm thinking it's dd, I don't want it to move data or something | 03:03 |
Siamaster | I just want to read data to see how many sectors are bad so I can sleep in peace and buy a new disk tomorrow | 03:03 |
sarnold | Siamaster: the command I gave you a while ago was just to read the whole drive and do nothing with the data | 03:04 |
sarnold | Siamaster: (well, it was going to write it to /dev/null, but writes to that device just throw away those writes.) | 03:04 |
Siamaster | ok good, I will run it now | 03:04 |
leftyfb | mind you, which does put more strain on the drive | 03:04 |
leftyfb | lessening the chances of recovering data | 03:04 |
Siamaster | leftyfb what do you suggest? | 03:04 |
Siamaster | I unplug it now and leave it for pros? | 03:05 |
leftyfb | Siamaster: if you want to spend hours/days recovering the data, then I would suggest getting a new drive that is larger than the broken one and use dd to create an image of the broken one onto a file on the new drive and perform forensics on that | 03:05 |
leftyfb | if you're going to run dd once, make it count (write it to a new file) | 03:05 |
Siamaster | ok | 03:06 |
Siamaster | should I unplug the thing now? | 03:06 |
leftyfb | while you are creating the image file using dd, watch dmesh as sarnold suggested to get a better idea of how fubar'd the drive really us | 03:06 |
Siamaster | lol ok | 03:07 |
leftyfb | yes, until you are ready to create an image of it | 03:07 |
Siamaster | okk... thanks a lot! | 03:07 |
leftyfb | btw, use dd_rescue, not dd | 03:07 |
Siamaster | I will unplug now, and when I've bought a new disk I will be looking for you | 03:07 |
Siamaster | <3 | 03:07 |
Siamaster | ty | 03:07 |
leftyfb | Siamaster: just ask in here or in #linux | 03:07 |
leftyfb | it doesn't have to me directly | 03:07 |
Siamaster | I remember your nickname since ages, so I'm trusting you :P but yes | 03:08 |
Siamaster | ty, c ya | 03:08 |
deeday | Jó reggelt | 06:06 |
Simplar | Greetings! I've got Ubuntu 24.04 on MacBook Pro (Late 2011). I've noticed that the right mouse button on the touchpad doesn't work. What should I do to make that touchpad work properly? | 08:12 |
Simplar | The whole surface of the touchpad is treated by the system as left mouse button | 08:12 |
RTG89 | hi | 08:20 |
RTG89 | having a bit of a kernel panic problem here | 08:21 |
RTG89 | hope im in the way to fixing it | 08:22 |
tercal | apt update reports: 2 packages can be upgraded. Run 'apt list --upgradable' to see them. And after apt list --upgradable, I have: python3-software-properties/noble-updates,noble-updates 0.99.49.1 all [upgradable from: 0.99.48] | 08:23 |
tercal | and: software-properties-common/noble-updates,noble-updates 0.99.49.1 all [upgradable from: 0.99.48] | 08:23 |
tercal | however when I try "apt upgrade", it says: The following upgrades have been deferred due to phasing: python3-software-properties software-properties-common and doesn't update it. Any idea what's going on? | 08:23 |
pborrull | Hello | 08:26 |
=== alucardromero8 is now known as alucardromero | ||
mgedmin | why is my gnome-shell constantly eating 20% of cpu? | 08:57 |
mgedmin | I have three windows (two browsers and a terminal), and there are no animations ongoing | 08:58 |
mgedmin | I'm not smart enough to figure out sysprof, but g_settings_get_enum() figures prominently in the largest stack trace | 09:07 |
=== iwannaberoot10 is now known as iwannaberoot1 | ||
=== LanDi1 is now known as LanDi | ||
geirha | tercal: https://ubuntu.com/server/docs/about-apt-upgrade-and-phased-updates | 11:49 |
Wisnia | hi | 11:55 |
tercal | thank you geirha | 11:59 |
=== gschanuel663 is now known as gschanuel66 | ||
BluesKaj | Hi all | 12:32 |
=== LanDi1 is now known as LanDi | ||
mgedmin | is there a music player that I will not hate? | 12:40 |
mgedmin | amberol is kind of nice, but it requires valid metadata in id3 tags, and my old mp3 collection was not well-curated | 12:40 |
mgedmin | also, it doesn't remember where my music is, and since I don't remember it either, we have a problem | 12:41 |
sprokkel | mgedmin: audacious or wine winamp? | 12:41 |
mgedmin | wasn't audacious a sound editor? | 12:42 |
sprokkel | no that is audacity | 12:42 |
marchebo | helo | 12:43 |
* mgedmin is trying rhythmbox again | 12:44 | |
* mgedmin is not impressed with the user interface, but at least it found the music... somehwere | 12:44 | |
kemne | 12:44 | |
marchebo | lol | 12:44 |
kemne | xd | 12:44 |
nevmerde | yo | 12:44 |
marchebo | shut up | 12:44 |
kemne | naruto | 12:44 |
kemne | ((( | 12:45 |
nevmerde | heyyy | 12:45 |
kemne | byyyee | 12:45 |
nevmerde | show me your | 12:45 |
kemne | WHAT?!??!!? | 12:45 |
nevmerde | butthole | 12:45 |
kemne | no. | 12:45 |
kemne | im shy | 12:45 |
nevmerde | it hurts only when it is first time | 12:45 |
kemne | really? | 12:46 |
marchebo | i am calling the police | 12:46 |
kemne | suck? | 12:46 |
nevmerde | yes | 12:46 |
nevmerde | we tested it | 12:46 |
nevmerde | with my dog | 12:46 |
mgedmin | lol I made rhythmbox segfault in 5 minutes | 12:51 |
Guest52 | https://drive.google.com/file/d/1pTM79eczEHCigldLQSIlOpBTju-gQOlV/view?usp=sharing | 12:56 |
Guest52 | is it normal that when the operating system starts it gives me the reduced desktop with the arrows on the sides and the search bar as seen in the screenshot? | 12:56 |
Guest52 | Previously, using ubuntu it opened directly the enlarged desktop. Was this a choice made for the new version of ubuntu? | 12:56 |
mgedmin | that's the Overview | 13:01 |
mgedmin | in a vanilla gnome session there's no dock on the left so on startup you get an empty desktop, and overview is automatically triggered so you can launch apps | 13:01 |
mgedmin | (in vanilla gnome the dock is on the bottom and is only visible when you enter the overview -- by pressing Super aka the Windows key, or by triggering a hot corner on the top-left with the mouse) | 13:02 |
mgedmin | in an ubuntu session you have the dock and overview should not be automatically triggered on startup | 13:02 |
mgedmin | you seem to be running in some kind of hybrid mode | 13:02 |
Guest52 | mgedmin i don't know what is vanilla gnome and some other things u told about, i just remember that previously when Ubuntu was starting, i just have desktop already enlarged. Is it an error? | 13:13 |
Guest52 | what do u mean for "Hybrid mode"? | 13:13 |
mgedmin | I mean your described behavior doesn't match either a gnome session or a ubuntu session | 13:15 |
mgedmin | but it feels like a mix of both | 13:15 |
mgedmin | in the login screen there's a little gear icon on the bottom right, iirc, where you can choose a session type | 13:15 |
mgedmin | by default only ubuntu sessions are installed and your choices are ubuntu on Wayland vs ubuntu on Xorg | 13:16 |
mgedmin | (whichever of those two is the default gets renamed to just Ubuntu) | 13:16 |
mgedmin | I don't know exactly how ubuntu sessions disable the bit a gnome session enters the overview automatically right after login | 13:17 |
mgedmin | but it feels like that part is not working on your machine? | 13:17 |
Guest52 | mgedmin i don't know if it's work or not, i don't even know the differences between gnome session and ubuntu session you talked about here """""I mean your described behavior doesn't match either a gnome session or a ubuntu session""""" | 13:21 |
ELFrederich | I got my first Mac which defaults to zsh. I figured I should switch to using zsh on Ubuntu as well. One thing I'm missing now is that command-not-found doens't seem to work with zsh on Ubuntu. Is command-not-found only meant for bash? | 13:28 |
kuka_lie | ELFrederich: sudo apt install zsh | 13:32 |
mgedmin | ELFrederich: the command-not-found package ships a /etc/zsh_command_not_found, which makes me think it should work | 13:35 |
ELFrederich | mgedmin, thanks... in the mean time, I found that the oh-my-zsh customization has a command-not-found plugin to use | 13:35 |
ELFrederich | looks like bash has a command_not_found_handle while zsh has a command_not_found_handler | 13:35 |
ELFrederich | I should be all set up now. Every once in a while there's some command that comes as part of a package and you forget the name of the package. | 13:39 |
ELFrederich | for some reason I use tkdiff (because it's what I've been using for over 20 years when I was on SunOS and Solaris. So I remember that tkdiff comes with the tkcvs package. But I NEVER remember the package that gives you the dig command ;-) (bind9-dnsutils) | 13:41 |
mgedmin | whoa, I had no idea | 13:42 |
* mgedmin is a find of bind9-host | 13:42 | |
mgedmin | s/find/fan/ | 13:42 |
ELFrederich | what does that do? | 13:42 |
leftyfb | it's just the "host" command | 13:44 |
ELFrederich | cool, just checked it out. Looks easier on the eyes than dig | 13:45 |
leftyfb | it is if you just want a quick A record lookup. It doesn't do much more than that though. That's what dig is for | 13:46 |
mgedmin | host -t any example.com ip.of.my.dns | 13:47 |
=== mytmpusername is now known as JanKoppenhagende | ||
=== JanKoppenhagende is now known as JanKoppenhagen_d | ||
mgedmin | whereas I could never understand nor remember dig's query syntax | 13:47 |
ELFrederich | while we're on that topic, is there something that gives you the whois info for domains? | 13:50 |
leftyfb | ELFrederich: whois domain.com | 13:50 |
mgedmin | ah, right, gnome-software can't launch any apps (it crashes instead) | 13:51 |
ELFrederich | whois must be blocked for me at work | 13:51 |
BluesKaj | try whois on the server page | 13:55 |
mgedmin | gnome-music feels pretty nice (other than being a DoS attack on my poor laptop's CPU) | 13:55 |
=== Shine is now known as Guest8600 | ||
mgedmin | I like gnome-music, despite its lack of the most important feature of them all: stop after the end of the currently playing song | 14:05 |
Guest47 | Hello | 14:07 |
Guest47 | Folks, what is ufw doing, because I think it is doing nothing. I never thought I had a firewall until my coworker told me there is ufw that sometimes messes with connections. | 14:08 |
leftyfb | Guest47: it does nothing by default. No rules | 14:09 |
Guest47 | Really nothing? | 14:10 |
leftyfb | Guest47: really, nothing | 14:10 |
Guest47 | Well then, is this safe to remove? | 14:10 |
leftyfb | yes | 14:11 |
oerheks | no need to remove, you better install Gufw, the frontend to activate it | 14:11 |
oerheks | !info gufw | 14:11 |
ubottu | gufw (24.04.0-2, noble): graphical user interface for ufw. In component universe, is optional. Built by gui-ufw. Size 923 kB / 3,660 kB | 14:11 |
JanC | depends on if it's enabled or not, I think the default when enabled is to block everything? | 14:11 |
JanC | (it's not enabled by default, but) | 14:11 |
sprokkel | by default ufw set the policy for input to drop. | 14:11 |
leftyfb | sprokkel: by default, ufw has no rules | 14:12 |
sprokkel | Default: deny (incoming), allow (outgoing), deny (routed) | 14:12 |
leftyfb | sprokkel: by default, ufw has no rules | 14:12 |
oerheks | +1 | 14:13 |
leftyfb | sprokkel: https://ubuntu.com/server/docs/firewalls | 14:13 |
mgedmin | by default ufw is disabled; if you sudo ufw enable without configuring any rules, then its default policies start taking effect | 14:13 |
sprokkel | no rules, but the policy is changed no? | 14:13 |
leftyfb | "ufw by default is initially disabled" | 14:13 |
leftyfb | sprokkel: no rules = no policies to be concerned about | 14:13 |
Guest47 | ok folks. Thank you very much. | 14:14 |
=== LanDi2 is now known as LanDi | ||
=== LanDi1 is now known as LanDi | ||
sprokkel | found this: On a Linux system, setting the default policy for the INPUT chain in iptables to DROP means that any incoming network packet that does not explicitly match a rule in the chain will be dropped (discarded without response). | 14:41 |
sprokkel | so it does make a diff | 14:41 |
leftyfb | sprokkel: ubuntu does not have any firewall rules in place by default. Plain and simple | 14:44 |
JanC | sprokkel: if you enable ufw, yes, but by default it's disabled | 14:44 |
=== JoelJoel is now known as Joel | ||
sprokkel | with ufw enabled i mean. | 14:45 |
JanC | yes, when you enable ufw it will drop all incoming connections by default | 14:46 |
JanC | if you make no other changes to ufw | 14:46 |
=== LanDi1 is now known as LanDi | ||
sprokkel | that's the point i was making. | 14:46 |
leftyfb | sprokkel: this is an install of Ubuntu 24.10 I just installed yesterday https://paste.ubuntu.com/p/Wnmf6RxZDc/ | 14:46 |
leftyfb | sprokkel: there are not rules enabled by default in ubuntu. Which meand no firewall. Which means by default, nothing is blocked in either direction | 14:47 |
sprokkel | ofc leftyfb with ufw disabled. | 14:47 |
leftyfb | sprokkel: to say "but if you do this that and the other thing, it's different" means it's not default | 14:47 |
sprokkel | I was just stating that IF you enable ufw the default input chain will be set to drop. which can be 'thing' for new users to know. | 14:49 |
sprokkel | a good 'thing'* | 14:50 |
oerheks | install gufw, to see what you do, and any attempt by an app prompts for an answer | 14:50 |
oerheks | if you set it strict | 14:51 |
artem | hello | 15:03 |
kuka_lie | hello artem | 15:03 |
lowin | I have ubuntu on a headless computer without any vga output. I have configured dropbear in initramfs successfully, but when the system switches over to the real root, initrd kills the dropbear server and there is no access to the system until the real sshd comes up. Problem is, it's impossible to access the system if something goes wrong during the | 15:05 |
lowin | boot process as sshd starts pretty late in the boot process | 15:05 |
lowin | Is there any way to have sshd start sooner? right now the system goes unresponsive somewhere after the initramfs stage but I can't know where | 15:06 |
lowin | I do have access to the dropbear in initramfs though | 15:06 |
jluc | https://en.wikipedia.org/wiki/Drop_bear | 15:11 |
oerheks | not sure there is a valid way to speed up sshd in the bootprocess, how long does it take totally, 1 minute? | 15:16 |
lowin | It's not about the time it takes, rather if something goes wrong and boot goes into halt, there is no way to access the system to see what went wrong | 15:16 |
lowin | Usually takes about 30 seconds from initramfs stage if nothing goes wrong | 15:17 |
oerheks | hook up a monitor. | 15:17 |
lowin | Well yeah, I can do that now but in the future I won't have that luxury | 15:18 |
leftyfb | lowin: you know ssh isn't going to start without networking right? | 15:18 |
lowin | leftyfb, yeah but networking is setup during initrd stage so it should be fine | 15:18 |
lowin | Although systemd does take everything down to set up from scratch | 15:19 |
leftyfb | lowin: let me rephrase, ssh is dependent upon systemd-networkd-wait-online | 15:20 |
lowin | So, if I override that dependency it should be brought up early? | 15:21 |
leftyfb | no | 15:21 |
leftyfb | there will be no interface to bind to | 15:21 |
lowin | There will be, from the initrd stage | 15:21 |
leftyfb | negative | 15:21 |
lowin | negative what? | 15:21 |
leftyfb | forget initrd, that's an ephemeral image | 15:21 |
leftyfb | everything starts over after that | 15:21 |
lowin | I have ssh access to the initrd stage | 15:21 |
leftyfb | yesd | 15:22 |
leftyfb | and then you don't | 15:22 |
leftyfb | because it's all gone | 15:22 |
leftyfb | the only thing that carries over from initrd is your kernel | 15:22 |
lowin | It does start over, but networking should still be up from the previous config up until systemd configures networking again? | 15:22 |
leftyfb | it's not | 15:22 |
lowin | hmm | 15:22 |
leftyfb | initrd is a bootstrap, nothing more | 15:23 |
lowin | Is it some systemd magic that breaks it? because as far as kernel is concerned, switching root has no effects on networking | 15:23 |
lowin | But if it helps, lets say we want to bring up networking asap as well | 15:24 |
lowin | before mounting fstab entries for example | 15:24 |
lowin | What should we do? | 15:24 |
leftyfb | it already does | 15:24 |
leftyfb | that's why I don't see the point to all this | 15:25 |
lowin | But if something goes wrong during the fstab stage, sshd will fail to run | 15:25 |
lowin | that's the problem | 15:25 |
leftyfb | if something goes wrong before systemd-networkd-wait-online.service, you don't have network to fix anything anyway | 15:25 |
leftyfb | lowin: run this: systemd-analyze blame | 15:26 |
lowin | in my experience systemd-networkd-wait-online isn't reliable anyway | 15:26 |
lowin | many times it fails because some non-critical step fails and wreaks havoc | 15:26 |
leftyfb | did you look at systemd-analyze? | 15:29 |
lowin | yes? | 15:29 |
lowin | Was I supposed to see something special? | 15:29 |
leftyfb | and where do you see systemd-networkd-wait-online in the process? | 15:29 |
lowin | top | 15:29 |
leftyfb | and most of the stuff between that and ssh is snapd stuff right? | 15:30 |
lowin | No I don't have snapd | 15:30 |
leftyfb | did you remove it? | 15:30 |
lowin | yes | 15:30 |
lowin | you realize blame only lists how long each service took to start right? | 15:31 |
leftyfb | ah right, sorry | 15:32 |
=== m-m_e_in_LEO is now known as M-M_Exp_in_Low_O | ||
chilversc | Is there an official source (such as launchpad) that details the plans for a particular package such as when/if it will be updated to a newer version for a specific Ubuntu version? | 16:04 |
=== LanDi1 is now known as LanDi | ||
oerheks | yes launchpad, check for package + proposed, example https://launchpad.net/ubuntu/+source/linux but it does not give a date when. | 16:08 |
oerheks | * when it lands in release | 16:09 |
leftyfb | !latest | chilversc | 16:09 |
ubottu | chilversc: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. | 16:09 |
chilversc | I'm more interested in knowing how to tell when it's been decided that a particular release will stop receiving updates (or won't go beyond a specific version of the package) | 16:09 |
chilversc | ah, so it's likely that this package will be fixed permanently at 3.7 for noble and I'll need to move up to a newer Ubuntu version to get updates? | 16:10 |
leftyfb | correct | 16:10 |
chilversc | Is there a way to have a semi-trusted PPA installed? So that I have to explicitly allow which packages can be installed from that PPA? | 16:11 |
leftyfb | chilversc: which package as you concerned about and why? | 16:11 |
chilversc | openrazer, I just don't like adding PPAs outside the standard ones without validating which packages are coming from that PPA | 16:12 |
leftyfb | there are no "standard" PPA's | 16:12 |
chilversc | Sorry, I meant apt repository, which is all a PPA really is? | 16:13 |
oerheks | that team gives 2 ppas https://launchpad.net/~openrazer | 16:13 |
leftyfb | chilversc: there's no binary package called "openrazer" in ubuntu, only the source package. What version do you need and why? | 16:14 |
chilversc | leftyfb: openrazer-driver-dkms, my mouse is only supported in 3.8+ | 16:15 |
chilversc | so when I'm looking at a PPA on launchpad, how do I see what packages are in the PPA? As the "published packages" do not seem to match what I think of as a package. For example, openrazer/stable lists a single package named "openrazer", when I expected to see openrazer-daemon, openrazer-driver-dkms, etc. | 16:19 |
genii | chilversc: "view package details" | 16:22 |
chilversc | genii: This interface seems odd, so the package "openrazer" contains packages? | 16:22 |
genii | It's a metapackage, so yes | 16:23 |
chilversc | but the package "openrazer" doesn't show up in apt? | 16:23 |
leftyfb | the source does | 16:24 |
chilversc | ah, so in the PPA the list of published packages are source packages? | 16:25 |
leftyfb | chilversc: the individual packages you mentioned above are part of the main source package (openrazer). The PPA should include all the individual packages as well as the source package | 16:31 |
jluc | So as to get nautilus-column extension, for Ubuntu 22.04 i had to install gir1.2-nautilus-3.0 | 16:32 |
jluc | but it doesnt exist anymore today / for ubuntu 24.04 | 16:32 |
ioria | maybe because it's gir1.2-nautilus-4.0 | 16:33 |
jluc | yes 4.0 exists and installs ! | 16:36 |
oerheks | good spot | 16:40 |
jluc | I wanted to install nautilus-column-extra following https://github.com/atareao/nautilus-columns/issues/20#issuecomment-2118866927 | 16:42 |
-ubottu:#ubuntu- Issue 20 in atareao/nautilus-columns "Not available in Ubuntu 22.04" [Open] | 16:42 | |
jluc | but nautilus-columns_0.3.8-0extras20.04.7_all.deb isnt OK for gir1.2-nautilus-4.0 | 16:43 |
jluc | and it's the latest there http://ppa.launchpadcontent.net/atareao/nautilus-extensions/ubuntu/pool/main/n/nautilus-columns/ | 16:43 |
jluc | so how can i have eg image dimensions displayed in nautilus ? | 16:44 |
ioria | jluc, it's not clear to me what's you're looking for exactly, but i'd give a look here: https://www.makeuseof.com/nautilus-extensions-to-enhance-your-gnome-file-manager/ | 16:47 |
jluc | well in a folder with image files, i'd like to have 2 more columns with image width and height displayed | 16:48 |
jluc | i used https://github.com/atareao/nautilus-columns in ubuntu 22.04 | 16:49 |
oerheks | reopen this ?? https://discourse.gnome.org/t/adding-image-resolution-to-the-file-attributes-to-show-as-a-column/15712 | 16:50 |
jluc | :-/ | 16:54 |
jluc | ioria python3.8 is said to be required but cant install | 17:01 |
ioria | jluc, for what ? | 17:02 |
jluc | to "Install Nautilus Extensions for GNOME Files" | 17:02 |
jluc | libnautilus-extension1a | 17:03 |
jluc | following the links it leads to a list of possible extensions | 17:03 |
jluc | and one of them is https://github.com/donnikitos/nautilus-columns | 17:03 |
george | hi | 17:04 |
hle70 | HI | 17:04 |
hle70 | HELLO | 17:04 |
simo_ | Hi | 17:04 |
hle70 | I LIVE AT 48-44 193rd St in QUEENS NYC | 17:04 |
hko70 | hi | 17:04 |
george | wsp | 17:04 |
simo_ | thanks for the info | 17:05 |
jluc | maybe i could just follow the install instructions at begining of the script | 17:05 |
jluc | https://github.com/donnikitos/nautilus-columns/blob/master/nautilus-columns.py | 17:05 |
ioria | jluc, where did you take that github link from ? | 17:05 |
george | wait how do i make my own server for hexchat | 17:05 |
jluc | but it uses dnf | 17:05 |
hko70 | yo | 17:06 |
jluc | https://www.makeuseof.com/nautilus-extensions-to-enhance-your-gnome-file-manager uses a kind of extension manager | 17:06 |
leftyfb | george: hko70 please pick 1 IRC login at a time | 17:06 |
george | does anyone know how to make ur own private hexchat server for free pls | 17:06 |
leftyfb | george: there are plenty of tutorials on building your own IRC server | 17:06 |
george | leftyfb i dunno what that means im not good with linux | 17:06 |
george | oh ok | 17:06 |
george | i will look up a tutorial | 17:07 |
jluc | the link is amongst the list of extension that are managed | 17:07 |
jluc | « From here, you can browse through GitHub's Nautilus Extension page : https://github.com/topics/nautilus-extension?o=desc&s=updated » | 17:07 |
jluc | amof it's the last link in the list | 17:07 |
ioria | jluc, 1) in the that link i don't see reference to donnikitos; but try to install libnautilus-extension-dev | 17:08 |
jluc | good : i could install libnautilus-extension-dev | 17:09 |
jluc | how should i use it ? | 17:10 |
jluc | maybe copy the .py into ~/.local/share/nautilus-python/extensions/ | 17:11 |
ioria | jluc, maybe you should aim for some other other tool to check , in details, images properties | 17:12 |
ioria | jluc, i doubt any ext will work with avif,heic, heif etc .etc. | 17:14 |
jluc | jpg, webp and png would be ok | 17:14 |
ioria | oh, sure | 17:14 |
jluc | and then a dedicated app for more advanced browsing and data views... | 17:15 |
jluc | so i created the ~/.local/share/nautilus-python/extensions/ folder and moved donnikitos's nautilus-columns.py there | 17:16 |
jluc | then nautilus -q but nope no new columns menus | 17:18 |
tomreyn | a six year old python script may have been written for python2, which is no lnoger supported. also, nautilus has changed considerably since. | 17:18 |
jluc | sure | 17:19 |
jluc | i will retry with atareao's nautilus-columns that was ok on ubuntu 22.04 | 17:19 |
jluc | but using the newly installed libnautilus-extension-dev | 17:20 |
jluc | well... cant have it work | 17:38 |
jluc | Ioria what would you advise as other tool ? | 18:07 |
jluc | what i miss is a lightweight view on dimensions (and possibly other simple image datas) | 18:07 |
jluc | not even exifs | 18:07 |
oerheks | there is no other tool for nautilus, reopen the gnome discussion i posted earlier | 18:08 |
oerheks | it should be native in nautilus | 18:08 |
jluc | i logged but i can't reopen it | 18:08 |
oerheks | just start the same tread again, pointing to the closed one | 18:09 |
jluc | here : https://discourse.gnome.org/t/add-image-width-and-height-as-possible-columns-to-display/25183 | 18:28 |
jluc | plz +1 | 18:28 |
jluc | I'll use gthumb and xnview for more advanced uses | 18:46 |
elvis | hola | 18:50 |
Siamaster | So I bought a 5 TB external HDD to attempt to save my failing internal HDD. I plan to just dd all the information to this new external one. First question and problably a funny one; the box says it's compatible with PC, Mac and chromebook, but I mean it's still a HD right? I should be able to dd to it like normal. | 18:51 |
oerheks | Siamaster, sure, it will copy bit by bit, so you end up with an ext hdd of the same size, not 5tb | 18:55 |
oerheks | *if you acn copy it, you say it is failing | 18:55 |
oerheks | try something like ddrescue to make a backup file. | 18:56 |
Siamaster | ok. good ty.. | 18:56 |
Siamaster | I will come back to this before I go to sleep | 18:56 |
Siamaster | so I can play Startcraft 2 for now | 18:57 |
=== diego is now known as Guest6772 | ||
Bardon | Hello, I have a .exe that runs fine with Wine and I'd like to just double clic on the file and have it run under wine rather than launch a terminal and type `wine my_program.exe`. How can I do that? | 20:05 |
sprokkel | Bardon: with the package alacarte you can create a new app with command wine my_program.exe , then just click the icon.? | 20:08 |
JanC | !info wine-binfmt | 20:09 |
ubottu | wine-binfmt (9.0~repack-4build3, noble): Register Wine as the interpreter for Windows executables. In component universe, is optional. Built by wine. Size 10 kB / 46 kB | 20:09 |
JanC | Bardon: ^ | 20:09 |
oerheks | this is answered in 2014 .. | 20:09 |
oerheks | https://askubuntu.com/questions/309886/autorun-exe-files-with-wine#:~:text=Right%20click%20on%20a%20exe,open%20in%20Wine%20by%20default. | 20:09 |
oerheks | per .exe file | 20:09 |
Bardon | Ok I'll try that, thanks | 20:10 |
leoca | q | 20:19 |
Bardon | Ehm, sorry I must have missed something but I installed wine-binfmt and I'm lost now, what do I do? | 20:22 |
Bardon | right click, open with, doesn't display "wine" | 20:23 |
sixwheeledbeast | Open with another Application then Wine? | 20:24 |
Bardon | What do you mean? That's a .exe, I don't want to open it with another thing that wine | 20:25 |
JanC | Bardon: with wine-binfmt you should be able to run .exe executables by double-clicking them | 20:25 |
JanC | might require a reboot | 20:25 |
Bardon | I did reboot :s | 20:26 |
Bardon | It still offers to look for the right app on the software store when I double clic | 20:26 |
Bardon | click* | 20:27 |
Bardon | I believe I installed the correct package "wine-binfmt/oracular,oracular,now 9.0~repack-4build3 all [installed]" | 20:27 |
Bardon | ./my_program.exe doesn't work either. It seems to run it with bash | 20:29 |
elvis | hola que tal todo | 20:30 |
oerheks | maybe that binfmt package needs a logout/login again .. i think wine is in that menu under 'another Application' | 20:31 |
oerheks | but only if wine is in your %path% ? | 20:31 |
oerheks | not sure there | 20:31 |
Bardon | `wine my_program.exe` works fine so I assume wine is in my path | 20:32 |
sprokkel | !alacarte | 20:32 |
Bardon | `systemctl status systemd-binfmt.service` says "Active: active (exited)" | 20:33 |
=== iwannaberoot19 is now known as iwannaberoot1 | ||
=== RaGE_Syria9 is now known as RaGE_Syria | ||
=== lucenera0 is now known as lucenera | ||
Siamaster | I want to copy data from my corrupted disk sdb to sdc to then try to recover files. | 23:07 |
Siamaster | This is the output of lsblk: | 23:07 |
Siamaster | sdb 8:16 0 3,6T 0 disk | 23:07 |
Siamaster | sdc 8:32 0 4,5T 0 disk | 23:07 |
Siamaster | ├─sdc1 8:33 0 200M 0 part | 23:07 |
Siamaster | └─sdc2 8:34 0 4,5T 0 part /media/siamaster/Expansion | 23:07 |
Siamaster | I want to do a dd and then watch with sudo dmesg -w to see how many bad sectors I have. but I don't remember the dd command I got yesterday | 23:08 |
Siamaster | btw is it possible/worth running chkdsk if the filesystem is ext4? | 23:17 |
Bashing-om | Siamaster: "fsck" might possibly show a corrupted superblock / in which case the system keeps a spare that can be swaped in. | 23:30 |
sixwheeledbeast | you could run fsck on anunmounted ext4 partition | 23:32 |
Siamaster | but I know it's a ext4, the partition is currently not found | 23:36 |
Siamaster | https://bpa.st/O22A this is the output of sudo fsck /dev/sdb | 23:46 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!