• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Tell me about FreeBSD

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
Bit of a sweeping statement....but you're correct for some cases somewhere

At the end of the day, apart from fringe features zfs is zfs is zfs.

Yes but chances are that ZFS isn't the only thing that place will want you to do with the box so saying you've used ZFS on FreeBSD when they're using Solaris won't be too helpful.

Having 2 or 3 packages installed at once is..err...broken. I'm not sure how you've managed to get into that state previously. Off the top of my head I can't even think how thats possible. I could see perhaps the package *database* becoming corrupted or confused - but not the actual installed port / package.

I agree that it's broken but apparently it's pretty easy to do because I just logged into a friends machine and ran pkg_info and got this:

[...]
autoconf-2.13_1 Automatically configure source code on many Un*x platforms
autoconf-2.57_1 Automatically configure source code on many Un*x platforms
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
automake-1.7.5_1 GNU Standards-compliant Makefile generator (version 1.7)
automake-1.9.3 GNU Standards-compliant Makefile generator (version 1.9)
[...]
libtool-1.3.4_2 Generic shared library support script
libtool-1.3.5_2 Generic shared library support script (version 1.3)
libtool-1.5.22_2 Generic shared library support script
libtool-1.5.2_1 Generic shared library support script (version 1.5)
[...]
php4-4.4.2_1 PHP Scripting Language (Apache Module and CLI)
php4-4.4.3 PHP Scripting Language (Apache Module and CLI)
[...]
sendmail-8.12.4 Reliable, highly configurable mail transfer agent with util
sendmail-8.12.9 Reliable, highly configurable mail transfer agent with util
[...]

If you think there isn't much difference then I can start to see how you've ended up with a broken system if you've started to muddle packages and ports up. The differences between them in theory and in use are subtle but important. No one will recomend you mix packages and ports where possible. (this can be unavoidable unfortunately)

Then they should be completely separate. Having them intermingle like this and then saying "Don't do that" is utterly braindead, if mixing ports and packages is really that bad of an idea then why do ports eventually install just like packages and break your system without warning?

