Re: dangerously dedicated physical disks.

2013-09-23 Thread Robert Simmons
On Mon, Sep 23, 2013 at 6:25 AM, Polytropon free...@edvax.de wrote:
 With GPT, there is no reason to use BSD disklabels at all.

 And most modern computers do not have any problem booting it.
 The old MBR approach (as well as dedicated) will probably only
 be needed in niche applications and exceptions. You can have
 all the advantages of being easy stuff known from dedicated
 layout by using the GPT tools, plus you gain more compatibility
 if this matters.

Not entirely. Due to GEOM specs, if you create a GELI encrypted
container, you cannot use GPT partitioning inside that container. You
must use BSD. This is an edge case, and I've submitted a bug about it
a while ago, but like I just said, this is apparently a feature not a
bug.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [FreeBSD-Announce] vBSDcon Registrations Only Open For 30 More Days!

2013-09-23 Thread Robert Simmons
Any contribution from a company like Verisign needs to be carefully
scrutinized. I also don't think it wise to allow them to take a
leadership role of any type.

On Mon, Sep 23, 2013 at 4:29 PM, Michael Powell nightre...@hotmail.com wrote:
 Brett Glass wrote:

 All:

 It's good to see corporate support of BSD, but at the same time I
 have mixed feelings about certain corporations -- Verisign among
 them -- hosting BSD-related conferences or becoming involved in the
 development of BSD-based operating systems. Why? Because Verisign,
 based in Reston, Virginia (the city next door to Vienna, VA, home
 of the NSA), has strong ties to this shadowy agency.

 No. I used to work right down the street from Network Solutions (now known
 as Verisign) in Herndon. Indeed, I had job offerings from them but felt I was
 better off to stay where I was. The NSA is headquartered at Ft Meade, near
 Columbia in Maryland. I worked there for 8 years? The CIA headquarters is in
 Mclean, Virgina, which is right next door to Vienna. Reston/Herndon is a few
 miles down the Dulles Toll Rd to the west. I've been to all these places, so
 this is not some MapQuest google for me.

 The NSA, in
 turn -- as reported in documents recently leaked by Edward Snowden
 -- has a very strong interest in weakening the security of
 cryptographic algorithms, cryptographic software, and operating
 systems. We may want to look this gift horse very carefully in the
 mouth, or at least monitor very closely contributions of code
 that might introduce backdoors or weaknesses.

 On some level I agree with this - to a point. Examine how the NSA maneuvered
 the NIST to approve and mandate the FIPS-140 protocols, where deeply
 concealed was a known weak prng. To some of us this is not news - we've
 known it for a long time. Arguments of pro vs con, good vs evil, ad
 infinitum ad nauseum, etc, are better served in a different venue.

 It is so much easier to get away with concealing such things inside the
 closed-source paradigm. What I like and admire with open source is the code
 is out there in public for all to examine. These truly arcane crypto stuffs
 operate at such a high level of mathematical complexity that even very
 highly skilled cryptographer/mathematicians argue amongst themselves.

 I am just not that smart, or that highly educated. There are some in the
 open source community who do have very large propellers on their beanie
 caps. I defer to them simply because they are smarter then me. I would trust
 them long before I would trust closed source.

 I agree about the 'looking the gift horse in the mouth' concept. Bear in
 mind, however, some of the guys at NIST are pretty smart too. And yet this
 FIPS-140/prng stuff went right by them. My suggestion is for FreeBSD (indeed
 open source in general) to try and engage, include, and attract to the
 community the kinds of elite mathematician who may have the facilities to
 examine the code at a higher level than can dummies like me.

 Whenever The Citadel wants the public to fixate on any one particular
 brouhaha I know they are trying to get everyone looking in a particular
 direction whilst they are pulling something else. Verisign may very well
 have some other obfuscated agenda. Take a step backwards and try to obtain
 some view of the bigger picture (hint). Will not elaborate here, even though
 I do have some crackpot ideas.

 I find it highly ironic:

 http://en.wikipedia.org/wiki/Snowden_%28character%29#Snowden

 I got no end of amusement from this.  Just my $ 0.02.

 -Mike



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Sockstat Output

2013-09-21 Thread Robert Simmons
There are a few lines in the output of sockstat related to sshd and
pflogd that all have ??:
admin1   sshd   942   4  stream - ??
root sshd   939   5  stream - ??
_pflogd  pflogd 552   5  stream - ??
root pflogd 548   4  stream - ??

Are these normal? Why the ??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wildly different numbers of portsnap updates between i386 and amd64?

2013-09-21 Thread Robert Simmons
The update is a delta from what is already on your system. When you
updated the older box, you pulled in lots of changes to get it
current. The newer box needed fewer updates to get current.

Or something is wrong. You can always delete the contents of /ports
and the database in /var/db/portsnap. Then just portsnap fetch 
portsnap extract. You will get a fresh ports tree.

On Sat, Sep 21, 2013 at 2:20 PM, Christian Campbell
dc...@alumni.ufl.edu wrote:
 Hi. I run 9.1-RELEASE on two boxes: one i386 and the other amd64. I've run
 the latter for a bit over a week. When I portsnap update, the 32-bit
 machine typically gets several to dozens or hundreds of updates, while the
 64-bit machine typically gets none, or maybe a couple. What might be the
 explanation for this behaviour?

 Thank you,
 Christian

 _
 3425 SW 2nd Ave, #239  cell (352) 514-7411
 Gainesville, FL  32607-2813
 dc...@alumni.ufl.eduhttps://mail.google.com/mail/?view=cmfs=1tf=1to=dc...@alumni.ufl.edu

 On this perfect day / Nothing's standing in my way...-Hoku
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Freeze when running freebsd-update

2012-06-26 Thread Robert Simmons
I've run into a totally reproducible freeze in 9.0.  There are a
number of variables involved, but I'm able to reproduce this freeze
100% of the time.

I'm installing very small servers in a Xen HVM virtualization
environment.  Each instance has 128M memory and 4G of disk space.
There is 384M of swap encrypted using geli_swap_flags=-d -l 256 -s 4096.

The rest of the disk space is encrypted with geli init -b -v -a
hmac/sha256 -l 256 -s 4096 /dev/ada0p4.

After I've installed a VPS in this way, I run the freebsd-update fetch
command and it freezes at:
Applying patches...

I've been trying to diagnose the problem by running top and watching
what happens during this stage.  I noticed the following:

1) the box runs out of physical memory at this stage (totally
expected, that's why there is sufficient swap space).
2) All the processes except 2 sleep:
31 processes:  1 running, 29 sleeping, 1 waiting
3) the box is responsive to hitting enter at the console (it produces
another login: prompt)
4) sshd is asleep, so I can't ssh into the box
5) if I try to login to the console, it lets me enter a username then
locks up totally, it does not present me with a password: prompt.
6) it has not run out of swap, nowhere close:
Mem: 54M Active, 9524K Inact, 41M Wired, 24K Cache, 21M Buf, 32K Free
Swap: 384M Total, 6452K Used, 378M Free, 1% Inuse
7) the moment it runs out of physical memory it begins being unresponsive

Any idea what might be going on here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any way to grab just One port to upgrade?

2012-06-12 Thread Robert Simmons
On Tue, Jun 12, 2012 at 1:56 PM, Gary Kline kl...@thought.org wrote:
 On Tue, Jun 12, 2012 at 12:34:44AM -0400, Robert Simmons wrote:
 Date: Tue, 12 Jun 2012 00:34:44 -0400
 From: Robert Simmons rsimmo...@gmail.com
 Subject: Re: any way to grab just One port to upgrade?
 To: freebsd-questions@freebsd.org

 On Mon, Jun 11, 2012 at 8:31 PM, Gary Kline kl...@thought.org wrote:
  On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote:
  Date: Mon, 11 Jun 2012 18:14:52 -0400
  From: Robert Simmons rsimmo...@gmail.com
  Subject: Re: any way to grab just One port to upgrade?
  To: freebsd-questions@freebsd.org
 
  On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
   it is easy to cvs or cvsup ports and get a whole slew of ports in
   /usr/ports/distfiles, but too often, using portmaster [or another
   tool], I'll have only one of two ports that fail because they are
   either 1) broken, or 2) out of date.  is there any way I can grab
   just the ones that fail to compile?  I'm down to fewer than 50
   ports.
   and wedged.
 
  You don't want to have /usr/ports out of sync.  You want to let
  cvsup/portsnap do it's thing.  It's ideal to have the whole ports
  collection up-to-date.  You may want to start with a clean slate and
  cvsup/portsnap a fresh copy of the ports collection if you think that
  something is amiss.  You can make a backup of /usr/ports for peace of
  mind too.
 
  Also, can you please supply exactly what ports you're talking about
  and what commands you are running to upgrade?  Error output for the
  ports you say are broken would be another good thing to supply.
 
         something in x11-toolkits/gtk20 blew up.  S.
         lolngstoryshrt, I rebuilt from scratch [[ from the very
         beginning ]] around 2 hours ago.  it Just died.  here are
         the last 20 lines::
 
 
  gmake[2]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules'
  Making all in demos
  gmake[2]: Entering directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
  /usr/local/bin/gdk-pixbuf-csource --raw --build-list            \
         apple_red  ./apple-red.png      \
                 gnome_foot ./gnome-foot.png     \
          test-inline-pixbufs.h                         \
  || (rm -f test-inline-pixbufs.h  false)
  failed to load ./apple-red.png: Couldn't recognize the image file
  format for file './apple-red.png'
  gmake[2]: *** [test-inline-pixbufs.h] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6'
  gmake: *** [all] Error 2
  *** Error code 1
 
  Stop in /usr/ports/x11-toolkits/gtk20.
  *** Error code 1
 
  Stop in /usr/ports/x11-toolkits/gtk20.
  root@ethic:/tmp#
 
         unless this port is known to be broken, I'll cvsup the ports
         tree.

 That may not be necessary.  I'm building gtk20 on a freshly installed
 virtual machine with a freshly portsnap'd ports tree.  I noticed the
 following in the CVS logs:
 CVS log for ports/x11-toolkits/gtk20/Makefile
 Revision 1.256: download - view: text, markup, annotated - select for diffs
 Fri Jun 1 05:25:47 2012 UTC (10 days, 22 hours ago) by dinoex
 Branches: MAIN
 CVS tags: HEAD
 Diff to: previous 1.255: preferred, colored
 Changes since revision 1.255: +1 -1 lines
 - update png to 1.5.10

 Since png just changed, and the error you encountered is failed to
 load ./apple-red.png: Couldn't recognize the image file, I think
 you may have run into a bug.  I'll find out in the morning when the
 build is done.


        thanks much++.  I can't understand how a *pmg file could
        fail .. but then all it takes is one byte

