Re: Jails and Hardware security

2010-02-02 Thread C. C. Tang
I think you may write your only rule set for that jail in /etc/devfs.rules and specify it by using the line: jail_(jailname)_devfs_ruleset=(rule_name) in /etc/rc.conf Or corresponding line in /usr/local/etc/ezjail/(jailname) if you are using ezjail. Regards, C.C. On 1/31/2010 6:27 AM, Jay

USB Tape Drives

2010-02-02 Thread Andrea Venturoli
Hello. Just a quick question before I buy... Are USB tape drives working? On 7.2? On 8.0? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: using leds on laptop

2010-02-02 Thread Paul B Mahol
On 2/1/10, Eitan Adler eitanadlerl...@gmail.com wrote: It is a Broadcom card and I need ndis to use it. I do not know if the light is attached to the wireless card though (it appears next to the power and charging lights) ndis0: Broadcom 802.11g Network Adapter mem 0xf470-0xf4703fff irq 18

Re: fixing up port dependencies

2010-02-02 Thread Jerry
On Mon, 1 Feb 2010 21:35:58 -0800 John W jwde...@gmail.com articulated: Is the most correct solution just to wait until all maintainers of ports which depend on p5-Email-Simple-Creator each update their makefiles to depend on p5-Email-Simple, instead? (Though that doesn't help in the short

crontab

2010-02-02 Thread Nadir Aliyev
Hello friends. I have interesting situation with cron. I created a simple script for process monitoring: #!/usr/local/bin/bash processname=`/bin/ps aux | /usr/bin/grep -v grep | /usr/bin/grep -c 'maintenance_jobs.php'` if [ $processname -le 0 ]; then echo `/bin/date` JOB WAS DEAD.

Re: How far to go with jailing?

2010-02-02 Thread Bill Moran
On 2/1/10 8:57 PM, Jeff Mitchell wrote: Strikes me that setting up jails for bloody-well-every-other service might be 'fun' .. Jail the webserver; seems a logical break, and keep you honest for your partitioning. No more ~/public_html to access it I suppose, but much mroe secure for when

shell redirection

2010-02-02 Thread Stefan Miklosovic
hi I have a shell script and I would like to do something like this $ ./script.sh somefile After that, I can, just say, write content of that file on the screen. I would like to know, how to do that in script, I dont know that tricky redirection things ... thanks a lot

Bulding release in a jail????

2010-02-02 Thread Goran Lowkrantz
I am trying to get a working release build environment in a jail but it fails because the release script needs to mount devfs in the chrooted build environment and the md devices used to build the images. I have set the following syscontrols vfs.usermount=1 security.jail.mount_allowed=1

Re: Bulding release in a jail????

2010-02-02 Thread Christer Solskogen
On Tue, Feb 2, 2010 at 2:28 PM, Goran Lowkrantz goran.lowkra...@ismobile.com wrote: but still can't mount inside the jail. Try adding jail_jailname_devfs_enable=YES in rc.conf and restart your jail. -- chs, ___ freebsd-questions@freebsd.org mailing

Re: Bulding release in a jail????

2010-02-02 Thread Goran Lowkrantz
Well, it's not the jail devfs that's the problem, it's the one that needs to be mounted in the jailed release chroot, in my case under /usr/jails/release/usr/home/release/8/dev. The jail devfs is where it should be, /usr/jails/release/dev, that's no problem. /glz --On February 2, 2010

Re: shell redirection

2010-02-02 Thread Igor V. Ruzanov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Feb 2010, Stefan Miklosovic wrote: |hi | |I have a shell script and I would like to do something like this | |$ ./script.sh somefile | You could do kind of the following things: example.sh: #!/bin/sh read new /dev/stdin echo $new After

mkisofs strangeness

2010-02-02 Thread Alexander Best
hi there. i'm using mkisofs 2.01.01a72 (from the ports dir) with the following switches to produce an iso image: mkisofs -iso-level 3 -r -J -input-charset ISO-8859-15 -joliet-long -V XYZ -o ~/image.iso filename i've been using mkisofs this way for years. however suddenly instead of creating an

Re: Swap Partition First?

2010-02-02 Thread Martin McCormick
I figured out a way to install swap as the only fixed-sized partition such that whatever is left is marked as BSD (165) but I am not sure if this is a workable solution so I am asking for suggestions. If I set up the disk label reference file as follows: # /dev/ad0s1: 8

.zshrc

2010-02-02 Thread Dánielisz László
hi, I am new in this and I have a question about it: I done my .zshrc but the zsh is not loading the configuration from it. There are the details: # cat .zshrc export HISTFILE=~/.zsh_history export HISTSIZE=5 export SAVEHIST=5 alias hhistory 25 alias jjobs -l alias lals -a alias lfls

Re: Swap Partition First?

2010-02-02 Thread Jerry McAllister
On Tue, Feb 02, 2010 at 11:28:13AM -0600, Martin McCormick wrote: I figured out a way to install swap as the only fixed-sized partition such that whatever is left is marked as BSD (165) but I am not sure if this is a workable solution so I am asking for suggestions. If I set up

Re: .zshrc

2010-02-02 Thread Polytropon
Sorry for not directly answering your question, but allow me a sidenote that may safe you some trouble in the future: You're modifying root's dialog shell. You should not do that. In case of a problem where the system only boots in maintenance mode (SUM), you won't be able to fix things because

Re : .zshrc

2010-02-02 Thread Alexandre L.
I can't help you with ZSH but I think it is not a good idea to replace root's default shell. You will have problem if your system break. see http://forums.freebsd.org/showthread.php?t=2194 and http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2009-01/msg00202.html --- En date de : Mar

Re: Swap Partition First?

2010-02-02 Thread Martin McCormick
Jerry McAllister writes: This could be a problem. I think using the '*' for size will cause it to use the whole remaining space for that partition. Even though it logically starts at 2097152, it might not come out even on a good boundary or something like that. It really seems to like to

Re: .zshrc

2010-02-02 Thread Ed Jobs
On Tuesday 02 of February 2010 20:41, Polytropon wrote: I've taken your .zshrc content and installed zsh, but whenever I started it, echo $SHELL tells me it is /bin/csh... so I'm much more clueless now... :-) the $SHELL variable does not change when you run a subshell. but the shell is