Debian has 20,000 packages but they don't 'support' them. You can't phone 1-800-debian and ask them how to configure <insert obscure package>. (Ubuntu claims to do this via its enterprise support, but I'd be surprised if they cover everything in theit tree - I would be happily proved wrong if they do however)

But you can call HP since they offer Debian support contracts. And no I don't think Canonical will support everything Debian packages, they have their own subset of base packages and everything else is in repositories called universe and multiverse.

However it's supported in terms of someone on the debian package team has figured out how to build it on debian and wrapped it up with the correct dependencies for you / put the files in sensible locations.

FreeBSD is the same. Packages are built on clusters for release per FreeBSD release so they're known to compile and work.

On Debian they're more than just known to work, they're actually integrated into the system. When you install a Debian package they add menu entries for all installed WMs, update the alternatives system, Gnome things add themselves to the yelp index, etc.

Ports are less guaranteed but are still added to the ports tree by a FreeBSD ports maintainer with all the same guarantees as Debian packages.

I highly doubt that.

As a current example we have an IBM SAN we plan to run on a cluster of RedHat machines. To keep our RedHat support we have to use the RedHat multipath drivers.

However IBM won't support that so to keep our *SAN* support we have to use the IBM fibre card drivers...which taint the RedHat kernel and invalidate our RedHat support.

So which to choose? Thats actually one of the most important questions on the project that someone is trying to answer.

I understand completely, we had similar issues with RH and our SAN at the last place I worked. Ours was HP and eventually I think we got it worked out to where HP and RH were both happy with the situation and once we were able to use the QLogic modules and multipathing that came with RH things went much smoother. But in your case can't you get software support from IBM as well? It may be two separate departments within IBM but one would think that they'd be able to offer you support for both ends if RH won't help you.

However I'm confused.....I get the impression that FreeBSD has done something bad to you previously - stole some money or perhaps hurt a family pet?

Just wasted my time and generally annoyed me. I like the ideology but the system itself sucks to use IMO. With Debian 90% of the work is done for me by the package maintainers and that's how it should be.

Also the OP just wants to stick it on a laptop - so I think our lively discussion of the relative merits of support contracts with various systems is fairly pointless.

Support contracts yes, but general package support no. It seems to me that Debian devs put a lot more work into making their packages work well within the system than FreeBSD does with their packages and ports.

In light of your comments above I really think you'd benefit from giving FreeBSD another try - alot of the problems you seem to have seen can be avoided. You may still dislike it but at least you'd have a more solid background from which to criticise.

I have no doubt that all of the problems and inconveniences that I ran into could be worked around but I don't really see the point of learning all of that unless I need to because Linux already does everything I want and, IMO, in better and more manageable ways.

At the end of the day though - linux, freebsd, solaris...supported or unsupported we'll all be using the same programs / windows managers / server daemons in the end

Yes and how they're all tied together within the system is important and IMO Debian does that much better than FreeBSD or RH.
 
Yes but chances are that ZFS isn't the only thing that place will want you to do with the box so saying you've used ZFS on FreeBSD when they're using Solaris won't be too helpful.

Have to disagree - thats like saying your apache knowledge is no good because you've used it under linux but they're running it on Solaris.

I agree that it's broken but apparently it's pretty easy to do because I just logged into a friends machine and ran pkg_info and got this:

Snipped for brevity...

Your autoconf packages are valid. Autoconf is pretty different between versions and some programs only work on certain ones. Not strictly FreeBSDs fault. Linux distributions may handle it differently - but thats not broken.

As opposed to one of my boxes, which in its current life span has gone from 5.0 through all 5 revisions, up to 6 before coming to 6.2 with all the ports being kept up to date along the way (ports not packages).



libltdl-1.5.22_2 System independent dlopen wrapper
libtool-1.5.22_4 Generic shared library support script
libxml2-2.6.27 XML parser library for GNOME

pfqueue-0.5.6 A console-based tool for handling Postfix 1, Postfix 2 and
php5-5.2.2 PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.2.2 The bz2 shared extension for php


(sendmail not installed).

I can only say whoever looks after that machine has done something wrong somewhere.

You only have my word and a breif cut and paste from a random machine to prove it but you have to honestly ask yourself - if that was normal FreeBSD behaviour would anyone actually use it?

Then they should be completely separate. Having them intermingle like this and then saying "Don't do that" is utterly braindead, if mixing ports and packages is really that bad of an idea then why do ports eventually install just like packages and break your system without warning?

They are seperate. The installation process for both is different. The installation methodology is different. The only similarity is you end up with the same program installed at the end.

I'm not going to argue and say its not a common thing for a newcomer to FreeBSD to get confused about but its all clearly documented in the handbook.

As I've said previously sometimes it is unavoidable - at the end of the day its there for choice and flexibility.

I'd liken it to using rpm by hand or using yum. You'd expect the two to behave the same but realistically you'd never mix them.

I'm not going to tell anyone the FreeBSD package management system is flawless, without its foibles and with no shortcomings. Thats patently untrue and you've touched on some of the most widespread complaints.

However it's no better or worse than other package managers on other systems. They each have their advantages and disadvantages and its a case of which one you know best and identify with most.

If its worth anything to you everytime I have to update our Ubuntu boxes I curse at apt and its whole methodology and wish for ports 😉

And RedHat..well...at least 5 ships with yum now 🙂

But you can call HP since they offer Debian support contracts. And no I don't think Canonical will support everything Debian packages, they have their own subset of base packages and everything else is in repositories called universe and multiverse.

I didn't know that re: HP. However I'd argue the same as debian, theres no way they can offer comprehensive 'anything beyond how to install' support for all the packages.

On Debian they're more than just known to work, they're actually integrated into the system. When you install a Debian package they add menu entries for all installed WMs, update the alternatives system, Gnome things add themselves to the yelp index, etc.

I've touched on this earlier.

So does FreeBSD. However your point would be valid it you explained that Debian (as with most linux systems) is more *likely* to do it as ultimately its down to the discretion of the package maintainer. Lots of FreeBSD ports do this....lots don't. I think adding items to a window manager menu is alot different than saying it wouldn't compile / install / be supported.

I highly doubt that.

Thats your right...I'm not sure what evidence you would have though. Again if no one bothered about these things why would anyone use FreeBSD?

I'm again not going to say its flawless and theres never something introduced or changed thats caused a problem - but thats the same situation for every package manager I've used at some point, including the mighty 'tested' Redhat. (a special mention to gentoos portage in this category!)

But in your case can't you get software support from IBM as well? It may be two separate departments within IBM but one would think that they'd be able to offer you support for both ends if RH won't help you.

They will support the SAN and the drivers they provide - but not the rest of the RH box. As it's not an idle file server (base for an Oracle RAC cluster) we need to keep the RedHat support.

IBM would I suspect handle OS support for us if needed - but at more cost. As we've already paid for it and charged the client paying more would eat into profits. Shortsighted by someone along the way but these things happen.

With Debian 90% of the work is done for me by the package maintainers and that's how it should be.

I find the same with FreeBSD. For what it's worth. Again, swings and roundabouts.

Support contracts yes, but general package support no. It seems to me that Debian devs put a lot more work into making their packages work well within the system than FreeBSD does with their packages and ports.

I'm not really sure what you mean by that - other than the slightly less tight at times X integration, which I'm not going to deny. But your statement makes it sound like FreeBSD ports maintainers and the overseeing port tree administrators toss things in willy nilly with no testing or thought to anything.

I know thats not true but to someone uneducated to FreeBSD thats a very bias thing to say and easy for a newcomer to take the wrong way. I daresay the hard working ports people wouldn't be too pleased either!

I have no doubt that all of the problems and inconveniences that I ran into could be worked around but I don't really see the point of learning all of that unless I need to because Linux already does everything I want and, IMO, in better and more manageable ways.

I was trying to be polite and diplomatic with my 'work around' phrase...rather than being blunt and saying the problems you're having are because of holes in your FreeBSD knowledge.

And I agree if you know and use linux and are happy with it, theres no need to switch.

But thats what the OP was looking for. He does want to perhaps branch out - my points where that your sweeping generalisations were largely ill informed and would likely put the OP off for no reason.

Yes and how they're all tied together within the system is important and IMO Debian does that much better than FreeBSD or RH.

And IMO (what a wonderful get out clause) FreeBSD does it just fine. No better or worse than the others when all is said and done.

I'll bow out now, we're going round in circles. Agree to disagree?

jonessoda - I hope you're still reading at this point and that you've got the message that FreeBSD isn't as broken as made out. And I hope you've not been put off trying it.

Even if you try it and come back to agree with Nuthinmans points - then at least you gave it a whir!
 
Have to disagree - thats like saying your apache knowledge is no good because you've used it under linux but they're running it on Solaris.

Not that it's no good, but the differences between Solaris and RH and FreeBSD are big enough that it'll be a hindrance.

Your autoconf packages are valid. Autoconf is pretty different between versions and some programs only work on certain ones. Not strictly FreeBSDs fault. Linux distributions may handle it differently - but thats not broken.

I thought that might be the case but it's been so long since I've had to worry about having development packages installed that I wasn't sure.

I can only say whoever looks after that machine has done something wrong somewhere.

No doubt but again:

A. It's not obvious that you're doing something wrong because you're never given any warnings or errors
B. It shouldn't be this easy to end up in a bad situation like this

You only have my word and a breif cut and paste from a random machine to prove it but you have to honestly ask yourself - if that was normal FreeBSD behaviour would anyone actually use it?

Of course they would because they already know better and people aren't always rational and do all kinds of strange things. Have you ever seen some of Jörg Schilling's rants on how bad Linux device handling is and how Solaris got everything right?

And I'm sure you don't think I'm being very rational about this subject. =)

They are seperate. The installation process for both is different. The installation methodology is different. The only similarity is you end up with the same program installed at the end.

No you also end up with a package installed via the package manager when you use ports and if it's not safe to use them together why is it done like that?

I'd liken it to using rpm by hand or using yum. You'd expect the two to behave the same but realistically you'd never mix them.

Sure you would. Using yum to install an RPM (it even has a localinstall option just for that) or even switching back and forth between yum and rpm won't let you install the same package from two different sources at the same time and break your system. RPM and dpkg are smart enough to handle that and so should the FreeBSD package manager if ports is going to use it.

I'm not going to tell anyone the FreeBSD package management system is flawless, without its foibles and with no shortcomings. Thats patently untrue and you've touched on some of the most widespread complaints.

Then why aren't they fixed? A package manager that breaks your system without warning is worse than no package manager at all.

However it's no better or worse than other package managers on other systems. They each have their advantages and disadvantages and its a case of which one you know best and identify with most.

But their shortcomings almost never result in broken systems. The only real complaints I've heard about dpkg/apt is that individual packages aren't gpg signed and that's worked around by having the Packages.gz file on the repository signed so you only have to verify that and the MD5 it contains to make sure the package hasn't been tampered with and that making Debian packages is too hard which is true.

If its worth anything to you everytime I have to update our Ubuntu boxes I curse at apt and its whole methodology and wish for ports

Which makes no sense because 99% of the work is done for you. Why would running 'apt-get update; apt-get upgrade' make you curse?

And RedHat..well...at least 5 ships with yum now

Although it does it's job adequately yum would be a lot better if it wasn't done in python, it's mind numbingly slow.

I didn't know that re: HP. However I'd argue the same as debian, theres no way they can offer comprehensive 'anything beyond how to install' support for all the packages.

I'm not so sure about that, I would guess that just about everyone calls about installation issues and a handful of common daemons like exim (since it's the default for some strange reason), postfix, MySQL, etc. so it's not a huge issue. But I'm also sure if you called up and said "ion3 is giving me this error" that they'd probably just tell you to choose a more common WM.