Well, I am unable to reproduce the build failure, so I suggest
basically reproducing my environment in your own.  Backup your ports
tree (mv ports ports.old is good if you have space).  Then backup the
directory with your cvsup data (the checkouts files).  Run your cvsup
to get a fresh copy of the ports tree.  Perform your upgrades again
with portmaster, or whatever you would like to use.  See if this
doesn't solve your problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any way to grab just One port to upgrade?

2012-06-11 Thread Robert Simmons
On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
 it is easy to cvs or cvsup ports and get a whole slew of ports in
 /usr/ports/distfiles, but too often, using portmaster [or another
 tool], I'll have only one of two ports that fail because they are
 either 1) broken, or 2) out of date.  is there any way I can grab
 just the ones that fail to compile?  I'm down to fewer than 50
 ports.
 and wedged.

You don't want to have /usr/ports out of sync.  You want to let
cvsup/portsnap do it's thing.  It's ideal to have the whole ports
collection up-to-date.  You may want to start with a clean slate and
cvsup/portsnap a fresh copy of the ports collection if you think that
something is amiss.  You can make a backup of /usr/ports for peace of
mind too.

Also, can you please supply exactly what ports you're talking about
and what commands you are running to upgrade?  Error output for the
ports you say are broken would be another good thing to supply.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any way to grab just One port to upgrade?

2012-06-11 Thread Robert Simmons
On Mon, Jun 11, 2012 at 8:31 PM, Gary Kline kl...@thought.org wrote:
 On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote:
 Date: Mon, 11 Jun 2012 18:14:52 -0400
 From: Robert Simmons rsimmo...@gmail.com
 Subject: Re: any way to grab just One port to upgrade?
 To: freebsd-questions@freebsd.org

 On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
  it is easy to cvs or cvsup ports and get a whole slew of ports in
  /usr/ports/distfiles, but too often, using portmaster [or another
  tool], I'll have only one of two ports that fail because they are
  either 1) broken, or 2) out of date.  is there any way I can grab
  just the ones that fail to compile?  I'm down to fewer than 50
  ports.
  and wedged.

 You don't want to have /usr/ports out of sync.  You want to let
 cvsup/portsnap do it's thing.  It's ideal to have the whole ports
 collection up-to-date.  You may want to start with a clean slate and
 cvsup/portsnap a fresh copy of the ports collection if you think that
 something is amiss.  You can make a backup of /usr/ports for peace of
 mind too.

 Also, can you please supply exactly what ports you're talking about
 and what commands you are running to upgrade?  Error output for the
 ports you say are broken would be another good thing to supply.

        something in x11-toolkits/gtk20 blew up.  S.
        lolngstoryshrt, I rebuilt from scratch [[ from the very
        beginning ]] around 2 hours ago.  it Just died.  here are
        the last 20 lines::


 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules'
 Making all in demos
 gmake[2]: Entering directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
 /usr/local/bin/gdk-pixbuf-csource --raw --build-list            \
        apple_red  ./apple-red.png      \
                gnome_foot ./gnome-foot.png     \
         test-inline-pixbufs.h                         \
 || (rm -f test-inline-pixbufs.h  false)
 failed to load ./apple-red.png: Couldn't recognize the image file
 format for file './apple-red.png'
 gmake[2]: *** [test-inline-pixbufs.h] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6'
 gmake: *** [all] Error 2
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20.
 root@ethic:/tmp#

        unless this port is known to be broken, I'll cvsup the ports
        tree.

That may not be necessary.  I'm building gtk20 on a freshly installed
virtual machine with a freshly portsnap'd ports tree.  I noticed the
following in the CVS logs:
CVS log for ports/x11-toolkits/gtk20/Makefile
Revision 1.256: download - view: text, markup, annotated - select for diffs
Fri Jun 1 05:25:47 2012 UTC (10 days, 22 hours ago) by dinoex
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +1 -1 lines
- update png to 1.5.10

Since png just changed, and the error you encountered is failed to
load ./apple-red.png: Couldn't recognize the image file, I think
you may have run into a bug.  I'll find out in the morning when the
build is done.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is this something we (as consumers of FreeBSD) need to be aware of?]

2012-06-06 Thread Robert Simmons
On Wed, Jun 6, 2012 at 3:05 PM, Jerry je...@seibercom.net wrote:
 On Wed, 06 Jun 2012 12:49:53 -0400
 Daniel Staal articulated:

On 2012-06-05 17:20, Jerry wrote:

 The question that I have not seen answered in this thread is what
 FreeBSD intents to do. From what I have seen, most FreeBSD users do
 not
 use the latest versions of most hardware, so it may be a while before
 its user base is even effected.

I don't believe at this point FreeBSD has any intent one way or
another, really.  It's not an immediate problem for any platform
supported by the FreeBSD project, at least for a technically-inclined
user who's willing to check out their BIOS.  (Even if they are using
the latest hardware, the x86-derived platforms aren't going to require
this code signing yet.)  So it'll probably be a 'wait and see if it's
something the FreeBSD community needs a solution for' at this point.
But this is just my impression.

 I totally agree with you. Unfortunately that speaks to the sad state of
 affairs that FreeBSD appears to be in. When it comes to supporting the
 latest technologies, it tends to be behind the curve when compared to
 other operating systems. Wireless networking and USB support are only a
 few examples.

 I don't know of any user personally who purchased a new PC and then
 threw FreeBSD on it. Most users that I have come into contact with use
 2+ year old units that have been replaced by shiny new Windows units. I
 don't see that changing anytime soon.

I would have to disagree with you there.  I know of quite a few users
who happen to run one of the world's largest content distribution
networks (accounting for about one third of the internet's traffic; up
there with pornography).  They purchased more than just a handful of
new computers and threw FreeBSD on them:

http://lists.freebsd.org/pipermail/freebsd-stable/2012-June/068129.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why I am upset

2012-05-28 Thread Robert Simmons
On Sun, May 27, 2012 at 4:02 PM,  d...@safeport.com wrote:
 On Sun, 27 May 2012, Warren Block wrote:

 There can be a tremendous investment of time in using software, whether
 free or not.  Money too, often.

 Those who work to write, port, and support free software also spend a
 tremendous amount of time in doing that.  Money too, often.

 So both parties have a large investment, and it's easy but
 counterproductive to get emotional about it.  Take a deep breath, be polite,
 and try to appreciate the other guy's problems.  Otherwise it just ends up
 creating more problems, and there are already enough.


 Warren makes a great point. In years past Greg Lehey used to post, How to
 ask a question, or something similar. Its worth resurrecting that. As I
 recall, the major points were: Nobody here is getting paid to do this; there
 are a great number of people with a wealth of information willing to help;
 and, its up to the one asking the question to do it in such a way as to peak
 someones interest.

Just to add to this: even though the original question was asked with
frustration and vitriol, people on the list shouldn't respond in such
juvenile and inappropriate ways as people did earlier in this thread.
The level of discourse on all the other lists is very high.
Unfortunately, the level of discourse on this list when someone
approaches the list poorly is also just as poor.  The type of people
who gave nasty or derisive responses in this thread are the ones that
give the FreeBSD community a bad name.

I'm sure all your mothers told you at one time or another: If you
can't say something nice, don't say anything at all.

Also, pique, from French: to prick or stimulate.

 From an earlier post:


 On 05/26/2012 05:40 PM, Franci Nabalanci wrote:

 I did use portmaster for KDE 4.8 update and it stopped:

 The devel/kdebindings4-python port has been deleted: kdebindings ports
 have
 been refactored.

 Update aborted.

 And I don't know how to save a problem.


 If it is repeatable, re-do the operation with:

  script error.log the-original-command

 I use [and love] FreeBSD as a workstation because: I get better performance
 with hardware that I would otherwise throw away. I am sure of this because
 no charity will take anything I am done with. I assume all on this list
 use FreeBSD for similar or their own reasons. Hence the 'captain obvious
 statement', the FreeBSD sucks threads tend to degrade in direct proportion
 to their length.

 When things go wrong with upgrading a workstation port tree they can
 [often??] go really badly. A couple of tools and/or techniques can help:
 pkg_cleanup, pkg_tree, the pkg port to revert a port to a previous level.
 Check out anything named pkg_ in the port collection.



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-18 Thread Robert Simmons
On Thu, May 17, 2012 at 8:19 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:

 lpeth lp...@centurytel.net wrote:

 FreeBSD
 Dear Sirs;
 I have a 8core, 32 GB ram server I built myself. AMD cpu, with
 Supermicro motherboard. I want to use FreeNAS as a database system, and
 I'm wondering what it will cost to use FreeBSD with FreeNAS. I see the
 Version I would like is $40 for a four CD set, but that does not mean I
 get to use the server version of it. What is the server version going
 to cost?

 The current pricing for an unlimited server liense for FreeBSD is 27342.71
 Quatloos.  Payment may also be tendered in gold-presed latinum, albeit that
 is subject to highly volatile exchange-rate fluctuations.

 Having completed the licensing requirements, you can download a complete
 installation, including source, from any of the mirror repositories, at
 no additional cost. Or you can pay a third party a nominal fee (set by
 mutual agreement between you and them) to have them make copies on the
 physical media of your choice.


 Be advised the initial paragraph of this reply was first released precisely
 47 days ago.  The 'true answer' begins with 'you can...' in the 2nd para.

I bought my license with 4,000 unobtainium coins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: openssl from ports

