FreeBSD 6.2 on esx3.5 network issue

2010-04-07 Thread josemel esleta
Hi,
 
I currently have installed FreeBSD 6.2 STABLE in esx, I do have problem with 
download file from the box using ftp/scp service. It seems to be slow having a 
Gigabit lan. it just seems to have going about 100Kbps-500Kpbs on download 
speed. But I do have high upload speed ranging from 4-5MBps. Is there any 
adjustments that needs to be done on the kernel?
 
Thanks
Josh



___
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: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Dan Naumov
 An additional question: how come sade and sysinstall which are run
 inside the jail can see (and I can only assume they can also operate
 on and damage) the real underlying disks of the host?


 Disks (as well as others you have in your host's /dev) aren't visible
 inside jails.

Well, somehow they are on my system.

I guess I should've also clarified that the jail was installed using
ezjail and not completely manually

From /usr/local/etc/ezjail/semipublic

export jail_semipublic_devfs_enable=YES
export jail_semipublic_devfs_ruleset=devfsrules_jail

- Sincerely,
Dan Naumov
___
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: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Mars G Miro
On Wed, Apr 7, 2010 at 2:28 PM, Dan Naumov dan.nau...@gmail.com wrote:
 An additional question: how come sade and sysinstall which are run
 inside the jail can see (and I can only assume they can also operate
 on and damage) the real underlying disks of the host?


 Disks (as well as others you have in your host's /dev) aren't visible
 inside jails.

 Well, somehow they are on my system.

 I guess I should've also clarified that the jail was installed using
 ezjail and not completely manually

 From /usr/local/etc/ezjail/semipublic

 export jail_semipublic_devfs_enable=YES
 export jail_semipublic_devfs_ruleset=devfsrules_jail


Well I'm not entirely familiar w/ ezjail but I use jails all the time,
and I can tell you that /dev in jails is very limited, here's a /dev
jail of mine:

m...@spry9:~ ls -al /dev/
total 2
crw-rw-rw-  1 root  wheel0,  58 Mar 27 03:02 crypto
dr-xr-xr-x  2 root  wheel   512 Mar 27 03:12 fd
dr-xr-xr-x  2 root  wheel   512 Mar 30 20:00 iso9660
lrwxr-xr-x  1 root  wheel14 Mar 27 03:12 log - ../var/run/log
crw-rw-rw-  1 root  wheel0,  33 Apr  7 14:33 null
crw-rw-rw-  1 root  wheel0,   7 Mar 27 03:02 ptmx
dr-xr-xr-x  2 root  wheel   512 Mar 27 03:22 pts
crw-rw-rw-  1 root  wheel0,  10 Mar 27 11:12 random
lrwxr-xr-x  1 root  wheel 4 Mar 27 03:12 stderr - fd/2
lrwxr-xr-x  1 root  wheel 4 Mar 27 03:12 stdin - fd/0
lrwxr-xr-x  1 root  wheel 4 Mar 27 03:12 stdout - fd/1
lrwxr-xr-x  1 root  wheel 6 Mar 27 03:12 urandom - random
crw-rw-rw-  1 root  wheel0,  34 Mar 27 03:02 zero
m...@spry9:~

So I guess it's a configuration issue w/ your jails.

 - Sincerely,
 Dan Naumov




-- 
cheers
mars
-
___
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: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Aiza

Dan Naumov wrote:

An additional question: how come sade and sysinstall which are run
inside the jail can see (and I can only assume they can also operate
on and damage) the real underlying disks of the host?


Disks (as well as others you have in your host's /dev) aren't visible
inside jails.


Well, somehow they are on my system.

I guess I should've also clarified that the jail was installed using
ezjail and not completely manually


From /usr/local/etc/ezjail/semipublic


export jail_semipublic_devfs_enable=YES
export jail_semipublic_devfs_ruleset=devfsrules_jail

- Sincerely,
Dan Naumov


You are not in a jail but as the host. Use ezjail-admin console jailname 
and things will look alot different. What you are playing with are 
ezjails system control files.

___
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: Can freebsd be installed on a new mac pro 8 core machine ?

2010-04-07 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/04/2010 05:24:41, Wayne Burkart wrote:

 I have a new Mac Pro 8 core desktop machine. I want to install an os that
 will let me install Cpanel and whm so I can use it as a server. Will FreeBsd
 install on the new intell based pro macs ? Pleasea advise.

That's a clear maybe -- FreeBSD works on some Macs, but not all: for
instance it has trouble with the latest Mac pro laptops.  Whether this
applies to the desktops as well I don't know.

I suggest downloading either the USB installer image, the livefs CD or
the DVD image; cutting the appropriate media and seeing if you can get
your machine to boot and run from that media.  If so, then you should be
pretty safe installing FreeBSD onto the hard drive.  I'd try 8.0-RELEASE
first, and failing that, one of the 9.x snapshots (although I doubt
you'll get cPanel to support running under 9.x)

Note that you can partition the hard drive using Bootcamp without wiping
out an existing MacOS X installation.  You can then install FreeBSD
instead of Windows -- this apparently works quite well, although you'll
have to put up with MacOS always referring to the other partition as
containing Windows.  Or you can install FreeBSD as a guest under
VirtualBox, although that's going to needa bit of finessing to make the
VirtualBox guest visible from the external network.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku8MH4ACgkQ8Mjk52CukIwN4QCeLiggPRMAasFnURvwEss8KJZy
02AAnRHu7omXDxeg3iJU6V3bMvlPDdDa
=YbyP
-END PGP SIGNATURE-
___
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: How customized can an mfsroot be?

2010-04-07 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/04/2010 06:28:40, Peter Steele wrote:
 I found something else that's missing--/var/db/pkg is empty. It looks
 like what the auto-var process does is a construct basic directory
 structure but no data. Is there a solution to this? Can I get /var to
 be populated with the full contents of the real /var?

Can you write a few shell scripts?  You'ld need to create a tarball of
the /var contents you need on the box, and explode it onto /var at boot
time -- if you're using auto-var on MFS all the time, you'll need to set
that up to happen on every reboot.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku8MqMACgkQ8Mjk52CukIyVvQCfemeBFn3dIshT6hCXQTxXksGU
tREAmwWSJlAFsZC0YO5b1Z2uinCssdqp
=5x6X
-END PGP SIGNATURE-
___
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


usage of /usr/bin

2010-04-07 Thread Fbsd1
Why are there RELEASE base files in /usr/bin. I thought /usr was to only 
contain binaries installed from ports or packages.

___
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: usage of /usr/bin

2010-04-07 Thread Polytropon
On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 Why are there RELEASE base files in /usr/bin. I thought /usr was to only 
 contain binaries installed from ports or packages.

No. The /usr/local subtree (LOCAL) is for local additions (ports
and packages), while things outside this structure usually belong
to the system itself; I'm excluding mounted filesystem and other
things here for a moment.

 /usr/  contains the majority of user utilities and applications

bin/  common utilities, programming tools, and applica-
  tions

But:

   local/local executables, libraries, etc.  Also used as the
  default destination for the FreeBSD ports framework.
  Within local/, the general layout sketched out by
  hier for /usr should be used.  Exceptions are the
  man directory (directly under local/ rather than
  under local/share/), ports documentation (in
  share/doc/port/), and /usr/local/etc (mimics
  /etc).

Because we are on FreeBSD, there's excellent documentation
that shows how and why the system tree has a well intended
layout. :-)

The command

% man hier

will explain everything in detail.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 6.2 on esx3.5 network issue

2010-04-07 Thread Ross Cameron
On Wed, Apr 7, 2010 at 7:47 AM, josemel esleta cyberjosh...@yahoo.com wrote:
 Hi,

 I currently have installed FreeBSD 6.2 STABLE in esx, I do have problem with 
 download file from the box using ftp/scp service. It seems to be slow having 
 a Gigabit lan. it just seems to have going about 100Kbps-500Kpbs on download 
 speed. But I do have high upload speed ranging from 4-5MBps. Is there any 
 adjustments that needs to be done on the kernel?


Well for a start FreeBSD 6.x is no longer supported by the community.

I would suggest upgrading to at LEAST the current release of FreeBSD
7.x and preferably 8.x
As there is a very low likelihood that there will be any stability
or security updates for the 6.x series.




-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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: How customized can an mfsroot be?

2010-04-07 Thread Boris Samorodov
On Wed, 7 Apr 2010 00:28:40 -0500 Peter Steele wrote:

 I found something else that's missing--/var/db/pkg is empty. It looks
 like what the auto-var process does is a construct basic directory
 structure but no data. Is there a solution to this? Can I get /var to
 be populated with the full contents of the real /var?

I'm sure that DISKLESS(8) may give you some hints.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: usage of /usr/bin

2010-04-07 Thread Ivailo Tanusheff
Because /usr/local is used to store binaries installed from ports or 
packages :)
You should check the man pages or the handbook for this.

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD




Fbsd1 fb...@a1poweruser.com 
Sent by: owner-freebsd-questi...@freebsd.org
07.04.2010 10:25

To
FreeBSD Questions freebsd-questions@freebsd.org
cc

Subject
usage of /usr/bin






Why are there RELEASE base files in /usr/bin. I thought /usr was to only 
contain binaries installed from ports or packages.

___
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: usage of /usr/bin

2010-04-07 Thread Fbsd1

Polytropon wrote:

On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1 fb...@a1poweruser.com wrote:
Why are there RELEASE base files in /usr/bin. I thought /usr was to only 
contain binaries installed from ports or packages.


No. The /usr/local subtree (LOCAL) is for local additions (ports
and packages), while things outside this structure usually belong
to the system itself; I'm excluding mounted filesystem and other
things here for a moment.

 /usr/  contains the majority of user utilities and applications

bin/  common utilities, programming tools, and applica-
  tions

But:

   local/local executables, libraries, etc.  Also used as the
  default destination for the FreeBSD ports framework.
  Within local/, the general layout sketched out by
  hier for /usr should be used.  Exceptions are the
  man directory (directly under local/ rather than
  under local/share/), ports documentation (in
  share/doc/port/), and /usr/local/etc (mimics
  /etc).

Because we are on FreeBSD, there's excellent documentation
that shows how and why the system tree has a well intended
layout. :-)

The command

% man hier

will explain everything in detail.




But that is not true. The postfix port populates /usr/bin. And I am sure 
postfix is not the only port to do this also. This intermingling of 
RELEASE binaries and port binaries in /usr/bin is a really big problem 
when trying to build jails. Any past ports which have been included into 
the base release should not be in /usr period.
Saying system user utilizes are in /user/bin then why is fdisk or 
sysinstall not there also. That don't make sense. It time to modernize 
the directory layout keeping all RELEASE binaries out of /usr.
I would think moving the /usr RELEASE binaries by the RELEASE 
development team is a far smaller task then reviewing all 21,500 ports 
for the bad ones that don't target /usr/local/bin and then correcting 
their make files. Before jails this problem was not a problem, But with 
the growing usage of jails this is becoming a major incentive to not use 
jails at 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: usage of /usr/bin

2010-04-07 Thread Jonathan McKeown
On Wednesday 07 April 2010 11:13:13 Fbsd1 wrote:
 Polytropon wrote:
  On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1 fb...@a1poweruser.com wrote:
  Why are there RELEASE base files in /usr/bin. I thought /usr was to only
  contain binaries installed from ports or packages.
 
  No. The /usr/local subtree (LOCAL) is for local additions (ports
  and packages), while things outside this structure usually belong
  to the system itself; I'm excluding mounted filesystem and other
  things here for a moment.
[snip]

 But that is not true. The postfix port populates /usr/bin.

I haven't installed postfix, but is this possibly related to the recently 
(2010-03-22) added option to install postfix into the base?

In which case the commit six days later claims to correct a problem with the 
default (non-base) install.

Jonathan
___
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


make installworld broke - try again?

2010-04-07 Thread Christian Baer
Hi there peeps!

I just tried to update from 8.0-RELEASE to RELENG_8_0. I gut this far:

- buildworld
- buildkernel
- installkernel
- reboot
- mergemaster -p

Then I started a make buildworld and it broke here:

install -s -o root -g wheel -m 555   sort /usr/bin
install -o root -g wheel -m 444 sort.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo (install)
=== gnu/usr.bin/texinfo/libtxi (install)
=== gnu/usr.bin/texinfo/makeinfo (install)
install -s -o root -g wheel -m 555   makeinfo /usr/bin
install -o root -g wheel -m 444 makeinfo.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/info (install)
install -s -o root -g wheel -m 555   info /usr/bin
install -o root -g wheel -m 444 info.1.gz  /usr/share/man/man1
install -o root -g wheel -m 444 info.5.gz  /usr/share/man/man5
install -o root -g wheel -m 444 texinfo.5.gz  /usr/share/man/man5
=== gnu/usr.bin/texinfo/infokey (install)
install -s -o root -g wheel -m 555   infokey /usr/bin
install -o root -g wheel -m 444 infokey.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/install-info (install)
install -s -o root -g wheel -m 555   install-info /usr/bin
install -o root -g wheel -m 444 install-info.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/texindex (install)
install -s -o root -g wheel -m 555   texindex /usr/bin
install -o root -g wheel -m 444 texindex.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/doc (install)
install-info --quiet  --defsection=Miscellaneous  --defentry=  info.info
/usr/share/info/dir
install-info --quiet  --defsection=Miscellaneous  --defentry=
info-stnd.info /usr/share/info/dir
install-info --quiet  --defsection=Miscellaneous  --defentry=
texinfo.info /usr/share/info/dir
install -o root -g wheel -m 444  info.info.gz info-stnd.info.gz
texinfo.info.gz /usr/share/info
=== include (install)
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127

Stop in /usr/src/include.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Obviously, just trying to install again won't do any good (this isn't
Windows), I'm just a little careful about breaking the system. It is
also possible that I broke this by playing with the compiler-options (I
added 'CFLAGS+= -mcpu=ultrasparc' in make.conf). Maybe that broke my world.