So does FreeBSD. However your point would be valid it you explained that Debian (as with most linux systems) is more *likely* to do it as ultimately its down to the discretion of the package maintainer. Lots of FreeBSD ports do this....lots don't. I think adding items to a window manager menu is alot different than saying it wouldn't compile / install / be supported.

But it's not at their discretion because Debian policy dictates how packages need to integrate with the system so a GUI tool that doesn't add a menu entry, icon, etc is considered a bug and must be fixed.

Thats your right...I'm not sure what evidence you would have though. Again if no one bothered about these things why would anyone use FreeBSD?

The fact that every new package has to go through review by the ftp-masters in Debian means that packages that make it into the archive meet all, provided the ftp-master does his job, of the licensing and packaging policy requirements. Does FreeBSD have a similar review process for ports?

Shortsighted by someone along the way but these things happen.

If you want shortsighted you should've worked at my last employer. I still talk to some of the people there and apparently one department wanted to convert all of their Oracle boxes to Unbreakable Linux from Oracle because it's cheaper and they figured the integration with Oracle would be better. Well the integration was exactly the same, it's still a huge PITA to install Oracle and all of the shared memory tuning and crap needs done after installation and the support was so bad that like a month after the migration was done they wanted to back to RHEL.

But thats what the OP was looking for. He does want to perhaps branch out - my points where that your sweeping generalisations were largely ill informed and would likely put the OP off for no reason.