Re: .zshrc

2010-02-02 Thread Dánielisz László
Thanks for everybody the advices, I changed my mind and I want to apply zsh only for local user, tryed the .zshrc but still not working. From: Ed Jobs olori...@gmail.com To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 8:33:07 PM Subject: Re:

Re: .zshrc

2010-02-02 Thread Polytropon
On Tue, 2 Feb 2010 11:49:30 -0800 (PST), Dánielisz László laszlo_daniel...@yahoo.com wrote: Thanks for everybody the advices, I changed my mind and I want to apply zsh only for local user, tryed the .zshrc but still not working. Can you post the current content of the user's .zshrc? Have you

Re: .zshrc

2010-02-02 Thread Dánielisz László
Sure, here it is: % cat .zshrc # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1 setopt appendhistory bindkey -e alias vi vim # End of lines configured by zsh-newuser-install Actually I made a new one for my local user.

Re: GCC broken?

2010-02-02 Thread Lowell Gilbert
Bernt Hansson be...@bah.homeip.net writes: Hello listreaders! I'm trying to build qt4-webkit 4.6.1 But it fails or i fail to build it. Is it GCC? The machine is not overheating an has a low load, it's my desktop. CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+ (3214.65-MHz K8-class

burncd issue

2010-02-02 Thread Dánielisz László
hi, I found another problem :) I'm using burncd about a while but today I have the following error while trying to write a dvd: burncd -f /dev/acd0 data pats-tt2.iso fixate next writeable LBA 2352 writing from file pats-tt2.iso size 4579840 KB written this track 1568 KB (0%) total 1568 KB

wps to odt?

2010-02-02 Thread Gary Kline
is there such a converter that sends m$ Works [.wps] to odt? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php