Would it be a good idea to simply remove this entry and/or update the
source, recompile and try to install again? I don't really want to break
the system so it doesn't boot again, because after that, it's usually
easier to reinstall it from scratch - especially if you are setting up a
new system as I am now.

Regards,
Chris
___
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: usage of /usr/bin

2010-04-07 Thread Polytropon
On Wed, 07 Apr 2010 17:13:13 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 But that is not true.

It is, and the example you're giving is one of the
exceptions that secures the truth of the statement
given in man hier. :-)



 The postfix port populates /usr/bin. And I am sure 
 postfix is not the only port to do this also. 

Basically, there are ports that can be installed
outside /usr/local, or are especially intended to
be. For example postfix, a MTA that can replace
the system one's (sendmail), so it takes its
position. Other ports also allow the setting of
a certain PREFIX variable that will override /usr/local,
which is the default setting. Note that it isn't
very often done, and if it is, it is intended
(as the postfix example you've given, or the
sometimes requested statically linked bash
within the base system).



 This intermingling of 
 RELEASE binaries and port binaries in /usr/bin is a really big problem 
 when trying to build jails.

Yes, understandable.



 Any past ports which have been included into 
 the base release should not be in /usr period.

It has been the system administrator who decides to
install them there. If he insists on replacing some
part of the base system with a port, or to add a
port outside of /usr/local, it's his decision to
do so. Of course, this can lead into problems.



 Saying system user utilizes are in /user/bin then why is fdisk or 
 sysinstall not there also.

Because the creators of FreeBSD have decided that
those programs to belong to different classes of
programs, and according to man hier:

/usr/sbin/sysinstall
 /usr/  contains the majority of user utilities and applications
sbin/ system daemons  system utilities (executed by
  users)

/sbin/fdisk
 /sbin/ system programs and administration utilities fundamental to
both single-user and multi-user environments

There are often decisions that aren't obvious (or even
don't make sense) at first sight.



 That don't make sense.

There are some historical reasons for that. Would you
believe me if I told you that the mount binary historically
was /etc/mount? Or /etc/fsck? Or how about /bin/adm?

Other kinds of UNIX have different hierarchy concepts
and naming conventions. And Linux has many more.



 It time to modernize 
 the directory layout keeping all RELEASE binaries out of /usr.