2012-03-03 Thread Robert Simmons
On Sat, Mar 3, 2012 at 8:31 AM, Jerry je...@seibercom.net wrote:
 On Sat, 03 Mar 2012 12:49:18 +
 Matthew Seaman articulated:

 Unfortunately I can't answer that.  I'm not in any position to decide
 such things.

 However I can hazard a guess at some of the possible reasons:

    * openssl API changes between 0.9.x and 1.0.0 mean updating the
      shlibs is not a trivial operation, and it was judged that the
      benefits obtained from updating did not justify the effort.

    * no one had any time to import the new version.  There's plenty of
      security-critical stuff depending on openssl, and making sure all
      of that didn't suffer from any regressions is not a trivial job.

    * simply that no one thought of doing the upgrade.

 Thanks Matthew. Personally, I have my own take on the matter. Regarding
 your first two possibility, I believe the problem can be directly
 traced to procrastination. At some point in time, there will come the
 need to update the base system's OPENSSL version. Procrastination only
 doubles the work you have to do tomorrow. It reminds me of what a
 college professor once told me, There is never enough time to do it
 right, but there is always enough time to do it over. Sad but true.

 As to your third possibility, the need to update the port has been
 mentioned several times on this forum over the past year. I find it
 extremely improbable that no one considered the possibility that the
 existing application might not be up-to-date. Yet, as has been stated
 numerous times, if you always expect the worst in people you will
 never be disappointed.

I'm replying off-list.  No need to reply this back onto the list.

Please don't accuse a volunteer project of procrastination.  If there
is not enough manpower to make a change to the operating system, then
roll up your sleeves and contribute.  Throwing non-constructive
insults at the project when you yourself are not contributing to the
effort that you're complaining about achieves nothing.  I've seen this
type of attitude many times over the years in free software projects
from users, and it shouldn't continue.

Also, please don't feel insulted.  We both like FreeBSD.  Just make
your contributions constructive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: openssl from ports

2012-03-03 Thread Robert Simmons
One more thing.  An easy contribution that could be made is to replace
the old version of openssl with the new in the src tree of CURRENT.
Then build world and see what breaks.  Try to fix what has broken.
Contribute patches up to the point that you don't understand the next
step or you have build world working without errors.  Then you will
have warm and fuzzies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: openssl from ports

2012-03-03 Thread Robert Simmons
Oops.  Sorry, my mail reader must have recently changed the behavior
of the reply button to always reply all.  I meant that to be off-list.

I apologize.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: openssl from ports

2012-03-03 Thread Robert Simmons
On Sat, Mar 3, 2012 at 5:11 PM, Jerry je...@seibercom.net wrote:
 On Sat, 3 Mar 2012 16:41:13 -0500
 Robert Simmons articulated:

 Oops.  Sorry, my mail reader must have recently changed the behavior
 of the reply button to always reply all.  I meant that to be off-list.

 Thanks Robert, there aren't many things I appreciate more than advice
 and criticism from someone who cannot figure out how to use an MUA.
 When you do that, you can come back and talk to me; however, do it on
 list -- something you are quite good at.

Your insults have no effect on me.

Why don't you focus your energy on making valuable contributions to
the project rather than hurling insults?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


default value for DESTDIR

2012-03-01 Thread Robert Simmons
During the new installer for 9.0, what is the default value for DESTDIR?

The reason I'm asking is I setup my partitions manually in the shell
provided for doing this, and I want to know where I need to leave them
mounted before I exit the shell to continue installation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gpart usage during install

2012-02-18 Thread Robert Simmons
I'm just installing a 9.0-RELEASE instance in Virtual Box to check
things out.  I ran into something odd.  With 8.x I install certain
things into a geli encrypted partition.  To do this I have to use a
fixit shell and a manual install.  Now, I'm trying to do the same
thing in 9.0, but when I get to the partitioning stage of the install,
and I select the option to setup the partitions in a shell, I get the
following error from gpart.  What has changed?  What am I doing wrong?

# gpart create -s GPT ad0
gpart: arg0 'ad0': Invalid argument
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.2-RELEASE-p4

2011-11-19 Thread Robert Simmons
On Fri, Nov 18, 2011 at 3:50 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 If you compile your own kernel, then freebsd-update will patch the
 kernel sources, but leave you to rebuild and reinstall your customized
 kernel.

 I don't know about the -p4 update.  By rights it should have involved
 updating the kernel by one or other of the two methods shown.  So far
 however, we've seen two reports questioning that[*] and none saying that
 the -p4 update did in fact update the kernel.  Which is suspicious, but
 hardly conclusive.

Do you compile your own kernel, or do you have a machine that uses
GENERIC?  If you do, what is the output of uname -a on it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] but concerns all of us

2011-11-17 Thread Robert Simmons
On Wed, Nov 16, 2011 at 5:24 PM, Mario Lobo l...@bsd.com.br wrote:
 My apologies to all for this, specially to those who already know about this
 and those who think too little of it.

 I am really worried about this:

 http://americancensorship.org/

 If these rootless people get control of what goes through the root servers, we
 will loose the last free medium of expression and info exchange that is not
 owned by a corporation or anybody.

 I don't know if I should be worried or not, but if my worries are founded and
 this comes to pass, as far as I can see, it will be the end of this great tool
 as we know it today.

 There is a petition going on here:

 http://www.avaaz.org/en/save_the_internet/

 There are a lot of Americans on this list that have a lot more power than the
 rest of us to change this. A LOT of people from all over the world is signing
 this petition.

 I hope at least some don't judge me to be over dramatic here but this
 situation sounds very much so.

 I hope that most of you (if not all) replicates this and that I don't get
 scalded for this post.

 I can only hope 

I too would like to appologize to all the ranters for going in a more
technical direction with this discussion.  But, it is my understanding
that if passed this legislation would force ISPs to break DNSSEC, by
tampering with signed DNS resolution, right?

With all due respect to any view on the issue, isn't this a negative
thing?  Perhaps throwing the baby out with the bathwater?  Plus, if
congress thinks that there is only one set of DNS servers, they're
sadly uninformed.  If they want to break it, then people will just
change over to a different set of servers to access The Pirate Bay, or
scat porn, or stormfront.com, or the Libertarian Party website, or
anything else the government wants to arbitrarily censor then change
back to the broken one to get their government approved scrubbed
squeaky clean intertube.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Default Samba port?

2011-11-13 Thread Robert Simmons
On Sun, Nov 13, 2011 at 7:37 AM, Peter Harrison
four.harris...@googlemail.com wrote:
 Can anyone advise me the appropriate Samba port to install - the handbook 
 refers to samba34, but I see samba35 and samba36 in in ports. This is for a 
 home server, so I'm not necessarily looking for production standard, but 
 something that just works on RELEASE-8.2 amd64.

samba36 is the current stable version.  The other two are kept for
legacy compatibility.  35 and 34 are the last version in those
branches.  Don't worry about them.  The handbook has not been updated
for two major revisions of samba.

This is a comment for the others on the list, not directly at you:
maybe ports like this should have a directory samba that always points
to the most recent stable version.  Then the handbook would not need
to be updated to reflect version changes like this.  It would only
need to be updated if the actual instructions change or become
outdated?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.2-RELEASE-p4

2011-11-12 Thread Robert Simmons
On Fri, Nov 11, 2011 at 6:03 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 Now the updates for -p4 certainly should have touched the kernel, and
 certainly should have resulted in an updated uname string[*].  There
 should also be a note about -p4 in /usr/src/UPDATING.  Starting to
 wonder if the -p4 patches are actually available via freebsd-update(8)
 -- could they have been omitted because it wasn't actually a security
 fix?  Odd that no one would have commented in a whole month if so.

I would suppose that you are right, but I'm not sure myself.  Does
anyone else know if p4 is available through freebsd-update?  It seems
like it should touch the kernel, but it definitely is not doing so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.2-RELEASE-p4

2011-11-11 Thread Robert Simmons
On Fri, Nov 11, 2011 at 11:34 AM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 Judging by the output you showed, you've certainly managed to download
 the -p4 binary patch set.  The 'No updates needed' message is just
 telling you you've already got all the necessary update patchsets
 downloaded.  The next step is running:

  # freebsd-update install

 which will actually deploy those updates on your live system.  Which you
 do mention doing.  Hmmm...

 You aren't running a custom kernel according to your uname output, so
 your kernel image should have been updated.  However, you would still
 need to reboot after installing the updates. Until you do, programs like
 uname that query the currently running kernel image will continue to
 show the old version numbers.

I would encourage you to please run uname -a on your own box before
beating up the newbie.  I think I understand where his confusion lies.
 I checked the output on two of my boxes:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 8.2-RELEASE from update3.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 8.2-RELEASE-p4.
# uname -a
FreeBSD 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27
UTC 2011 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
 i386

All my machines are up to current patch level, but show p3 when I run uname -a.

 Note that if a security update is just to some userland programs,
 freebsd-update won't touch the OS kernel, so the reported version number
 doesn't change even though the update has been applied.  In these sort
 of cases, it's not necessary to reboot, just to restart any long running
 processes (if any) affected by the update.  The security advisory should
 have more detailed instructions about exactly what to do.  (The -p2 to
 -p3 update was like this, but the -p3 to -p4 update definitely did
 affect the kernel so a reboot was necessary.)

I'm not confident that you are correct here.  See above.  Either p3-p4
did not touch the kernel, or the OP has a legitimate question.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: php5-pgsql and postgresql 9.1.1

2011-11-10 Thread Robert Simmons
On Thu, Nov 10, 2011 at 2:30 AM, Robert Simmons rsimmo...@gmail.com wrote:
 I'm trying to get the php5-pgsql module to work with postgresql 9.1.1,
 the current version in ports.  It seems that when I install php5-pgsql
 from ports it depends on postgresql 8.4.9.  I don't see anything in
 the Makefile that allows me to change this.

 How do I get the php5-pgsql port to see that I have postgres 9.1.1 installed?

I figured it out.  You just need to have the database installed before
the php module.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


php5-pgsql and postgresql 9.1.1

2011-11-09 Thread Robert Simmons
I'm trying to get the php5-pgsql module to work with postgresql 9.1.1,
the current version in ports.  It seems that when I install php5-pgsql
from ports it depends on postgresql 8.4.9.  I don't see anything in
the Makefile that allows me to change this.

How do I get the php5-pgsql port to see that I have postgres 9.1.1 installed?

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


rpcbind/rpc.umntall error on boot

2011-11-06 Thread Robert Simmons
I'm getting the following error on a new install with NFS:

kernel: Starting rpcbind.
kernel: NFS access cache time=60
kernel: rpc.umntall:
kernel: fileserver: MOUNTPROG: RPC: Program not registered
kernel:
kernel: rpc.umntall:
kernel: localhost: MOUNTPROG: RPC: Program not registered
kernel:
kernel: rpc.umntall:
kernel: fileserver: MOUNTPROG: RPC: Program not registered

