LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-08-2023, 09:55 AM   #61
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555

Quote:
Originally Posted by rufwoof View Post
Errors in OpenBSD documentation are also considered as a potential security bug. Incorrect configuration may open up windows for hackers. Each version has its own distinct documentation (man pages) for that version. With Linux often configurations are read via web searches that may relate to different versions such that the configuration indicated works, but may leave weaknesses open.
People using a search engine and blindly selecting the top option is PEBCAK, not an OS issue. Except when the developers of the OS don't bother making man pages easily accessible, or add unnecessary hurdles in the way. Some Linux distros do that, but not all of them. Some make it easy and user-friendly.

Take Debian, for example. Going to //manpages.debian.org/git will redirect to current version of Git's manpage, with single click links to older versions, or to the package tracker.

If one knows the old version, they can go direct to //manpages.debian.org/buster/git which will redirects to the relevant docs for that version, whether the user enters "buster" or "Buster".

Ubuntu has similar (//manpages.ubuntu.com/git), but also generates a table of contents, and it has a prominent link to "report a bug in the contents of this documentation".


However when we compare to //man.openbsd.org/git that gives "No results found"? Really? Same with vim, curl, rsync, firefox ?

Ok, so //man.openbsd.org/man goes to the current page for man, but it takes three clicks to go to an older version, has no links to package information.

Also, whilst //man.openbsd.org/OpenBSD-7.4/man goes to the old version, trying //man.openbsd.org/openbsd-7.4/man gives "Bad Request" because why not force people to type uppercase...

(Checking //man.freebsd.org/git, that redirects to current version of Git manpage, but still needs three clicks to change version, and not selecting a "...and Ports" version says "no data found", and there appears to be no concise URL for going direct to a specific version, nor indication of if a package is a port or not. It does at least have a generated ToC, though it's at the bottom of the page.)


There are undoubtedly areas where OpenBSD is better, but this does not appear to be one of them.

 
1 members found this post helpful.
Old 11-08-2023, 05:37 PM   #62
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by Turbocapitalist View Post
It has been default in OpenBSD since 2016
And that's a perfect example of where OpenBSD 'hamstrings' itself. The developers don't care if the OS doesn't work on hardware they don't own. Strict implementation of certain features means that you end up with a kernel that either doesn't work or performs poorly on some machines.

There's nothing wrong with idealism, but it's a significant part of the reason that the BSDs are where they are in the market.

Having said that though, Linux is quite clearly heading down a rabbit hole with nobody knowing where it will end, and I can foresee myself switching to one of the BSDs in time.
Quote:
Originally Posted by YesItsMe View Post
In general, Windows had clearly overtaken Linux ... in terms of security by 2007 at the latest
That's hilarious! Thanks for the laugh.

Microsoft says that their software has these features, but have you ever looked at the source code to know this information first hand?

Quite clearly the secure design of their OS is the reason we're forced to download anywhere up to 1Gb of updates every "patch Tuesday."
 
1 members found this post helpful.
Old 11-09-2023, 06:54 AM   #63
_blackhole_
Member
 
Registered: Mar 2023
Distribution: FreeBSD
Posts: 94

Rep: Reputation: 78
Quote:
Originally Posted by boughtonp View Post
However when we compare to //man.openbsd.org/git that gives "No results found"? Really? Same with vim, curl, rsync, firefox ?
None of which are part of the OS - hence why they are absent. No idea why you would think that git was part of OpenBSD. OpenBSD uses CVS by the way.

Quote:
Originally Posted by boughtonp View Post
because why not force people to type uppercase... [etc]
Well if that's all you've got, they must be doing ok. I've not had any issues, as I've not had to type in the URL. But if I did, it still wouldn't be an issue, as I've spent decades with case sensitive file systems - and for me that's the norm. I thought most if not all Linux users were the same - or has that changed recently? That will probably be Lennart's next project "systemd-caseinsensitived"... now that he works for Microsoft, it seems all the more likely.

Quote:
Originally Posted by boughtonp View Post
There are undoubtedly areas where OpenBSD is better, but this does not appear to be one of them.
Well, as you're talking about a web page and some 3rd party software from the ports tree, then I'm not so sure.

Quote:
Originally Posted by rkelsen View Post
The developers don't care if the OS doesn't work on hardware they don't own. Strict implementation of certain features means that you end up with a kernel that either doesn't work or performs poorly on some machines.
I have no idea why you would think W^X is a "hamstrings".

OpenBSD introduced it back in 2003: http://www.openbsd.org/33.html

Microsoft introduced DEP in XP in 2004.

OpenBSD is a tiny project, a research OS, which is minuscule compared to corporate backed Linux... pray do tell how the developers are supposed to develop driver support for hardware which they don't own?

Linux is a "commercial" offering, it has input from all of the major "big tech" corporations, such as Intel, AMD, Meta, Alphabet, Microsoft, IBM, HP, etc, etc, etc. Thousands of developers all on the corporate payroll work on the Linux kernel, backed by a foundations which is funded by those same corporations - and a board of directors made up of the same.

Last edited by _blackhole_; 11-09-2023 at 07:17 AM.
 
Old 11-09-2023, 08:11 AM   #64
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian
Posts: 7,343

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by rkelsen View Post
Having said that though, Linux is quite clearly heading down a rabbit hole with nobody knowing where it will end, and I can foresee myself switching to one of the BSDs in time.
Like you I also found it disturbing that IBM decided to take the Red Hat source code and put it behind a paywall. RHEL is no longer really FOSS, it's something else. I'm hopeful that the remainder of the Linux ecosystem doesn't follow this trend.
I really like the BSDs, I'm dual booting OpenBSD on this Slackware box, and running FreeBSD virtually. At the moment I'm not planning on just running a BSD exclusively. For me to fully adopt the BSDs completely the BSDs will need to be more fully embraced by big business and given access to proprietary software.
 
Old 11-09-2023, 09:02 AM   #65
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555

Git was a thought of something not installed by default that might have security implications if misconfigured, given the suggestion towards OpenBSD having superior documentation as a security feature.

The others were simply common software to sanity check the unexpected lack of results.

(I am confused that OpenBSD not only uses GPL-licensed CVS, but appears to have it as part of the core OS - not as part of ports, but in the main sourcecode - huh?)

Anyway, if one runs "pkg_add git" on an OpenBSD system do they get Git installed? Which version? Does it come with local documentation? Does it pull in libcurl, or use some other library? Does it include gitk, or is that in another package?


Good documentation is not just about the raw contents of pages - it's also about navigability and discoverability, and about being able to easily answer questions like those above prior to installing anything.

-

There's a lot of people using Linux-based systems who are increasingly worried about what is being done - by Lennart, yes, but not just by Lennart - and it seems that OpenBSD may not be the viable backup plan a lot of those people seem to want it to be.

That isn't the fault of OpenBSD - if OpenBSD is by and for its users, and those users are happy with what it is, then great for them - but maybe it's the case that, unless one of the other BSD distros caters for the potential "Linux refugees", at some point there'll be something else that does.

*shrug*

 
1 members found this post helpful.
Old 11-09-2023, 09:39 AM   #66
_blackhole_
Member
 
Registered: Mar 2023
Distribution: FreeBSD
Posts: 94

Rep: Reputation: 78
Quote:
Originally Posted by boughtonp View Post
(I am confused that OpenBSD not only uses GPL-licensed CVS, but appears to have it as part of the core OS - not as part of ports, but in the main sourcecode - huh?)
http://www.openbsd.org/opencvs/

Quote:
Originally Posted by boughtonp View Post
Anyway, if one runs "pkg_add git" on an OpenBSD system do they get Git installed? Which version? Does it come with local documentation? Does it pull in libcurl, or use some other library? Does it include gitk, or is that in another package?
It will pull in whatever dependencies are required by the port/package. Not sure what your point is there. Looking at a local mirror 2.42.0 seems to be available.

In FreeBSD, which I mostly use these days, this is what I have:

Code:
% pkg info git
git-2.41.0
Name           : git
Version        : 2.41.0
Installed on   : Fri Sep  8 13:00:54 2023 BST
Origin         : devel/git
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel
Licenses       : GPLv2
Maintainer     : garga@FreeBSD.org
WWW            : https://git-scm.com/
Comment        : Distributed source code management tool
Options        :
	CONTRIB        : on
	CURL           : on
	GITWEB         : on
	HTMLDOCS       : off
	ICONV          : on
	NLS            : on
	PCRE2          : on
	PERL           : on
	SEND_EMAIL     : on
	SUBTREE        : on
Shared Libs required:
	libpcre2-8.so.0
	libintl.so.8
	libexpat.so.1
	libcurl.so.4
Annotations    :
	FreeBSD_version: 1302001
	cpe            : cpe:2.3:a:git-scm:git:2.41.0:::::freebsd13:x64
	flavor         : default
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 34.1MiB
Description    :
Git is a free and open source distributed version control system designed to
handle everything from small to very large projects with speed and efficiency.

WWW: https://git-scm.com/
Code:
pkg info -dx git
git-2.41.0:
	p5-CGI-4.57
	expat-2.5.0
	p5-IO-Socket-SSL-2.083_1
	p5-Authen-SASL-2.16_1
	python39-3.9.18
	perl5-5.32.1_3
	p5-Error-0.17029
	curl-8.1.2
	pcre2-10.42
	gettext-runtime-0.21.1
libgit2-1.5.2_1:
	http-parser-2.9.4
	libssh2-1.11.0,3
	pcre2-10.42
Among a load of potential package updates:
Code:
git: 2.41.0 -> 2.42.0
Looking at the output of the pkg list command, man pages are installed in the usual place.

Quote:
Originally Posted by boughtonp View Post
There's a lot of people using Linux-based systems who are increasingly worried about what is being done - by Lennart, yes, but not just by Lennart - and it seems that OpenBSD may not be the viable backup plan a lot of those people seem to want it to be.
None of the BSDs serve as a "backup plan" for Linux "refugees".

OpenBSD in particular doesn't do advocacy - they prefer not to have an influx of that type of user.

Last edited by _blackhole_; 11-09-2023 at 09:47 AM.
 
Old 11-09-2023, 12:52 PM   #67
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 290

Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by boughtonp View Post
...in the main sourcecode...
You have noted that this in a branch under /usr/src/gnu. In /usr/src/gnu/README, it says, in part: "This directory contains software that is Gigantic and Nasty but Unavoidable." Humor aside, there are still some GPL-licensed legacy tools remaining in the OS from its incept, even though no new GPL-licensed components are currently considered.
Quote:
Anyway, if one runs "pkg_add git" on an OpenBSD system do they get Git installed? Which version? Does it come with local documentation? Does it pull in libcurl, or use some other library? Does it include gitk, or is that in another package?
On the most recent -release, the git version is 2.42.0. I'm a little ahead on my -current laptop, where the git package I installed is version 2.42.1. This has a library dependency for net/curl (8.4.0), and also installs the full set of git man pages (in /usr/local/man/), git core templates (in /usr/local/share), and gitweb (also in /usr/local/share), though the gitk tool is installed separately as a component of the git-x11 package.

Quote:
Good documentation is not just about the raw contents of pages - it's also about navigability and discoverability, and about being able to easily answer questions like those above prior to installing anything.
All of OpenBSD's third-party binary packages are built from instructions in the OpenBSD ports tree, and while the ports tree is primarily build-instruction scaffolding, it can be parsed. A public server running the OpenBSD "ports-readmes-dancer" package is available at openports.pl. Here is the link to the -current page on the devel/git port, from which the git packages are built: https://openports.pl/path/devel/git Most packaging questions can be answered through it. Most any details not parsed automatically may be ascertained through review of the ports tree through its CVSWeb interface, or through its Github mirror, or if desired through obtaining a local copy of the tree.
 
3 members found this post helpful.
Old 11-09-2023, 03:54 PM   #68
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by YesItsMe View Post
Example: Windows received W^X support in 2004, Linux got it in 2007. In general, Windows had clearly overtaken Linux (and perhaps also FreeBSD - HardenedBSD exists for a reason) in terms of security by 2007 at the latest, when the (rightly) much-maligned Vista with its noticeably more secure kernel was made available to the general public.
This is blatant misinformation.

Extract from the Linux kernel changelog for version 2.6.8 (which was released on the 14th August 2004):
Quote:
Originally Posted by https://mirrors.edge.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.8
<mingo@elte.hu>
[PATCH] NX (No eXecute) support for x86

we'd like to announce the availability of the following kernel patch:

http://redhat.com/~mingo/nx-patches/nx-2.6.7-rc2-bk2-AE

which makes use of the 'NX' x86 feature pioneered in AMD64 CPUs and for
which support has also been announced by Intel. (other x86 CPU vendors,
Transmeta and VIA announced support as well. Windows support for NX has
also been announced by Microsoft, for their next service pack.) The NX
feature is also being marketed as 'Enhanced Virus Protection'. This
patch makes sure Linux has full support for this hardware feature on x86
too.
Also, see here: https://en.wikipedia.org/wiki/Addres..._randomization

Windows doesn't support W^X. They use their own methods: https://en.wikipedia.org/wiki/Micros...ing_mechanisms

Further reading on the history, if you're interested in facts at all: https://en.wikipedia.org/wiki/Execut...ace_protection
 
4 members found this post helpful.
Old 11-11-2023, 04:29 PM   #69
YesItsMe
Member
 
Registered: Oct 2014
Posts: 916

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Quote:
Originally Posted by rkelsen View Post
Quite clearly the secure design of their OS is the reason we're forced to download anywhere up to 1Gb of updates every "patch Tuesday."
Ah, so this devolved into another "Windows vs. <anything>" thread. Enjoy your laugh, I'm out of puberty and - thus - of this thread.

Last edited by YesItsMe; 11-11-2023 at 04:32 PM.
 
Old 12-27-2023, 12:08 PM   #70
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
i use OpenBSD on my daily pc.
it acts as a filtering bridge but i use it to browse lq etc from time to time.

i could use it (OpenBSD) on my main box but i use arch and windows on it bcus i am a gamer.
my pc is high end hardware with Nvidia graphics card and nice amd CPU, if OpenBSD would support Nvidia drivers (blasphemy, i know) and were made for gaming i would use it on my main pc.
 
Old 04-29-2024, 10:27 PM   #71
Freedhof
LQ Newbie
 
Registered: Apr 2024
Posts: 1

Rep: Reputation: 0
Yes you can

Quote:
Originally Posted by business_kid View Post
I tried it also. It's another big learning curve.

On the positive side, it is more secure. On the negative side, there is a lot more paranoia and a lot less support. You inevitably end up compiling software designed for glibc based systems on BSD's libc, which means compiling and patches. Things like flatpacks or AppImages won't be much use to you. Neither will the the precompiled packages we use every day. Can you run Firefox on BSD? Zoom? FPGA Software? etc. etc.

I think BSD's niche is for internet-facing boxes running firewalls or servers. It's true BSD is free of systemd, etc.

So, th answer your question: Only a minority with a distaste for linux and a willingness to do without run BSD.

Yes actually you can run these in BSD Firefox and Zoom are both useable. Firefox I believe is installable on BSD you can do all the things you would do on linux. Except I dont think it has drm though for watching stuff like Netflix. An you can use Zoom in BSD you can use Zoom in the web browser. However as to installing it as a desktop application on BSD no not really. An I have no idea what FPGA software is though.
 
Old 05-05-2024, 08:50 AM   #72
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,398

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Quote:
Originally Posted by Freedhof
I have no idea what FPGA software is though.
If you look on your motherboard, sbc or mobile phone these days, you'll find a couple of big chips about 30mm² that do everything. They are expensive ASICs for large volume. The tooling is expensive. Field Programmable Gate Arrays (FPGAs) are low volume write-your-own-chip type things. So the fpga software is a complete IDE for these chips, typically 15G of database, program editors (vhdl & verilog) & chip simulator. There's also pin assignment stage & compiler. All your efforts go into a program that is read in on power up and configures the FPGA. Then if one of your test units misbehaves, you can fix it (reprogram) in in the field. New program = New device .

Zoom in the browser means you can't use the zoom client, which is heavily Qt based, but also has it's own (glibc) libs.

Last edited by business_kid; 05-05-2024 at 08:56 AM.
 
Old 05-06-2024, 09:07 AM   #73
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 703
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by business_kid View Post
I tried it also. It's another big learning curve.
Interesting, when I tried OpenBSD (and other BSDs), the learning curve was very easy. BSD's documentation is 100x better than anything Linux has.

Quote:
Originally Posted by business_kid View Post
You inevitably end up compiling software designed for glibc based systems on BSD's libc, which means compiling and patches.
Since this tread is about OpenBSD, this statement does not make sense for OpenBSD, patches are all binary for amd64 and i386 and very easy to install. Or are you running BSD on some exotic hardware ?

Quote:
Originally Posted by business_kid View Post
Things like flatpacks or AppImages won't be much use to you.
In a way correct, but pledge(2) unveil(2) IMHO, is much better than flatpacks, appimages, docker or whatever on Linux. Firefiox, Chrome and a few other packages have been pledged and unveiled. Plus they are very easy to call in your program.

Quote:
Originally Posted by business_kid View Post
Neither will the precompiled packages we use every day.
Everything I use on Linux has been found and works fine in OpenBSD. If not there I have found better alternatives.

Quote:
Originally Posted by business_kid View Post
Can you run Firefox on BSD? Zoom? FPGA Software? etc. etc.
Firefox on OpenBSD works great and due to pledge(2) and unveil(2), I have absolutely no concerns visiting any page. On Linux, I avoid many pages if I need to enable JS via noscript on more than 2 sites.

I do not know what FPGA is. For Zoom, I would never let that near any home desktop I am on. I think you are better off using zoom on your Cell Phone. FWIW, I have no need for zoom.

Quote:
Originally Posted by business_kid View Post
I think BSD's niche is for internet-facing boxes running firewalls or servers. It's true BSD is free of systemd, etc.
More of an opinion, personally, I like Slackware's init slightly better than BSD's init setup.


Quote:
Originally Posted by business_kid View Post
So, th answer your question: Only a minority with a distaste for linux and a willingness to do without run BSD.
Maybe, but when I developed software for AIX, I would test on Slackware, RHEL, OpenBSD and NetBSD. Testing on the BSDs found lots of Issues that Linux had no problem with. So, if you are a developer, you really should at least test on OpenBSD, and I would suggest NetBSD too.

To add to this, the Corporate take-over of Linux is a big concern for me. If not for Slackware, I would have abandoned Linux almost 10 years ago.

Last edited by jmccue; 05-06-2024 at 09:12 AM. Reason: grammer and spelling
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The Libreboot C201 from Minifree is really really really ridiculously open source jeremy Linux - News 0 12-09-2016 10:51 AM
LXer: Microsoft's Charm Offensive Against GNU/Linux Uses the Same Media Strategy Donald Trump Uses LXer Syndicated Linux News 0 04-04-2016 06:13 AM
Scripts in cron.daily are not running daily abefroman Linux - Server 1 12-23-2014 12:11 PM
Advice? Best way to move files daily to a daily "date" named directory ziphem Linux - Newbie 2 04-15-2007 08:03 AM
xinetd uses service --> slackware uses ??? kntgtaid Slackware 1 06-06-2004 02:10 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration