Re: FreeBSD Support for Fibre Channel Devices

2010-07-13 Thread Anton Shterenlikht
On Mon, Jul 12, 2010 at 03:06:03PM -0700, Tim Gustafson wrote:
  isp(4)
  mpt(4)
 
 Hrmm, I guess I should phrase the question this way:
 
 I have installed a Fibre Channel card into a new FreeBSD 8.x box.  I have 
 both isp(4) and mpt(4) are loaded and the device still doesn't appear in 
 /dev.  pciconf shows:
 
 no...@pci0:8:1:0: class=0x0c0400 card=0x656c1242 chip=0x15601242 rev=0xb2 
 hdr=0x00
  vendor   = 'Jaycor Networks Inc'
  device   = 'Dual Channel 2 Gb/s Fibre Channel-PCI-X (JNIC-1560)'
  class= serial bus
  subclass = Fibre Channel
 
 So I'm guessing that this device is unsupported.  So, what I was trying to 
 ascertain from my original question is: does anyone have any FreeBSD 
 experience with a Fibre Channel card that they like under FreeBSD that I can 
 replace this one with?
 
 Basically I'm asking for a recommendation along the lines of I have card X 
 and it works beautifully.  :)

I have X card and it workd beautifully.

On ia64 -current I have:

i...@pci0:192:1:0:  class=0x0c0400 card=0x12d6103c chip=0x24221077 rev=0x02 
hdr=0x00
vendor = 'QLogic Corporation'
device = 'QLogic PCI to Fibre Channel Host Adapter for QLA2460 
(ISP2422)'
class  = serial bus
subclass   = Fibre Channel

which gives:

da1 at isp0 bus 0 scbus2 target 0 lun 1
da1: COMPAQ MSA1000 VOLUME 4.32 Fixed Direct Access SCSI-4 device 
da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 
PortID 0x1
da1: Command Queueing enabled
da1: 69460MB (142255575 512 byte sectors: 255H 63S/T 8855C)
da2 at isp0 bus 0 scbus2 target 0 lun 2
da2: COMPAQ MSA1000 VOLUME 4.32 Fixed Direct Access SCSI-4 device 
da2: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 
PortID 0x1
da2: Command Queueing enabled
da2: 69460MB (142255575 512 byte sectors: 255H 63S/T 8855C)

As you can see my disk array is Compaq MSA1000.


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Staying up to date with security patches

2010-07-13 Thread Alexandre L.
The full process is described here : 
http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html

Alexandre

--- En date de : Lun 12.7.10, Michael mlmichae...@gmail.com a écrit :

 De: Michael mlmichae...@gmail.com
 Objet: Re: Staying up to date with security patches
 À: Mike Clarke jmc-freeb...@milibyte.co.uk
 Cc: freebsd-questions@freebsd.org
 Date: Lundi 12 juillet 2010, 19h31
 On 02/07/2010 22:58, Mike Clarke
 wrote:
  On Friday 02 July 2010, Ed Flecko wrote:
  
  Since I will be doing a custom kernel at some
 point, I won't use
  freebsd-update, I'm using cvsup instead.
  
  The alternative would be to just use the source code
 patches from the
  security-advisories mailing list. That way you don't
 have to rebuild
  the whole base system each time, though some of the
 patches will
  require the kernel to be rebuilt.
  
 
 That's what I used to do and it works. Only trouble is that
 in some cases it turns out that it's not enough to simply
 follow instructions from security advisory. You have to
 manually make other parts of the system otherwise updating
 will fail. I found it somewhat confusing and time
 consuming.
 
 Now I'm using freebsd-update with my custom built kernel
 and it also works fine. I just have to remember to rebuild
 and reinstall my kernel every time after using
 freebsd-update (or in fact only when kernel code is
 affected). That way I got very quick and no-brainer system
 updates.
 Is it not advised to do it this way?
 
 Michael
 ___
 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


How can i know if the freebsd kernel need to be updated ?

2010-07-13 Thread zaxis

Now i use the following commands to maintain my freebsd box.

portsnap fetch update
pkg_version -vIL=
portupgrade -R xxx

It works great for software installed through ports. However, how can i know
if the kernel needs to be updated ?

Sincerely! 

-
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/How-can-i-know-if-the-freebsd-kernel-need-to-be-updated---tp29147737p29147737.html
Sent from the freebsd-questions mailing list archive at Nabble.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


trouble mounting USB digital camera

2010-07-13 Thread Anton Shterenlikht
I'm trying to mount USB digital camera
to FBSD -current (either i386 or amd64).

I get to 

ugen1.2: Eastman Kodak Company at usbus1

in dmesg, but no block device appears,
so I'm not sure how to mount this device.

Does the procedure for mounding USB camera
devices differ from that form USB flash drives?

Please advise

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble mounting USB digital camera

2010-07-13 Thread Polytropon
On Tue, 13 Jul 2010 09:59:21 +0100, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 I'm trying to mount USB digital camera
 to FBSD -current (either i386 or amd64).
 
 I get to 
 
   ugen1.2: Eastman Kodak Company at usbus1
 
 in dmesg, but no block device appears,
 so I'm not sure how to mount this device.

There may be two reasons:

a) The camera does identify as ugen because it has to be interfaced
   like a camera device; use photo2 or gtkam to obtain content.
   This means you cannot actually mount it, but use a program to
   control its actions.

b) The camera can use both modes, as decribed in a) as well as a
   direct access mode; use the camera's setting to switch to the
   USB storage mode. Then you can easily mount it.



 Does the procedure for mounding USB camera
 devices differ from that form USB flash drives?

No. As long as the camera does identify to the system as a direct
access storage device (da), same procedures apply.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: databases/php5-odbc vs. libiodbc

2010-07-13 Thread Pietro Cerutti
On 2010-Jun-15, 19:21, Kyryll A Mirnenko aka Mirya wrote:
   Currently the databases/php5-odbc PHP extension is hardcoded to be compiled 
 with unixODBC backend, so the users that have libiodbc installed (as a 
 dependency of kde4 ports, for ex.) can't installed the first 'cause those two 
 ODBC ports conflict with each other.
   The php-odbc configure script however says (./configure --help) it can be 
 compiled with iODBC support (--with-iodbc=/usr/local), but for some reason 
 simply replacing the configure script arguments for the port (with libiodbc 
 installed from ports) result in nothing being done: the configure script 
 creates the Makefile with empty target, so nothing is built actually.
   Did anyone have success before with building php5-odbc lniked to iodbc 
 backend?

I've been able have the php5-odbc extension link against libiodbc by
applying this patch [1] to lang/php5. I haven't conducted any run-tests,
though. Please feel free to report success / failure :)

[1] http://people.freebsd.org/~gahr/Makefile.ext.diff

-- 
Pietro Cerutti
The FreeBSD Project
g...@freebsd.org

PGP Public Key:
http://gahr.ch/pgp


pgpN03aRYEJZy.pgp
Description: PGP signature


Re: trouble mounting USB digital camera

2010-07-13 Thread Vladimir Kushnir

Hi Anton.

On Tue, 13 Jul 2010, Anton Shterenlikht wrote:


I'm trying to mount USB digital camera
to FBSD -current (either i386 or amd64).

I get to

ugen1.2: Eastman Kodak Company at usbus1

in dmesg, but no block device appears,
so I'm not sure how to mount this device.

Does the procedure for mounding USB camera
devices differ from that form USB flash drives?



Yes it looks like your camera uses PTP protocol (precisely like mine 
Kodak C340 does). In this case you don't mount it at all and use 
graphics/libgphoto2 based photo transfer/management programs instead (they 
are: console graphics/gphoto2, KDE3 based graphics/digikam, KDE4 
graphics/digikam-kde4, GTK+ graphics/gtkam, MONO graphics/f-spot and so on 
- make your choice)


Regards,
Vladimir
___
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


Help needed : FreeBSD 8.1 / xorg / xf86-video-intel / dell400

2010-07-13 Thread Henri-Pierre Charles
Hello, I've a dell d400 laptop quite old but still usefull. I've upgraded to
8.1-RC2 which seem ok. It was perfectly functionnal with FreeBSD 8.0
and the freebsd-8.0-release packages.

My usual way to upgrade packages is to pkg_delete -a  pkg_add -r a list
of my usual softwares which come from ports/i386/i386/packages-8.1-release/
which contain xf86-video-intel-2.7.1_3  xorg-7.5

It's impossible to have a graphical output

(1) Using video-intel the system hang immediately without any message

I've also tried to add :
      Option     DRI off                  # [bool]
      Option     NoAccel on               # [bool]
 in my /etc/X11/xorg.conf Device section : still hang

I've try to patch  i830_display.c:i830_crtc_load_lut as suggested in another
thread, the system does not hang but has a black screen


(2) Using video-vesa X fail with a message :
 (EE) VESA(0): No valid modes
 (EE) Screen(s) found, but none have a usable configuration.

I've put all the possible information here :
http://henripierre.charles.free.fr/Xorg-Intel/
- pciconf -lv
- xorg.conf
- Xorg.0.log for intel driver, intel patched driver, vesa driver .

I've tried to modify my initial xorg.conf without any success. Is
there a solution,
(even with a not accelerated solution) or am I obliged to downgrade to
8.0 to keep
FreeBSD or install a modern ubuntu (troll inside :-) ? Any idea or clue ?

Cheers

--
HPC   http://ticetmensonges.blog.free.fr
___
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: Help needed : FreeBSD 8.1 / xorg / xf86-video-intel / dell400

2010-07-13 Thread ait

On 07/13/2010 15:37, Henri-Pierre Charles wrote:

Hello, I've a dell d400 laptop quite old but still usefull. I've upgraded to
8.1-RC2 which seem ok. It was perfectly functionnal with FreeBSD 8.0
and the freebsd-8.0-release packages.

My usual way to upgrade packages is to pkg_delete -a  pkg_add -r a list
of my usual softwares which come from ports/i386/i386/packages-8.1-release/
which contain xf86-video-intel-2.7.1_3  xorg-7.5

It's impossible to have a graphical output

(1) Using video-intel the system hang immediately without any message

I've also tried to add :
   Option DRI off  # [bool]
   Option NoAccel on   # [bool]
  in my /etc/X11/xorg.conf Device section : still hang

I've try to patch  i830_display.c:i830_crtc_load_lut as suggested in another
thread, the system does not hang but has a black screen


(2) Using video-vesa X fail with a message :
  (EE) VESA(0): No valid modes
  (EE) Screen(s) found, but none have a usable configuration.

I've put all the possible information here :
http://henripierre.charles.free.fr/Xorg-Intel/
- pciconf -lv
- xorg.conf
- Xorg.0.log for intel driver, intel patched driver, vesa driver .

I've tried to modify my initial xorg.conf without any success. Is
there a solution,
(even with a not accelerated solution) or am I obliged to downgrade to
8.0 to keep
FreeBSD or install a modern ubuntu (troll inside :-) ? Any idea or clue ?

Cheers

--
HPC   http://ticetmensonges.blog.free.fr


I have the same troubles on my old Asus laptop. Intel video and xv video 
mode has been in unusable state for quite a while actually.


You may want to look at this thread in the forums:

http://forums.freebsd.org/showthread.php?t=15686

--
Best wishes,

Dmitry.


___
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


rrdtool and perl 5.10 not playing nice

2010-07-13 Thread Rob Byrnes
I have seen this issue on two machines now, but this particular
instance is on a newly built one.

I run munin to collect and graph stats on my network from this box.
net-mgmt/munin-master depends on perl and rrdtool. I installed perl
5.10 from ports and then installed munin-master. rrdtool was built as
a dependency with the default port knobs:

r...@aylee /usr/ports/databases/rrdtool # make showconfig
=== The following configuration options are available for rrdtool-1.4.3:
 DEJAVU=off Use DejaVu fonts (requires X11)
 MMAP=on Use mmap in rrd_update
 PERL_MODULE=on Build PERL module
 PYTHON_MODULE=off Build PYTHON bindings
 RUBY_MODULE=off Build RUBY bindings


I'm seeing this error from munin:

Can't locate RRDs.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.10.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.10.1/mach
+/usr/local/lib/perl5/site_perl/5.10.1
/usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at
+/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
line 18.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
line 18.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
Compilation failed in require at /usr/local/share/munin/munin-update
line 13.
BEGIN failed--compilation aborted at
/usr/local/share/munin/munin-update line 13.

RRDs.pm does exist:

r...@aylee /root # find /usr/local/lib/perl5 -name RRDs.pm
/usr/local/lib/perl5/site_perl/5.10.1/Log/Log4perl/Appender/RRDs.pm

Not knowing anything of perl, what can I do to fix this?  It has only
occurred since upgrading to/installing perl 5.10

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


Re: trouble mounting USB digital camera

2010-07-13 Thread Anton Shterenlikht
On Tue, Jul 13, 2010 at 12:25:17PM +0300, Vladimir Kushnir wrote:
 Hi Anton.
 
 On Tue, 13 Jul 2010, Anton Shterenlikht wrote:
 
  I'm trying to mount USB digital camera
  to FBSD -current (either i386 or amd64).
 
  I get to
 
  ugen1.2: Eastman Kodak Company at usbus1
 
  in dmesg, but no block device appears,
  so I'm not sure how to mount this device.
 
  Does the procedure for mounding USB camera
  devices differ from that form USB flash drives?
 
 
 Yes it looks like your camera uses PTP protocol (precisely like mine 
 Kodak C340 does). In this case you don't mount it at all and use 
 graphics/libgphoto2 based photo transfer/management programs instead (they 
 are: console graphics/gphoto2, KDE3 based graphics/digikam, KDE4 
 graphics/digikam-kde4, GTK+ graphics/gtkam, MONO graphics/f-spot and so on 
 - make your choice)

many thanks, graphics/gphoto2 worked well, I got my pictures.

thank you for your help

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble mounting USB digital camera

2010-07-13 Thread Anton Shterenlikht
On Tue, Jul 13, 2010 at 12:15:40PM +0200, Polytropon wrote:
 On Tue, 13 Jul 2010 09:59:21 +0100, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
  I'm trying to mount USB digital camera
  to FBSD -current (either i386 or amd64).
  
  I get to 
  
  ugen1.2: Eastman Kodak Company at usbus1
  
  in dmesg, but no block device appears,
  so I'm not sure how to mount this device.
 
 There may be two reasons:
 
 a) The camera does identify as ugen because it has to be interfaced
like a camera device; use photo2 or gtkam to obtain content.
This means you cannot actually mount it, but use a program to
control its actions.
 
 b) The camera can use both modes, as decribed in a) as well as a
direct access mode; use the camera's setting to switch to the
USB storage mode. Then you can easily mount it.

This is some ancient Kodak DC280.
I couldn't find how to do (b),
but (a) worked fine.

many thanks for your help

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


ath(4) card /* Hardware revision not supported */

2010-07-13 Thread Anton Shterenlikht
I've Icom SL-5200 CardBus wireless card, which is detected as:

ath0: Atheros 5212 mem 0xb7fb-0xb7fb irq 20 at device 0.0 on cardbus0
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 13
device_attach: ath0 attach returned 6

and 

a...@pci0:3:0:0:class=0x02 card=0x000817dd chip=0x0013168c rev=0x01 
hdr=0x00
vendor = 'Atheros Communications Inc.'
device = '802.11a/b/g Wireless Adapter (AR2312)'
class  = network
subclass   = ethernet

Looking at /usr/src/sys/dev/ath/ath_hal/ah.h
status 13 is:

HAL_ENOTSUPP= 13,   /* Hardware revision not supported */

I've 2 questions:

1. Is this card AR5212 or AR2312? Or both? Or neither?
AR5212 is listed in ath(4) as supported, but AR2312
is not.

2. Does Hardware revision not supported mean this
card is too new? Too old? 

many thanks
anton



-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble mounting USB digital camera

2010-07-13 Thread Polytropon
On Tue, 13 Jul 2010 15:59:30 +0100, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 This is some ancient Kodak DC280.
 I couldn't find how to do (b),
 but (a) worked fine.

It's quite possible that this camera is PTP only, so using programs
like gphoto2, gtkam or digikam are a very easy way to use them - and
gphoto2 can also be used to automate things.