Re: burncd issue

2010-02-02 Thread Dánielisz László
It looks like I'm to tired today :-) I think installing dvd+rw-tools and cdrtools might fix the problem with growisofs, but I still don't know why burncd is not working. From: Dánielisz László laszlo_daniel...@yahoo.com To: freebsd-questions@freebsd.org Sent:

Re: .zshrc

2010-02-02 Thread Ed Jobs
On Tuesday 02 of February 2010 22:59, Dánielisz László wrote: alias vi vim use: alias vi=vim -- Real programmers don't document. If it was hard to write, it should be hard to understand. signature.asc Description: This is a digitally signed message part.

Re: .zshrc

2010-02-02 Thread Polytropon
On Tue, 2 Feb 2010 12:59:04 -0800 (PST), Dánielisz László laszlo_daniel...@yahoo.com wrote: Sure, here it is: % cat .zshrc # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1 Looks good. setopt appendhistory bindkey -e This too. alias vi

Re: .zshrc

2010-02-02 Thread Dánielisz László
Great, it is working! From: Ed Jobs olori...@gmail.com To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:13:29 PM Subject: Re: .zshrc On Tuesday 02 of February 2010 22:59, Dánielisz László wrote: alias vi vim use: alias vi=vim -- Real

Re: burncd issue

2010-02-02 Thread Dánielisz László
It looks that I should recompile my kernel for using growisofs # growisofs -dvd-compat -speed=4 -Z /dev/acd0=pats-tts2.iso :-( unable to open64(pats-tts2.iso,O_RDONLY): No such file or directory # camcontrol devlist -v scbus-1 on xpt0 bus 0: at scbus-1 target -1

Re: burncd issue

2010-02-02 Thread Dánielisz László
Well, I fixed that too by adding the following lines to /boot/loader.conf: atapicam_load=YES hw.ata.atapi_dma=1 DVD writing is in progress: 517341184/4689756160 (11.0%) @3.9x, remaining 14:14 RBU 100.0% UBU 53.1% 535756800/4689756160 (11.4%) @4.0x, remaining 14:05 RBU 100.0% UBU 65.3%

Re: GCC broken?

2010-02-02 Thread Michael Powell
Bernt Hansson wrote: Hello listreaders! I'm trying to build qt4-webkit 4.6.1 But it fails or i fail to build it. Is it GCC? The machine is not overheating an has a low load, it's my desktop. I just did this upgrade a few days to maybe a week ago with no problems. Stop in

Re: burncd issue

2010-02-02 Thread Polytropon
On Tue, 2 Feb 2010 13:30:13 -0800 (PST), Dánielisz László laszlo_daniel...@yahoo.com wrote: It looks that I should recompile my kernel for using growisofs No, you should read man growisofs. :-) Honestly: You're trying to run growisofs on an acd device: # growisofs -dvd-compat -speed=4 -Z

How does Sysinstall Mount File Systems?

2010-02-02 Thread Martin McCormick
How does one tell sysinstall to use an existing disk that is already formatted? Thank you. Martin McCormick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: How does Sysinstall Mount File Systems?

2010-02-02 Thread Polytropon
On Tue, 02 Feb 2010 15:56:17 -0600, Martin McCormick mar...@dc.cis.okstate.edu wrote: How does one tell sysinstall to use an existing disk that is already formatted? If I interpret your question correctly, you are intending to ask how sysinstall can install on an already sliced, partitioned

Re: wps to odt?

2010-02-02 Thread andrew clarke
On Tue 2010-02-02 12:44:41 UTC-0800, Gary Kline (kl...@thought.org) wrote: is there such a converter that sends m$ Works [.wps] to odt? AbiWord. And a quick-and-dirty shell script to convert all .wps (Microsoft Works) word processor files in the current directory to .odt (OpenDocument Text):

Re: How does Sysinstall Mount File Systems?

