Live data from Hacker News

Stali: A new static Linux distribution

sta.li

41–50 of 233 posts

Re: Stali: A new static Linux distribution

#41
Why is static linking supposed to REDUCE memory usage and binary size? Am I missing something really obvious?

Eg, if five different binaries are statically linked against the same version of OpenSSL, won't it be in memory and on disk four times more than it would be on a dynamic system?

Re: Stali: A new static Linux distribution

#42
post #3

I still don't understand why systemd sucks

That's a loaded question, and I'm only qualified to answer from my perspective and experience. My biggest gripe with it has always been that it is alpha-quality software, even today, that has a central role in an otherwise mature OS ecosystem. It has been widely adopted (some would say forced or tricked into adoption by a few distros) and therefore all the major Linux distributions are now running at an alpha level w…

It didn't just start growing. There was talk of it being the base of the OS (excluding the kernel) since 2012 (as mentioned here http://0pointer.net/blog/projects/systemd-update-3.html).

> We have been working hard to turn systemd into the most viable set of components to build operating systems, appliances and devices from, and make it the best choice for servers, for desktops and for embedded environments alike. I think we have a really convincing set of features now, but we are actively working on making it even better.

I'm pretty sure I saw others posts, but my googlefu is a bit weak.

So, the expansion was in the plan from nearly the beginning (for good or ill)

Re: Stali: A new static Linux distribution

#43

I'm confused about some claims / justifications. For example: > A user can easily run dynamic library code using LD_PRELOAD in conjunction with some trivial program like ping. No... Not sure if it ever worked, but it's definitely not possible for many years now. Also the link to the ASLR effectiveness paper was valid in 2004. That means they're still testing 32bit systems and effectively say scanning 64bit systems th…

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=59159 is an older reference, and that's 16 years ago..

Re: Stali: A new static Linux distribution

#44

Why is static linking supposed to REDUCE memory usage and binary size? Am I missing something really obvious? Eg, if five different binaries are statically linked against the same version of OpenSSL, won't it be in memory and on disk four times more than it would be on a dynamic system?

If you took the "one tool one purpose" thing to an extreme, you'd only have one binary with OpenSSL compiled in, right?

Given some familiarity with the suckless ideology, it seems that it is the simplicity of static linking, not conservative use of disk space, which is its virtue. For, if anyone groks the tool chain perfectly but lacks disk space, I'd like to hear the secret.

Re: Stali: A new static Linux distribution

#45
post #11

Earlier quoted context omitted.

Hating systemd is like hating Hillary Clinton at this point. It's well past time to suck it up and make peace with your next init system/President because the only viable alternative(s) are far worse.

As someone who has found runit to meet my needs I don't think I have any reason to make peace with systemd. I feel like part of what people object to about systemd is the 'one true way to linux' thing.

Right now what I'm objecting to with systemd is that this system replaces syslog, has been created and driven by the enterprise linux distro, with full-time experienced linux devs, and has been released and used in production for years...

... and still doesn't have functional centralised logging ability. People have to use dirty hacks to make it work. This is my current headache.

Re: Stali: A new static Linux distribution

#46
post #11

Earlier quoted context omitted.

Hating systemd is like hating Hillary Clinton at this point. It's well past time to suck it up and make peace with your next init system/President because the only viable alternative(s) are far worse.

I cannot even begin to describe how silly your comment is. Since when were politicians even comparable to programs? Do we "elect" a init system, as one nation united under Torvalds? I'm hoping I was just trolled by an HN-flavored Markov Chain.

> Do we "elect" a init system, as one nation united under Torvalds?

Debian selected it via an election.

Re: Stali: A new static Linux distribution

#48
post #30
post #11

Earlier quoted context omitted.

Hating systemd is like hating Hillary Clinton at this point. It's well past time to suck it up and make peace with your next init system/President because the only viable alternative(s) are far worse.

How can any human being be worse than Hillary Clinton?

[deleted]

Re: Stali: A new static Linux distribution

#49

Why is static linking supposed to REDUCE memory usage and binary size? Am I missing something really obvious? Eg, if five different binaries are statically linked against the same version of OpenSSL, won't it be in memory and on disk four times more than it would be on a dynamic system?

Many applications only use parts of libraries, then the linker can throw the unnecessary parts away.

Re: Stali: A new static Linux distribution

#50

Earlier quoted context omitted.

You'd run "pkg-manager upgrade", just like you do with dynamic linking.

Yep but now instead of fetching 1 updated library, you depend on everybody and their cat to rebuild their binaries and publish updated versions.

You would thing a distro like this would be more like gentoo...you recompile stuff as needed (which for openssl means almost everything).
Post reply on HN