The Kodak DC280 really looks ancient (that's nothing bad per se), in
fact, I thought I looked at my Kodak DC210 because the rear panel
nearly looks the same; this one IS ancient because it doesn't even
have USB - it's serial connected.

I think your camera has a CF card you can eject? In this case, you
can, if available, use an USB card reader to go the regular mount
way. So if you wish to use a mount-based way of accessing files,
maybe using the pure card is a way to go.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: trouble mounting USB digital camera

2010-07-13 Thread Anton Shterenlikht
On Tue, Jul 13, 2010 at 05:52:11PM +0200, Polytropon wrote:
 On Tue, 13 Jul 2010 15:59:30 +0100, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
  This is some ancient Kodak DC280.
  I couldn't find how to do (b),
  but (a) worked fine.
 
 It's quite possible that this camera is PTP only, so using programs
 like gphoto2, gtkam or digikam are a very easy way to use them - and
 gphoto2 can also be used to automate things.
 
 The Kodak DC280 really looks ancient (that's nothing bad per se), in
 fact, I thought I looked at my Kodak DC210 because the rear panel
 nearly looks the same; this one IS ancient because it doesn't even
 have USB - it's serial connected.
 
 I think your camera has a CF card you can eject? In this case, you
 can, if available, use an USB card reader to go the regular mount
 way. So if you wish to use a mount-based way of accessing files,
 maybe using the pure card is a way to go.

well.. I do hope that I'll find a better camera
lying around next time. This one has some problems
with focus as well.

Anyway, gphoto2 is an excellent program, it does
all I need, so I don't really need to do anything
else.

many thanks for your advice

anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


Clarification: Jail -vs- Chroot

2010-07-13 Thread Ed Flecko
Hi folks,
I'm reading about jails and chroot, and I'm not clear about the
differences so I'm hoping someone can clarify this for me.

Here's what I think is correct:

1.) FreeBSD has both chroot capability as well as jail capability.

2.) Only FreeBSD has true, jail functionality? Yes?...No?

3.) When reading something (book, article, etc.), is there a way to
determine if the author is, in fact, talking about truly a jail or
are they really just referring to a chroot environment? For example,
I have a book (Preventing web attacks with Apache) that says:

Chroot is short for change root and essentially allows you to run
programs in a protected or jailed environment. The main benefit of a
chroot jail is that the jail will limit the portion of the file system
the daemon can see to the root directory of the jail. Additionally,
since the jail only needs to support Apache, the programs available in
the jail can be extremely limited.

4.) Jail is the more secure of the two options?

5.) When would you typically use a jail -vs- a chroot? The new, 2nd
edition of Absolute FreeBSD says:

Chrooting is useful for web servers that have multiple clients on one
machine—that is, web servers with many virtual hosts.

Comments??? Suggestions???

Thank you!

Ed
___
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: Clarification: Jail -vs- Chroot

2010-07-13 Thread Julian Fagir
Hi,

 1.) FreeBSD has both chroot capability as well as jail capability.
Yes, it has both of them. You still want to use chroot, also it is kind of
'part' of a jail (technically perhaps it's implemented separately).

 2.) Only FreeBSD has true, jail functionality? Yes?...No?
In Solaris, you have zones, and there are several projects to do the same
thing with Linux (Linux-vserver etc).

 3.) When reading something (book, article, etc.), is there a way to
 determine if the author is, in fact, talking about truly a jail or
 are they really just referring to a chroot environment? For example,
 I have a book (Preventing web attacks with Apache) that says:
 
 Chroot is short for change root and essentially allows you to run
 programs in a protected or jailed environment. The main benefit of a
 chroot jail is that the jail will limit the portion of the file system
 the daemon can see to the root directory of the jail. Additionally,
 since the jail only needs to support Apache, the programs available in
 the jail can be extremely limited.
Usually, only FreeBSD-specific books will talk about jails, as chroot is the
generic Unix-way for that. Anyway, in many cases you can use a jail for the
same things a chroot-environment is talked about.
In this case, I think he's really talking about a chroot, as he's only
talking about the file system, not the network etc.

 4.) Jail is the more secure of the two options?
I cannot really answer this, but a jail is the more separated way. So, I
would say, a jail is more secure. If the extras of a jail are not needed, it
is perhaps more insecure, as there are more points to break into theu system.
But, don't rely on my answer, I never looked at the kernel-side of jails the
very technical way.

 5.) When would you typically use a jail -vs- a chroot? The new, 2nd
 edition of Absolute FreeBSD says:
 
 Chrooting is useful for web servers that have multiple clients on one
 machine—that is, web servers with many virtual hosts.
On the FreeBSD-machines I manage, I use chroot for the services that are not
that security-relevant or can easily be separated, i.e. on some
distributions you can put your apache or bind easily into a
chroot-environment.
Also, a chroot-environment can have other targets than a jail, e.g. if you
only want to have another file system-visibility instead of a new jail as you
do when you have to start with a live-cd into a non-booting system.


Sorry for my English. :)
Regards, Julian
___
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


login.conf: passwordtime not enforced?

2010-07-13 Thread Fernan Aguero
Hi,

after reading some docs about hardening freebsd installations, I
decided to enforce password expiration after 90days. I've added the
corresponding line to /etc/login.conf and ... after quite some time
(way more than 3 months already!) nothing happens ...

Just googled around, and noticed this functionality seems to be absent
from the base system ... only passwd(1) seems to honor this value, but
truth is, when I need to use passwd(1) it's because I want to change
the password myself!

There is a post that mentions that having blowfish (instead of md5) as
a 'passwd_format' works ...
http://www.daemonforums.org/showpost.php?s=41d1e0ba423c94357afe805dbe0b2730p=17826postcount=5

However, I wonder if it worked for the author of the post, only
because he manually set the password expiry date using 'pw usermod
[username] -p [date]'

Any ideas on how to enforce this? Do I have to manually use pw(1) every 90 days?

-- 
fernan

PS: other references to this problem:
http://markmail.org/message/f5b5o3vsyo7pcozf
http://lists.freebsd.org/pipermail/freebsd-security/2008-September/004934.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: D-Link DWA-556 and hostap

2010-07-13 Thread Emiel van de Laar
On Jul 13, 2010, at 5:03 AM, Nathan Lay wrote:

 Hi list,
 I read that the D-Link DWA-556 uses the AR5008 chipset.  Anyone using it?  
 Does it work well for hostap (at least for 11g)?  I'm a bit unsure because 
 I've read that AR5008 has hardware bugs.  However, I am a fan of ath(4) ... 
 it has served me well in the past.  However, I'm considering building a Mini 
 ITX system that has only one PCI-E x4 slot.  My choices seem to be DWA-556 
 (AR5008) and Asus PCE-N13 (RT2860), both of which are PCI-E x1 cards.
 
 How about Marvell-based wireless cards (mwl(4))?  I haven't been able to find 
 any card with a Marvell chipset in it!


I got a D-Link DWA-556 a couple of days ago. Works fine for me in 11g mode. 
Have not tried hostap.

ath0: Atheros 5416 mem 0xfd9f-0xfd9f irq 19 at device 0.0 on pci4
ath0: [ITHREAD]
ath0: AR5418 mac 12.10 RF2133 phy 8.1

I'm running 8.1-RC2 now.

Hoping for 11n driver support soon. ;)

Cheers,

 - Emiel van de Laar


___
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


Dell SAS5/IR

2010-07-13 Thread Grant Peel
Hi all,

I was attempiting to restage a server last night to no avail. It is a Dell 860 
with a LSI SAS (Dell SAS5/SI) controller. 

This was happening when I was dumping the filesystems from a USB memory stick 
(da1s1) to the hard drive (Seagate 76 GIG SAS - da0s1).

Can anyone tell me if they have seen this before? or if it is a Hard disk 
problem, or a problem with the SAS controller, or is it a FreeBSD problem?

I ahve donwloaded the latest SAS firmware and installed it, ran the Dell 32 Bit 
diags,  ran the drive diagnostics, etc etc and everything passes with no errors.

I simply cant install dumps, or install a fresh copy of freebsd.

I have snapshots of what the console iis showing, but in a nutshell:

(da0:mpt:0:0:0:0): Synchonize cahce failed, status =0x4a, scsi status = 0x0
(da0:mpt:0:0:0:0): removing device entry
Device /da0s1e went missing before all of the data could be written to it, 
expect data loss

I have snapshots if anyone wants me to send them off list.

Any possible resalutions ?

TIA,

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


os that rather uses the gpu?

2010-07-13 Thread Jozsi Avadkan
Does someone know a distribution/operating system, that rather uses the
GPU for working, not the CPU? [by default]

Or this solution is still in the beginning part?

Thanks for any tips, link, suggestions.

___
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: os that rather uses the gpu?

2010-07-13 Thread Bruce Cran
On Tue, 13 Jul 2010 22:46:15 +0200
Jozsi Avadkan jozsi.avad...@gmail.com wrote:

 Does someone know a distribution/operating system, that rather uses
 the GPU for working, not the CPU? [by default]

GPUs are so specialized that you probably won't ever find an operating
system being run in one: the performance would be terrible. It's far
better to only offload certain applications that have been designed to
run on such a highly parallel system.

-- 
Bruce Cran
___
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: What chipset is the Asus PCE-N13?

2010-07-13 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sun Jul 11 18:36:44 2010
 Date: Sun, 11 Jul 2010 19:20:46 -0400
 From: Nathan Lay ns...@comcast.net
 To: freebsd-questions@freebsd.org
 Subject: What chipset is the Asus PCE-N13?

 Hi list,
 I can't seem to find anything about this wireless adapter. 

then you didn't try very hard. grin

Google for Asus PCE-N13 chipset show that it is Ralink 2860 based.

Ralink supplies a Linux driver.

___
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: os that rather uses the gpu?

2010-07-13 Thread Chuck Swiger
On Jul 13, 2010, at 1:46 PM, Jozsi Avadkan wrote:
 Does someone know a distribution/operating system, that rather uses the
 GPU for working, not the CPU? [by default]

Nope.  The notion doesn't make much sense, either-- the GPU isn't connected in 
the fashion needed to receive interrupts the way a CPU does.

Regards,
-- 
-Chuck

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


Re: Dell SAS5/IR

2010-07-13 Thread Adam Vande More
On Tue, Jul 13, 2010 at 3:30 PM, Grant Peel gp...@thenetnow.com wrote:

 Hi all,

 I was attempiting to restage a server last night to no avail. It is a Dell
 860 with a LSI SAS (Dell SAS5/SI) controller.

 This was happening when I was dumping the filesystems from a USB memory
 stick (da1s1) to the hard drive (Seagate 76 GIG SAS - da0s1).

 Can anyone tell me if they have seen this before? or if it is a Hard disk
 problem, or a problem with the SAS controller, or is it a FreeBSD problem?

 I ahve donwloaded the latest SAS firmware and installed it, ran the Dell 32
 Bit diags,  ran the drive diagnostics, etc etc and everything passes with no
 errors.

 I simply cant install dumps, or install a fresh copy of freebsd.

 I have snapshots of what the console iis showing, but in a nutshell:

 (da0:mpt:0:0:0:0): Synchonize cahce failed, status =0x4a, scsi status = 0x0
 (da0:mpt:0:0:0:0): removing device entry
 Device /da0s1e went missing before all of the data could be written to it,
 expect data loss

 I have snapshots if anyone wants me to send them off list.

 Any possible resalutions ?


The way I read your problem is that you are dumping a slice with partitions
to another slice correct?

I don't think that works, dump(1) works on the filesystem level, so a
partition by partition dump and restore is needed.

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


Gnome theme and window preferences not completely honored

2010-07-13 Thread Willoughby, Steve
I'm running FreeBSD 8.1-RC1 with Gnome 2.30.0 and am having a strange issue 
where I can set almost everything about the desktop appearance using the theme 
settings and the preferences tool, except the window decorations never change 
(internal icons, colors, etc, do) and things like focus-follows-mouse don't 
appear to be honored by the window manager.  

Going into the gconf editor shows that, for example, 
apps.metacity.general.focus_mode=sloppy, but I still have to click to type.

I am probably missing something simple and obvious here, but I'm not spotting 
it yet.  What can I look for next?

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


Re: os that rather uses the gpu?

2010-07-13 Thread b. f.
 On Tue, 13 Jul 2010 22:46:15 +0200
 Jozsi Avadkan jozsi.avadkan at gmail.com wrote:

  Does someone know a distribution/operating system, that rather uses
  the GPU for working, not the CPU? [by default]

Not exclusively, no.  But there are developments, still mostly in the
research stage, for software allowing heterogeneous computing
platforms of CPUs and GPUs to offload more work onto the GPUs; and
there are some experimental architectures, like Intel Larrabee, that
are CPU/GPU hybrids.

See, for example:

http://en.wikipedia.org/wiki/GPGPU
http://en.wikipedia.org/wiki/Larrabee_(microarchitecture)


b.
___
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 anyone Reproduce this Gstreamer-plugins compile error?

2010-07-13 Thread Koop Mast
On Tue, 2010-07-13 at 14:52 -0700, Chris Maness wrote:
 `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.29/sys/ximage'
   CC libgstximagesink_la-ximagesink.lo
 In file included from ximagesink.c:111:
 ximagesink.h:35:33: error: X11/extensions/XShm.h: No such file or
 directory
 In file included from ximagesink.c:111:
 ximagesink.h:150: error: expected specifier-qualifier-list before
 'XShmSegmentInfo'
 ximagesink.c: In function 'gst_ximage_buffer_finalize': 

Seems some files from x11/libXext went missing, try to reinstall that
and check gstreamer-plugins again.

-Koop

___
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 anyone Reproduce this Gstreamer-plugins compile error?

2010-07-13 Thread Chris Maness
On Tue, Jul 13, 2010 at 4:16 PM, Koop Mast k...@rainbow-runner.nl wrote:
 On Tue, 2010-07-13 at 14:52 -0700, Chris Maness wrote:
 `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.29/sys/ximage'
   CC     libgstximagesink_la-ximagesink.lo
 In file included from ximagesink.c:111:
 ximagesink.h:35:33: error: X11/extensions/XShm.h: No such file or
 directory
 In file included from ximagesink.c:111:
 ximagesink.h:150: error: expected specifier-qualifier-list before
 'XShmSegmentInfo'
 ximagesink.c: In function 'gst_ximage_buffer_finalize':

 Seems some files from x11/libXext went missing, try to reinstall that
 and check gstreamer-plugins again.

 -Koop



I am currently rebuilding all up and downstream depends on X11lib, and
I think libXext is included.  I was also not able to rebuild
ImageMagic, hopefully it is the same issue.  The ultimate goal for me
is virtualbox-ose, but man my ports are old and crusty and giving me a
fit when I go to install things that have more complex depends even
though I have portupgraded all ports, invariably enough fail to give
me problems later on.  I am tempted to rip all the ports out and
install again, but this is a production web and mail server for my
personal business and my Church's site.

Thanks,
Chris Maness
___
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: Clarification: Jail -vs- Chroot

2010-07-13 Thread Aiza

Ed Flecko wrote:

Hi folks,
I'm reading about jails and chroot, and I'm not clear about the
differences so I'm hoping someone can clarify this for me.

Here's what I think is correct:

1.) FreeBSD has both chroot capability as well as jail capability.

2.) Only FreeBSD has true, jail functionality? Yes?...No?

3.) When reading something (book, article, etc.), is there a way to
determine if the author is, in fact, talking about truly a jail or
are they really just referring to a chroot environment? For example,
I have a book (Preventing web attacks with Apache) that says:

Chroot is short for change root and essentially allows you to run
programs in a protected or jailed environment. The main benefit of a
chroot jail is that the jail will limit the portion of the file system
the daemon can see to the root directory of the jail. Additionally,
since the jail only needs to support Apache, the programs available in
the jail can be extremely limited.

4.) Jail is the more secure of the two options?

5.) When would you typically use a jail -vs- a chroot? The new, 2nd
edition of Absolute FreeBSD says:

Chrooting is useful for web servers that have multiple clients on one
machine—that is, web servers with many virtual hosts.

Comments??? Suggestions???

Thank you!

Ed