No offense to the OP, but if he couldn't get the OpenSuSE package manager working properly then why do you think he'd have better luck with a package manager that does even less to safeguard the system?
 
OpenBSD can upgrade packages without a 3rd party tool. 😉

FreeBSD's ZFS isn't Sun's ZFS. 😱

apt makes me want to use Gentoo.

autoconf and automake are horrid. I guess I uninstalled a version or two:
autoconf-2.13p0 automatically configure source code on many Un*x platforms
autoconf-2.52p1 automatically configure source code on many Un*x platforms
autoconf-2.59p1 automatically configure source code on many Un*x platforms
autoconf-2.61p1 automatically configure source code on many Un*x platforms
automake-1.4.6 GNU Standards-compliant Makefile generator
automake-1.9.6p2 GNU standards-compliant Makefile generator
 
OpenBSD can upgrade packages without a 3rd party tool.

Then they're already a step ahead of FreeBSD.

FreeBSD's ZFS isn't Sun's ZFS.

According to the FreeBSD wiki and the announcement on freebsd-current it sure is although it's still got some issues that need to be worked out.

apt makes me want to use Gentoo.

Then you're using it wrong. =)

autoconf and automake are horrid.

I don't think anyone will argue with that.
 
Originally posted by: Nothinman
OpenBSD can upgrade packages without a 3rd party tool.

