logoalt Hacker News

collinfunkyesterday at 2:24 PM10 repliesview on HN

I really don't understand why Canonical rushes this. If 'rm' can't remove all possible directory entries, that is a big issue:

  $ podman run --rm -it ubuntu:26.10
  $ apt update -y; apt upgrade -y
  $ rm --version
  rm (uutils coreutils) 0.10.0
  $ gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')
  $ rm -rf a
  Segmentation fault (core dumped) rm -rf a
  $ ls a
  a
  $ gnurm -rf a
  $ ls a
  ls: cannot access 'a': No such file or directory

Replies

maxhoutoday at 9:06 AM

I tried switching a buildroot based CI server to the 26.04

One Makefile statement triggered a bug in rust ln:

  src/%:
      @ln -sfn $(DIR)/foo src
In parallel build, we would get random failure:

  ln: Already exists
Rewrote that Makefile to work-around it, and ended up with the same kind of bugs with parallel $(INSTALL) -D ...

Tried latest ubuntu 26.10 which supposedly fixes a lot of TOCTOU races in rust coreutils, but no better.

Gave up and switched back to original coreutils.

monegatortoday at 8:24 AM

but it segfaulted in a memory safe way.

teekertyesterday at 2:25 PM

Rush? This is an interim release (95% or so only tracks LTS's) that is not even out yet... Go file a bug reports if you have some time.

show 3 replies
znpytoday at 7:54 AM

And that’s why i keep ubuntu far from my computers…

ameliusyesterday at 2:45 PM

Let them first fix Snap.

show 1 reply
barbarkaragultoday at 7:23 AM

Hi, this is not a one bug.when the change app flags not working or not happening. I was measured with bsd and busybox.

frohtoday at 7:11 AM

to enable GPL free embedded Ubuntu, field tested on all platforms (because it happens to be the default).

dark-staryesterday at 2:48 PM

yeah, this is a bug. And yes, it should be fixed. But I don't think it will affect many users, I mean who has a 32000 -evels deep directory on their system?

show 2 replies
IshKebabyesterday at 4:47 PM

I mean, that should work... but you can see why that would be considered low priority right?

lynx97today at 5:06 AM

Wow! Memory safety and such... Reminds me when a friend of mine wrote in IRC long time ago: "Hmm, tail just segfaulted." When I asked "Are you on Hurd?" he just replied "Yes."