My /etc/rc.conf contains the following:
nfs_server_enable=YES
nfs_client_enable=YES
rpcbind_enable=YES

and /etc/exports is the following (for testing):
/storage -maproot=root 127.0.0.1

This problem does not seem to affect mounting or NFS functions.  What
is causing this error?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ntpdate on boot problem

2011-11-05 Thread Robert Simmons
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?

After setting ntpdate_enable=YES in rc.conf, I get the following
error on boot:

Setting date via ntp.
Error : hostname nor servname provided, or not known
 5 Nov 17:11:05
ntpdate[786]: can't find host 0.freebsd.pool.ntp.org

Error : hostname nor servname provided, or not known
 5 Nov 17:11:05
ntpdate[786]: can't find host 1.freebsd.pool.ntp.org

Error : hostname nor servname provided, or not known
 5 Nov 17:11:05
ntpdate[786]: can't find host 2.freebsd.pool.ntp.org

 5 Nov 17:11:05
ntpdate[786]: no servers can be used, exiting

I've had this problem with machines using DHCP and the solution was to
use SYNCDHCP rather than DHCP in rc.conf.  However, this box is using
a static IP address.  But the problem seems to be similar.

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ntpdate on boot problem

2011-11-05 Thread Robert Simmons
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?

After setting ntpdate_enable=YES in rc.conf, I get the following
error on boot:

Setting date via ntp.
Error : hostname nor servname provided, or not known
 5 Nov 17:11:05
ntpdate[786]: can't find host 0.freebsd.pool.ntp.org

Error : hostname nor servname provided, or not known
 5 Nov 17:11:05
ntpdate[786]: can't find host 1.freebsd.pool.ntp.org

Error : hostname nor servname provided, or not known
 5 Nov 17:11:05
ntpdate[786]: can't find host 2.freebsd.pool.ntp.org

 5 Nov 17:11:05
ntpdate[786]: no servers can be used, exiting

I've had this problem with machines using DHCP and the solution was to
use SYNCDHCP rather than DHCP in rc.conf.  However, this box is using
a static IP address.  But the problem seems to be similar.

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on boot problem

2011-11-05 Thread Robert Simmons
On Sat, Nov 5, 2011 at 5:57 PM, Michael Sierchio ku...@tenebras.com wrote:
 Are you running a firewall?  Do you have a ppp connection?

I'm not running a firewall on the machine in question.  I am behind a
firewall, if that's what you mean.  I don't have a ppp connection.
The box is a server that is running on bare metal, no VM.  Fixed IP
address (198.162) behind a NAT firewall.

But, after booting, everything works correctly:

# /etc/rc.d/ntpdate onestart
Setting date via ntp.
 5 Nov 18:09:31 ntpdate[1324]: step time server 128.10.254.7 offset
-0.000537 sec


 This happens when there is a dependency that is not expressed in the
 /etc/rc.d scripts.

Can you elaborate?  My rc.conf looks like this (pretty simple):

hostname=example
ifconfig_sk0=inet 192.168.1.5 netmask 0xff00
defaultrouter=192.168.1.1
sshd_enable=YES

#Screensaver
saver=daemon

#Encrypted swap
geli_swap_flags=-d -l 256 -s 4096

#/tmp in memory
tmpmfs=YES

#Kerberos
kerberos5_server_enable=YES
kadmind5_server_enable=YES

#Time
ntpdate_enable=YES


Also, the box is 8.2-RELEASE with current updates via freebsd-update.

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on boot problem

2011-11-05 Thread Robert Simmons
On Sat, Nov 5, 2011 at 6:03 PM, Alexander Best arun...@freebsd.org wrote:
 same here. simply add something like the following to your crontab:

 0       10      *       *       */2     /etc/rc.d/ntpdate onestart

I have something similar in my crontab which is not exactly what I
need.  I want to make sure that the clock is set at every boot because
I'm using this as a kerberos server.  If the clock is not set properly
at boot, kerberos will not work properly until the nightly cron jobs
are run and the clock is set then.  I need everything working at boot.
 I can't have a window of problems between boot and midnight or
whenever cron runs ntpdate.

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on boot problem

2011-11-05 Thread Robert Simmons
On Sat, Nov 5, 2011 at 6:55 PM, Warren Block wbl...@wonkity.com wrote:
 On Sat, 5 Nov 2011, Robert Simmons wrote:
 Is there a way to make sure that the interface is UP and working
 before running ntpdate at boot on a box with a static IP address?
 Yes, it is.  FreeBSD 8-STABLE and 9 have /etc/rc.d/netwait just for this.

Thanks, could you elaborate as to how I use netwait at boot to run ntpdate?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on boot problem

2011-11-05 Thread Robert Simmons
On Sat, Nov 5, 2011 at 6:33 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 crontabs have this handy '@reboot' syntax...  It's all explained in
 crontab(5).

Thanks!

 However, you would be well advised to run ntpd(8) rather than bodging
 the clock with ntpdate at intervals.  ntpdate is deprecated by the ntp
 project, given that ntpd now has the capability to synch the clock the
 first time after restart no matter what the offset.  Just add these
 rc.conf settings:

 ntpd_enable=YES
 ntpd_sync_on_start=YES

Thanks again, this works without any problems.  I'm still curious how
to get the ntpdate adjustment to occur later in the boot process after
the network interface is UP, but now it's merely academic.

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on boot problem

2011-11-05 Thread Robert Simmons
On Sat, Nov 5, 2011 at 7:43 PM, Warren Block wbl...@wonkity.com wrote:
 netwait_enable=YES
 netwait_ip=192.168.1.1 # IP address to ping to verify network is up
 netwait_if=em0 # interface to use


 Also there's netwait_timeout, which defaults to 60 in /etc/defaults/rc.conf.

I've finally got a combination of suggested configurations that get me
to where I want to be (using ntpd, ntpdate, and netwait).

However, I've found that I still need ntpdate_enable=YES rather than
ntpd_sync_on_start=YES.  The reason for this is that I'm running at
securelevel 3, and ntpd takes too long to get up, running, and sync
the clock.  By the time it tries to adjust the clock, secure level has
already been raised preventing the adjustment.

Is there a way to make securelevel wait until ntpd has made its
adjustments?  When I use ntpdate at this point, it seems like the init
scripts are sequential, and it waits until ntpdate is done before
continuing and later raising securelevel.

It seems that even though ntpdate is deprecated that it is still
required if you want to run securelevel 3.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Urgent!. Problem with / etc / rc.conf

2011-11-05 Thread Robert Simmons
On Sun, Nov 6, 2011 at 12:10 AM, Zantgo zan...@gmail.com wrote:
 Without wanting to erase all contents of / etc / rc.conf, by running echo 
 slim_enable = YES  / etc / rc.conf. Please help!.

Well, the absolute basics would be:
hostname=YourHostNameHere
ifconfig_NameOfNicCardDeviceHere=inet IPADDRESS netmask NETMASK
defaultrouter=IPOfGateway/Router

You may also have had:
sshd_enable=YES

You can also look at dmesg -a and get a grasp over what other services
you had started.