Hmmm... modernize... I know of some Linux that maps all
the historical locations into Programs/ or Config/
subtrees... I'm not sure if I would be happy with FreeBSd
going the same way, or even further, because I usually
find things when I need to search from them, and I can
mostly do it by brain - rather than /usr/bin/find. :-)



 I would think moving the /usr RELEASE binaries by the RELEASE 
 development team is a far smaller task then reviewing all 21,500 ports 
 for the bad ones that don't target /usr/local/bin and then correcting 
 their make files.

If should be relatively easy to spot them by variations
of Makefile, especially the mentioned PREFIX setting
which needs to be overridden in order to leave /usr/local.
If I have that in mond correctly, LOCALBASE is the name
of the variable that controls where things are put; there
was another one called X11BASE, which is deprecated because
/usr/X11R6 is now inside /usr/local.



 Before jails this problem was not a problem, But with 
 the growing usage of jails this is becoming a major incentive to not use 
 jails at all.

On the other hand, if you encounter such a problem by the
presence of a nonstandard - meaning not being part of
the base system - mail transfer agent, then maybe its
documentation should mention to pay attention when using
it instead of what the system brings, so further problems
with jails can be avoided, or at least cured (by a correct
procedure given in the documentation).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Dan Naumov
On Wed, Apr 7, 2010 at 10:10 AM, Aiza aiz...@comclark.com wrote:
 Dan Naumov wrote:

 An additional question: how come sade and sysinstall which are run
 inside the jail can see (and I can only assume they can also operate
 on and damage) the real underlying disks of the host?

 Disks (as well as others you have in your host's /dev) aren't visible
 inside jails.

 Well, somehow they are on my system.

 I guess I should've also clarified that the jail was installed using
 ezjail and not completely manually

 From /usr/local/etc/ezjail/semipublic

 export jail_semipublic_devfs_enable=YES
 export jail_semipublic_devfs_ruleset=devfsrules_jail

 - Sincerely,
 Dan Naumov


 You are not in a jail but as the host. Use ezjail-admin console jailname and
 things will look alot different. What you are playing with are ezjails
 system control files.

No, I am not, I am running sade / sysinstall INSIDE THE JAIL (AFTER
ezjail-admin console jailname or after connecting to the jail via
ssh).


- Sincerely,
Dan Naumov
___
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: How customized can an mfsroot be?

2010-04-07 Thread Peter Steele
Can you write a few shell scripts?  You'ld need to create a tarball of the 
/var contents you need on the box, and explode it onto
 /var at boot time -- if you're using auto-var on MFS all the time, you'll 
 need to set that up to happen on every reboot.

Obviously I can do that. What I was really asking was if there was a BSD option 
to do this automatically. I don't want to needlessly bloat the image if I can 
avoid it since this is to become a downloadable iso.

___
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

Postfix in base system

2010-04-07 Thread Jerry
I noticed that someone in another thread mentioned:

quote
(2010-03-22) added option to install Postfix into the base
/quote

I have not been able to locate that item. Could someone list the URL
for that notice or tell me where to look for it? :-?

Thanks %-\


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

My God!  Are we sure he was a liberal?
Pretty sure.  They pulled him from a Volvo.
___
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: How customized can an mfsroot be?

2010-04-07 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/04/2010 12:09:56, Peter Steele wrote:
 Can you write a few shell scripts? You'ld need to create a tarball 
 of the /var contents you need on the box, and explode it onto /var
 at boot time -- if you're using auto-var on MFS all the time, 
 you'll need to set that up to happen on every reboot.

 Obviously I can do that. What I was really asking was if there was a
 BSD option to do this automatically. I don't want to needlessly bloat
 the image if I can avoid it since this is to become a downloadable iso.

There is no pre-canned method to copy data into /var.  The closest thing
is /etc/rc.d/var which creates a skeleton directory tree.  This is
designed for diskless usage -- if you look at the script, it's pretty
easy to see it doesn't have much in the way of customization hooks.
Basically you get what's recorded in the mtree files: BSD.var.dist and
(optionally) BSD.sendmail.dist

Like I said, you're going to have to script it yourself.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku8bqwACgkQ8Mjk52CukIwkKQCcD4gISCSOdZQYWUAJk7DtSUrg
tvsAn1YCo4veOCfusEJfzIA1GIxEplCp
=uQPM
-END PGP SIGNATURE-
___
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: Postfix in base system

2010-04-07 Thread Jonathan McKeown
On Wednesday 07 April 2010 13:34:07 Jerry wrote:
 I noticed that someone in another thread mentioned:

 quote
 (2010-03-22) added option to install Postfix into the base
 /quote

 I have not been able to locate that item. Could someone list the URL
 for that notice or tell me where to look for it? :-?

 Thanks %-\

I found it in the cvsweb interface to the ports tree:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/postfix/Makefile

Which lists rev1.155 with the commit message:

Add an option to install into the base, and related support

HTH

Jonathan
___
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: perl qstn...

2010-04-07 Thread RW
On Tue, 6 Apr 2010 21:07:17 -0600
Chad Perrin per...@apotheon.com wrote:

 On Tue, Apr 06, 2010 at 01:20:49PM +0100, RW wrote:
  On Mon, 5 Apr 2010 19:55:44 -0600
  Chad Perrin per...@apotheon.com wrote:
  
   On Mon, Apr 05, 2010 at 05:36:32PM +0100, RW wrote:

   There are more things in heav'n and earth, Horatio, than are
   dreamt of by designers of eagerly evaluated prefix notation
   languages.
  
  And most of them are obscure for good reasons. Just because a a
  syntax fits into a classification scheme doesn't make it a good
  idea.

 Shall we trade more trite sniping, or would you like to say something
 more substantive? 

You started it.
 
  
  Natural languages are mostly driven by spoken usage, in which people
  firm-up half-formed ideas as they speak - this is not a good model
  for programming languages. If you are hacking out a quick and dirty
  script it may be convenient to type the decision after the action,
  but it don't I think it promotes good quality software.
 
 This sounds exactly like the complaints Pythonistas use to explain why
 they have a deep hatred of Perl.  If that's how you feel, I'd prefer
 you stop trying to tell me how Perl should work, and just use
 something else.

I'm not, I'm expressing an opinion that this is not a feature worth
copying.

  Imperative languages have a natural order of decision followed by
  action, and code is most easily readable if the syntax doesn't try
  to subvert that.  
 
 . . . except when the natural order of decision varies
 significantly, such as when comparing functions with operators.  It
 gets even more confusing when both functions and operators are
 actually methods in object oriented languages with an imperative
 design, because suddenly the difference between a function and an
 operator becomes purely arbitrary.  There's nothing about
 arbitrariness that suggests a natural order.

Expression are different. When you are trying to understand thousands
of lines of code, the order of execution within an expression is fine
detail, but the flow of execution is something that needs to be
taken-in easily. 

 It's kind of odd you rail against natural language then talk about

I'm not railing again natural languages, I just don't think they have
much relevance.

 imperative languages having a natural order -- which is, presumably,
 based on the expectations of people who have been conditioned to think
 that way by their use of natural language.

No, it's conditioned by causality, and other mainstream programming
languages.
 
People juggle a lot of languages, being different for the sake of it
isn't very helpful.

 Frankly, if everybody just stuck to a purely natural order of
 decision approach to imperative language design, we would never even
 have developed structured programming.

I have no idea what you trying to say here. I presume it must be some
kind of straw man 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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-07 Thread Antonio Olivares
Garret,

I have tried the command out, but it apparently does not do the job:

=== Continuing 'make config' dependency check for graphics/graphviz
=== Launching child to update libgnomeui-2.24.1_1
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1

=== Port directory: /usr/ports/x11-toolkits/libgnomeui
=== Launching 'make checksum' for x11-toolkits/libgnomeui in background
=== Gathering dependency list for x11-toolkits/libgnomeui from ports
=== Starting recursive 'make config' check
=== Launching child to update gvfs-1.2.3_2
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2

=== Port directory: /usr/ports/devel/gvfs
=== Launching 'make checksum' for devel/gvfs in background
=== Gathering dependency list for devel/gvfs from ports
=== Starting recursive 'make config' check
=== Launching child to update libsoup-2.26.3_2
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2

=== Port directory: /usr/ports/devel/libsoup
=== Launching 'make checksum' for devel/libsoup in background
=== Gathering dependency list for devel/libsoup from ports
=== Starting recursive 'make config' check
=== Launching child to update sqlite3-3.6.14.2 to sqlite3-3.6.19
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  sqlite3-3.6.14.2

=== Port directory: /usr/ports/databases/sqlite3
=== Launching 'make checksum' for databases/sqlite3 in background
=== Gathering dependency list for databases/sqlite3 from ports
=== Starting recursive 'make config' check
=== Recursive 'make config' check complete for databases/sqlite3
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  sqlite3-3.6.14.2

=== Continuing 'make config' dependency check for devel/libsoup
=== Launching child to update gnome-keyring-2.26.3_1
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  gnome-keyring-2.26.3_1

=== Port directory: /usr/ports/security/gnome-keyring
=== Launching 'make checksum' for security/gnome-keyring in background
=== Gathering dependency list for security/gnome-keyring from ports
=== Starting recursive 'make config' check
=== Launching child to update libgcrypt-1.4.4 to libgcrypt-1.4.5
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  gnome-keyring-2.26.3_1 
libgcrypt-1.4.4

=== Port directory: /usr/ports/security/libgcrypt
=== Gathering dependency list for security/libgcrypt from ports
=== Starting recursive 'make config' check
=== Recursive 'make config' check complete for security/libgcrypt
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  gnome-keyring-2.26.3_1 
libgcrypt-1.4.4

=== Continuing 'make config' dependency check for security/gnome-keyring
=== Launching child to update libtasn1-2.3 to libtasn1-2.4
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  gnome-keyring-2.26.3_1 
libtasn1-2.3

=== Port directory: /usr/ports/security/libtasn1
=== Gathering dependency list for security/libtasn1 from ports
=== Starting recursive 'make config' check
=== Recursive 'make config' check complete for security/libtasn1
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  gnome-keyring-2.26.3_1 
libtasn1-2.3

=== Continuing 'make config' dependency check for security/gnome-keyring
=== Recursive 'make config' check complete for security/gnome-keyring
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2  gnome-keyring-2.26.3_1

=== Continuing 'make config' dependency check for devel/libsoup
=== Recursive 'make config' check complete for devel/libsoup
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  libsoup-2.26.3_2

=== Continuing 'make config' dependency check for devel/gvfs
=== Launching child to update sysutils/fusefs-kmod
jpeg-8_1  arts-1.5.10_2,1  jackit-0.116.2_2 
devel/doxygen  graphics/graphviz  libgnomeui-2.24.1_1 
gvfs-1.2.3_2  sysutils/fusefs-kmod

=== Port directory: /usr/ports/sysutils/fusefs-kmod
=== This port is marked IGNORE
=== requires the userland sources to be installed. Set
SRC_BASE if it is not in /usr/src

=== If you are sure you can build it, remove the
   IGNORE line in the Makefile and try again.

=== Update for 

Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-07 Thread Ion-Mihai Tetcu
On Wed, 7 Apr 2010 07:20:47 -0500
Antonio Olivares olivares14...@gmail.com wrote:

 [ .. ]

 === Port directory: /usr/ports/sysutils/fusefs-kmod
 === This port is marked IGNORE
 === requires the userland sources to be installed. Set  
 SRC_BASE if it is not in /usr/src
 
 === If you are sure you can build it, remove the  
IGNORE line in the Makefile and try again.
 
 === Update for sysutils/fusefs-kmod failed
 === Aborting update  

 [ .. ]  
 What should I do in this case?

First, please don't top post.

Second, you don't seem to have the base sources installed and that
port, being a kernel module, needs them.
See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: How customized can an mfsroot be?

2010-04-07 Thread David Allen
On 4/6/10, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
 On 07/04/2010 06:28:40, Peter Steele wrote:
 I found something else that's missing--/var/db/pkg is empty. It looks
 like what the auto-var process does is a construct basic directory
 structure but no data. Is there a solution to this? Can I get /var to
 be populated with the full contents of the real /var?

 Can you write a few shell scripts?  You'ld need to create a tarball of
 the /var contents you need on the box, and explode it onto /var at boot
 time -- if you're using auto-var on MFS all the time, you'll need to set
 that up to happen on every reboot.

I'm probably missing something here, but I'm not sure that's correct.  If
the OP wants his own /var, then diskless(8) describes how /var can be
automagically populated (see also /etc/rc.initdiskless).  The nanobsd.sh
script (designed with flash drives in mind) uses this method.  I looked
into adopting something similar some time back but decided on an
alternative solution so I can't provide anything more than a general
comment.

As a side comment, I'd add I hope the OP publishes the results of his
efforts to benefit others who may want to do the same.

HTH
___
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


Some multimedia keys send many keycodes

2010-04-07 Thread David DEMELIER
Hi freebsd users,

I'm running 8.0-STABLE on my laptop, and I have many troubles with the
functions keys (brightness does not work) and some other keys like
fn-key + f3 (usually XF86WWW) sends the XF86WWW keycode AND sends also
the F3 code and that's a real problem since some applications use
F1,2,3,...,12 keys.

For exemple fn-key - f9 must sens XF86AudioMute, it does but also does
the F9 key, look :

FocusOut event, serial 31, synthetic NO, window 0x141,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 31, synthetic NO, window 0x141,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
keys:  22  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeyPress event, serial 31, synthetic NO, window 0x141,
root 0x116, subw 0x0, time 298861, (232,-53), root:(234,285),
state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x141,
root 0x116, subw 0x0, time 298861, (232,-53), root:(234,285),
state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

The weird thing is that fn-f11 and fn-f12 (volume up and volume down)
sends only the good keycode without the F11 and F12 keycode.

So for the moment I don't know if it's only a X.org problem or a
problem linked to the ACPI since the fn-key is probably associated to
the ACPI. However this does not happens on Linux.

Cheers,

-- 
Demelier David
___
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


denyhost: ERROR Fault 1: exceptions.KeyError:'timestamp'

2010-04-07 Thread Jerry
Using denyhosts-2.6_3 from the ports system, I am finding the following
error message in the /var/log/denyhosts log file:

snippet
2010-04-07 07:45:25,818 - sync: ERRORFault 1: 
exceptions.KeyError:'timestamp'
Traceback (most recent call last):
  File /usr/local/lib/python2.6/site-packages/DenyHosts/sync.py, line 117, in 
receive_new_hosts
self.__prefs.get(SYNC_DOWNLOAD_RESILIENCY))
  File /usr/local/lib/python2.6/xmlrpclib.py, line 1199, in __call__