2010-02-02 Thread Jerry McAllister
On Tue, Feb 02, 2010 at 03:56:17PM -0600, Martin McCormick wrote: How does one tell sysinstall to use an existing disk that is already formatted? It should come up in the list of available drives. Just select it and proceed. It will overwrite the part that you tell it too. The most likely

Adding march mtune to /etc/make.conf

2010-02-02 Thread Carmel
I read somewhere that adding the following to the /etc/make.conf file would improve system performance: march=native mtune=native Is there any truth to this? I an running 32-bit I386 Freebsd on a 64-bit processor. The main reason being that the is (was) no native 64-bit drivers

Re: wps to odt?

2010-02-02 Thread Gary Kline
On Wed, Feb 03, 2010 at 09:20:50AM +1100, andrew clarke wrote: On Tue 2010-02-02 12:44:41 UTC-0800, Gary Kline (kl...@thought.org) wrote: is there such a converter that sends m$ Works [.wps] to odt? AbiWord. And a quick-and-dirty shell script to convert all .wps (Microsoft Works) word

Re: How does Sysinstall Mount File Systems?

2010-02-02 Thread Martin McCormick
Polytropon writes: If I interpret your question correctly, you are intending to ask how sysinstall can install on an already sliced, partitioned Correct. and formatted disk; is this correct? You chose Custom for the installation. In the partition editor, you assign the the located

Re: wps to odt?

2010-02-02 Thread Mike Jeays
On February 2, 2010 07:35:42 pm Gary Kline wrote: On Wed, Feb 03, 2010 at 09:20:50AM +1100, andrew clarke wrote: On Tue 2010-02-02 12:44:41 UTC-0800, Gary Kline (kl...@thought.org) wrote: is there such a converter that sends m$ Works [.wps] to odt? AbiWord. And a quick-and-dirty

Re: wps to odt?

2010-02-02 Thread andrew clarke
On Tue 2010-02-02 16:35:42 UTC-0800, Gary Kline (kl...@thought.org) wrote: outstanding! but if abiword can grow wps [thru hook or crook], i might as well use abiword [?] I think AbiWord will only read WPS format, not write it. pps: i did try abiword, first, just % abiword

can't make an 'a' slice except with auto-defaults

2010-02-02 Thread Steve Franks
On a running system. I mean, I know I should quit being a %^# and read the manpage for bsdlabel, but sysintall really does have a nice tui.'C'reate slice goes straight to 'd', even on a 'fresh' disk. I see in the handbook, this is alluded to, but some intermediate level between begginer and

Delivery reports about your e-mail [Incident:100201-010615]

2010-02-02 Thread The BigPond Team
--- Thanks for contacting BigPond.We aim to respond to your email query within two business days, however due to a larger than expected demand for our services wait times are currently exceeding two business days. We apologise for any

kmem_size / arc_max ratio

2010-02-02 Thread Rolf Nielsen
Hello everyone, I recently installed more RAM in my computer; increased it from 4GB to 8GB. Mainly to be able to use a larger arc for zfs. Now my question is, how much memory does the kernel need apart from the arc? I currently have kmem_size_max 512MB bigger than arc_max. I haven't run into

Re: ssh/sshd cores dump

2010-02-02 Thread Olivier Nicole
Hi again, I have this weird error since yesterday, one a system that used to be working nicely, suddenly: ssh cores dump when run as non priviledged user, works fine for root sshd aborts on signal 11 [... see my previous mails?] This seems to be a problem linked to openssl from the ports

Disabling openssl from ports

2010-02-02 Thread Olivier Nicole
Hi, I have one port, namely /usr/ports/www/pound that needs the version of openssl from the ports (/usr/ports/security/openssl). But others ports works way better with the stock openssl from the system. Is there a configuration somewhere that could be used to say that no-one except pound

FreeBSD Traffic Shaping

2010-02-02 Thread alexus
Hi I'm trying to do traffic shaping with FreeBSD, here are my rules su-3.2# ipfw pipe show 1: 1.000 Mbit/s0 ms 50 sl. 1 queues (1 buckets) droptail mask: 0x00 0x/0x - 0x/0x BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp 0