Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Basic OpenBSD Questions

5 views
Skip to first unread message

Brent

unread,
Nov 9, 2006, 10:27:53 AM11/9/06
to
Ok im new to the OpenBSD world. I am creating a firewall for my network in
VMWare. I have used FreeBSD briefly (eventhough its been a very long time)
and have some linux skills. Anways i have to simple questions. I am trying
to remove some basic packeges that i installed when i first installed
OpenBSD. Apparently pkg_Info -a or pkg_info -A does not list these base
packages. When i try pkg_delete bsd.mp it tells me its an unresolved name.
bsd.mp is only one of the packages that i want to delete. can anyone help?

thanks,
Brent


Josh Grosse

unread,
Nov 9, 2006, 11:57:34 AM11/9/06
to

Packages are 3rd party applications. Running:

$ pkg_info | less

will give you a pageable list of all you have installed. On a freshly
installed OpenBSD system, *no* packages will be listed.

bsd.mp is a kernel file, which resides in your root directory. It is not
needed unless you have multiple CPUs or a dual-core CPU.

The *.tgz "file sets" you selected during OpenBSD install are not
packages either. They are OS components, and those that are optional are
removeable, but only with some effort. These files sets had names like
base40.tgz and etc40.tgz.


--
Replying directly will get you locally blacklisted.
Change the address; use my first name in front of the @ if you want to
communicate privately.

Brent

unread,
Nov 9, 2006, 5:17:43 PM11/9/06
to
Thanks Josh for the fast reply. So the "file sets" i chose to install during
the install process are really difficult to remove? When i first installed i
didn't have internet access so i chose to install the default sets but i
found out after installed that some of those sets i definitly did not need.
Im trying to make this box as secure as possible and i want the least on
there that i can. Like when im done compiling a customer kernal i would like
to remove the compiler set.

thanks,
Brent
"Josh Grosse" <spam...@jggimi.homeip.net> wrote in message
news:pan.2006.11.09....@jggimi.homeip.net...

Josh Grosse

unread,
Nov 9, 2006, 5:31:07 PM11/9/06
to
On Thu, 09 Nov 2006 16:17:43 -0600, Brent wrote:

> Thanks Josh for the fast reply. So the "file sets" i chose to install during
> the install process are really difficult to remove? When i first installed i
> didn't have internet access so i chose to install the default sets but i
> found out after installed that some of those sets i definitly did not need.
> Im trying to make this box as secure as possible and i want the least on
> there that i can. Like when im done compiling a customer kernal i would like
> to remove the compiler set.
>
> thanks,
> Brent

Brent,

I can understand your desire for security. And that attitude of removing
what is not needed is certainly common among many *nix administrators.
However, that is *not* the prevailing attitude among developers and users
of OpenBSD. There was a recent long discussion about this on the
misc@ mailing list. If you also consider that applying errata or building
-stable requires the compiler, unless you have multiple systems and build
your own release sets, you will need the compiler to maintain your system.

Also common among *nix administrators is the "stripping" of kernels and
the removal of what is thought to be unneeded. That is *not* supported by
the OpenBSD Project, where the GENERIC kernel should be used unless one
has a special need.

You can remove unwanted OS components, if you insist. To do that, you'll
have to create a list of the files in each unwanted file set tarball, and
then delete them. Not a great deal of effort for a *nix administrator,
but not a normal part of OpenBSD administration, so there is no
automation.

Message has been deleted
0 new messages