Well let me take a shot at this. First of all we are only talking about 
the FreeBSD operating system. The ability to chroot a directory tree has 
been available since RELEASES 2.0. The jail utility first appeared in 
RELEASE 4.0. The jail utility is just a basic effort to automate the 
building and administration of an chrooted directory tree which is 
pretty much useless unless it contains a complete copy of the Freebsd 
operating system binaries. The major short coming of the jail command 
jail system is each jail has it's own copy of the hosts running system 
binaries. Freebsd reserves a limited number of control structures for 
storing files and directories, called inodes. Creating a few jails 
consumes many of these valuable inodes, eventually preventing the 
creation of new jails and new files on the host. Worst yet is each jail 
loads it's own copy of it's running binaries into memory which causes 
thrashing on the swap device as memory pages are swapped in and out as 
the limited memory is shared between the host and jails. Besides 
consuming resources and creating performance degradation, this also 
causes a major administration headache when wanting to update the host 
running system, because the host and the jails all have to be running 
the same RELEASE version.


Now with some considerable hand jobbing per the jail section of the 
handbook, a jail environment can be created where by a single copy of 
the jailed running binaries are shared among all the jails. But this 
still leaves you with an administration nightmare as the number of jails 
deployed grows past 5. Now there are some ports in the port system that 
are utility wrappers around the jail command that tries to address this 
administration nightmare. My experience with these are they are very 
poorly documented and you really need to have a good grasp on how jails 
work and network ip address usage before they are useful. Their easy of 
use quickly evaporates as the number of jails deployed reaches 10.


The next generation of a jail utility for the deployment of a large 
number of jails is in project phase right now. Keep checking the ports 
system for qjail.


Now about what to run in a jail. Well since each jail is like a complete 
stand-a-lone operating system, you can populate it with any application 
you want. The real limitation is how is that jail going to gain public 
internet access so the domain name of your apache website can be found 
and accessed. A static ip address is pretty much required, though with 
some creative ip address assignments this can be circumvented. Thats a 
whole other subject area.














___
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: .sh check for sufix g or m on size field

2010-07-13 Thread Chad Perrin
On Mon, Jul 12, 2010 at 08:58:05AM -0700, Chip Camden wrote:
 Quoth Aiza on Monday, 12 July 2010:
  Sorry miss send, was not done yet.
  
  Have a .sh script that accepts an -s sparse file size.
  Only 2 suffix's are valid m and g.
  
  Been trying to get this line of code to strip out just the single 
  letter. But it strips the letter and every thing to the right of it.
  
  Timagesize=`echo-n ${imagesize} | sed 's/g.*$//'`
  
  I plan to strip just the m or g if its there and the result should be 
  numeric. If not numeric know invalid suffix.
  
  Need help with the sed syntax. Or if there is better way I want to learn 
  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
 
 It sounds like what you want is simply:
 
 sed 's/[gm]//'
 
 Or am I missing something?

I get the impression it's something more like this:

sed 's/[gm]$//'

I'm not sure, but there may be a need to check whether the rest of the
line is solely numeric, too.  The original question was not exactly clear
on that point.

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


pgpxVfg5ChZoS.pgp
Description: PGP signature


Re: Wacom tablet driver port doesn't seem to work

2010-07-13 Thread Chad Perrin
On Mon, Jul 12, 2010 at 09:04:10AM -0700, Chip Camden wrote:
 
 Looks like this may be it:
 
 /usr/local/lib/xorg/modules/input/wacom_drv.so

Alas, I do not have that file either.  There are, in fact, no files with
wacom anywhere in the path on this system other than the files in the
input-wacom port.

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


pgpxAprb8G77f.pgp
Description: PGP signature


Re: rrdtool and perl 5.10 not playing nice

2010-07-13 Thread Rob Byrnes
On 13 July 2010 22:59, Rob Byrnes rbyr...@gmail.com wrote:
 I have seen this issue on two machines now, but this particular
 instance is on a newly built one.

 I run munin to collect and graph stats on my network from this box.
 net-mgmt/munin-master depends on perl and rrdtool. I installed perl
 5.10 from ports and then installed munin-master. rrdtool was built as
 a dependency with the default port knobs:

 r...@aylee /usr/ports/databases/rrdtool # make showconfig
 === The following configuration options are available for rrdtool-1.4.3:
     DEJAVU=off Use DejaVu fonts (requires X11)
     MMAP=on Use mmap in rrd_update
     PERL_MODULE=on Build PERL module
     PYTHON_MODULE=off Build PYTHON bindings
     RUBY_MODULE=off Build RUBY bindings


 I'm seeing this error from munin:

 Can't locate RRDs.pm in @INC (@INC contains:
 /usr/local/lib/perl5/5.10.1/BSDPAN
 /usr/local/lib/perl5/site_perl/5.10.1/mach
 +/usr/local/lib/perl5/site_perl/5.10.1
 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at
 +/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
 Compilation failed in require at
 /usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
 line 18.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
 line 18.
 Compilation failed in require at
 /usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
 Compilation failed in require at /usr/local/share/munin/munin-update
 line 13.
 BEGIN failed--compilation aborted at
 /usr/local/share/munin/munin-update line 13.

 RRDs.pm does exist:

 r...@aylee /root # find /usr/local/lib/perl5 -name RRDs.pm
 /usr/local/lib/perl5/site_perl/5.10.1/Log/Log4perl/Appender/RRDs.pm

 Not knowing anything of perl, what can I do to fix this?  It has only
 occurred since upgrading to/installing perl 5.10

More info - while using portmaster -f rrdtool to forcibly reinstall
rrdtool, I get these messages:

pkg_delete: package 'rrdtool-1.4.3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
munin-master-1.4.4
pkg_delete: file '/usr/local/lib/perl5/5.10.1/man/man3/RRDs.3.gz' doesn't exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/RRDs.so' doesn't
exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/RRDs.bs' doesn't
exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/.packlist'
doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.10.1/mach/RRDs.pm'
doesn't exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs' doesn't exist
pkg_delete: unable to completely remove directory
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