return self.__send(self.__name, args)
  File /usr/local/lib/python2.6/xmlrpclib.py, line 1489, in __request
verbose=self.__verbose
  File /usr/local/lib/python2.6/xmlrpclib.py, line 1253, in request
return self._parse_response(h.getfile(), sock)
  File /usr/local/lib/python2.6/xmlrpclib.py, line 1392, in _parse_response
return u.close()
  File /usr/local/lib/python2.6/xmlrpclib.py, line 838, in close
raise Fault(**self._stack[0])
Fault: Fault 1: exceptions.KeyError:'timestamp'
/snippet

This error message repeats anywhere from every hour to every three or
four hours. I cannot seem to decipher the pattern. Is this error message
something I should be worried about; and if so, how do I go about
correcting it?


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

If more of us valued food and cheer and song above hoarded gold, it
would be a merrier world.

J. R. R. Tolkien
___
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: csup vs cvs

2010-04-07 Thread Lowell Gilbert
d...@safeport.com writes:

 A change was MFC'd to the xorg intel driver to include support for the
 new chipsets. I took the fact that I could see the change on the web:

   Date: Sun Apr  4 15:37:47 2010
   New Revision: 206164
   URL: http://svn.freebsd.org/changeset/base/206164

That's a subversion checkin.  The web source for what's in the cvs (and
therefore, shortly, cvsup) is cvsweb:
http://www.freebsd.org/cgi/cvsweb.cgi/

   Log: MFC r205096, r205102
 Add AGP support for Intel Pineview and Ironlake chipsets.

 to mean that it would be propogated out to my favored csup server in
 due course. The change was not on cvsup2.FreeBSD.org by 2AM Monday, so
 I got a source tree from a cvs repository my unix guru runs and
 updated using that. I used his because I host it.

Most likely, that tree is checked out via the cvsup protocol, which
means whatever server it came from had the update.  So some of them did,
even if cvsup2.freebsd.org didn't.  When the different servers differ,
you need to talk to the manager of a particular server to find out
what's happening on that one.