Two other things, use  rather than  to append to the file (better
yet, learn vi, it's much safer), and always backup any changes from
default you make to config files.  I keep them all on pastebin.com for
convenience, but you can keep them anywhere, even scribbled on a
postit note stuck to the front of the server in question (what I used
to do).

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Distributions are missing from home burnt CD

2011-08-01 Thread Robert Simmons
On Mon, Aug 1, 2011 at 10:02 PM, Grant Walter grantwalt...@gmail.com wrote:
 Hi guys,

 I burned a CD of the LiveFS image and my installation failed. I then tried 
 installing from the Disk 1 image and the install succeeded.

 My problem is that there are no Ditstributions on the disk. I don't even 
 have bash now. :(
 I have searched all over but cannot find a file that contains the 
 distributions.

 Thanks for the help!!!

There are a couple of ways that you can get bash and other software.
First, you can use sysinstall.  Read section 2.10.11 Install
Packages in the Handbook.  It can be accessed here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html

Or, you can install the ports collection which also contains bash and
lots of other software.  To install the ports collection use portsnap.
 You can read about it in the Handbook section 24.3 Portsnap: A Ports
Collection Update Tool.  That can be accessed here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Distributions are missing from home burnt CD

2011-08-01 Thread Robert Simmons
On Mon, Aug 1, 2011 at 10:37 PM, Ryan Coleman edi...@d3photography.com wrote:
 Distributions, by nature, shouldn't be on the disc... they are outdated the 
 moment they are made into an ISO.

 run these commands:

 These are written assuming you are in as root.

 # ftp ftp://ftp3.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz
 This is a 50MB file. It will take some time. I have found ftp3.freebsd.org to 
 be the fastest server in the US.
 # mkdir /usr/ports
 # chown root:wheel /usr/ports
 # tar -xzf ./ports.tar.gz  -C /usr/ports/

 Capital C is required there... it will shift you to the folder you need.
 You can now build your programs as you need to.
 /usr/ports/shells/bash*

 This is also the most current version of the ports since you are getting it 
 straight off the server.

Unless I'm missing something completely, portsnap makes sure that you
always have the latest ports, and it verifies the integrity of the
files that it transfers using a secure key.  Your method has no such
check, so I would say you shouldn't do it that way or recommend that
method to others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Distributions are missing from home burnt CD

2011-08-01 Thread Robert Simmons
On Mon, Aug 1, 2011 at 11:17 PM, Ryan Coleman edi...@d3photography.com wrote:
 Is portsnap installed? I was going with the effed up installer route. :)

 This works - I tried it when I wrote up the directions.

I assume that if the machine boots into the OS, that base is installed
and portsnap is in base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Performance of a USB ZIL for ZFS

2011-06-26 Thread Robert Simmons
On 25 Jun 2011, at 19:17, Joshua Isomjri...@gmail.com  wrote:
 I was wondering if anyone had tried using a decent USB flash drive for
 the ZIL.  I know it'd be hard finding one fast enough, but some from
 patriot seem like they might be suitable for home use.  Part of the
 idea is to just minimize hard drive thrashing and the wear and tear
 associated with it.  If it helps prevent the drives from going bad,
 and doesn't hurt performance too bad all the better.  But if it's
 going to hurt performance too much or not help prevent thrashing
 there isn't a point.

You question is a good one, but I think the reason for your question may be 
off.  If you want the ZIL in a separate location it is to cut down on latency 
rather than thrashing.  See:
http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Disabling_the_ZIL_.28Don.27t.29

If your concern really really is thrashing please consider the cost of flash 
memory vs a hard drive.  Replacing a bad hard drive is cheaper.  After a 
cursory glance at newegg, you can see the price per MB for:
HDD $0.09
USB flash $0.64
SSD $1.875
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mozilla retires Firefox 4 from security support

2011-06-23 Thread Robert Simmons
Why not take this discussion to freebsd-chat?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd list admins?

2011-06-23 Thread Robert Simmons
On Thursday, June 23, 2011 08:10:29 PM Randy Pratt wrote:
 I don't think making a list writable only to subscribers solves
 anything since it seems the spammers are already subscribed.  This only
 makes it difficult for others like myself who read the lists online and
 only post occasionally.

Making it writable to subscribers only in-and-of-itself does not solve the 
problem, but it is one of two things together that will fix the repeated 
spammer problem. The second is removing and banning offenders. Without making 
the list subscriber only there is no way to get rid of spammers. Additionally, 
for your situation, you can filter everything from the list to /dev/null.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd list admins?

2011-06-21 Thread Robert Simmons
On Tuesday, June 21, 2011 07:44:16 AM Jerry wrote:
 You have voiced a concern that has been voiced here several times in
 the past. Unfortunately, this is an open list; ie, anyone subscribed
 or not can post. This leads to the inevitable problems that plague this
 forum. I have tried contacting the postmaster in the past also.

Understood.  Perhaps a mention that this list is open somewhere in the list's 
charter in the Handbook will at least let people know that junk on the list is 
something that can't be fixed.

 It is my personal view that FreeBSD-Questions should be consolidated
 into the chat forum. Chat forums are rarely moderated and tend to be
 open to the general public. The Questions forum has deteriorated to
 the level of SlashDot which has deteriorated to the level of a
 cesspool. At least SlashDot openly admits that they allow (encourage)
 Anonymous Coward to post.

Meh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd list admins?

2011-06-21 Thread Robert Simmons
On Tue, Jun 21, 2011 at 6:03 PM, Julian H. Stacey j...@berklix.com wrote:
 I'm against merging chat@  questions@,  don't believe it will happen
        Lists for different purposes, but even if questions@ people
        might come to a consensus in favour of merging, lots of
        people on other lists have a use for a seperate chat@, ie
        to demand of off remit people on their other lists Take
        it to chat@

 I think we should:
        make questions@ list writable only to subscribers (if not already); 
        Edit /usr/src/etc/motd  eg:
 OLD     If you still have a question or problem, please take the output of
 OLD     `uname -a', along with any relevant error messages, and email it
 OLD     as a question to the questi...@freebsd.org mailing list.

 NEW     If you still have a question or problem, please subscribe (free) via
 NEW     http://lists.freebsd.org/mailman/subscribe/freebsd-questions
 NEW     then email questi...@freebsd.org

 Should we send in a send-pr to edit src/etc/motd ?

PR it.  Sounds good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd list admins?

2011-06-21 Thread Robert Simmons
On Tuesday, June 21, 2011 06:03:23 PM Julian H. Stacey wrote:
 The traffic on questions@ has now become very heavy.
 
 Traffic too heavy in fact,  a mess of themes,
Some traffic would be better posted to hackers@ or
current@ or other more specialist lists

Also, one place that is lower traffic, nearly spam free, and has consistently 
decent answers is USENET comp.unix.bsd.freebsd.misc and it's not even official. 
 
However, I would assume this is due to the fact that September has permanently 
ended and will never return to USENET, so only serious users can be found 
lurking there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: free sco unix

2011-06-16 Thread Robert Simmons
On Thursday, June 16, 2011 09:22:43 AM Matthew Seaman wrote:
 On 16/06/2011 13:52, Peter Vereshagin wrote:
  You can't take no for an answer, freebsd-questions!
  2011/06/15 17:08:31 -0400 Chris Brennan xa...@xaerolimit.net = To
  Thomas Hansen : CB FreeBSD is a UNIX-like clone, which is indeed free,
  whereas UNIX is CB still the proprietary property of ATT/Bell Labs.
  
  unix is a trademark of novell.com.
 
 Unix (note capitalization) is actually a trademark of the Open Group:
 http://www.unix.org/
 
 It's been owned by them for more than ten years, but it was passed
 around between various owners quite a bit before that.

I think the confusion that you all are having is between the idea of 
copyright and trademark.  They are different.  Copyright applies to the 
code base, and trademark applies to the usage of the word UNIX and its 
associated symbols along with the right to use said symbols once your product 
complies with a set of specified standards.

The copyright for UNIX is owned by Attachmate, which bought Novell recently 
(which has scared the pants off the OpenSUSE community, but that's a different 
tale).  This has been proven in court.  You can see the verdict on groklaw:
http://www.groklaw.net/pdf2/Novell-846.pdf

Open Group, however, is a completely different animal.  They are a trademark 
certification organization.  They do not own the UNIX copyright, they own the 
trademark and the specification.  According to their website, The Open Group 
has separated the UNIX trademark from any actual code stream itself, thus 
allowing multiple implementations.

So, if you wanted to call your software UNIX you would need to contact Open 
Group and make sure that your software licences the trademark, and complies 
with the standard.  If you want to use the source code of UNIX itself, you 
would license that from Attachmate.

Groklaw is a good place to start if you want to read about the whole debacle:
http://www.groklaw.net/staticpages/index.php?page=20040319041857760
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: free sco unix

2011-06-16 Thread Robert Simmons
On Thursday, June 16, 2011 11:29:42 AM Peter Vereshagin wrote:
 There should be a difference recognized between own a Unix trademark by
 http://www.unix.org/trademark.html and ownership of the Unix copyrights
 by http://www.groklaw.net/article.php?story=20100330152829622  where I'm
 pass.

There is a difference (see my post earlier), or:
http://en.wikipedia.org/wiki/Copyright
http://en.wikipedia.org/wiki/Trademark

Copyright pertains to the source code.  Trademark pertains to the use of 
signs, symbols, names, logos, etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: free sco unix

2011-06-16 Thread Robert Simmons
On Thursday, June 16, 2011 11:47:32 AM Peter Vereshagin wrote:
 This will require some efforts from Open Group. Does FreeBSD Foundation pay
 for that?

Not necessary.  FreeBSD does not use (want to use/need to use) the UNIX 
trademark and according to the USL vs. BSDi court case, FreeBSD does not have 
to worry about copyright either.

 So nobody knows if Lunus will once upon a time split Linux code from
 himself de jure as he did de facto nowadays and just have an income from
 such a regular trademark sales from, say, Linux Foundation, Attachmate,
 etc.?

No.  The linux trademark in the US is held by Linus.  The Linux Trademark 
Institute licenses the trademark to organizations under a free, perpetual, 
worldwide sublicense.  So, even if Linus were to change his mind and try to 
start suing everyone using the trademark, (pigs fly first) it would all be 
thrown out of court.  Additionally, the source code is GPL, so even if in the 
fictional world of Linus taking the trademark elsewhere, you can fork the code 
and call it Morphtkdlfgjfjdsksjfnmvmdkedkfjgjg, and you would be fine.

http://www.linuxfoundation.org/programs/legal/trademark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: free sco unix

2011-06-16 Thread Robert Simmons
On Thursday, June 16, 2011 12:31:19 PM Reko Turja wrote:
 In that fictional world MySQL needed a fork and some GPL'd programs
 have been retroactively made completely closed source, forking denied
 after taking the issue into court...

I thought that Sun reversed that decision in 2008.  Can you give some 
examples?

There are two major GPL forks of MySQL right now:
http://drizzle.org/
and
http://mariadb.org/about/

MariaDB is the drop-in replacement for MySQL for people who want to get away 
from Oracle/MySQL AB.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SATA SDD cards

2011-06-15 Thread Robert Simmons
On Wed, Jun 15, 2011 at 11:00 AM, Rob li...@midsummerdream.org wrote:
 Has anyone tried using an SATA SSD card (SATA add-on card that is a SSD
 drive) in FreeBSD?  I was looking at an OCZ RevoDrive and was wondering if
 anyone had tried using one of those specifically, or any SATA SSD card in
 general.

I have not used a SATA SSD card, however, I might steer you away from
OCZ.  I have a regular SSD drive made by them.  When I was
partitioning the drive, I wanted to make sure that the partitions were
aligned with the NAND cell size to maximize the performance of the
drive.  As you may know already the NAND cell size roughly translates
to the sector size in HDDs.  On many HDDs the sector size is 512
bytes, but on some newer drives it is 4K, so partitions need to start
on 4K boundaries to be aligned properly.  So, the same sort of thing
is needed with SSD drives, but they are not all 4K, some are 1K, some
are 8K etc. So, I delved deep into OCZs information about my drive
online and I was not able to find information about the NAND cell
size.  I eventually called OCZ, and after a bit of back and forth the
tech I was talked to went and asked his manager then came back and
told me that he is not allowed to give out that information.  He did
tell me that he was told starting the partition at LBA 64 will make
sure that the drive is aligned.

This information helps in one sense, but since there are new options
in gpart(8) in CURRENT that allow you to set the sector size to
automatically align partitions properly this information does not help
in the long run.

Buy from a company that doesn't keep their drive specs a mystery.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need Help Installing and Configuring Xorg

2011-06-12 Thread Robert Simmons
On Sun, Jun 12, 2011 at 2:25 PM, Chuck Swiger cswi...@mac.com wrote:
 twm doesn't stand for Trivial Window Manager-- it stands for Tom's Window 
 Manager because it was written by Tom LaStrange on Sun-3_35 or 3_50 hardware 
 back around X11R1.

Stood for, you mean.  It evolved to Tab Window Manager, and now it is
Timeless Window Manager according to the source code:
http://cgit.freedesktop.org/xorg/app/twm/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ftp installation

2011-06-11 Thread Robert Simmons
On Sat, Jun 11, 2011 at 6:52 PM, Daniel Feenberg feenb...@nber.org wrote:

 I have tried many of the ftp sites enumerated in sysinstall, with both
 7.4-RELEASE and 8.2-RELEASE, and in all cases the installation proceeds
 for a few seconds and then hangs, with the last message on the console
 always being:

  DEBUG: Generating /etc/fstab file.

 This happens with several different systems. I believe it is not any
 hardware problem, since I was able to install 7.4 from NFS. (I have
 unrelated problems with 8.2).

 If I ftp to any of the mentioned FreeBSD ftp servers under manual control, I
 have no trouble downloading ISO files. The ftp sites tried include
 ftp[34567].freebsd.org and ftp10.us.freebsd.org. We have no firewall or
 proxy regulating outbound connections.

 Is there something off about the sysinstall ftp dialog? I don't see a way to
 monitor what is happening.

Your firewall may be interfering with the connection.  You may want to
read the handbook section on FTP installs (the grey box at the bottom
of the page):
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-media.html

You can determine if you are having a firewall problem specific to FTP
by using an HTTP proxy install (if it works, you need to change your
firewall rules).  A convenient list of free and open http proxies is
available here:
http://www.xroxy.com/proxylist.htm

Just narrow the list down to http proxies that are near you (US, I
assume) then arrange them in order of ascending latency (there is a
drop down menu for this).  The top few should work great for you.

I have found that going a step further will ensure using the fastest
proxy.  Just install netselect from the ports collection:
http://www.freebsd.org/cgi/url.cgi?ports/net/netselect/pkg-descr
http://apenwarr.ca/netselect/
then feed the top 10 proxies from xroxy to netselect and use the one
it selects as fastest.  All of this can be scripted using wget to
scrape the data from xroxy when you need it, since free and open
proxies disappear faster than fart in a fan factory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-05 Thread Robert Simmons
On Sun, Jun 5, 2011 at 3:35 AM,  per...@pluto.rain.com wrote:
 Robert Simmons rsimmo...@gmail.com wrote:
  How do I wipe the whole thing in one go so that I can start
  afresh?
 
  gpart destroy ad4 ??

 Yes, but first you must delete all of the slices/partitions.
 Think of it this way: you must go backwards down the path you
 just came with a delete for each add, then a destroy for each
 create.

 So there is no way to just say clean up this whole disk in a
 single operation?  That seems a considerable step backwards,
 given that the old tools have fdisk -i and bsdlabel -w.

I've never had to use it, but I think gpart destroy -F ad4 is what
you are looking for, so I guess it is not necessary to step backwards
after all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sat, Jun 4, 2011 at 6:14 PM, Erik Nørgaard norga...@locolomo.org wrote:
 - or any problems (problems as in I've never tried that before) - using
 gpart instead of the old scheme?

Sorry for the double post, but the only problem that I've encountered
is after creating a encrypted provider with geli(8), that provider
cannot be partitioned using the GPT scheme.  You can still partition
it using gpart(8), but the scheme must be BSD or MBR.

I am not sure whether this is a bug or just the way GPT partitions
work, but it is not that big of a problem unless you want to have very
large encrypted providers that are GPT scheme partitions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sat, Jun 4, 2011 at 6:14 PM, Erik Nørgaard norga...@locolomo.org wrote:
 I just realized how many years ago I haven't been partitioning any disks ..
 this system is so stable :) So, now I see I have gpart as alternative to
 fdisk/bsdlabel.

gpart(8) from my experience is far superior to all the older tools.


 I have a 320GB disk which will be dedicated to FBSD, is there any advantage
 - or any problems (problems as in I've never tried that before) - using
 gpart instead of the old scheme?

It is clean and clear as to what you are doing, and it supports GPT
scheme partitions.


 Do I need kernel modules not in the generic kernel or create extra boot
 partition?

If you use it to make GPT partitions, you will need a freebsd-boot
partition with the proper bootcode for what you want to do.  If you
search this mailing list's archive, I've posted basic instructions for
gpart/GPT partitioning recently, perhaps there needs to be a section
added to Handbook 18.3.2 describing the basics.  Unfortunately, the
only mention in the handbook is a link to the man page in section
18.3.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sat, Jun 4, 2011 at 10:43 PM, Warren Block wbl...@wonkity.com wrote:
 There's a sample in the second half of my disk setup article:

 http://www.wonkity.com/~wblock/docs/html/disksetup.html

Looks good.  I have a few critiques:

1) Linux and FreeBSD do not have alignment requirements, as far as I
know.  So you may want to include a note about this when you say
Create partition for /. It should start at the 1M boundary for
alignment on 4K sector drives, or 2048 blocks:  This would only be
necessary for dual-boot with an OS that has alignment requirements
such as windows.  This would essentially be the difference between the
two old methods of dedicated and not.

2) Perhaps add a note about softupdates (-U) for partitions other than
/ when you describe the newfs steps.

3) I like to put /root in its own partition on the off chance that it
fills up.  That way it's in a little sandbox and does not fill /.  But
this is personal preference, I guess.

I think your article would be a good place to start for making an
updated section in the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote:
 Since some time I'm as well using gpart(8) to setup new systems with the
 following sequence:
 
 # gpart create -s mbr ad4 # Init the disk with an MBR
 # gpart add -t freebsd ad4# Create a BSD container
 # gpart create -s bsd ad4s1   # Init with a BSD scheme
 # gpart add -t freebsd-ufs  -s 1G ad4s1   # 1GB for /
 # gpart add -t freebsd-swap -s 2G ad4s1   # 2GB for swap
 # gpart add -t freebsd-ufs  -s 2G ad4s1   # 2GB for /var
 # gpart add -t freebsd-ufs  -s 1G ad4s1   # 1GB for /tmp
 # gpart add -t freebsd-ufs ad4s1  # all rest for /usr
 # gpart set -a active -i 1 ad4
 
 But the result is not ready for boot after install the kernel and
 system; I allways have to go again with the sysinstall(8) tool to set
 the 'A' flag; don't know what I'm missing (and the man page is not very
 instructive on this); thanks

You need to install the bootcode:

This will install the interactive one:
gpart bootcode -b /mnt2/boot/boot0 ad4

this will install the non-interactive one:
gpart bootcode -b /mnt2/boot/mbr ad4
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sunday, June 05, 2011 12:59:44 AM Polytropon wrote:
 On Sun, 5 Jun 2011 06:40:22 +0200, Matthias Apitz g...@unixarea.de wrote:
  Since some time I'm as well using gpart(8) to setup new systems with the
  following sequence:
  
  # gpart create -s mbr ad4 # Init the disk with an MBR
  # gpart add -t freebsd ad4# Create a BSD container
  # gpart create -s bsd ad4s1   # Init with a BSD scheme
  # gpart add -t freebsd-ufs  -s 1G ad4s1   # 1GB for /
  # gpart add -t freebsd-swap -s 2G ad4s1   # 2GB for swap
  # gpart add -t freebsd-ufs  -s 2G ad4s1   # 2GB for /var
  # gpart add -t freebsd-ufs  -s 1G ad4s1   # 1GB for /tmp
  # gpart add -t freebsd-ufs ad4s1  # all rest for /usr
  # gpart set -a active -i 1 ad4
 
 Just a side question that may be interesting for addition
 in a new Handbook section:
 
 When you use the old method, you can leave out the slicing
 step, creating a dangerously (haha) dedicated disk for
 use with FreeBSD. Would this also work with gpart by omitting
 the gpart create -s bsd ad4s1 step and then refering to
 ad4 instead of ad4s1 in the gpart add -t freebsd-ufs/swap
 steps?

Yes, that would be the equivalent, but if you do that, you might as well use 
GPT.  The reason you would want to use MBR is to dual boot with another OS 
that only understands MBR.  If you are using certain newer 64bit versions of 
Windows, they understand GPT boot, so the whole BSD inside MBR vs. BSD 
dedicated is becoming moot in my opinion.  A good reference if you must dual 
boot is:
http://msdn.microsoft.com/en-us/windows/hardware/gg463525

Also, at the bottom of this page is a list of OSs and GPT support:
http://en.wikipedia.org/wiki/GUID_Partition_Table

  But the result is not ready for boot after install the kernel and
  system; I allways have to go again with the sysinstall(8) tool to set
  the 'A' flag; don't know what I'm missing (and the man page is not very
  instructive on this); thanks
 
 I agree about the manpage; gpart set -a attrib -i index [-f
 flags] geom is mentioned in the synopsis, but there's no
 further mentioning of the -a option and its parameters.
 Maybe (haven't tested!) gpart set -a active -i 1 ad4s1
 is equivalent to setting the A flag using sysinstall?

After reexamining the man page I think I see where it could be made more 
clear.  The Examples section at the bottom should be changed into sections, 
one for MBR with BSD inside, one for BSD dedicated, one for GPT, and one for 
VTOC8.

Or at minimum add that you _must_ install bootcode if you wish to boot from 
the disk.  From the confusion above it seems that people think that gpart 
create -s GPT ad0 installs the bootcode, which it does not (replace the GPT 
in my example with MBR, BSD etc).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sun, Jun 5, 2011 at 1:39 AM, Odhiambo Washington odhia...@gmail.com wrote:
 On Sun, Jun 5, 2011 at 08:03, Robert Simmons rsimmo...@gmail.com wrote:
 On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote:
  Since some time I'm as well using gpart(8) to setup new systems with the
  following sequence:
 
  # gpart create -s mbr ad4                 # Init the disk with an MBR
  # gpart add -t freebsd ad4                # Create a BSD container
  # gpart create -s bsd ad4s1               # Init with a BSD scheme
  # gpart add -t freebsd-ufs  -s 1G ad4s1   # 1GB for /
  # gpart add -t freebsd-swap -s 2G ad4s1   # 2GB for swap
  # gpart add -t freebsd-ufs  -s 2G ad4s1   # 2GB for /var
  # gpart add -t freebsd-ufs  -s 1G ad4s1   # 1GB for /tmp
  # gpart add -t freebsd-ufs ad4s1          # all rest for /usr
  # gpart set -a active -i 1 ad4
 
  But the result is not ready for boot after install the kernel and
  system; I allways have to go again with the sysinstall(8) tool to set
  the 'A' flag; don't know what I'm missing (and the man page is not very
  instructive on this); thanks

 You need to install the bootcode:

 This will install the interactive one:
 gpart bootcode -b /mnt2/boot/boot0 ad4

 this will install the non-interactive one:
 gpart bootcode -b /mnt2/boot/mbr ad4


 This is interesting and here is my question:

 Taking the above example from Matthias, assume that I have done everything
 including installing the bootcode, then I realize I am not happy with the
 scheme and I need to change.
 How do I wipe the whole thing in one go so that I can start afresh?

 gpart destroy ad4 ??

Yes, but first you must delete all of the slices/partitions.  Think of
it this way: you must go backwards down the path you just came with a
delete for each add, then a destroy for each create.

 Why is there no sysinstall-style GUI for gpart?

Hopefully, because sysinstall is soon going to be taken out back and
shot, and its replacement will be gpart-aware and therefore GPT-aware.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Funny thing with portsclean

2011-05-29 Thread Robert Simmons
On Sun, May 29, 2011 at 10:49 PM, Mario Lobo l...@bsd.com.br wrote:
 # Papi/root [23:28:52]
 [~]portsclean -D

 Detecting unreferenced distfiles... -- !!

 Delete /usr/ports/distfiles/KDE/akonadi-1.5.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdeaccessibility-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdeadmin-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdeartwork-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdebase-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdebase-runtime-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdebase-workspace-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdebindings-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdeedu-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdegames-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdegraphics-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdelibs-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdemultimedia-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdenetwork-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdepimlibs-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdeplasma-addons-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdesdk-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdetoys-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdeutils-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/kdewebdev-4.6.2.tar.bz2
 Delete /usr/ports/distfiles/KDE/oxygen-icons-4.6.2.tar.bz2

 How can these files be unreferenced if I've those installed??

 # Papi/root [23:36:17]
 [~]pkg_info | grep kde
 akonadi-1.5.2       Storage server for kdepim
 kde4-4.6.2          The meta-port for KDE
 kde4-freebsd-carddeck-1.0 FreeBSD themed deck for KDE card games
 kde4-icons-oxygen-4.6.2 The Oxygen icon theme for KDE
 kde4-shared-mime-info-1.1 Handles shared MIME database under ${KDE4_PREFIX}
 kde4-xdg-env-1.0    Script which hooks into startkde and helps KDE pick up XDG
 kdeaccessibility-4.6.2 Accessibility applications for KDE4
 kdeadmin-4.6.2      KDE Admin applications
 kdeartwork-4.6.2    KDE Artworks Themes
 kdebase-4.6.2       Basic applications for the KDE system
 kdebase-runtime-4.6.2_1 Basic applications for the KDE system
 kdebase-workspace-4.6.2 Basic applications for the KDE system
 kdebindings-python-4.6.2 Meta port of Python bindings for KDE
 kdebindings-smoke-4.6.2 SMOKE bindings for Qt/KDE
 kdeedu-4.6.2        Collection of entertaining, educational programs for KDE
 kdegames-4.6.2      Games for the KDE integrated X11 desktop
 kdegraphics-4.6.2_2 Graphics utilities for the KDE4 integrated X11 desktop
 kdehier-1.0_11      Utility port which installs a hierarchy of shared KDE
 kdehier4-1.0.7      Utility port that creates hierarchy of shared KDE4
 kdelibs-3.5.10_7    Base set of libraries needed by KDE programs
 kdelibs-4.6.2       Base set of libraries needed by KDE programs
 kdemultimedia-4.6.2 KDE Multimedia applications
 kdenetwork-4.6.2_1  KDE Network applications
 kdepim-4.4.11.1     Libraries for KDE-PIM applications
 kdepim-runtime-4.4.11.1 Libraries for KDE-PIM applications
 kdepimlibs-4.6.2    Libraries for KDE-PIM applications
 kdeplasma-addons-4.6.2 Extra plasmoids for KDE4
 kdesdk-4.6.2        KDE Software Development Kit
 kdetoys-4.6.2       Collection of entertaining programs for KDE
 kdeutils-4.6.2      Utilities for the KDE4 integrated X11 Desktop


 Is portsclean doing something wrong here or am I missing something? isn't it
 supposed to cross info with the installed packeges database before deleting
 the distfiles, even if you csuped the ports tree?

The version of KDE in the ports tree is 4.6.3, the current May updates
version.  You may have brought your ports tree up to date, and
portsclean is just removing the unreferenced 4.6.2 files.  Whether you
have them installed or not is not the key.  It is whether they are
referenced by a port in *your* ports tree, which they are not.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Funny thing with portsclean

2011-05-29 Thread Robert Simmons
Sorry, I didn't mention why.  You need use -DD if you don't want that
to happen, and you want it to follow installed packages as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: remote password change

2011-05-28 Thread Robert Simmons
On Sat, May 28, 2011 at 8:17 AM, pepe pla...@gmail.com wrote:
 I have two FreeBSD 8 servers running. Server A is for shell access and
 server B for www pages. On B there is only scp/sftp access and no shell
 login.
 Now I'm looking for solution for people to be able to change password for
 server B from inside server A. Or better yet, automatic migration of
 password so if user changes password for server A it would change in server
 B too. Are there some solutions to do this?

NIS was mentioned, another option is Kerberos5.  The effect would be
the same: centralization of authentication.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kerberos5.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disable or limit email in root?

2011-05-26 Thread Robert Simmons
On Fri, May 27, 2011 at 12:16 AM, Jorge Biquez jbiq...@intranet.com.mx wrote:
 I am trying to find if sendmail was the problem or what... thing is not that
 root receive email but that root was used to send email to a list of
 address...

Was the root account on the box actually used, or did someone spoof
email coming from root on the box?  Did you receive a spam report
about email coming from the IP address of the box?  Do you have the
header of the email/s in question?  Is sendmail running locally, or is
it running SMTP on an open port?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: x11-wm/olvwm

2011-05-24 Thread Robert Simmons
On Tue, May 24, 2011 at 4:00 PM, Chris Rees utis...@gmail.com wrote:
 On 24 May 2011 18:09, C. P. Ghost cpgh...@cordula.ws wrote:
 On Tue, May 24, 2011 at 3:53 PM,  fr...@getnet.com wrote:
 Hello,

 I have updated ports and when reinstalling I found x11-wm/olvwm which I was
 using was gone from the ports tree.  Why?

 I noticed that too, and was bit by that change as well.
 Since I love the olvwm look and feel, I'm sad to see
 it go from the FreeBSD ports collection.

 % grep olvwm /usr/ports/MOVED
 x11-wm/olvwm||2011-05-01|Has expired: Upstream disapear and distfile
 is no more available

 I think we could resurrect this port, using the last available
 distfile, which fortunately is still with us:

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/olvwm4.tar.Z

 There are also two patches there:

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/olvwm4.Patch01.Z
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/olvwm4.Patch02.Z

 Unfortunately, I don't know where the old port files have
 gone. We *REALLY* should consider moving dead ports to
 a separate subdirectory hierarchy (such as /usr/ports/.deadports
 or some such), so people interested in resurrecting old ports
 could have a look. Just letting then disappear silently is rude
 und unnecessary, but that's just IMHO.

 I don't understand your comment on silence -- they've been deprecated
 for a while now.

 I'll take a look at resurrecting and hosting it tomorrow, if people
 are interested.

I grabbed the source and took a look at it.  At the end of the README
there is the following line: Bugs may be reported to Scott Oaks
(scott.o...@east.sun.com), who will try to fix bugs whenever he can.
Looks to be the old maintainer from the Sun days.  The tarball that I
grabbed doesn't have the LEGAL_NOTICE file, so it's not clear to me
which Sun license it is under.

It seems that the port depends on the olgx library which also seems to
be deprecated.

On xwinman.org, this wm's development activity is listed as LOW.

So, all of this leads me to point out the following: FOSS is a
volunteer thing.  If a maintainer evaporates and the port gets old, it
is taken out of the ports tree.  It's not gone, you can still get
everything if you pull the old ports tree from a specific data as was
mentioned in another reply.  But, if someone writes FOSS, they don't
_have_ to maintain it.  If you really like it, and it has been
abandoned, by all means, pick it up, dust it off, and start updating
the code.

As a user of FOSS, you are not entitled to updates from the
maintainers.  You are, however, a beneficiary of the maintainer's
volunteering their time and effort to provide you with updates.

That aside.  If you don't have time to maintain it, then look for an
alternative.  I would suggest looking at xwinman.org and see if there
is another wm that has a High development activity that has a
similar look and feel to the one that you want.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xfce4.8 Trash?

2011-05-22 Thread Robert Simmons
On Sun, May 22, 2011 at 7:26 AM, Patrick Lamaiziere
patf...@davenulle.org wrote:
 Hello,

 Since Xfce 4.8 the trash applet does not work : Can't connect to the
 trash.

 I've googled a bit but can't find any solution (Thunar, dbus and hal are
 running). This is a fresh install and not an update.

Have you tried this solution:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=796321+0+archive/2007/freebsd-ports/20070204.freebsd-ports
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xfce4.8 Trash?

2011-05-22 Thread Robert Simmons
On Sun, May 22, 2011 at 11:49 AM, Patrick Lamaiziere
patf...@davenulle.org wrote:
 Le Sun, 22 May 2011 10:09:37 -0400,
 Robert Simmons rsimmo...@gmail.com a écrit :

  Since Xfce 4.8 the trash applet does not work : Can't connect to
  the trash.
 
  I've googled a bit but can't find any solution (Thunar, dbus and
  hal are running). This is a fresh install and not an update.

 Have you tried this solution:

 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=796321+0+archive/2007/freebsd-ports/20070204.freebsd-ports

 Yes already tried this. I've rebuilt thunar to be sure this option
 was set but no luck.

 Thanks anyway.


You may also want to post this problem to freebsd-ports and to the xfce lists:
http://www.xfce.org/community
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ekiga FreeBSD (for a future without Skype)

2011-05-22 Thread Robert Simmons
Also, unless my friends all change from Skype or Skype becomes intolerable
with SIP, I'm stuck with Skype.

Also, we should wait and see what ms does with Skype before we condemn them.

On May 22, 2011 7:20 PM, ajtiM lum...@gmail.com wrote:

On Sunday 22 May 2011 12:44:50 Randal L. Schwartz wrote:

 paid) PSTN-to-SIP bridges, it can nearly...
What about Blink:
http://icanblink.com/

IMO Ekiga is not good replacemnet for Skype. I comunicate with many Windows
users and Skype is the best choice if you like it or not.


Mitja

http://jpgmag.com/people/lumiwa

___
freebsd-questions@freebsd.org mailing list
http://li...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipv6 spam

2011-05-21 Thread Robert Simmons
I have begun receiving ipv6 spam from this mailing list, and I was
wondering how to determine who the owner of a particular ipv6 address
is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SSD drive not recognized

2011-05-19 Thread Robert Simmons
I recently upgraded a hard drive to an SSD drive.  Initially I bought
a cheap(er) Microcenter house branded SATA II drive (after looking
around online it turns out it is really an A-Data that was rebranded).
 It was recognized by the BIOS, but not by FreeBSD.  I decided to
return it and try a name brand (OCZ Vertex 2, 60GB) with the same
results.  The system is 8.2-RELEASE and this is a fresh install.

The motherboard (ASRock K8Upgrade-NF3, nForce3 250 chipset) is only
SATA, not SATA II, but it has another SATA II drive (not SSD) that is
recognized just fine even without the jumper set to force it to SATA.
So, I don't think it is a problem with the drive negotiating down to
SATA, otherwise I don't think the BIOS would recognize it at all.

What is the best way to figure out why FreeBSD does not recognize the drive?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding new disk 2TB, gpt?

2011-05-17 Thread Robert Simmons
On Tue, May 17, 2011 at 9:40 AM, Maciej Milewski m...@dat.pl wrote:
 On Tuesday 17 of May 2011 15:19:40, n dhert wrote:
 Thanks for your answer!
 I am trying out gpart.
 On an old PC with 38 GB disk, I have triple boot Windows, OpenSuSE and
 FreeBSD-8.2.
 I created an unalloated space of 973 MB at the end.
 To see the actuel disk geometry, I used  FreeBSDs  sysinstall
 # sysinstall
 Disk name:      ad0                                    FDISK Partition
 Editor
 DISK Geometry:  79780 cyls/16 heads/63 sectors = 80418240 sectors (39266MB)
 Offset       Size(ST)        End     Name  PType       Desc  Subtype
 Flags
          0         63         62        -     12     unused        0
         63   22233897   22233959    ad0s1      4 NTFS/HPFS/QNX        7
   22233960   29639736   51873695    ad0s3      8    freebsd      165
   51873696        189   51873884        -     12     unused        0
   51873885   26539380   78413264    ad0s2      4 extended DOS, LBA       15
   78413265    1992060   80405324    ad0s4      4     ext2fs      131
   80405325      12915   80418239        -     12     unused        0

 ad0s1 is my Windows,
 ad0s2 is the extended partition where SuSE resides (swap and / partition)
 ad0s3 is my FreeBSD-8.2 (with sections a, e, f, d for /, /tmp, /usr, /var)
 and ad0s4 is the new freed space of 1992060 sectors = 973 MB

 I tried
 # gpart create -s gpt ad0s4
 gpart: provider: Device not configured
 ( gpart create -s gtp /dev/ad0s4 :  same error)

 # gpart show
 =      63  80418177  ad0  MBR  (38G)
         63  22233897    1  ntfs  (11G)
   22233960  29639736    3  freebsd  [active]  (14G)
   51873696       189       - free -  (95K)
   51873885  26539380    2  !15  (13G)
   78413265   1992060    4  !131  (973M)
   80405325     12915       - free -  (6.3M)

 =       0  26539380  ad0s2  EBR  (13G)
          0   2072385      1  !130  (1.0G)
    2072385  18249840  32896  !131  (8.7G)
   2035   6152895  322576  !131  (2.9G)
   26475120     64260         - free -  (31M)

 =       0  29639736  ad0s3  BSD  (14G)
          0   1048576      1  freebsd-ufs  (512M)
    1048576   1994384      2  freebsd-swap  (974M)
    3042960   3092480      4  freebsd-ufs  (1.5G)
    6135440   1048576      5  freebsd-ufs  (512M)
    7184016  22455720      6  freebsd-ufs  (11G)
 # gpart create -s gpt ad4
 gpart: provider 'ad4': Invalid argument

 how do I address the 974 MB partition ???
 You can't create gpt table on top of existing MBR table.
 If you want to use gpt you need to have clean hard drive for that(removed all
 partitions and destroy current table)
 If you just want to add ad0s4 you should do gpart add ...

Right.  If you do this, you will end up with ad0p1, ad0p2 etc each
with an appropriate type (freebsd-boot, freebsd-swap, freebsd-ufs) and
you can then newfs the gpt partition.

Needless to say, backup all your data.

Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding new disk 2TB, gpt?

2011-05-16 Thread Robert Simmons
On Mon, May 16, 2011 at 10:27 AM, n dhert ndhert...@gmail.com wrote:
 I have a running FreeBSD-8.2-amd system,
 FreeBSD was installed in jan 2009 (then FreeBSD 7.0), which a fisk disk of
 200 GB
 for /, swap /usr /var /tmp.
 Later that month, I added a 9 TB disk using /sbin/gpt
 (since sysinstall uses bsdlabel/fdisk, it can't create disks larger than 2
 TB)

 I want to add an extra 2TB disk... and thought to use gpt again as I did in
 the past ..

 The FreeBSD book (in its 2011 version), section 18.3 still refers to using
 gpt for disks 2TB
 but the link gpt(8) leads to nowhere and /sbin/gpt no longer exists in
 FreeBSD !

 There seem to be two alternatives:
 1) /sbin/gpart, of which the man page is quite similar to what gpt used to
 be, but tells me
 it is ''for disk partitoning GEOM class,
 whereas gpt man pages (in 2009) said: gpt - GUID partition table
 maintenance utility.

 2) a port sysutils/gdisk of which the Long Description says:
  Edit GUID partition table (GPT) definitions in Linux, FreeBSD, MacOS X or
 Windows
 but its web site shows a completely different command line interface, not
 resembling the old gpt at all..

 What is exactly that difference between GEOM and GUID ?
 I'd like to have things as similar as possible ..
 Can I use /sbin/gpart for the extra 9 GB disk ? or do I have to stick with
 GUID and use gdisk ?

gpart create -s gpt ad0
is the command you want to use.  Just replace ad0 with your device
node. Also, gpart show will give a list of slices and partitions.
You will then want to do:
gpart add -s size -t type ad0
The size and type syntax are in the gpart man page.
If you want it bootable you will need a small partition at the
beginning of the disk:
gpart add -s 128k -t freebsd-boot ad0
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ad0

You may adjust the size to shrink it to exactly fit the files, but I
think if you're working in TBs you can spare a few wasted k.

I submitted a PR to get the handbook updated to reflect gpart(8).

Cheers,
Rob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


boot question

2011-05-14 Thread Robert Simmons
Perhaps my earlier question was too complex and specific.  I will rephrase
it a bit:

How do I boot from a kernel that is in a non-standard location on a disk
that is partitioned with the GPT scheme?

How do I tell that kernel the location of /etc/fstab?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: boot question

2011-05-14 Thread Robert Simmons
On Saturday, May 14, 2011 10:38:37 AM you wrote:
  Date: Sat, 14 May 2011 09:44:42 -0400
  From: Robert Simmons rsimmo...@gmail.com
  To: freebsd-questions@freebsd.org
  Subject: boot question
 
  How do I boot from a kernel that is in a non-standard location on a disk
  that is partitioned with the GPT scheme?
 
 Things get a *LOT* messier if you want t relocate 'boot0' through 'boot4'
 as well as /boot/kernel.  Depending on _just_ what you want to do, you
 may have to build and install custom versions of those executables.

This is exactly what I want to do.  I want a minimum of three partitions on 
the drive.  One for swap, of course, but the other two I want to be:
/boot
/

I have gotten the kernel to boot by tricking boot2 into finding boot.config by 
locating it at /boot/boot.config rather than /boot.config and adding the 
following line to boot.config:
0:ad(0,1,a)/kernel/kernel

This gets me to the point where I have to enter the mount points manually at 
the mountroot prompt.  So, this is good progress.

This skips the loader stage of booting, however, which I would like to not 
have to do.  The problem is that if I put the following line in boot.config:
0:ad(0,1,a)/loader
then the loader cannot find its config file loader.conf

In boot(8) there doesn't seem to be a flag that you can pass to set where to 
find loader.conf. So, how can I tell it where to find loader.conf if it is in a 
non-standard location?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installing FreeBSD on an encrypted volume

2011-05-12 Thread Robert Simmons
I have been trying to get FreeBSD installed on an encrypted volume and I've
run into an annoying problem.  Before I describe the problem, let me explain
what I have done so far.

first I used gpart to make GPT partitions: one freebsd-boot, two
freebsd-ufs.  The freebsd-boot is 64k and the following command installed
the boot code:
# gpart bootcode -b /mnt2/boot/pmbr -p /mnt2/boot/gptboot -i 1 ad0

The second freebsd-ufs is 200M for /boot and the third is for the GELI based
encrypted swap and /.  I used geli to encrypt ad0p3 and again used gpart to
carve it into two BSD slices, one 512m for swap and the other the rest of
the disk for /.

After everything is newfs'd and ad0p1 and ad0p3.elib are mounted as
/mnt/boot and /mnt/root respectively, I did export DESTDIR=/mnt/root and
ran the install.sh scripts in /dest/8.2-RELEASE/base and
/dest/8.2-RELEASE/kernels.

The next thing I did was to modify the /mnt/root/boot/loader.conf file so
that it loads the geom_eli module and edit the /mnt/root/boot/device.hints
file so that the password on boot works correctly for the encrypted volume.
 And I moved /mnt/root/boot/GENERIC to /mnt/root/boot/kernel.

Then I copied the contents of /mnt/root/boot to /mnt/boot.  I created a
directory /mnt/boot/etc and made a fstab and put one copy there and another
copy in /mnt/root/etc

This works great, however, I am left with /boot in two different places and
/etc/fstab in two places as well.  I would like to know if someone can come
up wth a more elegant solution to this.  At the moment I am mounting
/dev/ad0p2 as /bootdir and whenever I update the system, once the update is
done, I just do an archival copy of the contents of /boot into /bootdir/boot
and if there is a change to fstab I make the change in both places.

I understand that /boot cannot be encrypted (at the moment, until things
change).  But I would like to have /boot mounted directly from /dev/ad0p2 so
there is only one copy of it.

Any thoughts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Encrypted Volume followup

2011-05-12 Thread Robert Simmons
As a followup to my earlier question, are there plans for a geli aware boot0
so /boot does not need to be unencrypted?  I know that this functionality
can be done with TrueCrypt with FreeBSD running inside a TrueCrypt system,
but having it part of FreeBSD would be great!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org