Post a Comment On: /dev/dump

"IPS == FAIL"

20 Comments -

1 – 20 of 20
Blogger Shmerl said...

Did you consider using something like deb/apt?

August 22, 2010 at 11:04 AM

Blogger Jason said...

Packaging and the side-effects of it are always emotional amongst those of us who depend them.

That being said, I agree with you that that IPS has had its chance, and failed over and over again. It is frustrating, at-times cryptic and seems to require far more effort than managing the files myself would.

I appreciate that Illumos wishes to be package-neutral, but think that it might be time to (at the very least) mothball IPS and focus on the project's goals rather than fighting with a tool whose potential was far greater than its implementation.

+1 for progress over pedantics.

August 22, 2010 at 11:15 AM

Blogger joti said...

I'ld second your opinion.

And i'ld actually vote for dpkg. Its proven, well developed and the tooling around it is at least not bad.

And just like with Linux I actually do not see the value of a gazillion of packaging systems. Decide on one and go with it.
Be it SVRr4, dpkg, rpm or bsd ports.

August 22, 2010 at 12:09 PM

Blogger Ben said...

Until there is a suitable replacement for Jumpstart, I'm all for SysV.

August 22, 2010 at 1:15 PM

Blogger Prudhvi Krishna said...

something like pkgsrc ?

August 22, 2010 at 2:35 PM

OpenID Theo said...

I vote for anything that works. IPS has simply not worked well for us even after considerable investment.

August 22, 2010 at 2:40 PM

Blogger gtirloni said...

I'd say go back to SVR4 in the short term and look at migrating to DEB/RPM in the long-term. Both have supporting tools that are very mature and actively maintained. I don't see why reinventing the wheel would help here. It certainly hasn't for IPS.

August 22, 2010 at 4:37 PM

Blogger timf said...

Without specifics on what exactly went wrong, it's going to be hard to help.

I appreciate the concern, but expressing in terms of a bug report would be wonderful.

I don't imagine all the kinks are ironed out of either the ON build system or the way IPS interacts with it, but that said, the rest of the world doesn't build ON regularly: focusing on real-world usage of IPS obviously took priority I suspect.

Seriously: bug reports welcome.

August 22, 2010 at 8:05 PM

Blogger Garrett D'Amore said...

Honestly, if I could figure out how to reproduce what went so horribly wrong, to construct a meaningful bug report, I'd do so.

I know that I had issues with onu, and Rich probably understands the problems better than I do.

A packaging system has to cater to both the people who install software, and to the people who *build* and package it.

August 22, 2010 at 9:37 PM

Blogger Garrett D'Amore said...

Btw, if illumos were to consider an alternate format, it would probably be to revert to SVR4. The other formats have their plusses, but we already have the tools for SVR4, and ultimately, I don't want to introduce another chunk of probably -GPL'd code (for deb and rpm).

There's value in going back to SVR4 as well, since that's what most people using Linux have in production, and its what ISVs already are dealing with.

August 22, 2010 at 9:39 PM

Blogger Bart said...

As you may know, IPS is under active development. If you construct package dependencies that cannot be resolved because they are mutually inconsistent, IPS doesn't do a very good job of telling the developer what went wrong.

Your statement about not being able to downgrade confuses me; IPS doesn't do downgrades. Instead, you should boot and older boot environment.

August 23, 2010 at 12:06 AM

Blogger Milan Jurik said...

@Bart: yeah, the 4th year of development and still in development... If it is in development why is the observability and "debugability" of IPS so poor...

Good thing about IPS manifest is that it is very simple format and it is easy to convert it to something else. Few actions can be converted to shell scripts and the rest is mostly about deliverables.

August 23, 2010 at 12:54 AM

Blogger Ante said...

As a package developer and maintainer for Solaris 10, all of my packages are in SVR4 and build by SS12 (about 60 pkgs), for me there are only two reason not to switch to IPS or what ever: Jumpstart and post/pre install/remove scripts.

Until there is a good replacement for Jumpstart I stick with SVR4.

August 23, 2010 at 2:45 AM

Blogger Binary Crusader said...

Garrett,

It's unfortunate you encountered an issue, but unless you ask for help and tell us what specifically was wrong we can't help you.

At this stage in the project, most problems are a result of package issues, and not package system issues. The pkg(5) system isn't complete yet, so there are some rough areas. But I personally believe it has most of the core functionality one would expect.

You can always email pkg-discuss for assistance, or try on #pkg5 on freenode. And, as you already know, Rich Lowe is an expert in this area.

August 23, 2010 at 11:07 AM

Blogger Garrett D'Amore said...

I *did* ask for help. Rich Lowe was working through the issues with me for several hours. And even the "expert" was struggling to make this work.

He may have a better idea on the nature of the root cause of the problems, but I'm not really sure.

Fundamentally, I can't risk illumos' future on a packaging system that has flag days that mean we can't package or install our own bits without hand-holding from a developer.

August 23, 2010 at 11:18 AM

Blogger Binary Crusader said...

Yes, flag days can be disruptive, and an in-development project can be hard to track. But you already know this, so I find it difficult to reconcile why you believe this to be a stopper -- I'm truly puzzled by that.

Most community OS distributions that are based on an upstream project keep the native upstream's packaging system for a lot of good reasons.

I might also add that choosing a different packaging system than the one that will be used by Solaris will put IllumOS users at a serious disadvantage.

However, your target audience may be willing to put up with all of the shortcomings of SVR4 or the inability to confidently use native IPS packages meant for Solaris.

August 23, 2010 at 11:46 AM

Blogger Garrett D'Amore said...

Binarycrusader: we'll still be using IPS metadata, and *distributions* that want to use IPS will be able to do so.

But I want to be able to build and the foundation code without dealing with breakage in pkg-gate.

I want users to be able to contribute without having to deal with the nightmarish scenarios I encountered.

The current idea is that nightly will be able to build packages in at least IPS, Debian, and SVR4. But only SVR4 will be enabled by default, and building the other two will require other components on the build system whereas the SVR4 bits will build using just the stuff in-tree. (And yeah, we can add targets for RPM, and random packaging format X too.)

August 23, 2010 at 12:32 PM

Blogger Binary Crusader said...

But I want to be able to build and the foundation code without dealing with breakage in pkg-gate.

So pick a version of pkg(5) that works for your project and stick with it. It seems silly to argue against using IPS simply because it's in-development nature might inconvenience you.

So I'll assume that IllumOS is going to re-invent install, update, and zones mechanisms since all of those are now reliant on pkg(5).

Have fun!

August 23, 2010 at 3:36 PM

Blogger T.J. Yang said...

Please see R1,Fix what SVR4 missed /outdated package management functions with wrapper by TWW toolset.

R1:https://www.illumos.org/projects/cpamtww

August 23, 2010 at 7:21 PM

Blogger comay said...

As Tim and Shawn have indicated, grumbling about issues on blogs will only go so far. It's far more productive to file any sort of bug, even with scant details so that at least the issue can be tracked.

@Theo, I'd definitely appreciate hearing of the specific problems that you've had with IPS.

August 25, 2010 at 11:07 AM