By comparing the subversion checkin time to the cvs checkin time, it
looks like the delay from subversion to cvs was negligable, so most
likely the delay is entirely due to cvsup2's update time.  I can't tell
how long that is, because I don't know what time zone your 2AM is. 

 What I attempted to ask is (1) how are the mirrors updated; and (2),
 is there a particular lag time where the latest changes would have to
 be there? This is not normally an issue for me but I have a laptop
 that will not run X w/o this change.

The documentation project maintains a hubs article that covers the
how part.  The lag time mostly comes from the frequency with which the
mirrors update; official hubs are recommended to update hourly, but it's
not required.

Note that you could have gotten the change from either the svn URL you
posted, or from the cvs equivalent that I mentioned.  Then you could
have patched it onto your sources directly.  For a single-file change
(as the critical piece of this seems to be), that's the quick way to go.

 I normally do not use cvs because, I am not a developer and my
 learning new things bucket' is pretty full. Hence my [however badly
 worded] question. Again thanks for bearing with me.

cvs is not really *needed* for *anyone* on FreeBSD's base system these
days; the project uses it as a distribution method for the source code
tree, but real development is checked into subversion and (for official
branches) then automatically exported into the cvs tree.  The cvs tree
is distributed via the cvsup protocol to the hubs, and other mirrors can
pick it up from there.  The cvsup protocol (whether implemented in the
cvsup program or csup) is the main way these things are distributed, but
rsync, anonymous cvs, FTP, and probably other methods are supported
optionally (which means some mirrors offer them and others don't).

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: usage of /usr/bin

2010-04-07 Thread Lowell Gilbert
Fbsd1 fb...@a1poweruser.com writes:

 But that is not true. The postfix port populates /usr/bin.

By default, it does not.  You have to enable the Install into /usr and
/etc/postfix configuration option for it to do so.  I don't recommend
that anyone do it without a *really* good reason.  Turn that option back
off and you'll be fine.


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: usage of /usr/bin

2010-04-07 Thread Charlie Kester

On Wed 07 Apr 2010 at 00:24:51 PDT Fbsd1 wrote:

Why are there RELEASE base files in /usr/bin. I thought /usr was to
only contain binaries installed from ports or packages.


In many configurations, /bin and /usr/bin are not in the same slice.  In
some cases, they're not even on the same drive.  


Think about scenarios where /usr fails to mount for some reason.  Then
look at what's in /bin compared to what's in /usr/bin, and perhaps
you'll understand the logic of 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: usage of /usr/bin

2010-04-07 Thread Charlie Kester

On Wed 07 Apr 2010 at 10:13:10 PDT Charlie Kester wrote:


Think about scenarios where /usr fails to mount for some reason.  Then
look at what's in /bin compared to what's in /usr/bin, and perhaps
you'll understand the logic of it.


I should add that comparing the contents of /usr/sbin and /sbin is also
instructive.
___
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 6.2 on esx3.5 network issue

2010-04-07 Thread Chuck Swiger
On Apr 7, 2010, at 12:54 AM, Ross Cameron wrote:
 Well for a start FreeBSD 6.x is no longer supported by the community.

6.2 is no longer supported.  6.x in the form of 6.4 is supported through 
November 30, 2010.

Regards,
-- 
-Chuck

___
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: dead box

2010-04-07 Thread Frank Shute
On Sun, Mar 21, 2010 at 10:11:37AM +, Frank Shute wrote:

 Sorry if this is a bit off-topic.
 
 I came in the other day to find my workstation powered off. Hitting
 the power on button had no effect as did using another known working
 outlet. I checked all the cables and they seem attached.
 
 I thought my power supply must have died so I got another, screwed it
 in and again no joy - no sign of life.
 
 Anybody got any ideas what the problem may be? I'm thinking possibly
 the power on switch but that seems a long shot and there seems no easy
 way to replace it.
 
 My hardware:
 
 Antec Sonata case.
 Gigabyte board.
 Core 2 duo
 
 TIA,
 

Apologies for responding to my own post but I thought I should relate
what the problem was for the archives.

I tried reseating all attachments to the MB but that didn't prove
fruitful. So since I thought it was upgrade time anyway, I bought a
new MB and Intel quad core to go with it aswell as a 40GB Intel SSD. I
repurposed the memory from the old MB to go with the new MB. Assembled
it all and it worked. The old HD was OK too.

So from that I deduce that the problem was either the cpu, MB or some
dodgy attachment that the new assembly bypassed.

The SSD has proved it's worth. Port builds are a lot faster, launching
applications such as Mutt and Firefox are near instantaneous.
locate(1) and find(1) jobs are pretty near instantaneous. So my advice
to anybody still using EM HDs on a workstation is to get an SSD as
your next upgrade if you haven't already.

I suppose I'm fortunate in that my data needs are fairly small:

$ df
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad5s1a   1982798  261090  156308614%/
devfs   1   10   100%/dev
/dev/ad5s1e 19566  2217980 0%/tmp
/dev/ad5s1f  29893284 7870578 1963124429%/usr
/dev/ad5s1d   1982798   69718  1754458 4%/var

I just installed 8.0 and rsynced ~/ over.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.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: perl qstn...

2010-04-07 Thread Gary Kline
On Tue, Apr 06, 2010 at 09:01:10PM -0600, Chad Perrin wrote:
 On Tue, Apr 06, 2010 at 06:17:41PM -0400, Steve Bertrand wrote:
  On 2010.04.06 17:10, Randal L. Schwartz wrote:
  
   Now, on the other hand, emacs rules, vi sucks.  :-) :-)
  
  ok, ok. I was on the side of Perl, and was content following this
  thread, but now I don't like you anymore :P
  
  heh ;)
  
  Steve
 
 I'm willing to let the emacs users have their emacs, and to enjoy my vi.
 I guess the longer name (emacs) suits people who like pressing more
 buttons to accomplish the same amount of work anyway.
 


besides all this, someone can use vi easily with only one
hand---or just a few fingers for those of us who still
hunt-and-peck.  with emacs, gotta have at least 17 hands.


 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: How customized can an mfsroot be?

2010-04-07 Thread Peter Steele
I'm probably missing something here, but I'm not sure that's correct.  If the 
OP wants his own /var, then diskless(8) describes how
/var can be automagically populated (see also /etc/rc.initdiskless).  The 
nanobsd.sh script (designed with flash drives in mind) uses
this method.  I looked into adopting something similar some time back but 
decided on an alternative solution so I can't provide anything
more than a general comment.

As a side comment, I'd add I hope the OP publishes the results of his efforts 
to benefit others who may want to do the same.

From what I can tell, diskless talks about network booting via a PXE server. 
That's a little different than what I'm doing--booting from a read-only
CD-ROM. With network booting, you can create your own customized mfsroot with 
whatever you want in /var. I could have setup a mfsroot based
boot for my CD-ROM, but there are other restrictions to the mfsroot environment 
that I wanted to avoid. In my read-only CD-ROM boot case,
/var is created as a MFS device automatically and populated, but a basic 
directory layout only is used. Nothing from the CD-ROM /var is copied into the
MFS /var that is created.

I cannot figure out how BSD can do this automagically, so I'll have to have a 
duplicate copy of /var on the CD and populate it from that. What I've tried
that works well is when I'm about to run mkisofs to create the .iso from, I 
rename my /var to /var2 and create an empty /var. When the iso is booted,
a default MFS based /var is created with a specific collection of directories. 
I have a startup script that copies my /var2 contents into /var and that
does the trick.

Thanks to all the responders on this. I think I've worked out all of the kinks 
now.



___
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


port py-libxml2 error

2010-04-07 Thread gahn
Hi all:

I got problem for compiling py-libxml2:

-

path -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so -lz 
/usr/local/lib/libiconv.so -lpth -lutil -lm -lpython2.6-Wl,-soname 
-Wl,libxml2mod.so -o .libs/libxml2mod.so
/usr/bin/ld: cannot find -lpth
gmake[1]: *** [libxml2mod.la] Error 1
gmake[1]: Leaving directory 
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.6/python'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/textproc/py-libxml2.

---

the error seems to point the issue to python. i installed python2.6 since 
some other packages require newer version of python2.

how could i fix this problem?

thanks





  
___
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: port py-libxml2 error

