kern_jail_set() Error Scenario Question

2013-08-22 Thread Matt Miller
We ran into the following scenario in an application recently and were
wondering if the behavior of kern_jail_set() is as expected here.

This was an application bug where we were in, say, the JID 1 context
and tried to call jailparam_set() with the flags (JAIL_CREATE |
JAIL_UPDATE) and the jid param set to 1.  The basic idea was to
create or update JID 1 with some params, but the error was we were
already in the JID 1 context.  So, our understanding is this shouldn't
work since JID 1 already exists and you can only modify it from a
proper ancestor.

However, rather than getting an error back from jailparam_set(), it
ended up creating a second prison with JID 1, so there were two
prisons existing with JID 1 at that point.  This is based on 8.2.0
code, but, at first glance, it looks like the logic causing this may
be the same in head.

Looking at kern_jail_set(), what happens here is:

1. We find a prison with JID=1, however since it's not a proper child
we set pr = NULL in line 1024:

1011 pr = prison_find(jid);
1012 if (pr != NULL) {
1013 ppr = pr-pr_parent;
1014 /* Create: jid must not exist. */
1015 if (cuflags == JAIL_CREATE) {
1016 mtx_unlock(pr-pr_mtx);
1017 error = EEXIST;
1018 vfs_opterror(opts, jail %d
already exists,
1019 jid);
1020 goto done_unlock_list;
1021 }
1022 if (!prison_ischild(mypr, pr)) {
1023 mtx_unlock(pr-pr_mtx);
1024 pr = NULL;
1025 } else if (pr-pr_uref == 0) {

2. Since pr is NULL, we create a new prison.  Since the jid is not
zero, we insert it in the list and set its pr_id.  At this point, we
have two prisons with a JID of 1 and the same parent prison.

1166 /* If there's no prison to update, create a new one and
link it in. */
1167 if (pr == NULL) {
...
1185 pr = malloc(sizeof(*pr), M_PRISON, M_WAITOK | M_ZERO);
1186 if (jid == 0) {
...
1212 } else {
1213 /*
1214  * The jail already has a jid (that did
not yet exist),
1215  * so just find where to insert it.
1216  */
1217 TAILQ_FOREACH(tpr, allprison, pr_list)
1218 if (tpr-pr_id = jid) {
1219 TAILQ_INSERT_BEFORE(tpr,
pr, pr_list);
1220 break;
1221 }
1222 }
...
1229 pr-pr_parent = ppr;
1230 pr-pr_id = jid;

We wanted to see if this is per design or a situation that should
avoid creating the second prison and return an error.

Thanks,

Matt
___
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: Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-04 Thread Matt Rauch

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 Ilya Kazakevich
 Sent: January-03-13 7:17 PM
 To: Matt Rauch
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Looking for info on how to install and configure 
 suPHP on FreeBSD 8
 
 http://www.freshports.org/www/suphp/
 
 Is not it what are you looking for?
 


I guess what I'm looking for is not only how to do the ports install (which
I think I can do without issue), but also how to implement it so that it is
being used. The simple port install won't make that work right out of the
box will it?

Thanks,

Matt Rauch

___
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


Looking for info on how to install and configure suPHP on FreeBSD 8

2013-01-03 Thread Matt Rauch
Hello,

I apologize if there is an easy spot to find this, but I'm looking for some
instructions on implementing suPHP on FreeBSD 8 with Apache. The server is
currently in production and I'd like to convert it from running PHP files as
an Apache module and instead as cgi with suPHP for security and for some
issues that crop up with file and directory ownership with Joomla and other
CMS platforms. I have done quite a bit of searching and cannot find just a
step by step installation guide of any kind for FreeBSD. I can find my way
around FreeBSD pretty well, but am by no means an expert user, hence why a
guide would be perfect.

Any help would be greatly appreciated,

Matt Rauch


___
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: Netflow capture question

2012-10-09 Thread Matt Mullins
On Tue, Oct 9, 2012 at 9:05 AM, Paul Macdonald p...@ifdnrg.com wrote:
 I don't have direct access to the router this is going via, will netflow,
 flowcapture allow me to monitor traffic ( by port/protocol etc) straight off
 the NIC?

flow-capture simply receives NetFlow data and stores it to disk.
You'll need to use that in combination with softflowd to listen for
raw packets on the NIC and generate the NetFlow information.

I highly suggest the book Network Flow Analysis by Michael Lucas if
you want to pursue this route; it's especially worth it if you're
going to leave this system around for long-term analysis.
--
Matt Mullins
___
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


Sales Enquiry

2012-04-25 Thread Matt

   Hi


   We have been in contact with = your company in the past, so just
   really enquiring to see if= you have any overstock situations at the
   moment, as we are buyers of all s= urplus  excess stocks.


   As time goes by, the value of your= overstocks are depreciating. In
   this currently slow market, don't hestitat= e in turning your
   overstocks back into cash and free up some useful cashflo= w  storage
   space/costs immediately. We can assist in the following sto= ck
   situations.

   excess/out dated s= tocks

   discontinued stock= s

   slow moving stocks
   cancelled orders

   ex promotional stock = /FONT

   obsolete products= /SPAN= /FONT

   private label

   and generally any problem stocks/i= nventory that you wish to clear


   For an evaluation of your excess s= tock inventory, just simply email
   some details and photos and we will get b= ack to you with an offer.
   Or alternatively you're very welcome to give= us a call.and if we
   can agree a deal, we will pay immediately by bank = transfer.


   Kind Regards

   Matt Brewer

   Stocklot World Ltd
   Buyers  Sell= ers of Surplus Inventory  Deal Makers

   Cornwall Road, = Harrogate, HG1 2PL, North Yorks

   Mob: 07710 8256= 66

   Email: [1]m...@stocklotworld.com= o:p

   Web: = EMwww.stocklotworld.com



   Twitter - [2]Click = Here

   Buy From U= s [3]Click Here

   Sell To Us= [4]Click Here

   Domains Fo= r Sale [5]Click Here















   --   
--
   -   
-
   = /o:p

   Our Email Poli= cy:  You have received this email as we are
   specifically looking to purchase your products or services, not sell
   you something. We obtaine= d your email address by searching on the
   web for particular products and se= rvices that we would like to
   purchase from your company.  We guarantee= you that we will only
   contact you once every three months to see if we can= purchase your
   products. We are not in the business of sending annoying spa= m mails
   and respect your privacy. Under UK law you are welcome to opt out   of 
receiving our emails. If you wish to unsubscribe please reply with
   UNSU= BSCRIBE in the subject header.  Please make sure you reply with
   the= address that we sent to, otherwise you will not be unsubscribed
   successful= ly. Thank you

   --   
--
   -   
-
   = /o:p




   --   
--
   -= -

   COMPANY CONFIDENTIA= LITY

   This e-mail and any attachments are confidential and inte= nded solely
   for the addressee and may also be privileged or exempt from dis   closure 
under applicable law.  If you are not the addressee, or have
   r= eceived this e-mail in error , please notify the sender
   immediately, delete= it from your system and do not copy, disclose or
   otherwise act upon any pa= rt of this e-mail or its attachments.

   Internet communications = are not guaranteed to be secure or
   virus-free.

   Stocklot World= Ltd does not accept responsibility for any loss
   arising from unauthorised = access to, or interference with, any
   Internet communications by any third p= arty, or from the transmission
   of any viruses.  Replies to this e-mail= may be monitored by Stocklot
   World Ltd for operational or business reasons= .

   Any opinion or other information in this e-mail or its attac= hments
   that does not relate to the business of Stocklot World Ltd is person   al to 
the sender and is not given or endorsed by Stocklot World Ltd   /P






   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = /P

   = /P

   = /P

   = /P

   = /P

   office1= /SPAN

References

   1. 3Dmailto:m...@stocklotworld.com;
   2. 3Dhttps://twitter.com/#!/stocklotworld;
   3. 3Dhttp://www.stocklotworld.com/#/latest-stocklot   4. 
3Dhttp://www.stocklotworld.com/#/are-you-selling/   5. 
3Dhttp://www.stocklotworld.com/#/domains4sa___
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: Printer recommendation please

2012-03-30 Thread Matt Emmerton
On Fri, 30 Mar 2012 16:14:20 -0400
 Mike Jeays wrote:
 
  I strongly recommend a laser printer over an inkjet even for home use. 
  The reduced running costs and better reliability are easily worth the 
  lack of colour, IMO.

 How do they compare for light and  occasional use? I'm thinking in terms
of a few pages,
 a few times a year, so presumably the consumables become perishables.

Toner really doesn't go bad, and good laser printers are built to last.  My
first laser printer was an HP LaserJet 5P that my local bank branch was
throwing away in 2003. It ran on its existing toner cartridge for 5 or 6
years under light use - maybe 500 pages per year.

Matt



___
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: APC UPS Trip Lite - usb device keeps disconnecting

2012-02-08 Thread Matt Mullins
On Wed, Feb 8, 2012 at 9:29 AM, jbiskofski jbiskof...@gmail.com wrote:
 And then about 20 seconds later :

    ugen1.2: Tripp Lite at usbus1 (disconnected)
    uhid1: at uhub1, port 2, addr 2 (disconnected)

 20 seconds after that :

    ugen1.2: Tripp Lite at usbus1
    uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on
 usbus1

I have a TrippLite UPS that does this too -- it seems to stop
disconnecting once the monitoring software runs and connects to the
device.

I personally use Network UPS Tools for monitoring, but it was a bit
more complicated to set up than when I used apcupsd back when I had an
APC-branded UPS.

Hope this helps,
Matt Mullins
___
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: zpool detach pool device

2012-01-25 Thread Matt Mullins
On Tue, Jan 24, 2012 at 11:13 PM, Fritz Wuehler
fr...@spamexpire-201201.rodent.frell.theremailer.net wrote:
 Just use dd and avoid the hassle of downloading and burning a cd that does
 dd. dban is nice if you have to do a garage full of machines or are a
 Windows victim but if you know your way around UNIX why bother with dban?

On occasion, I have had the need to perform the DoD Short Wipe
within DBAN; this is something a simple dd if=/dev/zero won't get
you.  Of course, you can use shred from coreutils to do that from the
command line if you want.
--
Matt Mullins
___
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 to destroy a zombie zpool

2012-01-16 Thread Matt Mullins
On Mon, Jan 16, 2012 at 8:37 AM, Daniel Staal dst...@usa.net wrote:
 There is a zombie copy of the old zpool sitting around interfering with
 things.  'zpool import' lists it, but it can't import it because the disks
 don't actually exist.  'zpool destroy' can't delete it, because it's not
 imported.  ('No such pool')  Any ideas on how to get rid of it?

It sounds like your /boot/zfs/zpool.cache file still has the pool
listed.  I can't find definitive documentation to this end, but I
think zpool export pool name might remove the entry from the zpool
cache.

If that still doesn't work (and you haven't yet put another filesystem
on those disks), you might get buy with using dd to wipe the first and
last several MB of the disk/partitions that had been in the pool.  Of
course, if the disks have already been re-used or removed, then zfs
shouldn't be finding them when it scans the device nodes.

Hope this helps,
Matt Mullins
___
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 auto_linklocal

2012-01-16 Thread Matt Mullins
On Sun, Jan 15, 2012 at 7:27 AM, Freek Dijkstra pub...@macfreek.nl wrote:
 The link-local addresses don't really harm, but I found them confusing,
 as the host is running as a router, and rtadv announces the link-local
 address by default.

IPv6-standards-wise, this is the correct thing to do.  Router
advertisements should contain link-local source addresses and
advertise the link-local address as the router; the globally-routable
prefix that is being advertised is a completely different field in
those messages.  I'm not too sure of the reasons behind this, other
than eliminating some need for carp(4): you can have multiple routers
on a subnet and if one goes down, clients will just pick up the
other's router advertisements.

It's atypical that one would want to disable link-local addressing,
since it's one of the core differences from IPv4 that adds some
benefit and flexibility.

References:
http://tools.ietf.org/html/rfc4861#section-4.2
  Source Address
 MUST be the link-local address assigned to the
 interface from which this message is sent.
--
Matt Mullins
___
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


Sales Enquiry

2012-01-12 Thread Matt

   Hi  = ; = o:p


   I would like introduce my company Stocklot World = Ltd, buyers of
   surplus stock situations .


   Excess stock is a problem that many= business owners and managers
   don’t embrace as a priority. Excess invento= ry and assets
   negatively affects cash flow, ties up valuable warehousing sp= ace and
   ultimately is detrimental to the company’s financial statement.

   We spe= cialize in sourcing  purchasing overstock situations which
   may include= , short/out dated  discontinued stocks, slow moving
   stocks, products w= ith obsolete barcodes, cancelled orders,
   ex-promotional goods, old warehous= e stocks and generally any problem
   stocks/inventory that you wish to clear.= We have created a vehicle
   for business people= to cost-effectively dispose of excess inventory
   while maximizing returns. = How can it help your company?


   ·  Allows you to free up precious retail and w= arehouse space.

   ·  Cut overhead and operating expenses. = /o:p

   ·  Quick decisions made.

   ·  Bank transfer funds are sent to y= ou quickly.

   ·  Improve your cash flow, increase your worki= ng capital.

   ·  Cleaning out your stale stock will keep you= r inventory clean
   and current. Your customers will be able to focus on curr= ent
   merchandise, rather than last year’s residuals. It will allow you to
   = concentrate on selling profitable items, making your business more
   producti= ve and efficient.


   If you handle these stock situations yourself and= there’s something
   that you can offer me at the moment, please give me a = call. I would
   be pleased to offer my services.


   Regards

   Matt Brewer

   = SPAN style=FONT-FAMILY: 'Arial','sans-serif'; COLOR: black;
   FONT-SIZE: 1= 8pt; mso-fareast-font-family: 'Times New Roman';
   mso-fareast-theme-font: mi= nor-fareast; mso-fareast-language: EN-GB;
   mso-no-proof: yesStocklot World= Ltd

   Buyers  Sellers of Surplus Inventory  Deal Makers

   Cornwall Road, Harrogate, HG1 2PL, North Yorks

   Mob: 07710 825666

   Email: [1]= matt@stocklotwor= ld.com= /A

   Web: [2]www.stocklotworld.com= /o:p



   Twitter - [3]Click He= re= /A

   Buy From Us [4]Click Here= 
   Sell To Us [5]Click Here
   [6]Clic= k Here










   -   
--
   -= --

   Our Email Policy:  You have received this email as we are sp   ecifically 
looking to purchase your products or services, not sell y   ou something. We 
obtained your email address by searching on the web
   for pa= rticular products and services that we would like to purchase
   from your com= pany.  We guarantee you that we will only contact you
   once every three= months to see if we can purchase your products. We
   are not in the business= of sending annoying spam mails and respect
   your privacy. Under UK law you = are welcome to opt out of receiving
   our emails. If you wish to unsubscrib= e please reply with UNSUBSCRIBE
   in the subject header.  Please make= sure you reply with the address
   that we sent to, otherwise you will not be= unsubscribed successfully.
   Thank you

   -   
--
   -= --




   --   
--
   -= -

   COMPANY CONFIDENTIALITY

   This e-mai= l and any attachments are confidential and intended solely
   for the addresse= e and may also be privileged or exempt from
   disclosure under applicable law= .  If you are not the addressee, or
   have received this e-mail in error= , please notify the sender
   immediately, delete it from your system and do = not copy, disclose or
   otherwise act upon any part of this e-mail or its att= achments.

   Internet communications are not guaranteed to be sec= ure or
   virus-free.

   Stocklot World Ltd does not accept respons= ibility for any loss
   arising from unauthorised access to, or interference w= ith, any
   Internet communications by any third party, or from the transmissi= on
   of any viruses.  Replies to this e-mail may be monitored by Stocklo= t
   World Ltd for operational or business reasons.

   Any opinion o= r other information in this e-mail or its attachments
   that does not relate = to the business of Stocklot World Ltd is
   personal to the sender and is not = given or endorsed by Stocklot
   World Ltd


















   office1

References

   1. 3Dmailto:m...@stocklotworld.com;
   2. 3DC:\Users\Objects\AppData\Local\Te   3. 
3Dhttps://twitter.com/#!/stocklotwor   4. 3Dhttp://www.stocklotworld.com/#/l  
 5. file://localhost/tmp/3Dhttp   6. 
3Dhttp://www.stocklotworld.com/#/domains4sale/4547___
freebsd-questions

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-08 Thread Matt Mullins
On Sat, Jan 7, 2012 at 7:44 AM, Drew Tomlinson d...@mykitchentable.net wrote:
 I'm attempting a new install of 9.0-RC3 amd64.  My system has 4 500 GB
 drives.  Using this tutorial as a guide:

 http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/

When I built my ZFS-root system, I did most of these things, except I
had a slightly different setup for the root filesystem itself.  What I
did is akin to:
  # zpool import -o altroot=/target -o cachefile=/tmp/zpool.cache zroot
  # zfs set mountpoint=/ zroot
  # cp -a /tmp/zpool.cache /target/boot/zfs/zpool.cache

I did not manually set mountpoints for anything but the root
filesystem.  It sounds like manually-set mountpoints are the way most
people do it, but you can try to clear the mountpoints by doing:
  # zfs inherit mountpoint zroot/fs
for each filesystem in your root pool.

 I created a boot and a freebsd-zfs partition on each drive.  Then I created
 a raid1z pool using all 4 drives.  I followed the rest of the tutorial
 exactly and ensured that I copied the zpool.cache to boot/zfs.

 When I try to boot my new system, it all goes fine up until it's time to
 mount zfs:zroot.  It fails with an error 2 unknown filesystem error.  I
 don't know if this means anything but at the mountfrom prompt, the system
 will not accept any keyboard input.  Same keyboard works fine when booted
 into LiveCD.

I had that same problem with mine for a while, and it turned out that
importing with the altroot option implies cachefile=none; until I
realized I needed to also specify cachefile=/some/path, I had
accidentally ended up with a /boot/zpool.cache that didn't actually
reference any zpools.

 Unfortunately because I can't figure out how to get a LiveCD type
 environment with sshd running, I can't copy and paste exact error messages
 or command outputs.

I was using PXE/NFS booting to install this machine, so unfortunately
I can't help you here.

 I've searched and the two things that seem to be important are that there's
 a zpool.cache file and that the zfs partitions are correct.  A 'gpart show
 -l' shows my partitions something close to this:

 34 big number    ada0    GPT (456G)
 34    128             1       null (128K)
 162 big number   2       disk0 (456G)

 What have I done wrong and what do I need to do to get my zfs:zroot pool
 mounted as root?

It sounds like you're almost there!  My guess is that the cache file
is what is missing/incorrect.

Reading over some man pages, make sure you don't do a zpool export
before you copy the cache file; exporting the array removes it from
the cache and/or deletes the cache file entirely.

If you end up with a LiveCD that lets you copy these things, it might
help to see
  # zpool list -o name,altroot,cachefile
  # zpool status
  # zfs list -o name,mountpoint,mounted

Hope some of this helps.
--
Matt Mullins
___
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: ZFS Root Won't Mount - Unknown Filesystem -- SOLVED

2012-01-08 Thread Matt Mullins
Whoops, I missed this message before posting my reply a few minutes ago.

On Sat, Jan 7, 2012 at 9:36 AM, Drew Tomlinson d...@mykitchentable.net wrote:
 Yes, although I've read that 'zfs set mountpoint=/ zroot' is acceptable as
 well.  I set mine to / after trying to import pool with '-o altroot=/mnt'
 in LiveCD.  When mountpoint was legacy, altroot didn't work right.
  Opinions on / vs. legacy?

Most of the FreeBSD guides seem to think legacy is the way to go,
but I much prefer / myself.  The main difference is with legacy,
one sets a mountpoint option on each filesystem under it (which does,
indeed, undermine the altroot facility), whereas / lets the other
filesystems inherit their mountpoint from their path in the zpool.
/ seems to be a little closer to its Solaris usage, which is still
the majority of the documentation you'll find on ZFS on the internet
(and even in the man pages distributed with FreeBSD).
--
Matt Mullins
___
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 - knowing what programs use/need modules

2012-01-01 Thread Matt Mullins
On Tue, Dec 27, 2011 at 8:34 AM, Damien Fleuriot m...@my.gd wrote:
 Now, I'm wondering why in the world a server would need umass, ums and cam ?

 My understanding is that ums is the USB mouse, which we're never going
 to need.

 Umass would be USB mass storage, which again we're never going to need.

You appear to be correct with these two.  My gut tells me these types
of things would be loaded when the corresponding devices are plugged
into the system, but if that's wrong, surely someone here will speak
up.

 Regarding CAM I have absolutely no idea why the module is loaded either.

That's the SCSI/ATA subsystem; if this is the only of your firewalls
to have this module, perhaps it has different disk adapter hardware
than the others or another sysadmin decided to load it manually?

 Are there any ways of finding what programs, if any, require or use said
 modules ?

I'd probably start with judicious use of sysutils/lsof to find any
programs that have the relevant device nodes open.  grep -Rl through
your binary directories might also find something, but I'd expect a
very high false-positive rate with that.

Hope any of this helps,
Matt Mullins
___
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: SSL/TLS suddenly stopped working for postfix

2011-12-30 Thread Matt Mullins
On Fri, Dec 30, 2011 at 8:53 AM, Mark m...@msen.com wrote:
 My apologies for the cross-posting but I believe it is relevant.

That's still typically frowned upon, IMHO.

    I have been running postfix for 8+ months without problems.  Recently ( a
 week or two) I had a user complain that he could no longer send.  It appears
 that postfix is no longer accepting SSL/TLS connections.  STARTTLS is
 working on port 587 (and possibly 25, still testing)  I am trying to figure
 out why the change.

    If I try and open an openssl connection manually, this is what I get:

 openssl s_client -connect mail.myServer.net:587
 CONNECTED(0003)
 44829:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
 protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:478:

This command starts speaking the SSL protocol immediately at the
beginning of the connection, which is wrong for STARTTLS cases.  You
need to do this instead:
  $ openssl s_client -connect mail.myserver.net:587 -starttls smtp

The most common SSL-just-stops-working issue is that your certificate
expired.  Check that by looking for Not After in the output of:
  root@mailserver# openssl x509 -noout -text -in /path/to/server.crt
--
Matt Mullins
___
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: carp(4) on FreeBSD 8.2

2011-12-14 Thread Matt Mullins
I've used carp very successfully in the past, both in the standard
mode and ARP load-balancing mode, to build fail-over sets of
firewalls.  It worked well enough that one of our firewalls was down
for a week before we noticed (and none of our clients did).  I just
did a mock-up of your scenario on a system at home (using the GENERIC
kernel), and it seemed to work for me.

I see you have a managed switch; you might see if some features like
port security are disabled for that port.

 What is even more strange, tcpdump on le0 does not even see ICMP echo
 requests addressed to 10.14.134.99.

That is strange.  You might try tcpdump -nevvv -i interface host
10.14.134.99 on the sending system and see if it's even sending the
packets at all.

If there's a remote chance that something else is using carp or VRRP
on that network, you might try using a different VHID.

Hope I can help,
Matt Mullins
___
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: PAM configuration to allow passwords from both Unix and Kerberos

2011-12-12 Thread Matt Mullins
On Mon, Dec 12, 2011 at 1:40 AM, Volodymyr Kostyrko c.kw...@gmail.com wrote:
 10.12.2011 04:22, Matt Mullins wrote:
 auth optional   pam_deny.so
 auth sufficient pam_unix.so no_warn try_first_pass
 auth sufficient pam_krb5.so no_warn try_first_pass


 Why you just haven't changed the last line to `required`?

I did try that, but I omitted it due to completely failing behavior.
pam_krb5.so returns failure during pam_setcred() if the user did not
log in with Kerberos credentials, whereas pam_unix.so succeeds as long
as the uid exists (I'm using nss_ldap for that part, so all the uids
do indeed exist).  Thus, pam_unix.so will work with required, but
pam_krb5.so won't.

 Why just don't get stock `/usr/src/etc/pam.d/sshd` and uncomment anything
 related to kerberos? That's quite simple unlike managing `su`.

That's pretty much what I did.  I'm a little unhappy since pam_krb5.so
is before pam_unix.so in the list, so if the KDC goes down I have to
wait for a time-out to log in to my system... but that's always better
than letting anyone in :)