Then they're already a step ahead of FreeBSD.

Just one? 😛

FreeBSD's ZFS isn't Sun's ZFS.

According to the FreeBSD wiki and the announcement on freebsd-current it sure is although it's still got some issues that need to be worked out.

So they bumped it up to 128bit from the 64bit that it was a month or two ago?

apt makes me want to use Gentoo.

Then you're using it wrong. =)

Maybe it's just bad. 😛

autoconf and automake are horrid.

I don't think anyone will argue with that.

Someone will. But they'll be wrong. 😉
 
Just one?

I couldn't say, I haven't had the urge to look at either very in depth recently.
264
So they bumped it up to 128bit from the 64bit that it was a month or two ago?

Huh? They have to support whatever data sizes ZFS supports out of the box otherwise it's not ZFS. And I'm not even sure why they call it 128-bit since the max size of a singe file and filesystem is 2^64 according to wikipedia.

Maybe it's just bad.

If you're going to claim something that far out there you should at least have a reason to back it up.
 
Originally posted by: Nothinman
Huh? They have to support whatever data sizes ZFS supports out of the box otherwise it's not ZFS. And I'm not even sure why they call it 128-bit since the max size of a singe file and filesystem is 2^64 according to wikipedia.

Well maybe they fixed it.

If you're going to claim something that far out there you should at least have a reason to back it up.

Nah. It's funnier this way. 😉
 
Originally posted by: Nothinman
And eztiger79 thought I was just trolling...

apt-get upgrade doesn't upgrade my packages. Or was that apt-get update doesn't update my packages? I can't remember.

apt-get search is broken. 😉

I can't find the apt command to display installed packages.

When you use apt to install the source for an application it doesn't appear to extract it in a centralized location.

Ubuntu goes long periods without updates.

I'm never quite sure what is going on when I apt.

The apt repository isn't all that big, and I haven't figured out how to create a .deb yet.

I've been booting into Windows lately instead of Ubuntu, so I can't remember all of the craziness that is apt.
 
This is OT, but kind of funny. This is the subject of an email I got today: Save a Penguin - Unplug a Linux Server Today

The email went on to say Solaris has unmatched or whatever security so I stopped reading. 😛
 
apt-get upgrade doesn't upgrade my packages. Or was that apt-get update doesn't update my packages? I can't remember.

Upgrade does upgrade your packages and update just updates the package list.

apt-get search is broken.

How can it be broken if it doesn't exist. =) apt-cache search is what you want.

I can't find the apt command to display installed packages.

AFAIK there isn't one to display all installed packages, I usually use dpkg with some grep filters if I'm looking for something or if I just want to know about a specific package 'apt-cache policy packagename' works. But most of the time I use aptitude these days so I don't worry about that very much.

Ubuntu goes long periods without updates.

Frequency of updates is orthogonal to the package manager but I've not heard anyone else complaining about Ubuntu being slow.

The apt repository isn't all that big, and I haven't figured out how to create a .deb yet.

I guess that's subjective, it looks like OpenBSD 4.1 only has ~8000 packages according to their website so I would say the Debian's is pretty big considering it's over twice that large.
 
Originally posted by: Nothinman
Upgrade does upgrade your packages and update just updates the package list.