2010-04-07 Thread Chuck Swiger
Hi--

On Apr 7, 2010, at 12:29 PM, gahn wrote:
[ ... ]
 the error seems to point the issue to python. i installed python2.6 since 
 some other packages require newer version of python2.
 
 how could i fix this problem?

Installing /usr/ports/devel/pth is likely to be the answer.  There may be a 
missing dependency, or there may be an issue with the options you used to build 
python.  However, I don't see it needed here:

 % pkg_info -r python26-2.6.4
 Information for python26-2.6.4:
 
 Depends on:
 

..and pth things only these are dependencies:

 % pkg_info -R pth-2.0.7
 Information for pth-2.0.7:
 
 Required by:
 amavisd-new-2.6.4_5,1
 gnupg-2.0.14
 libassuan-1.0.5
 p5-Mail-SpamAssassin-3.3.0_3

Regards,
-- 
-Chuck

___
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


Outdoor wireless - has anyone used Ubiquiti power stations?

2010-04-07 Thread Modulok
List,

This might be a little off topic, but it still involves FreeBSD. I
figured this list has many a smart folk, so I'd ask here.

If I buy two of these Ubiquiti power station 2's, I can set them up to
provide a long distance ethernet link to my BSD box right? Has anyone
used these?

Basically, I have an remote office with a FreeBSD box acting as a
router, but no Internet connection. At the other side of the valley
(15 miles) I have a DSL based Internet connection, but no office. In
theory, I should be able to link them via a wireless bridge, right?
That way I'd have local connection at the office on one interface, and
a long distance link which hooks up to an ISP through their DSL router
on the other. If I treat the link between the office and the DSL
router as if it were the public Internet, I shouldn't need any
encryption between me and it, right? Does this all sound like a
reasonable approach?

I just thought I'd get a vote of confidence in my methods before I
finally tackle this project and buy the equipment.
-Modulok-
___
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: perl qstn...

2010-04-07 Thread Alejandro Imass
On Tue, Apr 6, 2010 at 5:10 PM, Randal L. Schwartz
mer...@stonehenge.com wrote:
 Chuck == Chuck Swiger cswi...@mac.com writes:

[...]

 Now, on the other hand, emacs rules, vi sucks.  :-) :-)

you got that right bud!
oh, and the Perl stuff too ;-)


 --
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
 See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
 ___
 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: How customized can an mfsroot be?

2010-04-07 Thread Tim Judd
On 4/6/10, Peter Steele pste...@maxiscale.com wrote:
What incidentally does /var get populated with? Our image has a custom
 directory under /var but this did not show up in the MFS versions of this
 directory. I can get around this but I wonder what else might not be
 included?

 I found something else that's missing--/var/db/pkg is empty. It looks like
 what the auto-var process does is a construct basic directory structure but
 no data. Is there a solution to this? Can I get /var to be populated with
 the full contents of the real /var?



Not that I know of, unless you use the advantages of mfs then.  Full
circle, bud.  Now you're asking for necessities of the mfs or mfsroot
systems.
___
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: Outdoor wireless - has anyone used Ubiquiti power stations?

2010-04-07 Thread Gary Gatten
Is it not possible to get xDSL/Cable/BRI/WiMAX/3G/4G/whatever at the office.  
Depending on your wireless gear, antenna, topology, fresnel zone, spectrum 
pollution, blah blah blah - this COULD work, but not likely very well.  Too 
many variables to know for sure.  Many WISP's offer reasonable packages as 
well.

If they have a money back deal, or demo gear - it might be worth a shot.  If 
they comply with the 802.11 standards for xmit power, frequencies, etc. - IMHO 
you'll be lucky to get this working across 15 miles, even with really sweet 
antenna's.

G

PS: Why do you have DSL with no office?  Is it just hanging off the utility 
pole? :)


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Modulok
Sent: Wednesday, April 07, 2010 3:03 PM
To: FreeBSD Questions
Subject: Outdoor wireless - has anyone used Ubiquiti power stations?

List,

This might be a little off topic, but it still involves FreeBSD. I
figured this list has many a smart folk, so I'd ask here.

If I buy two of these Ubiquiti power station 2's, I can set them up to
provide a long distance ethernet link to my BSD box right? Has anyone
used these?

Basically, I have an remote office with a FreeBSD box acting as a
router, but no Internet connection. At the other side of the valley
(15 miles) I have a DSL based Internet connection, but no office. In
theory, I should be able to link them via a wireless bridge, right?
That way I'd have local connection at the office on one interface, and
a long distance link which hooks up to an ISP through their DSL router
on the other. If I treat the link between the office and the DSL
router as if it were the public Internet, I shouldn't need any
encryption between me and it, right? Does this all sound like a
reasonable approach?

I just thought I'd get a vote of confidence in my methods before I
finally tackle this project and buy the equipment.
-Modulok-
___
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: Outdoor wireless - has anyone used Ubiquiti power stations?

2010-04-07 Thread Gary Gatten
PS: One of their product / antenna combo's *MAY* work. I didn't review all 
details of all their products.  Since this is off topic you'll likely get some 
flames if this goes on much longer :)  Good luck!

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
Sent: Wednesday, April 07, 2010 4:07 PM
To: 'Modulok'; FreeBSD Questions
Subject: RE: Outdoor wireless - has anyone used Ubiquiti power stations?

Is it not possible to get xDSL/Cable/BRI/WiMAX/3G/4G/whatever at the office.  
Depending on your wireless gear, antenna, topology, fresnel zone, spectrum 
pollution, blah blah blah - this COULD work, but not likely very well.  Too 
many variables to know for sure.  Many WISP's offer reasonable packages as 
well.

If they have a money back deal, or demo gear - it might be worth a shot.  If 
they comply with the 802.11 standards for xmit power, frequencies, etc. - IMHO 
you'll be lucky to get this working across 15 miles, even with really sweet 
antenna's.

G

PS: Why do you have DSL with no office?  Is it just hanging off the utility 
pole? :)


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Modulok
Sent: Wednesday, April 07, 2010 3:03 PM
To: FreeBSD Questions
Subject: Outdoor wireless - has anyone used Ubiquiti power stations?

List,

This might be a little off topic, but it still involves FreeBSD. I
figured this list has many a smart folk, so I'd ask here.

If I buy two of these Ubiquiti power station 2's, I can set them up to
provide a long distance ethernet link to my BSD box right? Has anyone
used these?

Basically, I have an remote office with a FreeBSD box acting as a
router, but no Internet connection. At the other side of the valley
(15 miles) I have a DSL based Internet connection, but no office. In
theory, I should be able to link them via a wireless bridge, right?
That way I'd have local connection at the office on one interface, and
a long distance link which hooks up to an ISP through their DSL router
on the other. If I treat the link between the office and the DSL
router as if it were the public Internet, I shouldn't need any
encryption between me and it, right? Does this all sound like a
reasonable approach?

I just thought I'd get a vote of confidence in my methods before I
finally tackle this project and buy the equipment.
-Modulok-
___
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
___
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: Outdoor wireless - has anyone used Ubiquiti power stations?

2010-04-07 Thread Erik Norgaard

On 07/04/10 22:02, Modulok wrote:

List,

This might be a little off topic, but it still involves FreeBSD. I
figured this list has many a smart folk, so I'd ask here.

If I buy two of these Ubiquiti power station 2's, I can set them up to
provide a long distance ethernet link to my BSD box right? Has anyone
used these?

Basically, I have an remote office with a FreeBSD box acting as a
router, but no Internet connection. At the other side of the valley
(15 miles) I have a DSL based Internet connection, but no office. In
theory, I should be able to link them via a wireless bridge, right?
That way I'd have local connection at the office on one interface, and
a long distance link which hooks up to an ISP through their DSL router
on the other. If I treat the link between the office and the DSL
router as if it were the public Internet, I shouldn't need any
encryption between me and it, right? Does this all sound like a
reasonable approach?


In theory it would work, but reallity may be something completely 
different. I recall there have been a lot of community initiatives back 
when geeks were more abundant than broadband.


However, 15 miles sounds like stretching it. IIRC people were able to 
get around 1-5 miles on standard gear with a home made antenna and a 
clear line of sight.


Even if you get connection over 15 miles, you might loose it on rainy or 
cloudy days. Wifi signals are easily absorbed by water and anything that 
contains water - that means leaves and other vegetation.