so it appears that these files are not actually being installed -
could this be a bug in rrdtool or the port?

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


Re: .sh check for sufix g or m on size field

2010-07-13 Thread Chad Perrin
On Tue, Jul 13, 2010 at 08:59:54AM +0800, Aiza wrote:
 
 This is real close but it allows a numeric value through as valid which 
 is not a valid condition. The $size value has to be suffixed with g or m 
 to be valid. A numeric value only or a numeric value suffixed with 
 anything else than m or g is invalid.

What exactly is your desired behavior for input containing something
other than a series of numbers and either a 'g' or an 'm'?  What *should*
happen if you get '25gm' as input, since the preceding example was not
sufficient for your needs?  Please clarify your requirements.

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


pgpNCVvuvwgos.pgp
Description: PGP signature


Shaping torrent traffic?

2010-07-13 Thread Modulok
How do I catch torrent traffic with a pf.conf rule? It doesn't operate
on any standard port numbers.

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


Re: Wacom tablet driver port doesn't seem to work

2010-07-13 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 13 July 2010:
 On Mon, Jul 12, 2010 at 09:04:10AM -0700, Chip Camden wrote:
  
  Looks like this may be it:
  
  /usr/local/lib/xorg/modules/input/wacom_drv.so
 
 Alas, I do not have that file either.  There are, in fact, no files with
 wacom anywhere in the path on this system other than the files in the
 input-wacom port.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Interesting.  After I built the port here, that file was new.  I'm afraid
I don't know anything more to be able to help.

You did try make clean deinstall reinstall, right?

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpBaaNUqqLnX.pgp
Description: PGP signature


Re: Shaping torrent traffic?

2010-07-13 Thread David Brodbeck


On Jul 13, 2010, at 4:59 PM, Modulok wrote:


How do I catch torrent traffic with a pf.conf rule? It doesn't operate
on any standard port numbers.


If you have control of the client, most bittorrent clients offer  
throttling capability.


I've also had pretty good luck approaching it as a negative question  
-- in other words, creating rules for all the other important  
traffic I expect, then shaping everything that's left over.


___
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: login.conf: passwordtime not enforced?

2010-07-13 Thread b. f.
after reading some docs about hardening freebsd installations, I
 decided to enforce password expiration after 90days. I've added the
 corresponding line to /etc/login.conf and ... after quite some time
 (way more than 3 months already!) nothing happens ...

If you want help, you'll have to be more specific.  Exactly what
changes did you make to login.conf, in what sections?  Did you run
'cap_mkdb /etc/login.conf' afterwards?  Did you then reset your
account passwords and check the sixth colon-delimited field in
/etc/master.passwd with 'date -r' for each account changed, to see if
the appropriate expiration date was registered?  Next time you make a
change like this, test it with a short expiration time (a minute or
two, say) on a non-critical account to see if works instead of waiting
three months to discover that it does not.

 Any ideas on how to enforce this? Do I have to manually use pw(1) every 90 
 days?

No, you shouldn't have to if you use the feature properly.  You'll be
prompted immediately after login for a new password if your old one
has expired.


b.
___
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


jail date and time

2010-07-13 Thread Derek Funk
how do i change the date and time within a jail? Host date and time are 
correct why isn't the jails?


date yymmddhhmm returns

date: settimeofday (timeval): Operation not permitted

Derek

___
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: jail date and time

2010-07-13 Thread Dan Nelson
In the last episode (Jul 13), Derek Funk said:
 how do i change the date and time within a jail? Host date and time are 
 correct why isn't the jails?
 
 date yymmddhhmm returns
 
 date: settimeofday (timeval): Operation not permitted

Jails share the same clock as the host.  Are you sure you don't just need to
set the timezone in your jail (run tzsetup, or copy the hosts's
/etc/localtime into the jail)?

-- 
Dan Nelson
dnel...@allantgroup.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


Re: Wacom tablet driver port doesn't seem to work

2010-07-13 Thread Chad Perrin
On Tue, Jul 13, 2010 at 05:06:22PM -0700, Chip Camden wrote:
 Quoth Chad Perrin on Tuesday, 13 July 2010:
  
  Alas, I do not have that file either.  There are, in fact, no files with
  wacom anywhere in the path on this system other than the files in the
  input-wacom port.
 
 Interesting.  After I built the port here, that file was new.  I'm afraid
 I don't know anything more to be able to help.
 
 You did try make clean deinstall reinstall, right?

Something appears to have changed.  About the fourth time I tried
deinstalling and reinstalling (using a different approach each time), it
finally produced the wacom_drv.so file.  I'm not sure what that's all
about.

Of course, I'm not sure what the heck to do with that file now that I
have it.  It's a shared object file, which suggests to me that it should
be used automatically by any software that needs it, but its presence
doesn't appear to have any effect on the problem of my touchscreen not
working.  Any ideas?

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


pgpYmNLkJl5IB.pgp
Description: PGP signature


Re: Local cvs repository

2010-07-13 Thread Tim Judd
On 7/12/10, Peter Boosten pe...@boosten.org wrote:
 Hi all,

 I run a local cvs repository for year now, but since a couple of days I
 get these on the clients:

 Server message: Unknown collection src-all
 Server message: Unknown collection ports-all

But you still have your source and ports tree on the clients?

Sometimes these kind of messages are relating to the tag being used on
the cvs mirror (your side, not the grand cvsup*.*.freebsd.org)


Please check the config of your cvsup mirror actions, not just the logs.




 The result is that neither the source nor the ports will get updated.

 The update script on the repository server always ends with 'Finished
 successfully'.

 Anyone an idea?

 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

___
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