See? It's confusing. What if I don't want to upgrade the packages, and I just want an update of them?

How can it be broken if it doesn't exist. =) apt-cache search is what you want.

I know, it's just annoying.

AFAIK there isn't one to display all installed packages, I usually use dpkg with some grep filters if I'm looking for something or if I just want to know about a specific package 'apt-cache policy packagename' works. But most of the time I use aptitude these days so I don't worry about that very much.

I know you can do it with dpkg, but I'm using apt. 🙂

Is aptitude a command line tool?

Frequency of updates is orthogonal to the package manager but I've not heard anyone else complaining about Ubuntu being slow.

After Feisty was released I went at least a week without a single update.

I guess that's subjective, it looks like OpenBSD 4.1 only has ~8000 packages according to their website so I would say the Debian's is pretty big considering it's over twice that large.

No, it isn't big, but its generally trivial to create or modify a port for a custom package. 😉

Oh, and one I thought about after I posted previously: It's dnet not dummynet!
 
See? It's confusing. What if I don't want to upgrade the packages, and I just want an update of them?

Then you use 'apt-get install packagename'. I guess upgrade could be overloaded to handle both cases but so far no one's cared enough to do it.

I know, it's just annoying.

But it's there, hell the package management tools in all of the BSDs are broken up into like 4 or 5 separate commands so I don't see how this is worse.

I know you can do it with dpkg, but I'm using apt.

APT is only a front end to dpkg just like yum to rpm and ports to pkg_add.

Is aptitude a command line tool?

It's an ncurses GUI, but technically yes and it supports virtually all of the apt-get commands so you can 'aptitude install packagename' if you want.

After Feisty was released I went at least a week without a single update.

So? Maybe nothing needed updated in that week.

No, it isn't big, but its generally trivial to create or modify a port for a custom package.

It's true creating Debian packages is a PITA but they already do it for just about everything I use so I'm not too concerned about it.

Oh, and one I thought about after I posted previously: It's dnet not dummynet!

Huh?
 
Originally posted by: Nothinman
Then you use 'apt-get install packagename'. I guess upgrade could be overloaded to handle both cases but so far no one's cared enough to do it.

If its already installed, won't that error out?

But it's there, hell the package management tools in all of the BSDs are broken up into like 4 or 5 separate commands so I don't see how this is worse.

I can think of 3 on Open. Searching is worse than Debian though.

APT is only a front end to dpkg just like yum to rpm and ports to pkg_add.

Understood. But I shouldn't have to see the backend. I don't have to know perl to play with OpenBSD's pkg tools.

It's an ncurses GUI, but technically yes and it supports virtually all of the apt-get commands so you can 'aptitude install packagename' if you want.

Interesting, I may have to check that out.

So? Maybe nothing needed updated in that week.

Release early, release often. 😉

It's true creating Debian packages is a PITA but they already do it for just about everything I use so I'm not too concerned about it.

But they don't for everything I use (especially the stuff I've written/modified).


For some stupid reason someone renamed libdnet to libdummynet. So if I want to install something that uses dnet I have to manually convert all includes from dnet.h to dummynet.h.

It's not a problem if there is a package already for the software... But see above. 😉

EDIT: Silly monkey.
 
If its already installed, won't that error out?

No, it installs the latest version.

I can think of 3 on Open. Searching is worse than Debian though.

I couldn't even find a way to search for uninstalled packages on OpenBSD, I always just used the website and pasted URLs to pkg_add.

Understood. But I shouldn't have to see the backend. I don't have to know perl to play with OpenBSD's pkg tools.

OpenBSD's pkg tooks are the backend...

Interesting, I may have to check that out.

It does other nice things like track automatically installed packages so that when you remove something it can also remove the things that it depended on but nothing else depends on. And in the UI you can do the normal / for search.

Release early, release often.

Stable releases only get security updates so if there's nothing to release there's nothing to release.

But they don't for everything I use (especially the stuff I've written/modified).

There is the new maintainer's guide: http://www.debian.org/doc/maint-guide/
 
Back
Top