I must add that I don't know the hardware you're looking at and I never 
experiented myself.


BR, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: usage of /usr/bin

2010-04-07 Thread Fbsd1

Lowell Gilbert wrote:

Fbsd1 fb...@a1poweruser.com writes:


But that is not true. The postfix port populates /usr/bin.


By default, it does not.  You have to enable the Install into /usr and
/etc/postfix configuration option for it to do so.  I don't recommend
that anyone do it without a *really* good reason.  Turn that option back
off and you'll be fine.


Your wrong. I installed the package of postfix and it installed it self 
into /usr/bin with out any help from me.


___
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: usage of /usr/bin

2010-04-07 Thread Fbsd1

Jonathan McKeown wrote:

On Wednesday 07 April 2010 11:13:13 Fbsd1 wrote:

Polytropon wrote:

On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1 fb...@a1poweruser.com wrote:

Why are there RELEASE base files in /usr/bin. I thought /usr was to only
contain binaries installed from ports or packages.

No. The /usr/local subtree (LOCAL) is for local additions (ports
and packages), while things outside this structure usually belong
to the system itself; I'm excluding mounted filesystem and other
things here for a moment.

[snip]

But that is not true. The postfix port populates /usr/bin.


I haven't installed postfix, but is this possibly related to the recently 
(2010-03-22) added option to install postfix into the base?


In which case the commit six days later claims to correct a problem with the 
default (non-base) install.


Jonathan

I installed the package of postfix and it installed is self into 
/usr/bin with out any help from me. Packages are frozen some time before 
the RELEASE is distributed to the public. The change you question would 
have never made it into the RELEASE 8.0 package.


___
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: usage of /usr/bin

2010-04-07 Thread Chuck Swiger
On Apr 7, 2010, at 4:06 PM, Fbsd1 wrote:
 Your wrong. I installed the package of postfix and it installed it self into 
 /usr/bin with out any help from me.

Unless you or whoever built the package changed $PREFIX:

% pkg_info -Lx postfix
Information for postfix-2.7.0,1:

Files:
/usr/local/man/man1/postalias.1.gz
/usr/local/man/man1/postcat.1.gz
/usr/local/man/man1/postconf.1.gz
/usr/local/man/man1/postdrop.1.gz
[ ... ]
/usr/local/share/doc/postfix/tlsmgr.8.html
/usr/local/share/doc/postfix/generic.5.html
/usr/local/etc/rc.d/postfix

...every file is under /usr/local.  Perhaps you set INST_BASE option?

[ ] INST_BASE  Install into /usr and /etc/postfix

Regards,
-- 
-Chuck

___
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: usage of /usr/bin

2010-04-07 Thread Fbsd1

Chuck Swiger wrote:

On Apr 7, 2010, at 4:06 PM, Fbsd1 wrote:

Your wrong. I installed the package of postfix and it installed it self into 
/usr/bin with out any help from me.


Unless you or whoever built the package changed $PREFIX:

% pkg_info -Lx postfix
Information for postfix-2.7.0,1:

Files:
/usr/local/man/man1/postalias.1.gz
/usr/local/man/man1/postcat.1.gz
/usr/local/man/man1/postconf.1.gz
/usr/local/man/man1/postdrop.1.gz
[ ... ]
/usr/local/share/doc/postfix/tlsmgr.8.html
/usr/local/share/doc/postfix/generic.5.html
/usr/local/etc/rc.d/postfix

...every file is under /usr/local.  Perhaps you set INST_BASE option?

[ ] INST_BASE  Install into /usr and /etc/postfix

Regards,



I installed the package of postfix and it installed is self into 
/usr/bin with out any help from me.