Thanks for your help,
Matt Mullins
___
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


PAM configuration to allow passwords from both Unix and Kerberos

2011-12-09 Thread Matt Mullins
For my systems, the canonical source of authentication information is
a Kerberos server, but I also want to support old-fashioned Unix
passwords for a handful of users (including myself) just in case the
Kerberos system is unreachable.  I'm having a bit of trouble adjusting
to the semantics of FreeBSD's PAM configuration, it seems.  The
following is what I have tried in /etc/pam.d/sshd:

auth optional   pam_deny.so
auth sufficient pam_unix.so no_warn try_first_pass
auth sufficient pam_krb5.so no_warn try_first_pass

This does what I want: tries Unix authentication, and for most users,
then goes and tries Kerberos authentication.  However, it also seems
to allow access if the module does something other than success or
failure: I hit ^D at the SSH password prompt and it grants me access!
Adding debug to these lines doesn't seem to get anything additional
logged, so I'm actually not sure why PAM ends up with a success code
somewhere.

I flipped this logic around and did:

auth sufficient pam_unix.so no_warn
auth sufficient pam_krb5.so no_warn try_first_pass
auth required   pam_deny.so

This does exactly what I want for services like sudo, that just use
pam_authenticate(), but since sufficient is equivalent to optional
in pam_setcred(), sshd fails all authentications with:
Dec  9 15:05:18 boron-shell sshd[66617]: fatal: PAM: pam_setcred():
failed to retrieve user credentials

I am completely stumped how to get this behavior working for both
pam_authenticate and pam_setcred calls.  Can someone enlighten me what
a more normal way to do this would be?
--
Matt Mullins
___
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 9.0-RC1 and DTrace Userland Probes

2011-10-26 Thread Matt Davis
I upgraded my box so that I can rock the userland DTrace probes.  I have been
following the example at: http://wiki.freebsd.org/DTrace/userland

When I am ready to build my test probe, I run 'make' as the example shows.  The
result of that is the following:

