News for hackers. Stuff that matters.
Re:CentOS Project shifts focus to CentOS Stream by norswap on Tuesday December 08, 2020 @08:53PM (#25354416)
I'm wondering, what ties you so strongly to a single OS? Nay, to a single Linux distribution?

I have a hard time imagining, and the only scenarios that come to mind are those where things have gone awfully haywire.

I'm sure I'm missing something. Enlighten me?

Re:CentOS Project shifts focus to CentOS Stream by soraminazuki on Wednesday December 09, 2020 @02:36AM (#25356252)
Software doesn’t run on its own. They rely on bunch of other software that is typically provided by distributions. So unless there’s some magic piece of technology that can take CentOS RPMs and make it work flawlessly on any Linux distro, the entire software industry is suddenly going to have to spend significant amounts of time on repackaging work.
Re:CentOS Project shifts focus to CentOS Stream by joana035 on Wednesday December 09, 2020 @09:29AM (#25358802)
There is alien[1], but I'm not sure if it is flawless, because of slightly different ways of doing things across distros like /etc/default vs /etc/sysconfig for example.

Depending on how good is the source, its usefulness and dependencies, packaging it to Debian is pretty straight forward. The dh_* helpers[2] does the job automatically most of the time. There is also tools for helping with specific languages, like dh-make-golang, dh-python, etc...

[1] https://packages.debian.org/buster/alien

[2] https://manpages.debian.org/testing/debhelper/debhelper.7.en...

Re:CentOS Project shifts focus to CentOS Stream by soraminazuki on Wednesday December 09, 2020 @11:42AM (#25360521)
From the looks of it, alien is just a tool to convert between different package formats and is not a replacement for proper packaging work. Very much like how you can’t take a deb package from different releases of the same distro and expect things to work properly, you can’t just take RPMs from CentOS to a whole different distro and expect things to work.

It’s not only the differences in the packaging format that you have to take care of. There’s also version differences, path differences, dependency handling, and many other stuff to take care of. These are the kind of tasks which can’t be automated away and require non-trivial amount of work.

For organizations that maintain tens, hundreds, or thousands of CentOS packages that spans multiple teams, moving to other distros would be time-consuming and costly. It would certainly pay off if it was driven by technical reasons, but for organizations that are forced to switch by this announcement, this is just pure overhead.

Re:CentOS Project shifts focus to CentOS Stream by nix23 on Wednesday December 09, 2020 @10:53AM (#25359854)
>Java , postgres and tomcat

That's his stack...

>So unless there’s some magic piece of technology that can take CentOS RPMs and make it work flawlessly on any Linux distro,

It's not magic, just alien.

Re:CentOS Project shifts focus to CentOS Stream by soraminazuki on Wednesday December 09, 2020 @11:59AM (#25360739)
> >Java , postgres and tomcat

> That's his stack...

What’s your point and when did I ever mention Java?

> It's not magic, just alien.

Dumping the contents of an RPM archive on random distros is never going to work except for the most simple of cases.

Re:CentOS Project shifts focus to CentOS Stream by nix23 on Wednesday December 09, 2020 @03:10PM (#25364014)
>Dumping the contents of an RPM archive on random distros is never going to work except for the most simple of cases.

That says allot about you packing hygiene, and you don't dump it..that you can do with tar alone. You convert it to a deb.

Re:CentOS Project shifts focus to CentOS Stream by soraminazuki on Wednesday December 09, 2020 @07:20PM (#25367632)
That says a lot about your packaging hygine. With alien, you're essentially dumping the contents of an RPM on hosts it wasn't meant for. It doen't matter that you converted it to deb format along the way, it's the same if you actually install it.
Re:CentOS Project shifts focus to CentOS Stream by nix23 on Thursday December 10, 2020 @05:35AM (#25372162)
MyMy, you have no clue how packages and a package-manager works right?
Re:CentOS Project shifts focus to CentOS Stream by soraminazuki on Thursday December 10, 2020 @02:16PM (#25377275)
Did you ever read a single line of alien source code? It extracts the metadata and files from a package, and re-archives it. That’s about it. It doesn’t handle package version differences, path differences, distro-specific rules, nothing. If your package has dependencies, forget about it because alien won’t retain dependency information it all. In other words, it only “works” for the most simple of cases.

I suggest you read the source code too, because otherwise you can cause real damage if you use it without understanding how it works.

https://sources.debian.org/src/alien/8.95/alien.pl/

Re:CentOS Project shifts focus to CentOS Stream by drewzero1 on Wednesday December 09, 2020 @12:50PM (#25361358)
Took me a minute to figure out where that came from, it was in the GGP comment.
Re:CentOS Project shifts focus to CentOS Stream by norswap on Wednesday December 09, 2020 @12:01PM (#25360756)
But surely if you depend on those packages, you can maybe track (or just collect) their versions, then get the same versions in another package manager (possibly via pinning).

Though my experience with package manager is that dependency management is hell (rife with potential conflicts), so I do see the problem a bit better.

Still, it shouldn't take that long to fix? Like a few days of sprint to setup Nix or something like that?

Re:CentOS Project shifts focus to CentOS Stream by soraminazuki on Wednesday December 09, 2020 @12:34PM (#25361161)
I think it depends on the number of packages that you maintain. If it’s only a handful of packages, the entire process of repackaging, testing, and deployment might be doable in a matter of days. If it’s tens or hundreds of packages that depend on each other, I think that’s a whole different story. If those packages are maintained by different teams, it could take more than an year to complete the transition.

As for pinning packages, that’s only practical if you’re using Nix. As much as I prefer Nix over RPMs, not all of us have the pleasure of using Nix at work. It’s kind of a bummer because Nix packages are so much easier to work with and maintain compared to the competition.

Re:CentOS Project shifts focus to CentOS Stream by nine_k on Tuesday December 08, 2020 @09:52PM (#25354758)
An existing support contract?

If you run a for-profit operation, and downtime is costly, you (or your VP of eng) want a way to pay for immediate assistance from the OS's maker / distributor, when (not if) things go wrong.

Re:CentOS Project shifts focus to CentOS Stream by webmaven on Wednesday December 09, 2020 @09:47AM (#25358963)
> If you run a for-profit operation, and downtime is costly, you (or your VP of eng) want a way to pay for immediate assistance from the OS's maker / distributor, when (not if) things go wrong.

There is a difference between asking "how do I ensure there is one throat to choke when things go wrong?", and "how do I minimize the potential for things to go wrong?"

RHEL is a decent solution if you are trying to answer the former question (or both), but many budget conscious orgs focused on the latter and chose CentOS. Red Hat has now pulled the rug out from under them by trimming eight years off the EOL previously committed to with little notice.

EOL in this case means "no security updates" so even if your org was prepared, technically, to deal with a zero-day for example by rolling out an update in a timely manner without relying on paying a vendor for hand-holding, that option has now been eliminated.

Essentially, you now only get the stability and problem-minimization if you also pay the vendor for support. Otherwise you're stuck with a (relatively) unstable rolling release that will keep your internal teams very busy with a constant stream of minor issues, or potentially trying to roll-your-own updates or backports after the EOL for anything serious.

It's difficult to see this as anything other than a naked, money-grabbing betrayal of users.