This is now I know that. I swapped a empty drive with my live system 
drive. Installed the sysinstall kern developer option to get full 
binaries and sources. After the install I set chflags schg /dir/ and 
/dir/* for these dir. /bin /boot /lib /libexec /sbin /usr/bin 
/usr/include /usr/lib /usr/libexec /usr/sbin. This should have protected 
all those RELEASE base directors and all the files in then. With the dir 
also having schg on, no files should have been able to be added to it. I 
then did a ls -lo /dir  file to save copy of their content. Then I did 
pkg_add -r postfix-current. After which i did another ls -lo /dir  file 
and to my surprise i see all these new files have been added to /usr/bin.


What am I to think? How else would you explain this?

___
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: usage of /usr/bin

2010-04-07 Thread Chuck Swiger
On Apr 7, 2010, at 4:41 PM, Fbsd1 wrote:
 I installed the package of postfix and it installed is self into /usr/bin 
 with out any help from me.

Hmm, a terrible surprise, I agree.

Please ask for a refund of your purchase price from whomever sold you such a 
package.  :-)

Regards,
-- 
-Chuck

___
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: usage of /usr/bin

2010-04-07 Thread Lowell Gilbert
Fbsd1 fb...@a1poweruser.com writes:

 Lowell Gilbert wrote:
 Fbsd1 fb...@a1poweruser.com writes:

 But that is not true. The postfix port populates /usr/bin.

 By default, it does not.  You have to enable the Install into /usr and
 /etc/postfix configuration option for it to do so.  I don't recommend
 that anyone do it without a *really* good reason.  Turn that option back
 off and you'll be fine.


 Your wrong. I installed the package of postfix and it installed it
 self into /usr/bin with out any help from me.

Believe it or not, I checked before responding, so I'm *not* wrong.  I
said that the port populates into /usr/local like it should, and having
it on several machines for nearly a decade now, I knew that to be the
case.  You then changed that to refer to a package rather than a port; I
don't know where you got your packages from, but I checked the packages
for 8-STABLE and for 8.0-RELEASE, and saw that they install into
/usr/local as well.  So it sounds like your packages didn't come from
the FreeBSD project, if they are really installing anything into
/usr/bin.  

Just as a sanity check:  what, specifically, is installed into /usr/bin
on your system?  Most of the postfix executables go into sbin rather
than bin anyway, so it's possible that something in the mailwrapper
system is confusing you.  If you don't have a /usr/local/sbin/postfix,
but have a /usr/sbin/postfix instead, then this is not the case.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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


make recursion error

2010-04-07 Thread gahn
Hi guru:

trying to compile /usr/ports/graphics/graphviz and running into problems. the 
make processes kept recycling until running out of buffer:

-



make: Max recursion level (500) exceeded.: Resource temporarily unavailable
*** Error code 2
Stop in /usr/ports/devel/doxygen.
*** Error code 1

Stop in /usr/ports/devel/doxygen.
*** Error code 1

Stop in /usr/ports/audio/jack.
*** Error code 1

Stop in /usr/ports/audio/arts.
*** Error code 1

Stop in /usr/ports/audio/arts.
*** Error code 1

Stop in /usr/ports/devel/sdl12.
*** Error code 1

Stop in /usr/ports/devel/sdl12.
*** Error code 1

Stop in /usr/ports/graphics/devil.
*** Error code 1

Stop in /usr/ports/graphics/devil.
*** Error code 1

Stop in /usr/ports/graphics/graphviz.
*** Error code 1

Stop in /usr/ports/graphics/graphviz.
...
...
...
...
...
-

how could i fix this?

thanks.




  
___
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: make recursion error

2010-04-07 Thread gahn
Hi all:


Looks like those packages are mutually dependent:


===   arts-1.5.10_4,1 depends on shared library: jack - not found
===Verifying install for jack in /usr/ports/audio/jack
===   jackit-0.116.2_4 depends on executable: doxygen - not found
===Verifying install for doxygen in /usr/ports/devel/doxygen
===   doxygen-1.6.3_1 depends on executable: tmake - found
===   doxygen-1.6.3_1 depends on executable: dot - not found



--

how could i untangle this mess?

thanks


--- On Wed, 4/7/10, gahn ipfr...@yahoo.com wrote:

 From: gahn ipfr...@yahoo.com
 Subject: make recursion error
 To: freebsd general questions freebsd-questions@freebsd.org
 Date: Wednesday, April 7, 2010, 5:34 PM
 Hi guru:
 
 trying to compile /usr/ports/graphics/graphviz and running
 into problems. the make processes kept recycling until
 running out of buffer:
 
 -
 
 
 
 make: Max recursion level (500) exceeded.: Resource
 temporarily unavailable
 *** Error code 2
 Stop in /usr/ports/devel/doxygen.
 *** Error code 1
 
 Stop in /usr/ports/devel/doxygen.
 *** Error code 1
 
 Stop in /usr/ports/audio/jack.
 *** Error code 1
 
 Stop in /usr/ports/audio/arts.
 *** Error code 1
 
 Stop in /usr/ports/audio/arts.
 *** Error code 1
 
 Stop in /usr/ports/devel/sdl12.
 *** Error code 1
 
 Stop in /usr/ports/devel/sdl12.
 *** Error code 1
 
 Stop in /usr/ports/graphics/devil.
 *** Error code 1
 
 Stop in /usr/ports/graphics/devil.
 *** Error code 1
 
 Stop in /usr/ports/graphics/graphviz.
 *** Error code 1
 
 Stop in /usr/ports/graphics/graphviz.
 ...
 ...
 ...
 ...
 ...
 -
 
 how could i fix this?
 
 thanks.
 
 
 
 
       
 ___
 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: perl qstn...

2010-04-07 Thread Chad Perrin
On Wed, Apr 07, 2010 at 01:09:54PM +0100, RW wrote:
 On Tue, 6 Apr 2010 21:07:17 -0600
 Chad Perrin per...@apotheon.com wrote:
 
  On Tue, Apr 06, 2010 at 01:20:49PM +0100, RW wrote:
   On Mon, 5 Apr 2010 19:55:44 -0600
   Chad Perrin per...@apotheon.com wrote:
   
On Mon, Apr 05, 2010 at 05:36:32PM +0100, RW wrote:
 
There are more things in heav'n and earth, Horatio, than are
dreamt of by designers of eagerly evaluated prefix notation
languages.
   
   And most of them are obscure for good reasons. Just because a a
   syntax fits into a classification scheme doesn't make it a good
   idea.
 
  Shall we trade more trite sniping, or would you like to say something
  more substantive? 
 
 You started it.

1. No, I used a misquote to lead into a lengthy explanation.

2. Seriously?  Are you not aware of how juvenile that sounds?


   
   Natural languages are mostly driven by spoken usage, in which people
   firm-up half-formed ideas as they speak - this is not a good model
   for programming languages. If you are hacking out a quick and dirty
   script it may be convenient to type the decision after the action,
   but it don't I think it promotes good quality software.
  
  This sounds exactly like the complaints Pythonistas use to explain why
  they have a deep hatred of Perl.  If that's how you feel, I'd prefer
  you stop trying to tell me how Perl should work, and just use
  something else.
 
 I'm not, I'm expressing an opinion that this is not a feature worth
 copying.

Judging by your further disputations with Mr. Schwartz, I don't think I
believe you.


 
   Imperative languages have a natural order of decision followed by
   action, and code is most easily readable if the syntax doesn't try
   to subvert that.  
  
  . . . except when the natural order of decision varies
  significantly, such as when comparing functions with operators.  It
  gets even more confusing when both functions and operators are
  actually methods in object oriented languages with an imperative
  design, because suddenly the difference between a function and an
  operator becomes purely arbitrary.  There's nothing about
  arbitrariness that suggests a natural order.
 
 Expression are different. When you are trying to understand thousands
 of lines of code, the order of execution within an expression is fine
 detail, but the flow of execution is something that needs to be
 taken-in easily. 

This doesn't change anything I said.


 
  It's kind of odd you rail against natural language then talk about
 
 I'm not railing again natural languages, I just don't think they have
 much relevance.

It's kind of odd you rail against natural language *in this context*.  I
thought in this context was obvious.


 
  imperative languages having a natural order -- which is, presumably,
  based on the expectations of people who have been conditioned to think
  that way by their use of natural language.
 
 No, it's conditioned by causality, and other mainstream programming
 languages.
  
 People juggle a lot of languages, being different for the sake of it
 isn't very helpful.

Who said anything about being different for the sake of being different?

If you find it too difficult to actually respond to what I said, please
refrain from responding.


 
  Frankly, if everybody just stuck to a purely natural order of
  decision approach to imperative language design, we would never even
  have developed structured programming.
 
 I have no idea what you trying to say here. I presume it must be some
 kind of straw man argument.

It's not a straw man argument.  Your presumption is wrong.

I have no idea how what I said could not be perfectly obvious.  It's
pretty clear.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpv6MIox8pkk.pgp
Description: PGP signature


RE: How customized can an mfsroot be?

2010-04-07 Thread Peter Steele
Not that I know of, unless you use the advantages of mfs then.  Full circle, 
bud.  Now you're asking for necessities of the mfs or mfsroot systems.

I don't want to go there, and don't need to. I came up with a simple way to 
populate /var from the original contents so I'm happy. The CD boots, clones 
itself onto the target system's hard drive, and then shutdown. The end result 
is an auto-installed BSD system ready for use.


___
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


Kernel Config for NAT

2010-04-07 Thread Gary Dunn
I am setting up a router to share one Wi-Fi link between a few computers that 
only support CAT-5. Like a wireless access point except wired and wireless 
sides are reversed. My question is about the ipfw packet filter. From the 
handbook section on NAT, 31.9.3, I can achieve what I need with boot loader 
options. Section 31.9.4 describes alternatives for building a custom kernel. In 
contrast, the chapter on ipfw states several times that NAT requires a custom 
kernel - 30.6.1, 30.6.2, 30.6.5.7.

I want to use freebsd-update and building a custom kernel eliminates that 
option.

Which is correct? Do I need to build a custom kernel to use NAT?

--
Gary Dunn, Honolulu
o...@aloha.com
http://openslate.net/
http://e9erust.blogspot.com/
Sent from a Newton 2100 via Mail V
___
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: Kernel Config for NAT

2010-04-07 Thread Adam Vande More
On Wed, Apr 7, 2010 at 9:51 PM, Gary Dunn o...@aloha.com wrote:

 I am setting up a router to share one Wi-Fi link between a few computers
 that only support CAT-5. Like a wireless access point except wired and
 wireless sides are reversed. My question is about the ipfw packet filter.
 From the handbook section on NAT, 31.9.3, I can achieve what I need with
 boot loader options. Section 31.9.4 describes alternatives for building a
 custom kernel. In contrast, the chapter on ipfw states several times that
 NAT requires a custom kernel - 30.6.1, 30.6.2, 30.6.5.7.

 I want to use freebsd-update and building a custom kernel eliminates that
 option.

 Which is correct? Do I need to build a custom kernel to use NAT?


You don't need to do build a custom kernel anymore, that's a relatively
recent change.  Another option is to use pf instead ipfw since it has
built-in NAT.  I'm not saying you should change as your current path has
worked great for me for many years.

-- 
Adam Vande More
___
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: Kernel Config for NAT

2010-04-07 Thread Robert Huff

Adam Vande More writes:

   I am setting up a router to share one Wi-Fi link between a few computers
   that only support CAT-5. Like a wireless access point except wired and
   wireless sides are reversed. My question is about the ipfw packet filter.
   From the handbook section on NAT, 31.9.3, I can achieve what I need with
   boot loader options. Section 31.9.4 describes alternatives for building a
   custom kernel. In contrast, the chapter on ipfw states several times that
   NAT requires a custom kernel - 30.6.1, 30.6.2, 30.6.5.7.
  
   I want to use freebsd-update and building a custom kernel eliminates that
   option.
  
   Which is correct? Do I need to build a custom kernel to use NAT?
  
  You don't need to do build a custom kernel anymore, that's a
  relatively recent change.  Another option is to use pf instead
  ipfw since it has built-in NAT.  I'm not saying you should change
  as your current path has worked great for me for many years.

If compiled into the kernel, there's a set of optional settings
(VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there.
If using the module, how does one set these?



Robert Huff



___
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: Kernel Config for NAT

2010-04-07 Thread Adam Vande More
On Wed, Apr 7, 2010 at 11:28 PM, Robert Huff roberth...@rcn.com wrote:

If compiled into the kernel, there's a set of optional settings
 (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there.
If using the module, how does one set these?


Logging is compiled into the modules and there are a few sysctl's.  AFAIK,
everything else is the same.

http://www.freebsd.org/doc/handbook/firewalls-ipfw.html

-- 
Adam Vande More
___
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