cc -O2 -pipe -fno-omit-frame-pointer  -std=gnu99 -fstack-protector  -c test.c
cc -O2 -pipe -fno-omit-frame-pointer  -std=gnu99 -fstack-protector   -o test
test.o 
test.o: In function `main':
test.c:(.text+0x29): undefined reference to `__dtrace_prober___probe__before'
test.c:(.text+0x45): undefined reference to `__dtrace_prober___probe__after'
*** Error code 1

Same idea as the example, but I just changed the names around.  Well, so I
thought I would be smart and compile just the object file with:
dtrace -G -s prober.d

And that stalls.  `truss` is showing that dtrace is stalling after a mmap, with
what looks to be a valid returned address.

/* provider.d */
provider prober {
probe probe__before(char *);
probe probe__after(char *);
};

/* test.c */
#include unistd.h
#include sys/time.h
#include provider.h

int main(void)
{
struct timeval tv;
for ( ;; )
{
sleep(1);
PROBER_PROBE_BEFORE(foo);
gettimeofday(tv, NULL);
PROBER_PROBE_AFTER(bar);
}
return 0;
}

Any insight would be wonderful.
Thanks!

-Matt
___
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: much to my surprise.... [ now trending #OT ]

2011-09-22 Thread Matt Emmerton
  *Finally*, i  saw that my telco router was displaying INT in red
  LED's.  i didn't know they displayed in any other color but the
  default green, but after power-cycling, voila! back to green.  
  and now, yes, i can ping freebsd.org.  and i'm pretty sure other
  network things will work too.  

The Mark I eyeball is an amazing tool.

I recently had a HDSL link provided by my telco go down.  I happened to be 2
hours away from the facility at the time.  Tech support said the problem was
the router because they couldn't get to it, and they just wouldn't believe
me that it was up.  (I could ping it from the inside via the secondary
network connection.)  So after I drove to the facility, I noticed that the
HDSL modem (which is line-powered from some box on the street) had no
lights.  Ahah!  28 hours later (sigh) they found a blown circuit breaker
somewhere.

snip

 but i've been doing this for a while, and
 until i was away for five days, everything had been going
 fine for over a month.  oh:: one power-out.  the UPS saved
 the server, but everything else needed to be reinitialized.

A lesson that I learned many years ago - if you can afford a big UPS for
your servers, you can afford a little one for your telco/network
equipment.

--
Matt Emmerton

___
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: limit number of ssh connections

2011-09-19 Thread Matt Emmerton
Moving ssh to another port has solved the problem for me.
I had used sshguard in the past, but was always leery of locking myself out.

Regards,
Matt Emmerton

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of James Strother
Sent: Monday, September 19, 2011 5:47 PM
To: freebsd-questions@freebsd.org
Subject: Re: limit number of ssh connections

Wow, I'm glad I asked.  This has been very helpful.

@Григорьев Александр
Thanks for the tip on inetd, that looks like it might just do the trick.

@Paul Macdonald
My main reason for looking into this was glancing through the logs on
a server I just put online and seeing large numbers of unauthorized
login attempts.  Everything so far is highly unsophisticated, but it
did make me start to really think about the issue.  I might put ssh
onto a different port, that would at least stop the sort of fishing I
am currently seeing.  It's not clear if that would be good enough.

@Damien Fleuriot
Have you had success with sshguard?  Installed it from ports, but then
I couldn't quite figure out how to configure it.  To be honest, I
didn't give it much of a chance before I moved on to the next thing,
so if you've had good luck then I should probably give it another
shot.  I did flip through sshd_config, but as far as I can tell it is
only possible to limit the number of concurrent connections.  It might
take a little longer, but I'm concerned it would still allow a
malicious individual to sequentially brute-force a password.

Thanks for all the responses.
___
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: cmpsfont-1.0_7 checksum mismatch

2011-05-30 Thread Matt Emmerton
On Mon, May 30, 2011 at 08:48:18AM +0200, n dhert wrote:

 There seems to be an error with the recently (5 days ago) distributed 
 new
 1.0_7 version of  cmpsfont:
 
 ---  Upgrading 'cmpsfont-1.0_6' to 'cmpsfont-1.0_7' (print/cmpsfont)  
 --- Build of print/cmpsfont started at: Mon, 30 May 2011 08:29:15 
 --- +0200  Building '/usr/ports/print/cmpsfont'
 ===  Cleaning for cmpsfont-1.0_7
 ===  Vulnerability check disabled, database not found ===  License 
 check disabled, port has not defined LICENSE ===  Extracting for 
 cmpsfont-1.0_7 = SHA256 Checksum mismatch for cmps-unix.tar.gz.
 ===  Refetch for 1 more times files: cmps-unix.tar.gz ===  
 Vulnerability check disabled, database not found ===  License check 
 disabled, port has not defined LICENSE = cmps-unix.tar.gz doesn't 
 seem to exist in /usr/ports/distfiles/.
 = Attempting to fetch
 http://ftp.ctex.org/pub/tex/fonts/type1/cmps-unix.tar.gz
 ===  Vulnerability check disabled, database not found ===  License 
 check disabled, port has not defined LICENSE = SHA256 Checksum 
 mismatch for cmps-unix.tar.gz.
 ===  Giving up on fetching files: cmps-unix.tar.gz

 How to deal with it?
 Or wait for a better version?

send-pr(1) or drop the maintainer an email (he's probably forgotten to
update the distinfo).

If you must have the port *now* you can edit the port with the new checksum
calculated using sha256(1). 
(Edit /usr/ports/print/cmpsfont/distinfo)

--

Or this:

cd /usr/ports/print/cmpsfont
make fetch
make makesum

--
Matt Emmerton


___
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: Sending a Fax

2011-05-05 Thread Matt Emmerton
 One of my clients needs to send a lot of faxes.  He has a Brother 8680DN
which will fax.
 Any ideas how to send a file to it and get it to send a fax?  I am not
finding anything
 beyond printing for that unit via Google.



According to
http://welcome.solutions.brother.com/bsc/public_s/id/us/us/en/monolasermfc/m
fc8680dn_us/spec/index.html, this device does have PC FAX capabilities on
Windows/Mac/Linux.

Here is the download site for Linux drivers:
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html

With some Linux emulator and CUPS tweaking, you should be able to get the
Linux PC FAX capability working on FreeBSD.

YMMV, HTH.

--
Regards,
Matt Emmerton

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

2011-04-01 Thread Matt Emmerton
  The number of console 
  programs that want to pull in X window or kde is
  my boggling. 

 Hmmm... The only one I remember being that way is
 the old cvsup, but there was nocvsup-nogui (or -nox11?).

Over the years I've found that ghostscript and gd are two common culprits.
Every time I see a webserver with X11 on it, it's because of these two.  Of
course, using ghostscript*-nox11 as well as setting WITHOUT_X11=yes solves a
lot of this mess, but on a system that's already been infested, it's
easier just to rebuild from scratch.

I dearly love FreeBSD, but after a few hours of building world and upgrading
ports/packages, walking over to my RHEL/CentOS machines and typing yum
update -y  reboot just brings tears to my eyes.

--
Matt Emmerton

___
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: foo; no such thing as a dual-nic atom firewall

2010-11-24 Thread Matt Emmerton

Maybe someone on-list can help me; after 5+ hours of clicking and
typing, I can't find an atom cpu computer with dual NICs.  I
_thought_ I'd found a computer to replace to Kayak firewall
[pfSense], but nada.

Any wizards on this list have a clue?


You'd probably have to build one yourself out of parts.  Any respectable 
computer shop will have Mini-ITX Atom motherboards and cases, just add 
another NIC to that along with memory/drives and you're done.


Regards,
--
Matt Emmerton 


___
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: Like it or not, Theo has a point... freebsd is shipping export-restricted softwarein the core

2010-10-06 Thread Matt Emmerton


http://article.gmane.org/gmane.os.openbsd.misc/178267

And yes, there it is, in 
/usr/src/sys/contrib/dev/acpica/hardware/hwsleep.c:


* 4.3. Licensee shall not export, either directly or indirectly, any of 
this
* software or system incorporating such software without first obtaining 
any
* required license or other approval from the U. S. Department of Commerce 
or

* any other agency or department of the United States Government.  In the
 snip

So, is such approval on file with the FreeBSD Foundation?


More to the point - we probably need to be doing what our Linux brethren 
have been doing - holding out for a more compatibly-licenced version of the 
ACPICA code.



From http://www.acpica.org/overview.php


quote
ACPICA is written in ANSI C, and can be generated under many different 
32-bit and 64-bit OS development environments. Source code packages are 
provided for the following environments: Microsoft Windows* and UNIX*.


1) The Windows package includes Visual C++* project files and other ACPI 
utilities that run under Windows.


2) The UNIX package has a format and licensing suitable for inclusion by 
commercial OS vendors.


There is no Linux* source code package since ACPICA updates for Linux are 
provided periodically in patch form. The ACPICA subsystem is modified to 
integrate smoothly with the Linux kernel source. This includes conversion of 
the ACPICA source code to the Linux kernel coding standard, and licensing 
under the GNU General Public License.

/quote

Seems like the FSF needs to work on a BSD-compatible licence for this code 
too.


Regards,
--
Matt Emmerton 


___
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


Is /boot updated by make installkernel or by make installworld ?

2010-10-05 Thread Matt Thyer
Background

I'm running a ZFS FreeBSD-STABLE system on Western Digital 2TB EARS models
green drives.
These are the so called Advanced Format Drives that use a 4KiB block size
internally but lie about this to the operating system and claim to use 512
byte blocks.
This causes all sorts of performance issues so after some experimentation I
ended up creating my ZFS pool directly on gnop 4KiB block size devices on
top of the raw disks themselves.
To avoid having to run a separate boot disk, I've used a work around of a
1GB USB stick which contains just /boot with the /boot/kernel directory
containing only kernel, opensolaris.ko, zfs.ko  aio.ko (for samba
3.4 using async I/O).  This requires only 14MB on the USB stick and boots
nicely with the USB /boot/loader.conf telling the kernel to mount root from
the ZFS pool.
P.S. Don't forget to use DOS wdidle3 to increase the 8 second head parking
timeout up to 5 minutes with these drives.


Now how to update the system ?

My update world script follows the recommended procedure in the source
Makefiles for updating the system and does an install kernel before
rebooting into single user mode to install the new world (via an /etc/rc.d/
script).

So my question relates to when I should update my USB stick's /boot
directory.

I'm assuming that the /boot directory should be owned by the kernel and
could be updated by a make installkernel (which is what I do after
building the world but before my reboot into single user to install the
world).

Is my assumption correct ?
i.e. does a make installkernel replace the contents of /boot ?

or is /boot updated by a make installworld ?


Matt.
___
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: Zip file making issues

2010-09-20 Thread Matt Emmerton


- Original Message - 
From: Ryan Coleman edi...@d3photography.com

To: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Monday, September 20, 2010 11:11 PM
Subject: Zip file making issues


Does anyone have any advice for this?

I'm working on a series of commands - executed in a shell script - that zips 
a deep directory in a tree. But it makes the full path as part of the ZIP 
file. That's not what I want - I just want those directories that appear 
after the *.  In this case:


-J eliminates all the paths - bad because it also kills those after the 
*


Here's my default that includes the whole d*mn path.
/usr/local/bin/zip -r 
/usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ach.zip 
/mount/archive/orders/Sep20/1284343047-Le-ach/download*


I could just run a cd to the directory parent and do it there - that would 
solve the problem - but that's simply too dangerous if the script generator 
throws an error on the next set of commands (a risk I do not want to take).


So how do I get it to store as download/small/image.jpg inside of the ZIP 
file instead of 
mount/archive/orders/Sep20/1284343047-Le-ach/download/small/image.jpg.


I only recently discovered this bug -- none of my clients have had the guts 
to tell me about it.


==

Just change the directory before you start zipping.

cd /mount/archive/orders/Sep20/1284343047-Le-ach
/usr/local/bin/zip -r 
/usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ch.zip 
download*


--
Matt Emmerton 


___
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: ssh under attack - sessions in accepted state hogging CPU

2010-08-11 Thread Matt Emmerton

On 10/08/10 05.13, Matt Emmerton wrote:


I'm in the middle of dealing with a SSH brute force attack that is
relentless.  I'm working on getting sshguard+ipfw in place to deal with 
it,
but in the meantime, my box is getting pegged because sshd is accepting 
some

connections which are getting stuck in [accepted] state and eating CPU.

I know there's not much I can do about the brute force attacks, but will
upgrading openssh avoid these stuck connections?


If the attack you're experiencing is trying to exhaust system resources by 
opening a large number of connections, then you may want to toggle these 
options in sshd_config:


ClientAliveInterval
LoginGraceTime
MaxAuthTries
MaxSessions
MaxStartups

Check the man-page. Secondly, check your logs if this attack is from a 
limited range of IPs, if so, you might want to try block those ranges.


If your users will only connect from your country, then blocking other 
countries in your firewall is very effective.


Thanks to everyone for their help.

I did have MaxSessions set to a small number, but that essentially DoS'd my 
access to the server when enough sshd processes got hung.


sshguard+ipfw was blocking a large number of attacks, but the other attacks 
that were coming in and hanging sshd weren't getting caught (because they 
weren't repetitive.)


I have moved some of my servers to alternate ports, and on the others I 
tweaked some of the settings Erik suggested which has helped a lot.


Thanks for all the advice.

--
Matt 


___
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: ssh under attack - sessions in accepted state hogging CPU

2010-08-10 Thread Matt Emmerton

On 8/9/2010 8:13 PM, Matt Emmerton wrote:


Hi all,

I'm in the middle of dealing with a SSH brute force attack that is
relentless.  I'm working on getting sshguard+ipfw in place to deal
with it, but in the meantime, my box is getting pegged because sshd
is accepting some connections which are getting stuck in [accepted]
state and eating CPU.

I know there's not much I can do about the brute force attacks, but
will upgrading openssh avoid these stuck connections?


There is a cracking/DoS technique, that tries to exhaust a servers
resources, by continualy issuing connect requests,  in the hope that
when the stack croaks in some way, it'll somehow drop it's guard, or
go off air permanently.   Have you upset anyone recently?


Not that I know of - unless my wife counts :)


Can you not move your services to non standard IP ports, moving away
from the standard ports, where all the script kiddies  bots hang
out, or are your clients cast in concrete?


Right now, they are cast in concrete.  I want to move many of them to public 
keys, so maybe I will change the port at the same time too.



I've got FTP, Web and SSH systems running on two sites, on very non
standard ports, with next to no one trying to get in as a result,
but maintaining full visibility to the clients that need them, and
know where they are!  All my standard ports (80, 21, 22 etc) show as
non existant to the outside world, except on one site, where the
mail server is continualy getting hammered, but the site's ISP say
they cant forward mail to any other port.


I have two servers on the same IP block, and one is getting brute-forced and 
the other is not.  I guess it's just a matter of time before the botnets 
seek it out.



The users have no problems, so long as I correctly specify the port
with the address to them, as in 'address:port' if I send them a link
etc, or an example how to fill in a connection dialog.


I'm seriously going to consider this.

--
Matt 


___
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


ssh under attack - sessions in accepted state hogging CPU

2010-08-09 Thread Matt Emmerton

Hi all,

I'm in the middle of dealing with a SSH brute force attack that is 
relentless.  I'm working on getting sshguard+ipfw in place to deal with it, 
but in the meantime, my box is getting pegged because sshd is accepting some 
connections which are getting stuck in [accepted] state and eating CPU.


I know there's not much I can do about the brute force attacks, but will 
upgrading openssh avoid these stuck connections?


root 39127 35.2  0.1  6724  3036  ??  Rs   11:10PM   0:37.91 sshd: 
[accepted] (sshd)
root 39368 33.6  0.1  6724  3036  ??  Rs   11:10PM   0:22.99 sshd: 
[accepted] (sshd)
root 39138 33.1  0.1  6724  3036  ??  Rs   11:10PM   0:41.94 sshd: 
[accepted] (sshd)
root 39137 32.5  0.1  6724  3036  ??  Rs   11:10PM   0:36.56 sshd: 
[accepted] (sshd)
root 39135 31.0  0.1  6724  3036  ??  Rs   11:10PM   0:35.09 sshd: 
[accepted] (sshd)
root 39366 30.9  0.1  6724  3036  ??  Rs   11:10PM   0:23.01 sshd: 
[accepted] (sshd)
root 39132 30.8  0.1  6724  3036  ??  Rs   11:10PM   0:35.21 sshd: 
[accepted] (sshd)
root 39131 30.7  0.1  6724  3036  ??  Rs   11:10PM   0:38.07 sshd: 
[accepted] (sshd)
root 39134 30.2  0.1  6724  3036  ??  Rs   11:10PM   0:40.96 sshd: 
[accepted] (sshd)
root 39367 29.3  0.1  6724  3036  ??  Rs   11:10PM   0:22.08 sshd: 
[accepted] (sshd)


 PID USERNAME   THR PRI NICE   SIZERES STATE   C   TIME   WCPU 
COMMAND

39597 root 1 1030  6724K  3036K RUN 3   0:28 35.06% sshd
39599 root 1 1030  6724K  3036K RUN 0   0:26 34.96% sshd
39596 root 1 1030  6724K  3036K RUN 0   0:27 34.77% sshd
39579 root 1 1030  6724K  3036K CPU33   0:28 33.69% sshd
39592 root 1 1020  6724K  3036K RUN 2   0:27 32.18% sshd
39591 root 1 1020  6724K  3036K CPU22   0:27 31.88% sshd

--
Matt Emmerton 


___
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: ssh under attack - sessions in accepted state hogging CPU

2010-08-09 Thread Matt Emmerton
 I know there's not much I can do about the brute force attacks, but will 
 upgrading openssh avoid these stuck connections?


1. switch over to using solely RSA keys


In the works; I have too many users to convert :(


2. switch to a non-standard port


This is not attractive, even though it would be effective.  I tried this 
once already and my support volume skyrocketed.



3. what version of openssh are you currently using?


Whatever ships with 8.0-REL, which appears to be:


Best

James= 


___
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: ssh under attack - sessions in accepted state hogging CPU

2010-08-09 Thread Matt Emmerton

 I know there's not much I can do about the brute force attacks, but will
 upgrading openssh avoid these stuck connections?

1. switch over to using solely RSA keys


In the works; I have too many users to convert :(


2. switch to a non-standard port


This is not attractive, even though it would be effective.  I tried this 
once already and my support volume skyrocketed so I had to switch back.



3. what version of openssh are you currently using?


Whatever ships with 8.0-REL, which appears to be:

OpenSSL version
OpenSSL 0.9.8k 25 Mar 2009

Regards,
--
Matt 


___
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: booting off a ZFS pool consisting of multiple striped mirror vdevs

2010-02-15 Thread Matt Reimer
On Sat, Feb 13, 2010 at 12:04 PM, Dan Naumov dan.nau...@gmail.com wrote:

 Hello

 I have succesfully tested and used a full ZFS install of FreeBSD 8.0
 on both single disk and mirror disk configurations using both MBR and
 GPT partitioning. AFAIK, with the more recent -CURRENT and -STABLE it
 is also possible to boot off a root filesystem located on raidz/raidz2
 pools. But what about booting off pools consisting of multiple striped
 mirror or raidz vdevs? Like this:

 Assume each disk looks like a half of a traditional ZFS mirror root
 configuration using GPT

 1: freebsd-boot
 2: freebsd-swap
 3: freebsd-zfs

 |disk1+disk2| + |disk3+disk4| + |disk5+disk6|

 My logic tells me that while booting off any of the 6 disks, boot0 and
 boot1 stage should obviously work fine, but what about the boot2
 stage? Can it properly handle booting off a root filesystem thats
 striped across 3 mirror vdevs or is booting off a single mirror vdev
 the best that one can do right now?


I don't know, but I plan to test that scenario in a few days.

Matt
___
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: apache22 and new hostname???

2010-01-30 Thread Matt Emmerton

Gary,

But I do need the basics of having/serving/hosting two domains on one 
computer.


What you are looking for are called virtual hosts.
See the examples in /usr/local/etc/apache22/extra/httpd-vhosts.conf.
The Apache documentation (mentioned in the above file) is also helpful.

Regards,
--
Matt Emmerton 


___
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: Sendmail Procmail

2010-01-29 Thread Matt Emmerton

on 01-29-2010, David Kelly wrote:

On Fri, Jan 29, 2010 at 02:59:34PM -0500, Clayton Scott Kern wrote:
 I just upgraded to FBSD 8.0 from 6.4 and I'm having a problem with
 sendmail passing email to procmail.  I only use this combination for
 email from root's cron jobs.  Right now emails to me from cron go to
 /var/mail/ckern1.

[...]

 I created the cf file using make cf, then make install and make
 restart.

OK, but did the procmail enhancements make it in the generated .cf file?

 What have I missed.  This is the same setup on 6.4 and it worked fine.

If making procmail available (or mandatory) for all users I can see
justification for what you are trying. But for just one user why not
keep it simple with a |/usr/local/bin/procmail in /etc/aliases?


I aliased root to me and now it works.  Thank you for the tip.

I set up sendmail this way years ago, before I discovered fetchmail,
procmail, getmail  maildrop.

I would like to get away from sendmail or any other MTA for that matter, 
but

never found solution for handling the emails generated by the system.


Check out DragonFlyBSD's dma(1).  It's designed just for this purpose.

--
Matt Emmerton 


___
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: booting off GPT partitions

2010-01-27 Thread Matt Reimer
On Wed, Jan 27, 2010 at 8:45 AM, Dan Naumov dan.nau...@gmail.com wrote:

 Hey

 I was under the impression that everyone and their dog is using GPT
 partitioning in FreeBSD these days, including for boot drives and that
 I was just being unlucky with my current NAS motherboard (Intel
 D945GCLF2) having supposedly shaky support for GPT boot. But right now
 I am having an email exchange with Supermicro support (whom I
 contacted since I am pondering their X7SPA-H board for a new system),
 who are telling me that booting off GPT requires UEFI BIOS, which is
 supposedly a very new thing and that for example NONE of their current
 motherboards have support for this.

 Am I misunderstanding something or is the Supermicro support tech
 misguided?


I'm booting servers with SuperMicro X8STi-F motherboards just fine using
pmbr + GPT + ZFS.

Matt
___
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: posting coding bounties, appropriate money amounts?

2010-01-22 Thread Matt Olander
On Fri, Jan 22, 2010 at 3:06 PM, Ivan Voras ivo...@freebsd.org wrote:
 Dan Naumov wrote:

 Hello

 I am curious about posting some coding bounties, my current interest
 revolves around improving the ZVOL functionality in FreeBSD: fixing
 the known ZVOL SWAP reliability/stability problems as well as making
 ZVOLs work as a dumpon device (as is already the case in OpenSolaris)
 for crash dumps. I am a private individual and not some huge Fortune
 100 and while I am not exactly rich, I am willing to put some of my
 personal money towards this. I am curious though, what would be the
 best way to approach this: directly approaching committer(s) with the
 know-how-and-why of the areas involved or through the FreeBSD
 Foundation? And how would one go about calculating the appropriate
 amount of money for such a thing?

 Hi,

 This idea (bounties) appear approximately every 6 months and it appears
 there is no better way than contacting the developers directly. AFAIK all
 attempts to conglomerate such an effort have failed. One important
 conclusion is that it cannot go through the Foundation since they cannot
 accept targeted donations.

Awhile back, we built a simple app for posting bounties, getting devs
and sponsors on board, posting the committed code in a browser
viewable format, and then handle final payout upon completion.
iXsystems is more than willing to handle financial details and I would
gladly be the first to sponsor this project on the site.

http://www.sponsorbsd.org

We would need a team leader *cough* Ivan *cough* that could make sure
developing contributors are actually involved so that the final payoff
can be shared accordingly.

It's a cakephp app and I'm sure it needs a bit more polish but we
could do it on the fly and it shouldn't be to hard :)

Any cakephp or php devs interested in helping testing and launch, let
me know. I just haven't had much time to spend on launching it
although I still think it's a great idea. If somebody would like to
spearhead this effort, that would be great.

For companies wishing to sponsor non-community code, it also has the
option of hiding the community committed code.

best,
-matt
___
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: mysql not starting on boot

2010-01-06 Thread Matt
On Wed, Jan 6, 2010 at 11:20 AM, Dário P. fbsd.questions.l...@gmail.com wrote:
 Qua, 2010-01-06 às 18:03 +0100, Samuel Martín Moro escreveu:
 About apache, maybe it's the ServerName option that's missing.

 I don't think so, because I have it on httpd.conf.

 #
 # ServerName gives the name and port that the server uses to identify
 itself.
 # This can often be determined automatically, but we recommend you
 specify
 # it explicitly to prevent problems during startup.
 #
 # If your host doesn't have a registered DNS name, enter its IP address
 here.
 #
 ServerName www.ptbox.org:80


 Can it be something wrong with VirtualHost's ?

The only name-resolution errors I've seen with Apache startup that
resemble this situation have been related to the use of the
mod_unique_id.so module.  That one will fail if name resolution isn't
available at startup time.
___
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: spamassassin Y2010 bug

2010-01-03 Thread Matt Emmerton

On Sun, 03 Jan 2010 20:10:19 +
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:


Comments, critique are welcome.  Unless there are any killer bugs,
I'll send-pr(1) in a week or so.


You have:

: ${daily_sa_compile=YES}

sa-compile is installed by the SA port, but it requires devel/re2c,
which is an optional dependency. With a standard install your script
will update the rules, the compile will unconditionally fail, and so
spamd won't get restarted.

You could detect the re2c port, but I think it would be better to turn
it off by default

I'd also suggest running sa-compile with nice  by default.


I've put up a set of diffs (patches) in shar format that address some of 
these issues:


1) re2c is listed as a run dependency.  No two ways around it - if you do 
plan on running sa-compile at some time, you'll need re2c, and chances are 
that the machine that is running sa-update is also going to be running 
sa-compile.


2) sa-compile is nice(1)'d by default, and you can provide other flags to 
nice(1) as well.


See http://www.gsicomp.on.ca/~matt/sa-utils-patches.shar

Regards,
--
Matt Emmerton 


___
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


pf in FreeBSD 8.0-RCx

2009-11-17 Thread Matt S
Hello All,

There seems to be an issue with pf (at startup/boot time) where I get an
error message about no IP address being associated with an interface.  The
only way I can get pf to load the rule set is to load it at the command line
by using pfctl -f /etc/pf.conf.  I have tried changing the startup order of
pf so that it loads after all of the networking interfaces are brought up
(including running the ppp daemon first to establish tun0) to no avail.  I
saw on the list that others have been experiencing a similar issue.
Obviously, I would like to have a fix for this because if I have to reboot
my box from a distant location, I am left with a wide open machine until I
can login and reload the pf ruleset.  What changed with pf since 7.2?

Thanks,
Matt
___
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


7.x on Dell R900?

2009-11-03 Thread Matt Szubrycht

Hello List,

I cannot find any fresh information on compatibility of Dell PowerEdge  
R900 and FreeBSD after googling for several hours, so I decided to ask  
here.  If this is not the right place, please redirect me to.


All of our servers run FreeBSD with one exception - a CentOS machine,  
which adds to the overall maintenance workload and keeping up to date.  
Back in the day, after getting the R900 (without prior OS  
compatibility research), the word was that FreeBSD will not run on  
this hardware and we ended up installing CentOS.  That was well over a  
year ago and I am wondering if anyone could share some insight into  
the current compatibility status, installation/operation pitfalls and  
any other tips that would allow me to get away from Linux on this R900  
box and create a homogeneous server-space environment with FreeBSD 7.x.



Here are some basic specs, I can provide more details if needed:

4 x 4-core 3.0 GHz Intel Xeon CPU's
32GB RAM
LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM
PERC 6/i  Rev: 1.11


Any creative help will be appreciated.

Thank you.


Best Regards,
Matthew Szubrycht
___
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: [SPAM] FreeBSD 7.2 ia64

2009-11-03 Thread Matt Szubrycht

That's not normal... but then, what is these days?
You probably saved some webpage instead of the actual iso (or whatever  
other format you were trying for)


As old video games used to say: 'Try again?'

Cheers,
Matt

On Oct 30, 2009, at 3:09 PM, Clayton Wilhelm da Rosa wrote:


Hi my name is Clayton Wilhelm da Rosa,

I made the dowmload of FreeBSD 7.2 ia64 i wanna know if is normal  
the files of disc 2 and 3 have only 364Kb size.


thank you very much.




  


Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
___
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


7.x on Dell R900?

2009-11-03 Thread Matt Szubrycht

Hello List,

I cannot find any fresh information on compatibility of Dell PowerEdge  
R900 and FreeBSD after googling for several hours, so I decided to ask  
here.  If this is not the right place, please redirect me to.


All of our servers run FreeBSD with one exception - a CentOS machine,  
which adds to the overall maintenance workload and keeping up to date.  
Back in the day, after getting the R900 (without prior OS  
compatibility research), the word was that FreeBSD will not run on  
this hardware and we ended up installing CentOS.  That was well over a  
year ago and I am wondering if anyone could share some insight into  
the current compatibility status, installation/operation pitfalls and  
any other tips that would allow me to get away from Linux on this R900  
box and create a homogeneous server-space environment with FreeBSD 7.x.



Here are some basic specs, I can provide more details if needed:

4 x 4-core 3.0 GHz Intel Xeon CPU's
32GB RAM
LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM
PERC 6/i  Rev: 1.11


Any creative help will be appreciated.

Thank you.


Best Regards,
Matthew Szubrycht
___
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


7.x on Dell R900?

2009-11-03 Thread Matt Szubrycht

Hello List,

I cannot find any fresh information on compatibility of Dell PowerEdge  
R900 and FreeBSD after googling for several hours, so I decided to ask  
here.  If this is not the right place, please redirect me to.


All of our servers run FreeBSD with one exception - a CentOS machine,  
which adds to the overall maintenance workload and keeping up to date.  
Back in the day, after getting the R900 (without prior OS  
compatibility research), the word was that FreeBSD will not run on  
this hardware and we ended up installing CentOS.  That was well over a  
year ago and I am wondering if anyone could share some insight into  
the current compatibility status, installation/operation pitfalls and  
any other tips that would allow me to get away from Linux on this R900  
box and create a homogeneous server-space environment with FreeBSD 7.x.



Here are some basic specs, I can provide more details if needed:

4 x 4-core 3.0 GHz Intel Xeon CPU's
32GB RAM
LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM
PERC 6/i  Rev: 1.11


Any creative help will be appreciated.

Thank you.


Best Regards,
Matthew Szubrycht
___
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: Rebuild instructions for amd64 systems

2009-11-03 Thread Matt Szubrycht

Hi Richard,

Kernel recompilation part of the handbook is fairly straightforward  
and should walk you through step-by-step without any snags: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
Just remember to use amd64 instead i386 in the examples @ the link  
above.  You will need full source tree to play with kernel (sysinstall  
to the rescue if you don't).


Disclaimer - the below worked for me multiple times and may or may not  
work for you.  If you decide to follow the steps outlined below and it  
breaks your box, spills your coffee or converts the datacenter into a  
recycling center, you are responsible for it and I cannot be held  
accountable in any way.  In other words - use at your own risk.




The way I do it (6.0-RELEASE) - at this point you must be root:

cd
mkdir kernels
cd /usr/src/sys/amd64/conf
cp GENERIC ~/kernels/GENERIC.ORIG
cp GENERIC NEWKERNEL

vim NEWKERNEL, search for
ident GENERIC
and change to NEWKERNEL

then, add the following line below all other 'options' lines:
options PAE # large memory (4G) support

then, find and comment out these two lines to avoid a conflict with PAE:

device adv  # Advansys SCSI adapters
device  adw # Advansys wide SCSI adapters


I am not sure about the Advansys conflict in versions newer than 6.0.
A total of 4 lines to edit on of my stock 6.0-RELEASE GENERIC kernel.

Then:

cd /usr/src
make buildkernel KERNCONF=NEWKERNEL
if compiles, install:
make installkernel KERNCONF=NEWKERNEL

once that's done, reboot and you should see your new kernel



Here's a diff from my 6.0:

[r...@banksy /usr/src/sys/i386/conf]# diff BANKSYPAE GENERIC
25c25
 ident  BANKSYPAE
---
 ident  GENERIC
65c65
 optionsPAE # 2006-12-12 Large memory support 
ma...@bmihosting.com
---

96,97c96,97
 # conflicts with PAE deviceadv # Advansys SCSI 
adapters
 # conflicts with PAE deviceadw # Advansys wide 
SCSI adapters
---
 device adv # Advansys SCSI adapters
 device adw # Advansys wide SCSI adapters


Good luck.

Cheers,
Matthew Szubrycht


On Oct 29, 2009, at 8:52 PM, Richard Gehlbach wrote:

I am installing FreeBSD 7.2 / amd64 on a new server (HP DL370 G6)  
with 2 quad Xeon processors and 16GB memory.  I have worked with the  
i386 versions since version 3.x, but this is the first server large  
enough to need amd64.


I have been trying to determine the correct procedures for  
rebuilding the world and kernel.  I have not been able to find a  
location that had step by step instructions, similar to the  
handbook, for properly working with the amd64 version.  Searches  
have turned up so many fragments of what needs to be done, that I  
cannot feel confident trying to put the pieces together.


I need instructions for the command line compile options, conf file  
additions, and any special instructions.


If anyone can point me to some applicable links or some specific  
instructions, it would be appreciated.


TIA
Richard

--
Richard D. Gehlbach   Gehlbach Consulting Services
rdgeh...@gehlbach.com 3321 Pepperhill Ct.
859.269.6658  Fax 859.266.7446Lexington, KY  40502


___
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: Effing HAL

2009-10-29 Thread Matt
On Thu, Oct 29, 2009 at 6:15 PM, Freminlins freminl...@gmail.com wrote:
 2009/10/29 Paul Schmehl pschmehl_li...@tx.rr.com

 The whole Xorg thing, at least on FreeBSD, is just a minefield. I like to
 remove unnecessary packages, to save space for when I do backups. I don't
 have an Nvidia card on this box so:

 pkg_delete xf86-video-nv-2.1.13
 pkg_delete: package 'xf86-video-nv-2.1.13' is required by these other
 packages
 and may not be deinstalled:
 xorg-drivers-7.4_1
   ^^
 xorg-7.4_1
   ^^

 Great. So what is the point in having a separate package if I can't remove
 that damn thing? I know I can pkg_delete -f, but why make it hard?

The xorg and xorg-drivers ports are meta ports meant to make it easier
to just install _everything_ related to those two items.  They don't
actually install anything themselves.  You can safely delete those two
ports and then the xf86-video-nv port will not complain about being
required by other ports.

Matt
___
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: Stop in /usr/ports/lang/gcc43

2009-06-01 Thread Matt
On Mon, Jun 1, 2009 at 1:12 PM, David Kelly dke...@hiwaay.net wrote:
 On Mon, Jun 01, 2009 at 08:06:30PM +0200, Leslie Jensen wrote:


 I can't get gcc43 to compile. I've deinstalled and reinstalled all its
 dependencies but it still fails.

 I'm on a 7.2-RELEASE system with all ports installed from a clean install.

 The problem turned up when an update for fftw3 became available.

 Apparently gcc43 is a new dependency for fftw3!

 Any hints appreciated

 Add this to /etc/make.conf. Worked for me:

 WITHOUT_JAVA=1

 Apparently to build Java one has to increase the size of some tables in
 the kernel. I'd just as soon do without Java.

I've noticed that the lang/gcc43 port's Makefile includes a builtin
call (ulimit -d) that is not available in the csh shell (but is
available in sh and bash).  If csh is the shell in use when the port
is built, the port build will fail unless you define WITHOUT_JAVA as
previously stated.  However, this issue results in a different error
condition than the one stated by the original poster.

Matt
___
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 package-recursive yields empty packages?

2009-05-17 Thread Matt Juszczak

Hi all,

I'm creating php/apache packages for my setup.  Everytime I create a new 
package, I do make package-recursive.  For some reason, some of my php5-* 
packages have been getting overwritten with empty packages.


-rw-r--r--  1 root  wheel 2421 May 17 18:57 php5-ctype-5.2.9.tbz
-rw-r--r--  1 root  wheel 2443 May 17 18:57 php5-extensions-1.3.tbz
-rw-r--r--  1 root  wheel 2454 May 17 18:57 php5-filter-5.2.9.tbz
-rw-r--r--  1 root  wheel 2436 May 17 18:57 php5-hash-5.2.9.tbz
-rw-r--r--  1 root  wheel 2442 May 17 18:57 php5-iconv-5.2.9.tbz
-rw-r--r--  1 root  wheel 2471 May 17 02:36 php5-mysql-5.2.9.tbz
-rw-r--r--  1 root  wheel 2447 May 17 02:40 php5-openssl-5.2.9.tbz
-rw-r--r--  1 root  wheel 2424 May 17 18:57 php5-pcre-5.2.9.tbz
-rw-r--r--  1 root  wheel 2432 May 17 18:58 php5-session-5.2.9.tbz
-rw-r--r--  1 root  wheel 2439 May 17 18:58 php5-simplexml-5.2.9.tbz
-rw-r--r--  1 root  wheel 2455 May 17 18:58 php5-spl-5.2.9.tbz
-rw-r--r--  1 root  wheel 2432 May 17 18:58 php5-xml-5.2.9.tbz

The more times I do make package-recursive (for instance, on cacti, 
nagios, etc.), the more and more packages are replaced with empty 
packages.


Does anyone have any idea why this is happening?

Thanks,

Matt
___
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: clear old output in login screen?

2009-05-03 Thread Matt Emmerton

0 jw jwde...@gmail.com wrote:

On Sun, May 3, 2009 at 1:51 PM, Paul B. Mahol one...@gmail.com wrote:
 echo $TERM | grep cons25  /dev/null  clear  vidcontrol -C

Aha! I didn't know about 'vidcontrol -C'
That combined with 'clear' does the trick.

However...
Is there any way I could have this execute when the login:
prompt displays, rather than having each user need to do it
themselves?

In other words, I want this clearing to happen for all users
regardless of shell, etc.


If I needed to do this, could not find a way to do it via
configuration settings, and didn't want to hack the login
source code, I would try renaming the login binary to
something like login.real, and replacing it with an
executable script containing something like:

 #!/bin/csh
 clear
 vidcontrol -C
 exec /usr/bin/login.real $@

Granted such a hack will need to be redone any time you do
an installworld.


The solution I've deployed in my environment is to have /etc/issue contain a 
single ^L character.
Prior to doing that, /etc/issue contained 25+ blank lines, which effectively 
cleared the terminal before displaying the login prompt.


Regards,
--
Matt Emmerton 


___
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: MySQL without Innodb

2009-04-23 Thread Matt
On Thu, Apr 23, 2009 at 8:31 AM, Mark ad...@asarian-host.net wrote:
 Hello,

 I'm trying to compile MySQL 5.1.34, but I can't find options to not compile

 in innodb database support. Have these been removed? And, if so, why?

Can't comment on if/why the options were removed, but adding
skip-innodb to your my.cnf file will turn off the innodb engine at
runtime and reduce the memory consumption of the MySQL server
processes.

Matt
___
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: MySQL 5.0 on FreeBSD 7

2009-03-22 Thread Matt Juszczak

Yes. Linux threads is a port of the linux threading library
(devel/linuxthreads).


OK... this setup still seems to underperform 64 bit RHEL 5.x for at least 
our setup.  Unless I'm missing something.  Our sites are higher traffic - 
100-300 threads/connections at any given time.  Perhaps that's where the 
lag lies?

___
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


MySQL 5.0 on FreeBSD 7

2009-03-20 Thread Matt Juszczak

Hi all,

About a year ago, I setup MySQL 5.0.45 on a FreeBSD 6.x box (64 bit).  I 
read at the time that the use of pthreads with FreeBSD would significantly 
improve performance, but as I was running the 64 bit version of FreeBSD, I 
could not use them.


Fast forward to today - a different setup and new opportunity has allowed 
me to research this combination again.  This time, some reading I have 
done on the use of FreeBSD 7 with MySQL has shown significant performance 
increases, but none of them really mention in detail how MySQL was setup.


I decided to install a 64 bit version of FreeBSD 7.x (to address the 8 GB 
RAM in the box) and attempt to build with pthreads enabled, as well as a 
static build and optimized compiler options.  Once again, got the 
error/warning in ports that the linux pthreads only works with the i386 32 
bit setup.


So I'm wondering if anyone here has successfully seen a MySQL 5.x 
performance boost with FreeBSD 7 compared to that of FreeBSD 6 on a 64 bit 
architecture, and if so, what they did to enable that boost.


Thanks!

-Matt
___
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: MySQL 5.0 on FreeBSD 7

2009-03-20 Thread Matt Juszczak

You're confusing linux-threads with pthreads. The performance boosts mentioned
are done using the FreeBSD Posix threads (pthreads) library, in FreeBSD 7.x
they are implemented using libthr(3).
The benchmarks also assume you are using SCHED_ULE, rather then SCHED_4BSD.
Nothing should be configured if you run GENERIC later then 7.0-RELEASE.


Mel,

So, from a standard FreeBSD 7.x install:

- Recompile kernel to use SCHED_ULE
- In the port, use:  BUILD_OPTIMIZED=yes 
- In the port, use:  WITH_PROC_SCOPE_PTH=yes

- In the port, use:  BUILD_STATIC=yes


And that should be it?  So the libpthread they discuss in the 
description for WITH_PROC_SCOPE_PTH is different than the linux pthreads?


-M
___
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: grammer checker

2009-03-16 Thread Matt
On Mon, Mar 16, 2009 at 11:32 AM, Aryeh M. Friedman
aryeh.fried...@gmail.com wrote:
 I use editors/openoffice.org-3 and need to grammer check a text file but
 there seems to be no option (or plugin) for this in OoO and a search of the
 ports tree for grammer returned nothing either... ideas (I want to avoid
 wine+MS office if possible)

How about LanguageTool?
http://extensions.services.openoffice.org/project/languagetool

Does that do what you're looking for?

Matt
___
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: unhappy XOrg upgrade ate the linux version of libuuid.so.1

2009-03-02 Thread matt donovan
On Mon, Mar 2, 2009 at 10:02 PM, Steve Franks bahamasfra...@gmail.comwrote:

  read UPDATING next time

 Were I about to run buildkernel/buildworld, I would read UPDATING.  I
 don't recall there being an UPDATING in /usr/ports.  Perhaps the
 documentation regarding this should be updated.  One tries not to rely
 on the mailing list, but when all knowledge is tribal, what recourse
 does one have?

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


There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is
when I noticed itbut that's when I started using FreeBSD
___
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: Xorg mouse and massive error log messages problems

2009-03-01 Thread matt donovan
Xorg 7.4 has some major problems on FreeBSD my Xorg shows my cards bios
screen when booting but yeah you need dbus and hal running unless you add
the option that is in /usr/ports/UPDATING to your ServerLayout
___
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: Xorg package update

2009-02-28 Thread matt donovan
On Sat, Feb 28, 2009 at 1:15 AM, Fbsd1 fb...@a1poweruser.com wrote:

 When is the the X-Org mega package going to be recreated so it contains all
 the fixes caused by 7.1 release as detailed in /usr/ports/UPDATEING?
 ___
 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


it's been getting remade almost every day or 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: can't find an internal flash reader that doesn't crash 7.1

2009-02-26 Thread Matt
On Thu, Feb 26, 2009 at 5:04 PM, Steve Franks bahamasfra...@gmail.com wrote:
 I've tried several.  I have a need of this - anyone have one that
 works with our USB stack?

You might want to give the usb4bsd stack a try on the 7.x series:
http://www.selasky.org/hans_petter/usb4bsd/

I've seen much better compatibility and stability from USB-attached
storage media using this USB stack compared to the stock 7.x USB.

Matt
___
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: Well, almost back to normal....

2009-02-19 Thread matt donovan
On Thu, Feb 19, 2009 at 1:43 PM, Gary Kline kl...@thought.org wrote:

 Guys,

 Anybody know what I have to rebuild/fix to get rid of the
 following error output:


 Xlib:  extension Generic Event Extension missing on display :0.0.
 Xlib:  extension Generic Event Extension missing on display :0.0.
 Xlib:  extension Generic Event Extension missing on display :0.0.


 I had a system crash and had to reboot via using /boot/kernel.prev,
 then was able to do a complete upgrade to the latest 7.1; then did a
 wholesale upgrade.  After 4 days it finished.  I Did an
 X -configure to get a new xorg . conf and thought everything was Fixed.
 Still, whenever I initiate a new Konsole; whenever I ssh in from
 elsewhere, I get the Xlib missing on display 0.0 errs.What' is
 still not right?

 [back to thesis.  hope some of you knows what's going on with this!

 tia,

 gary




 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a 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


nothing the xserver does not support that extension yet so that is a normal
thing as of right now for Xorg
___
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 there are so many binary packages missing on FTP?

2009-02-16 Thread matt donovan
On Sat, Feb 14, 2009 at 1:31 PM, Yuri y...@rawbw.com wrote:

 /usr/ports/UPDATING recently recommended to upgrade kde-4.1.0 to kde-4-2.0.

 So I deleted kde-4.1.0 only to find out that there are no binaries for both
 kde-4.1.0 and kde-4.2.0.
 So I had to build kde-4.2.0 for many hours, again, only to find out that it
 doesn't work as well as kde-4.1.0.

 Desktop Folder applet doesn't show anything for ke-4.1.0. Applets show
 contents of other folders
 but there are no scrollbars in them. Also bottom panel doesn't have any
 colors and looks ugly.

 So now I a stuck with broken kde-4.2.0 and there is no easy way to go
 anywhere.

 I sent similar question to k...@freebsd.org but got no answer.

 So why kde-4.1.0 and kde-4.2.0 binaries are missing on FTP?
 And does kde4-4.2.0 work for anybody?

 Yuri

 ___
 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


release packages do not get upgraded you either have to go to pointyhat to
get newer packages or use a tinderbox to grab packages which kde does not
have unlike gnome. oruse-stablepackageswhich seems to not have a complete
kde4 built yet
___
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: [NetBSD4.0(i386)]why NetBSD did not send link-local NS when NetBSD rebooted

2009-02-11 Thread matt donovan
On Wed, Feb 11, 2009 at 10:20 PM, wang_jiabo jiabw...@redhat.com wrote:

 Hello, all:
  could you tell me why NetBSD did not send link-local NS when NetBSD
 rebooted.
 I add ip6mode=autohost in /etc/rc.conf and add up in ifconfig.IF file
 thanks
 jiabo
 ___
 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



you might want to look here http://netbsd.org/mailinglists/ since you posted
your message to FreeBSD mailing list
___
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: Localized keyboard under Xorg 7.4...

2009-02-10 Thread Matt
On Tue, Feb 10, 2009 at 3:52 PM, Peter Harrison
peter.piggy...@virgin.net wrote:
 So I've run the Xorg update. I've come across a number of problems (the 
 biggest of which was needed to rebuilt xfce and losing all my settings).

 The one I'm having real difficulty with at the moment is using a UK keyboard 
 layout. Previously I had this line in my xorg.conf under the Keyboard 
 InputDevice section:

 Option  XkbLayout gb

 This doesn't work any more, so I followed the advice in this post:

 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=140908+0+archive/2009/freebsd-questions/20090208.freebsd-questions

 to put the relevant entry in /usr/local/etc/hal/fdi/policy/x11-input.fdi

 Still no joy. I get these lines in Xorg.0.log:

 (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
 (II) Module kbd: vendor=X.Org Foundation
compiled for 1.5.3, module version = 1.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
 (**) AT Keyboard: always reports core events
 (**) Option Protocol standard
 (**) AT Keyboard: Protocol: standard
 (**) Option AutoRepeat 500 30
 (**) Option XkbRules xorg
 (**) AT Keyboard: XkbRules: xorg
 (**) Option XkbModel pc105
 (**) AT Keyboard: XkbModel: pc105
 (**) Option XkbLayout us
 (**) AT Keyboard: XkbLayout: us

 I'm getting around it at the moment by getting xfce to run this at startup:

 setxkbmap gb

 But that's hardly an ideal solution. Can anyone suggest a better one?

Have you tried adding the:

Option AutoAddDevices off
Option AutoEnableDevices off

settings in the ServerFlags section of xorg.conf?  That should disable
the hal/dbus detections and use just the settings you have spelled out
in xorg.conf (which shouldn't be too much of an issue if you already
had a fully configured xorg.conf before the upgrade to 7.4).

Matt

 TIA.


 Peter Harrison.


 ___
 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: Custom build fails

2009-02-07 Thread matt donovan
On Fri, Feb 6, 2009 at 7:36 AM, Matias Surdi matiassu...@gmail.com wrote:

 I'm currently running the following command:


 # Make the release
 cd /usr/src/release
 make release \
 CHROOTDIR=/home/oms \
 BUILDNAME=OpenMailServer \
 CVSROOT=/home/ncvs \
 RELEASETAG=RELENG_7 \
 NODOC=YES \
 NO_FLOPPIES=YES \
 NOPORTS=YES \
 RELEASENOUPDATE=YES \
 MAKE_ISOS=YES \
 WORLD_FLAGS= -DWITHOUT_TOOLCHAIN \
 LOCAL_PATCHES=$DIR/oms.diff \
 LOCAL_SCRIPT=$DIR/local_script.sh \
 PATCH_FLAGS=-p3



 Do you know how can set this up in order to get that variable to be on the
 build process and not on the install/release process?

 Thank you very much for your help.

 Matias.




 matt donovan wrote:

 On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi matiassu...@gmail.com
 wrote:

  Hi, I'm building a custom freeBSD release and I'm getting the following
 error:

 --

 Building an up-to-date make(1)

 --
 /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for
 /usr/src/usr.bin/make
 rm -f .depend
 mkdep -f .depend -a-I/usr/src/usr.bin/make
 -DMAKE_VERSION=\5200408120\ -DDEFSHELLNAME=\sh\
 /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c
 /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c
 /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c
 /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c
 /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c
 /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c
 /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c
 /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c
 /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c
 /usr/src/usr.bin/make/var.c
 cc: not found
 mkdep: compile failed
 *** Error code 1

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

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

 Stop in /usr/src.
 + exit 1
 + umount /dev
 *** Error code 1

 Stop in /usr/src/release.





 These are just the last lines, I can post the entire log if needed, but
 it
 is quite large.


 The source code is from 7.0-RELEASE, and my src.conf is the following:
 WITHOUT_ATM=
 WITHOUT_AUTHPF=
 WITHOUT_BIND=
 WITHOUT_BLUETOOTH=
 WITHOUT_CALENDAR=
 WITHOUT_CDDL=
 WITHOUT_CPP=
 WITHOUT_CVS=
 WITHOUT_CXX=
 WITHOUT_DICT=
 WITHOUT_EXAMPLES=
 WITHOUT_FORTH=
 WITHOUT_GAMES=
 WITHOUT_GDB=
 WITHOUT_GPIB=
 WITHOUT_GROFF=
 WITHOUT_GSSAPI=
 WITHOUT_GESIOD=
 WITHOUT_GNU=
 WITHOUT_HTML=
 WITHOUT_I4B=
 WITHOUT_IDEA=
 WITHOUT_INFO=
 WITHOUT_IPFILTER=
 WITHOUT_IPX=
 WITHOUT_KERBEROS=
 WITHOUT_LOCALES=
 WITHOUT_LPR=
 WITHOUT_MAN=
 WITHOUT_NCP=
 WITHOUT_NLS=
 WITHOUT_NIS=
 WITHOUT_OBJC=
 WITHOUT_RCMDS=
 WITHOUT_RCS=
 WITHOUT_SENDMAIL=
 WITHOUT_SHAREDOCS=
 WITHOUT_SSP=
 WITHOUT_TCSH=
 WITHOUT_TOOLCHAIN=
 WITHOUT_WPA_SUPPLICANT_EAPOOL=
 WITHOUT_ZFS=


 The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or
 WITHOUTH_CPP are present.


 On this build, I don't want to have any development tools, as I'm trying
  to reduce the size at a minimum.

 Why is make being build? How can I avoid this?

 If you need more info in order to help me, tell me what do you need
 please.

 Thanks for any help

 ___
 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



 You need
 WITHOUT_TOOLCHAIN= to build you can add that after you do a build
 ___
 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


Remove WITHOUT_TOOLCHAIN when building but when you do the install you can
readd it I m not sure how you would do it using the make release though.
___
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: Custom build fails

2009-02-06 Thread matt donovan
On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi matiassu...@gmail.com wrote:

 Hi, I'm building a custom freeBSD release and I'm getting the following
 error:

 --
  Building an up-to-date make(1)
 --
 /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for
 /usr/src/usr.bin/make
 rm -f .depend
 mkdep -f .depend -a-I/usr/src/usr.bin/make
 -DMAKE_VERSION=\5200408120\ -DDEFSHELLNAME=\sh\
 /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c
 /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c
 /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c
 /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c
 /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c
 /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c
 /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c
 /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c
 /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c
 /usr/src/usr.bin/make/var.c
 cc: not found
 mkdep: compile failed
 *** Error code 1

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

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

 Stop in /usr/src.
 + exit 1
 + umount /dev
 *** Error code 1

 Stop in /usr/src/release.





 These are just the last lines, I can post the entire log if needed, but it
 is quite large.


 The source code is from 7.0-RELEASE, and my src.conf is the following:
 WITHOUT_ATM=
 WITHOUT_AUTHPF=
 WITHOUT_BIND=
 WITHOUT_BLUETOOTH=
 WITHOUT_CALENDAR=
 WITHOUT_CDDL=
 WITHOUT_CPP=
 WITHOUT_CVS=
 WITHOUT_CXX=
 WITHOUT_DICT=
 WITHOUT_EXAMPLES=
 WITHOUT_FORTH=
 WITHOUT_GAMES=
 WITHOUT_GDB=
 WITHOUT_GPIB=
 WITHOUT_GROFF=
 WITHOUT_GSSAPI=
 WITHOUT_GESIOD=
 WITHOUT_GNU=
 WITHOUT_HTML=
 WITHOUT_I4B=
 WITHOUT_IDEA=
 WITHOUT_INFO=
 WITHOUT_IPFILTER=
 WITHOUT_IPX=
 WITHOUT_KERBEROS=
 WITHOUT_LOCALES=
 WITHOUT_LPR=
 WITHOUT_MAN=
 WITHOUT_NCP=
 WITHOUT_NLS=
 WITHOUT_NIS=
 WITHOUT_OBJC=
 WITHOUT_RCMDS=
 WITHOUT_RCS=
 WITHOUT_SENDMAIL=
 WITHOUT_SHAREDOCS=
 WITHOUT_SSP=
 WITHOUT_TCSH=
 WITHOUT_TOOLCHAIN=
 WITHOUT_WPA_SUPPLICANT_EAPOOL=
 WITHOUT_ZFS=


 The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or
 WITHOUTH_CPP are present.


 On this build, I don't want to have any development tools, as I'm trying
  to reduce the size at a minimum.

 Why is make being build? How can I avoid this?

 If you need more info in order to help me, tell me what do you need please.

 Thanks for any help

 ___
 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


You need
WITHOUT_TOOLCHAIN= to build you can add that after you do a build
___
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: IPFW in-kernel NAT: How to compile?

2009-02-06 Thread Matt Emmerton

At 05:43 PM 2/1/2009, Dan Nelson wrote:


Do you have options LIBALIAS in your kernel config?


Nope. There was nothing that said that such an option was needed
(or even that it existed). I did find it, via a recursive grep, in
a file labeled NOTES a couple of levels up in the directory
hierarchy. I'm trying a compile now to see if that's all that's
needed to fix the problem.

It looks as if there's no longer one easy place to find out how to
configure a kernel. The options used to all be in a LINT file that
was present in the configuration directory No more.


The LINT file moved from a static file to a dynamically-generated file a 
while ago since not all options are applicable for all platforms.


A generic NOTES file (in /usr/src/sys/conf) is combined with a 
platform-specific NOTES file (in /usr/src/sys/platform/conf, where 
platform is i386, amd64, pc98, etc) to create the LINT file.


$ cd /usr/src/sys/i386/conf
$ make LINT
cat ../../conf/NOTES NOTES | sed -E -n -f ../../conf/makeLINT.sed  LINT

Regards,
--
Matt Emmerton 


___
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: Xlib: extension Generic Event Extension missing on display :0.0

2009-02-04 Thread matt donovan
On Wed, Feb 4, 2009 at 12:56 PM, Roland Smith rsm...@xs4all.nl wrote:

 On Thu, Feb 05, 2009 at 12:10:30AM +1000, Da Rock wrote:
  Ok, I give up... wtf am I missing here?

 The Xext library has the extension, but the server hasn't yet. It should
 be harmless. I don't notice any problems with it. (7.1-RELEASE amd64
 with Xorg 7.4)

  I can now confirm this problem in several ways:
  1) I just ran xine, mplayer, and file-roller and the error came up
  causing all programs bar file-roller to crash.

 I've got mplayer playing fine with this message.

  Logs don't show anything, this error is just on screen (wierd?). Another
  clarification to this is that it only happens in media players after
  content is attempted to load.

 What driver are you using in X? And what kind of video output driver are
 you using in mplayer?

 X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's
 last patch to update the kernel direct rendering support (which should
 be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works.

  Can someone clarify why? Also how do I kill this extension (I don't
  think that ever came out- correct me if I'm wrong)?

 The upcoming server 1.6.0 has this extension. As soon as that is rolled
 out, the messages should disappear, I think.

 You yould try to roll-back the Xext library...

 Roland
 --
 R.F.Smith   
 http://www.xs4all.nl/~rsmith/http://www.xs4all.nl/%7Ersmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


/usr/ports/UPDATING is already updated about this message and to say just
ignore 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: intel 64-bit version?

2009-02-02 Thread matt donovan
On Mon, Feb 2, 2009 at 9:24 AM, gahn ipfr...@yahoo.com wrote:

 Hi all:

 What is the image for intel 64-bit version of freebsd? i have xeon machine
 and would like to install freebsd on it.

 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


that would be amd64 since amd64 is what the x86_64 is called
___
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: Error compiling Imagmagick

2009-02-02 Thread matt donovan
On Mon, Feb 2, 2009 at 5:23 PM, Warren Liddell shin...@maydias.com wrote:

 run make config in graphics/ImageMagick and uncheck the Run bundled

 self-tests after build option.
 This will continue the install. You may want to provide the output of the
 failing test through send-pr, so that it can be investigated.



 I went around it by using pkg_add


 ___
 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


Believe this is a well known problem anyways. Since this is the 10th time or
so that I have seen the errors for PerlMagick tests on this mailing list
___
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 Transition Questions.

2009-01-21 Thread matt donovan
On Wed, Jan 21, 2009 at 1:37 PM, Kurt Buff kurt.b...@gmail.com wrote:

 On Wed, Jan 21, 2009 at 10:01 AM, Chad Perrin per...@apotheon.com wrote:
  On Tue, Jan 13, 2009 at 11:50:55AM -0800, Kurt Buff wrote:
 
  And, unfortunately, that doesn't help. I think the procedure described
  by George Davidovich is your best bet.
 
  I haven't used Thunderbird in a very long time, but . . . can't you
  import emails from OE to Thunderbird on the MS Windows system, then move
  them from the MS Windows system to the FreeBSD system and import them to
  Thunderbird there?
 
  --
  Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
  Quoth Niccolo Machiavelli: It is a common failing of man not to take
  account of tempests during fair weather.

 I don't know. I haven't used OE in over 10 years.

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


From what I heard no since Windows thunderbird is different then the layout
of the *nix thunderbird. but that was a while ago I heard that
___
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: swfdec-plugin

2009-01-21 Thread matt donovan
On Wed, Jan 21, 2009 at 3:08 PM, Steve Franks bahamasfra...@gmail.comwrote:

 Anyone get swfdec-plugin to work?  Doesn't show up in firefox3's list
 of plugins (neither does mplayer-plugin or gnash).  Does port
 installation order matter?   Do I have to delete .firefox or some
 other slight-of-hand?

 Thanks,
 Steve
 ___
 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


you need to do some symlinking. it seems like it was removed from
/usr/ports/UPDATING about 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: upgrade 7.0 - 7.1 : portupgrade -af required?

2009-01-15 Thread matt donovan
On Thu, Jan 15, 2009 at 10:07 AM, Olivier Mueller om-lists-...@omx.chwrote:

 Hello,

 After an upgrade from FreeBSD 7.0 to 7.1 (with freebsd-update in my
 case), is it required to recompile all ports (portupgrade -af) like
 specified in some docs/blog-entries, or is it not *really* necessary?
 What are you doing on your production systems?   Having to upgrade
 several servers (15), it's quite important for me to estimate the time
 required for the operation...

 I did the upgrade on a test server here, and all ports still seems to
 work  (apache, php, mysql, etc.) so I guess the answer is no, but I'd
 like to be sure before upgrading some important servers :-)

 According to:

 http://www.freebsd.org/releases/7.1R/announce.html
 Users of earlier FreeBSD releases (FreeBSD 6.x) can also use
 freebsd-update to upgrade to FreeBSD 7.1, but will be prompted to
 rebuild all third-party applications (e.g., anything installed from the
 ports tree) after the second invocation of freebsd-update install, in
 order to handle differences in the system libraries between FreeBSD 6.x
 and FreeBSD 7.x.

 It would be necessary only for major upgrades (6.x - 7.x).   Right?

 thanks  regards,
 Olivier

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


Only tiem to rebuild ports really is for a major version change say 6. -
7.x but for a minor version change you do not have to rebuild
___
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: portupgrade - portmaster?

2009-01-15 Thread matt donovan
On Thu, Jan 15, 2009 at 7:22 PM, Mitja lum...@gmail.com wrote:

 On Thursday 15 January 2009 16:04:09 Christer Solskogen wrote:
  On 1/15/09 8:25 PM, Ewald Jenisch wrote:
   Anything to consider when going from portupgrade to portmaster?
 
  Portupgrade has the advantage that it can use binary packages to upgrade
  your system. portmaster can create them (by adding the -g option) - but
  not use them. This is the reason we use portupgrade at work where we
  have several FreeBSD servers which shares /usr/ports.
 
   Is there also a way back, i.e. from portmaster to portupgrade?
 
  No problem at all. You can even have both installed. If you upgrade your
  outdated port with portupgrade, portmaster will not try to upgrade it
  and vice versa, unless you force it to (which makes no sense).

 I am more than one year FreeBSD user :), started with 7.0 and I have to
 used
 portupgrade but later I did change to portmaster which I like it but few
 day
 ago I had a problem (on FreeBSD 7.1) with update. Here is a link to the
 FreeBSD forum where I asked about a problem.
 Today I installed portupgrade and update was without problem.

 Are there some problem with portmaster on 7.1?
 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


believe so since I remember seeing the author talk about patching
portmaster.
___
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: Bios chip update suggestions

2009-01-15 Thread matt donovan
On Thu, Jan 15, 2009 at 8:22 PM, Fbsd1 fb...@a1poweruser.com wrote:

 I have an desktop manufactured in 2002 by a South Korean company Hyunju.
 The company is now out of business.
 It's bio's do not allow booting from a usb memory stick.

 I want to find an bio's update that adds booting from usb memory stick.

 I know the desktop uses AWARD bio's chip and the bio's id string is
 01/08/2002-694T-686-P6VXM2TC-00

 All the internet bio's chip update url's found by Google search are
 customized for MS windows.

 Suggestions on how or where to purchase the correct bio's chip update?
 ___
 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


if bios does not allow booting from usb a update won't either
___
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: updated to 7.1 via cvs source, PAE kernel. server unstable

2009-01-13 Thread matt donovan
On Tue, Jan 13, 2009 at 4:32 PM, brad davison 
demonichandextensi...@hotmail.com wrote:


 Hi all,

 Hopefully someone can shed some light on my problem.  Over the weekend, we
 upgraded our mailserver that was running like a champ w/ FBSD 7.0 and a PAE
 kernel (8gb RAM).

 I didn't use the freebsd-update program, because I read that if you're not
 using a GENERIC kernel, it wont work.

 I had changed the standard-supfile like that had RELENG_7_0 to RELENG_7_1
 and ran cvsup.

 I followed the handbook for cleaning out the /usr/src/obj directory,
 rebuilt the world and kernel via:

 # cd /usr/src# make buildworld# make buildkernel KERNCONF=PAE# make
 installkernel KERNCONF=PAE

 then I rebooted into single user mode and performed the:

 # mount -a -t ufs# mergemaster -p# cd /usr/src# make installworld#
 mergemaster

 When I did the mergemaster, I kept my master.password, hosts, passwd,
 rc.conf, and make.conf.  But for the most part, I 'i' installed the new
 files.

 Since then, we have had severe server instability after a few hours.  The
 server completely locks up requiring a hard boot, then the fsck_ufs runs for
 a while.  This is our production mail server, and we've been down off and on
 for 2 days.

 I'm in the process of building a replacement and getting back online with
 7.0 and a GENERIC kernel, but what on Earth could have gone on?  Did I do
 something wrong with using a PAE kernel on 7.1?

 I'm in single-user mode again running 'fsck -y' and there are TONS of
 errors on the /usr volume.

 The /var/log/messages just shows that the server was restarted, and I'm
 just wondering where to start.



 _
 Windows Live™ Hotmail(R): Chat. Store. Share. Do more with mail.

 http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___
 freebsd-questions@freebsd.orghttp://windowslive.com/explore?ocid=txt_taglm_wl_t1_hm_justgotbetter_explore_012009___freebsd-questi...@freebsd.orgmailing
  list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


could be due to PAE. since PAE is known not to be very stable.
___
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-update doesn't seem to update to Latest

2009-01-13 Thread matt donovan
On Tue, Jan 13, 2009 at 3:47 PM, Sebastian Setzer 
sebastianset...@alice-dsl.net wrote:


 Hi,
 I did a freebsd-update to 7.1-RELEASE as described in the release notes.
 After that, I installed Openoffice (with pkg_add) and got several warnings
 like this one:
 pkg_add: warning: package 'gnome-vfs-2.22.0_2' requires 'atk-1.22.0_1', but
 'atk-1.20.0' is installed

 Now I did
 # pkg_add -r atk
 pkg_add: package 'atk-1.22.0_1' or its older version already installed

 so with pkg_add -r I get newer packages than I got with freebsd-update.
 Why?
 ___
 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=update does not install any packages.

you had atk installed before you upgraded you need to update your ports to
the correct versions needed.
___
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: mergemaster goof when src upgrading 7.0 - 7.1

2009-01-08 Thread matt donovan
On Wed, Jan 7, 2009 at 10:55 PM, Peter Boosten pe...@boosten.org wrote:

 matt donovan wrote:
  On Wed, Jan 7, 2009 at 3:34 PM, Peter Boosten pe...@boosten.org wrote:
 
  Well, my point is that mergemaster shouldn't have to delete ALL
 accounts,
  just to add one. User and group accounts can be added to the
 passwd/group
  file *without* deleting the others.
 
 
  mergemaster doesn't delete ALL accounts if you do it correctly. I usually
  leave the files for later and then manually do it.
 

 Your 'do it correctly' refers to 'leave it for later', however I've read
 at least twice yesterday, that someone *accidentally* 'installed' the
 file from /var/tmp/temproot. *That* should not be possible in the first
 place.

 Thank heaven it never happened to me (knock on wood), but a mistake is
 easily made, especially when you just went through a whole bunch of
 updated rc scripts.

 Peter

 --
 http://www.boosten.org


myself I just watch the file name line since I don't touch files outside of
/usr. unless it's for example ppp.conf
___
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: Sysinstall

2009-01-07 Thread matt donovan
On Wed, Jan 7, 2009 at 7:23 PM, Grant Peel gp...@thenetnow.com wrote:

 Cool to see the thread take this twist, but the original question still
 remains:

 How doe one install FreeBSD without the sysinstal utility?

 -Grant

 - Original Message - From: Kurt Buff kurt.b...@gmail.com
 To: Gonzalo Nemmi gne...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Sent: Wednesday, January 07, 2009 6:51 PM
 Subject: Re: Sysinstall



 On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi gne...@gmail.com wrote:

 On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote:

 Hi all,

 I keep reading in the man pages and elsewhere that 'sysinstall' is
 greatly
 in need of 'Death'.

 How would one do a fresh install of FBSD without it?

 Is there a replacement in the works?

 -Grant


 Actually, the more  use it, the more I like it ..

 The only con that I find is that I don't whether it's possible to install
 Postfix instead of Sendmail by default, thus getting completely rid of
 Sendmail on my FreeBSD installs. But that probably something that I'm
 missing.

 Regards
 --
 Blessings
 Gonzalo Nemmi


 In the curses-based sysinstall of later versions of FBSD (7+, I think
 - haven't done 6 in a while) I do indeed select postfix to install, or
 no MTA at all, then add postfix later. Depends on my mood...

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


you can't unless you do a freebsd from scratch which you can find here
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/index.html
there
are other ways to do it but I just don't know them.

there is finstall in the works
___
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: mergemaster goof when src upgrading 7.0 - 7.1

2009-01-07 Thread matt donovan
On Wed, Jan 7, 2009 at 3:34 PM, Peter Boosten pe...@boosten.org wrote:

 Albert Shih wrote:

  Le 07/01/2009 à 07:06:53+0100, Peter Boosten a écrit

 Johann Hasselbach wrote:

 I was doing a src upgrade from 7.0 to 7.1

 After installkernel, i rebooted, and accidently ran mergemaster
 instead of mergemaster -p before installworld. I ctrl-c'd once I
 realized what I had done, but the damage was done.

 It seems to have overwritten my password and group files.

  I've stated this before: In my opinion this entire 'I want to overwrite
 your passwd file' attitude from mergemaster is nonsense: at installation
 time you're required to add an additional user, and mergemaster wants to
 undo that again.

  Well...i'm not developper but long time ago, when I update from FreeBSD
 x.y
 to Freebsd x+1,(0-1) I loose many time to find something don't work
 because
 the Freebsd x+1 need some new system account.


 Well, my point is that mergemaster shouldn't have to delete ALL accounts,
 just to add one. User and group accounts can be added to the passwd/group
 file *without* deleting the others.

 Peter
 --
 http://www.boosten.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


mergemaster doesn't delete ALL accounts if you do it correctly. I usually
leave the files for later and then manually do 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: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?

2009-01-04 Thread matt donovan
On Sun, Jan 4, 2009 at 5:09 PM, David Christensen dpchr...@holgerdanske.com
 wrote:

 freebsd-questions:

 I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386:


 http://portsmon.freebsd.org/portoverview.py?category=miscportname=amand
 a-serverhttp://portsmon.freebsd.org/portoverview.py?category=miscportname=amanda-server


 Most of my software background is GNU/Linux.  I would prefer using the
 Bash shell, but the default FreeBSD shell for root appears to be the C
 shell:

p3450# echo $SHELL
/bin/csh


 I have changed the root shell to Bash on another machine I use as a CVS
 server and haven't noticed any issues yet, but I've been wondering if
 I'm setting myself up for problems by doing so.


 Does anybody know if it's okay to change the root shell on FreeBSD
 7.0-RELEASE-i386?


 TIA,

 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


well you will lock yourself out of the system if you uninstall bash or bash
breaks. I would enable toor just in case
___
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: Foiling MITM attacks on source and ports trees

2009-01-02 Thread Matt
On Fri, Jan 2, 2009 at 10:44 AM, cpghost cpgh...@cordula.ws wrote:
 Hello,

 with MITM attacks [1] on the rise, I'm concerned about the integrity
 of local /usr/src, /usr/doc, and /usr/ports trees fetched through csup
 (and portsnap) from master or mirror servers.

  [1] http://en.wikipedia.org/wiki/Man-in-the-middle_attack

 There's already a small protection against MITM on the distfiles in
 ports: distinfo contain md5 and sha256 digests. This is an excellent
 idea that could be extended to *all* files in /usr/src, /usr/doc, and
 /usr/ports.

Something like this was discussed back in September:
http://lists.freebsd.org/pipermail/freebsd-hackers/2008-September/026052.html

I haven't tried Max's script yet, but it looks like it should do at
least some of what you're looking for.

Matt
___
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: mplayer won't build

2008-12-31 Thread matt donovan
On Wed, Dec 31, 2008 at 6:52 PM, Chad Perrin per...@apotheon.com wrote:

 For some reason, on . . .

 My machine:

  FreeBSD 6.2-RELEASE-p11

 MPlayer refuses to build:

  N - O - T - E

  There are some knobs which *can* *not* be selected via the
  OPTIONS framework. You might want to check the Makefile in
  order to learn more about them.
  If you want to use the GUI, you can either install
  /usr/ports/multimedia/mplayer-skins
  or download official skin collections from
  http://www.mplayerhq.hu/homepage/dload.html
  ===  mplayer-0.99.11_8 has known vulnerabilities:
  = mplayer -- twinvq processing buffer overflow vulnerability.
 Reference:
 
 http://www.FreeBSD.org/ports/portaudit/7c5bd5b8-d652-11dd-a765-0030843d3802.html
 
  = Please update your ports tree and try again.
  *** Error code 1

  Stop in /usr/ports/multimedia/mplayer.
  *** Error code 1



  you want soemthing like this make -DDISABLE_VULNERABILITIES install if you
want to override portaudit. guess the port for mplayer needs to be updated.
___
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: starting Tomcat6

2008-12-23 Thread matt donovan
On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons josephdsimm...@gmail.comwrote:

 It is now :), but that should only effect things when the computer
 starts up. I'm still not able to start tomcat from it's rc.d script.

 On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman
 m.sea...@infracaninophile.co.uk wrote:
  Joseph Simmons wrote:
 
  uname -a gives:
  7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
  r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
  I installed Apache Tomcat from the ports collection
  (/usr/ports/www/tomcat6) without error. From the documentation that
  I've seen, starting tomcat is done with the following command
 
  /usr/local/etc/rc.d/tomcat6 start
 
  But when I do this (as root or otherwise), the tomcat process doesn't
  seem to start. Should there be some other way of starting the process?
 
  Did you put:
 
   tomcat6_enable=YES
 
  into /etc/rc.conf ?
 
 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
 
 
 ___
 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


no you must have tomcat_enable=yes  in your rc.conf to even run the script
unless you forcestart it. so ps aux does not show tomcat as running?
___
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: 7.0-RELEASE-p6:/boot/kernel/linker.hints not updating?

2008-12-22 Thread matt donovan
On Mon, Dec 22, 2008 at 2:07 PM, Tom Worster f...@thefsb.org wrote:

 after running freebsd-update install and rebooting, i ran freebsd-update
 fetch to check the status and it said:

 The following files will be updated as part of updating to 7.0-RELEASE-p6:
 /boot/kernel/linker.hints

 running freebsd-update install and rebooting again did not clear the
 message.

 should that be any concern?


 ___
 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


No think it's a small issue since your not the first that actually ran into
this 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: Suitability question

2008-12-18 Thread matt donovan
On Thu, Dec 18, 2008 at 7:32 PM, Robert Huff roberth...@rcn.com wrote:


 Glen Barber writes:

Word processing won't be a problem, but internet 'toys' like Flash
will be a problem, unless you use some wine+firefox workaround.
   
What -- nspluginwrapper doesn't work any longer?
 
   From personal experience, nspluginwrapper is a memory hog, and
   only supports Flash 7 (last I used it).

 Flash 9 + nsplugginwrapper works on -CURRENT starting about a
 month (I think) ago.  Whether the necessary changes will appear in
 7.1 I do not know.


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


7.1 works as well you just need to install a different base to get some good
speed
___
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: Secondary DNS or BSD Server space

2008-12-18 Thread Matt Emmerton

Everyone:

We just got word that Neustar, which bought DNS service provider
Nominum a few years ago,  is shutting down Nominum's
secondary.com service. The service used to provide secondary DNS
for users' zones at no charge.

I and the other secondary.com users I know think it's reasonable
for the company to charge a small but reasonable fee for the
service instead of keeping it running for free. But alas, Neustar
is getting greedy. The only alternative they offer is a $50-a-month
managed DNS service, which we don't want or need. (We're fine
maintaining our own master servers and zones; we just need a slave
to use as a secondary.) So, we're looking for alternatives.

Does anyone on this list know of a good, BSD-based service which
offers reasonably priced secondary DNS? Or reasonably priced
servers at a server farm, where I and others can set up a secondary DNS 
server?


There was a thread on this just the other day here.  Not sure if they are 
BSD-based, but both dyndns.org and zoneedit.com offser secondary service for 
practically nothing.


--
Matt Emmerton 


___
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: looking for a secondary.

2008-12-16 Thread Matt Emmerton
On Tuesday, December 16, 2008, at 02:42PM, Gary Kline 
kl...@thought.org wrote:


i was recently informed that the firm that bought secondary.com is going 
to

begin charging $100/mo.  i nearly choked on that, but whatever...  i'm
looking for an *.org who does DNS secondaries free oe nearly so.  i know
there is at least one place, but it's been years.


Not free, but nearly so:
http://www.dyndns.com/services/dns/secdns/

$17.50/year = $1.46/month...


Other options include: http://www.backupdns.com/index.html

$0.80/month/zone for a small number of zones.

Or http://www.zoneedit.com

They will host DNS (primary and/or secondary) for 5 zones, free of charge 
(subject to bandwidth).


--
Matt Emmerton



___
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: imagemagick convert: japanese text broken in freebsd

2008-12-14 Thread matt donovan
On Sun, Dec 14, 2008 at 8:58 PM, Glen Barber glen.j.bar...@gmail.comwrote:

 On Sun, Dec 14, 2008 at 8:51 PM, vuthecuong vuthecu...@luvina.net wrote:
 
  Hi all
  Firstly I'm terribly sorry for wrongly posted question not related to
  freebsd.
  I will pay attention so that this wrong posting  will not occurr again.
  This is my fault.

 No, it is not.  Questions@ is a general list for general FreeBSD
 questions.

 Getting something FreeBSD related to work, regardless of
 base-vs-ports, is FreeBSD related.

 --
 Glen Barber
 ___
 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


a Glen stated anything dealing with FreeBSD base-vs-ports is FreeBSD
related. Many of us I know are starting to get tired of the police. And it
seems like he won't be bothering us with posts for a while since  he told a
FreeBSDd person off on this thread.
___
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 FreeBSD not popular on hardware vendors

2008-12-13 Thread matt donovan
A lot of times I report spam anymore and usually the domain gets kicked off
or I help a company with some information in their investigation usually.
___
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: I need Install DB2 in Freebsd with a tool administration likewebmin but for database DB2

2008-12-10 Thread Matt Emmerton

Tomas,

DB2 comes with a Java-based GUI administration tool called the DB2 Control 
Center.


Unfortunately, it can only be installed on a supported DB2 client platform, 
such as Linux, Windows or various commercial UNIX platforms.


DB2 does not currently have any other type of GUI administration tool.

Regards,
Matt Emmerton

- Original Message - 
From: Tomás Rodriguez [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Sent: Wednesday, December 10, 2008 2:14 PM
Subject: Re: I need Install DB2 in Freebsd with a tool administration 
likewebmin but for database DB2



thanks Michael

well I wanna install ibm db2 server for developer one application in PHP or 
Java, but I need a graphic tools for his administration.


thanks
again
sincerely
TOMAS


- Original Message 

From: michael [EMAIL PROTECTED]
To: Tomás Rodriguez [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, December 10, 2008 1:50:42 PM
Subject: Re: I need Install DB2 in Freebsd with a tool administration like 
webmin but for database DB2


you want to install ibm db2 server? or you want to install db2 client?

Tomás Rodriguez wrote:
 Hi, everyone.

 I wanna install DB2 in my unix freebsd, but I never doing that, in fact 
 I need
a tool like GUI or like webmin, for the adminsitration of the DB2. who can 
help

me with that.
 I'll appreciate any help, because I have been very hurry with that I'll
developer a tools in DB2 butnever worked in this database management, I 
always

work in mysql server.
 please any help?

 have a great day for everyone here.
 sincerely
 Tomas



 - Original Message 
 From: Richard KHOO Guan Chen
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, December 9, 2008 9:58:13 PM
 Subject: Re: portaudit -solved

 Thank you Sahil Tandon

 I have solved the problem. My ISP uses proxy for http (I think) as I 
 have
closed off port 80 and opened port 8080, and that has got me to the web 
with no
problem. I have also been able to use ports installation with my ipf 
firewall
setup, so I could not understand why portaudit command failed. I have now 
opened

up port 80 and get the thing working.

 Your message got me thinking in this direction as you confiremed that 
 the file

is from http://www.FreeBSD.org/ports.

 Once again thanks and apologies for the late reply.


 On Mon, 8 Dec 2008, Sahil Tandon wrote:


 Richard KHOO Guan Chen wrote:


 I have recently installed 6.4 release and tried to do a portausidt -F.
 No go reply was that auditfile.tbz unavailable.

 By default, portaudit fetches the database from www.FreeBSD.org/ports.
 What is the output of the following commands on your machine?

 % wget http://www.FreeBSD.org/ports/auditfile.tbz
 % fetch -1amp http://www.FreeBSD.org/ports/auditfile.tbz

 Have you created or modified /usr/local/etc/portaudit.conf?

 -- Sahil Tandon
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



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




 __
 Instant Messaging, free SMS, sharing photos and more... Try the new 
 Yahoo!

Canada Messenger at http://ca.beta.messenger.yahoo.com/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


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




 __
Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to 
New Mail today or register for free at http://mail.yahoo.ca

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






No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.16/1841 - Release Date: 12/10/2008 
9:30 AM


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


Re: QT4.5 packages

2008-12-06 Thread matt donovan
On Sat, Dec 6, 2008 at 3:10 AM, Warren Liddell [EMAIL PROTECTED] wrote:

 You can find many packages for several releases under

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386
 ___


 Yeah that was the first palced i checked, but there is only 4.4.1 and at
 the least i need 4.4.2, but a lot of things im now running require 4.5 an
 being as i can build them i goto add them from pkg .. im running AMD64
 FreeBSD 7.1-PreRelease KDE 4.1.3

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


Qt4.5 has not been ported over yet but they are working on it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/ports/net/freeradius2 port broken

2008-12-03 Thread matt donovan
On Wed, Dec 3, 2008 at 2:26 AM, Marcel Grandemange [EMAIL PROTECTED]
 wrote:

 Anyone else aware that the freeradius2 port is broken?


 [EMAIL PROTECTED] /usr/ports/net/freeradius2]# make
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for freeradius-2.0.5
 = freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in
 /usr/ports/distfiles/.
 = Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./.
 fetch:
 ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2:
 size unknown
 fetch:
 ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2:
 size of remote file is not known
 freeradius-server-2.0.5.tar.bz2317  B 3535  Bps
 ===  Extracting for freeradius-2.0.5
 = MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2.
 = SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2.
 ===  Refetch for 1 more times files: freeradius-server-2.0.5.tar.bz2
 freeradius-server-2.0.5.tar.bz2
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for freeradius-2.0.5
 = freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in
 /usr/ports/distfiles/.
 = Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./.
 fetch:
 ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2:
 size unknown
 fetch:
 ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2:
 size of remote file is not known
 freeradius-server-2.0.5.tar.bz2361  B 2208  Bps
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for freeradius-2.0.5
 = MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2.
 = SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2.
 ===  Giving up on fetching files: freeradius-server-2.0.5.tar.bz2
 freeradius-server-2.0.5.tar.bz2
 Make sure the Makefile and distinfo file
 (/usr/ports/net/freeradius2/distinfo)
 are up to date.  If you are absolutely sure you want to override this
 check, type make NO_CHECKSUM=yes [other args].
 *** Error code 1

 Stop in /usr/ports/net/freeradius2.
 *** Error code 1

 Stop in /usr/ports/net/freeradius2.
 *** Error code 1

 Stop in /usr/ports/net/freeradius2.
 [EMAIL PROTECTED] /usr/ports/net/freeradius2]# make NO_CHECKSUM=yes
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for freeradius-2.0.5
 ===  Extracting for freeradius-2.0.5
 ===   freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found
 bzip2: /usr/ports/distfiles//freeradius-server-2.0.5.tar.bz2 is not a bzip2
 file.
 ===  Patching for freeradius-2.0.5
 ===   freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found
 ===  Applying FreeBSD patches for freeradius-2.0.5
 patch:  can't cd to
 /usr/ports/net/freeradius2/work/freeradius-server-2.0.5: No such file or
 directory
 = Patch patch-config-security failed to apply cleanly.
 *** Error code 1

 Stop in /usr/ports/net/freeradius2.
 *** Error code 1

 Stop in /usr/ports/net/freeradius2.
 [EMAIL PROTECTED] /usr/ports/net/freeradius2]#


 Regards

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


The port works fine here it fallsback to
ftp://ftp.freeradius.org/pub/freeradius/old/ which it should to grab
2.0.5.try updating your ports(if you have not already) and try again
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stand-alone GTK2 wlan config tool?

2008-12-02 Thread matt donovan
On Tue, Dec 2, 2008 at 9:48 AM, Ghirai [EMAIL PROTECTED] wrote:

 Hello list,

 Are there any stand-alone, GTK2, wlan config apps out there (basic
 stuff, like viewing available networks, setting wpa key, connecting,
 etc.)?

 I'm using xfce, and the wlan plugin thingie can only show the signal
 strength, assuming i'm already connected.

 Thanks.

 --
 Regards,
 Ghirai.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


hmm not sure since many of the programs hook into iwconfig instead of
ifconfig. for wireless since they work mainly on Linux only from the
programs that I am thinking of.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nxserver/freenx

2008-11-29 Thread matt donovan
On Sat, Nov 29, 2008 at 7:42 AM, Pieter Donche [EMAIL PROTECTED]wrote:

 On Fri, 28 Nov 2008, matt donovan wrote:

  On Fri, Nov 28, 2008 at 3:53 AM, Pieter Donche [EMAIL PROTECTED]
 wrote:

  I want my freeBSD-7.0-RELEASE server accessible via a FreeNX client
 from www.nomachine.com.

 I believe I should install both the ports nxserver and freenx:

  From http://www.freebsdports.info/ports/net/nxserver.html I read:

  nxserver: this port provides only the NX core binaries and libraries as
   were released by NoMachine as source code. To make them work and be
   used as an NX server, you will need to:
 - either install FreeNX (net/freenx) additionally,
 - or install the commercial NoMachine server product (currently not
available in native FreeBSD form)

 $ whereis nxserver
 nxserver: /usr/ports/net/nxserver
 $ whereis freenx
 freenx: /usr/ports/net/freenx
 # cd /usr/ports/net/nxserver
 # make install clean
 ===  nxserver-1.4.0_1 is marked as broken: this port fails to build with
 xorg-7
 .2.
 *** Error code 1

 What's this?

 What are my alternatives to get a NX server running on FreeBSD?

 # pkg_add -r freenx
 isn't found ...

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



 well freenx now provides nxserver I tried updating the ports but the
 freenx
 tarball isn't very clear like it used to be since, since the files have
 changed so much from what the old version used to be like. you could try
 freenx and see if it will work or not. Since I m pretty sure the port is
 old.


 No help ... This ends up with the same problem ... :

 # cd /usr/ports/net/freenx
 # make install clean
 ===  Vulnerability check disabled, database not found
 = freenx-0.4.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 = Attempting to fetch from http://www.iem.pw.edu.pl/ftp/distfiles/.
 fetch: http://www.iem.pw.edu.pl/ftp/distfiles/freenx-0.4.4.tar.gz: Moved
 Temporarily
 = Attempting to fetch from
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
 freenx-0.4.4.tar.gz   100% of   45 kB   92 kBps
 ===  Extracting for freenx-0.4.4_3
 = MD5 Checksum OK for freenx-0.4.4.tar.gz.
 = SHA256 Checksum OK for freenx-0.4.4.tar.gz.
 ===  Patching for freenx-0.4.4_3
 ===  Applying FreeBSD patches for freenx-0.4.4_3
 ===   freenx-0.4.4_3 depends on file: /usr/local/libdata/xorg/libraries -
 found
 ===  Configuring for freenx-0.4.4_3
 ===  Installing for freenx-0.4.4_3
 ===   freenx-0.4.4_3 depends on file: /usr/local/NX/bin/nxagent - not
 found
 ===Verifying install for /usr/local/NX/bin/nxagent in
 /usr/ports/net/nxserver
 ===  nxserver-1.4.0_1 is marked as broken: this port fails to build with
 xorg-7.2.
 *** Error code 1

 Stop in /usr/ports/net/nxserver.
 *** Error code 1
 Stop in /usr/ports/net/freenx.


pretty much you need to update the ports to even install freenx/nxserver, I
tried updating the freenx one but got a bit lost with the new freenx
tarballs that the developer provides. And I know these two ports are the
most wanted, for some people
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nxserver/freenx

2008-11-28 Thread matt donovan
On Fri, Nov 28, 2008 at 3:53 AM, Pieter Donche [EMAIL PROTECTED]wrote:

 I want my freeBSD-7.0-RELEASE server accessible via a FreeNX client
 from www.nomachine.com.

 I believe I should install both the ports nxserver and freenx:

 From http://www.freebsdports.info/ports/net/nxserver.html I read:

 nxserver: this port provides only the NX core binaries and libraries as
were released by NoMachine as source code. To make them work and be
used as an NX server, you will need to:
  - either install FreeNX (net/freenx) additionally,
  - or install the commercial NoMachine server product (currently not
 available in native FreeBSD form)

 $ whereis nxserver
 nxserver: /usr/ports/net/nxserver
 $ whereis freenx
 freenx: /usr/ports/net/freenx
 # cd /usr/ports/net/nxserver
 # make install clean
 ===  nxserver-1.4.0_1 is marked as broken: this port fails to build with
 xorg-7
 .2.
 *** Error code 1

 What's this?

 What are my alternatives to get a NX server running on FreeBSD?

 # pkg_add -r freenx
 isn't found ...

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


well freenx now provides nxserver I tried updating the ports but the freenx
tarball isn't very clear like it used to be since, since the files have
changed so much from what the old version used to be like. you could try
freenx and see if it will work or not. Since I m pretty sure the port is
old.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install RPM file on FreeBSD?

2008-11-27 Thread matt donovan
On Thu, Nov 27, 2008 at 9:14 AM, Alex [EMAIL PROTECTED] wrote:

 Hi. Dear All



 Could you pls let me know how to install file that the format is RPM on
 FreeBSD.

 Because I want to install a Virtual Machine which name is VMware
 Workstation for Linux on FreeBSD? But there only RPM has been published.
 So
 pls kindly help me deal with this case. Thanks.



 BR

 Alex







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


newer VMware Workstations do not work on FreeBSD. Have to use an older one
of use virtualbox which works to a point.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Installing gimp from ports, need a GTK+, what port is it

2008-11-25 Thread matt donovan
On Tue, Nov 25, 2008 at 10:05 AM, [EMAIL PROTECTED] wrote:

 On Nov 23, 2008 8:38pm, Michael Johnson [EMAIL PROTECTED] wrote:




 The version of gtk you have installed is too old. Upgrade to the latest

 version of x11-toolkits/gtk2


 Michael



 Thanks again. Last night I upgraded GTK 2.something using portupgrade and
 that was the last package the gimp was complaining about. gimp completed the
 install last night just fine. I was confused about what was the right
 package because the gimp install was saying that the gtk+ package wasn't
 present, but the only thing listed as gtk+ was a theme management package
 when doing a pkg_info.

 I'm hoping for some clarification on something. Is GTK+ a subset of GTK
 2.x? Are they one in the same? If so, why are they known by two different
 names if they are the same thing?


 Andy
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


GTK 2.x is known as GTK+2.x, GTK+ is GTK+1.x
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: do we have any grammar checkers for FBSD?

2008-11-21 Thread Matt
On Fri, Nov 21, 2008 at 2:59 PM, Gary Kline [EMAIL PROTECTED] wrote:
 On Fri, Nov 21, 2008 at 02:05:41PM -0500, Lowell Gilbert wrote:
 Gary Kline [EMAIL PROTECTED] writes:

  On Fri, Nov 21, 2008 at 12:03:25PM +, Goksin Akdeniz wrote:
  On Friday 21 November 2008 01:21:20 Gary Kline wrote:
  
If there is one with OOo-3, I haven't been able to build it yet
  
gary
 
  Hello Gary,
 
  Spellcheck and dictionary addons are avilable for OOo-3 but can not be
  installed due to bugs.
 
 
  thanks for the datapoint.  good to know these tools are en-route.
  i'm working on some ye-olden texts that need updating to 21st century
  english.  

 They aren't really en route.  They are here, and they're working for me.
 The dictionaries are no longer installed with OpenOffice by default -- as
 I understand it, this is because there are now so many different languages
 that would need to be included.

 The documentation I used was at:
 http://wiki.services.openoffice.org/wiki/Dictionaries


i Can understand the ``myriad dictionaries problem'' since OO
supports so many languages; but I'm looking for a grammar tool.
There was some rumble about a grammar-checker becoming available
sometime [like RSN:)] ... but so far nothing.  --At the same
time, the GNU diction program has found several things.  Havent
used that for ages.

gary

Well, there is http://www.languagetool.org/ available for OOo, but I
don't know how to get it installed due to the bad transfer url error
that's been reported [1] when installing extensions.  Any ideas
related to that?

[1] 
http://lists.freebsd.org/pipermail/freebsd-openoffice/2008-October/003941.html

 --
 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 [EMAIL PROTECTED]

 --
  Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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

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


Re: Warning: Can't find .....

2008-11-21 Thread matt donovan
On Fri, Nov 21, 2008 at 1:52 AM, Brent Clark [EMAIL PROTECTED]wrote:

 matt donovan wrote:

 Well you didn't install man pages since minimal install does not install
 them. To get the man pages you have to change 7.0-RELEASE-p5 to just
 7.0-RELEASE


 Hi

 Thanks for this, I actually did realise my mistake after the post. Mans
 installed :)

 What does make me wonder is how or why sysinternal's option was set to
 7.0-RELEASE-p5 and / or could not work around it.

 Anyway, its working, so im chuffed.

 Thanks again for the reply


 Kind Regards
 Brent Clark
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


well Sysinstall goes by the version that you have installed so if you update
your machine to patchlevel 5 sysinstall will change the OS to the -p5
instead of the base setting
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Warning: Can't find .....

2008-11-20 Thread matt donovan
On Thu, Nov 20, 2008 at 3:46 AM, Brent Clark [EMAIL PROTECTED]wrote:

 Hi

 I would like to install man on my machine

 But using sysintall I get  Warning: Can't find the `7.0-RELEASE-p5 .

 Googling says I must check Options via Sysinstall and run

 sysinstall releaseName=7.0-RELEASE-p5 configPackages

 MY first question is, what does this do and / or fix.

 When I built this machine, I used the minimalistic option, and everything
 else to install, ive being using ports.
 Then every now and then just run freebsd-update and reboot.

 My next question is, and for future reference, where did I go wrong, or
 what did I not do, and how may I fix this?

 TIA

 Kind Regards
 Brent Clark
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


Well you didn't install man pages since minimal install does not install
them. To get the man pages you have to change 7.0-RELEASE-p5 to just
7.0-RELEASE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   5   6   7   8   >