Re: congrlations to the freebsd developers

2007-11-17 Thread [LoN]Kamikaze
Aryeh M. Friedman wrote:
> 2. I meant features  not formats and since I am using amd64 no wine

Setting up FreeBSD i386 in a jail seems to do the job for most people. You can
have a whole i386 system in a jail and it won't even recognize it's running on
an amd64 kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread [LoN]Kamikaze
Gary Kline wrote:
> Okay, I've set vfs.usermount=1, but both totem and kmplayer
> refuse to play my audio-CD.  Using #mount alone (as root)
> doesn't say anything about /dev/acd0.  I have tried to mount 
> the CD ::

Just start cdcontrol and enter play.

You don't need any entries in /etc/fstab to play audio CDs. Only the rights to
access the device /dev/acd0 have to be set. If other applications cannot play
CD-audio, you just have to configure them to use the right device.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs

2007-11-17 Thread Yuri
Quoting "Brian A. Seklecki" <[EMAIL PROTECTED]>:

> 
> Normally that means that the drive is not ready to burn (Door not closed, 
> or media not ready).  Its possible that the driver is sensing that data 
> wrong from the hardware, too.
> 
> You only have the one drive in the system?  No possible /dev/ confusion?
> 
> Try cdrtools (Good luck with the syntax)
> 

No, door is closed and there is only one device.
Actually cdrecord works ok. So I guess this is is some bug with burncd.
burncd is obsolete anyway.

It's wrong that handbook still recommends to use cdrecord on ATAPI cd-writer.

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


Re: Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs

2007-11-17 Thread Brian A. Seklecki


Normally that means that the drive is not ready to burn (Door not closed, 
or media not ready).  Its possible that the driver is sensing that data 
wrong from the hardware, too.


You only have the one drive in the system?  No possible /dev/ confusion?

Try cdrtools (Good luck with the syntax)

~BAS

On Sat, 17 Nov 2007, Yuri wrote:




Are you using burncd(1) or ports/sysutils/cdrtools ?

Are you getting DMA errors to kernel msgbuf or simple 1-line I/O
error?


I am using burncd.
There is only one-line I/O error.



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

"Guilty? Yeah. But he knows it. I mean, you're guilty.
You just don't know it. So who's really in jail?"
~Maynard James Keenan

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


Re: Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs

2007-11-17 Thread Yuri

> Are you using burncd(1) or ports/sysutils/cdrtools ?
> 
> Are you getting DMA errors to kernel msgbuf or simple 1-line I/O
> error?  

I am using burncd.
There is only one-line I/O error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Gary Kline
On Sat, Nov 17, 2007 at 02:40:18PM -0800, Garrett Cooper wrote:
> 
>Even though audio CDs use the ISO-9660 standard, they aren't really 
> mountable (depends on how you look at the problem, i.e. what OS you use, 
> and what audio playing app you use).
>Specifying the /dev node or mount point (via the application / 
> plugin preferences), without trying to mount the actual disk, will most 
> likely yield the results you want.
> Cheers,
> -Garrett

Well, live 'n' learn. Of course, then mmore you think aboutit,
the CD's and DVD's are read-only.   No need to mount them.
One of these decades, I'll write up a long article on how-to use
these disks; and how to copy  them as well.  It alll works; 
it's just more autoomated under the Ubuntu fork of Debian 

gary


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


The FreeBSD Diary: 2007-10-28 - 2007-11-17

2007-11-17 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs

2007-11-17 Thread Brian A. Seklecki

On Sat, 2007-11-17 at 20:26 -0800, Yuri wrote:
> I bought the new DVD writer -- Pioneer DVR-112D.
> 
> But every time I try to write data CD or audio CD it gives Input/Output error.
> 
> It can read CDs and write and read DVDs no problem.
> 
> Anybody else has this problem? What is the solution?


Are you using burncd(1) or ports/sysutils/cdrtools ?

Are you getting DMA errors to kernel msgbuf or simple 1-line I/O
error?  

~BAS

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


Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs

2007-11-17 Thread Yuri
I bought the new DVD writer -- Pioneer DVR-112D.

But every time I try to write data CD or audio CD it gives Input/Output error.

It can read CDs and write and read DVDs no problem.

Anybody else has this problem? What is the solution?

I know I should submit PR to the bug database but since PRs are processed so
slowly I decided to ask here first.

acd0: DVDR  at ata0-master UDMA66
cd0:  Removable CD-ROM SCSI-0 device
I use FreeBSD-6.3-PRERELEASE.

I had Sony DVD writer before, it wrote CDs on the same system w/out problems.

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


Re: congrlations to the freebsd developers

2007-11-17 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Giorgos Keramidas wrote:
> On 2007-11-17 18:53, "Aryeh M. Friedman" <[EMAIL PROTECTED]>
> wrote:
>> M. Warner Losh wrote:
>>> You can run FreeBSD/i386 on amd64 boxes.
>> All the different methods people have suggested to me for doing
>> this has blown up also since I use a nvidia card it is almost
>> pointless unless I can run the nvidia kernel module.
>
> That's odd.
>
> The laptop I'm typing this is amd64-capable, but installing from
> the FreeBSD/i386 release CD-ROMs worked like a charm.  Which
> methods have you tried?

With 4GB and a E6850 (P35/IHC9(R)) almost all the pci devices I had
where reconized *EXCEPT* any nvdidia card under i386 this was
instantly "fixed" as soon I switched to amd64.   Even though I don't
feel like rehashing all the stuff that I had to go through to get some
stuff working (do a search for threads started by me) suffice it to
say that when  I first got the box 90% of the devices that the machine
came with either where not functional and/or had driver issues.
After working with the people on -current (and learning a fair amount
about the guts of FreeBSD) there are only 3 issues left:

1. The NIC slowly dies (see "re(4) slowly dies")

2. Problems reading/writting from dvd/cd (see the many threads on
ihc9 issues on -current [note to Jeremy the Phillips just arrived but
I am in the process of doing a portupgrade -afk so will test it tommorow])

3. The issues with nvidia kernel module on amd64 (alternativelly
does anyone know how hard it would be to get bettern 1024x768 with nv?)

- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHP7UVJ9+1V27SttsRAjlPAJ4wqFDaow0JvT23Copd3M27x5exXACdGT1+
VYEXsDwG7uUYUtuyqqQwK2M=
=8Tbq
-END PGP SIGNATURE-

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


Cyrus installed

2007-11-17 Thread jekillen

Hello:
I have installed Cyrus23 from ports and then read
the pkg-message and it has references to
/usr/local/cyrus and usr/local/etc/imapd.conf
both of which do not exist.
FreeBSD 6.2
Wouldn't the install have created these?
I have lots of docs on Cyrus and Postfix
but none specific to how ports does this.
I have postfix installed and running. Do I
have to redo it with cyrus support. One of
the documents I have seems to say yes.
I do not see anything specific in the
handbook.
Thanks in advance for guidance, suggestions
info, whatever;
Jeff k

___
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 know PID responsible for network connection/listen?

2007-11-17 Thread Chuck Robey

Tino Engel wrote:

Matthias Apitz schrieb:

El día Thursday, November 15, 2007 a las 11:20:30AM -0800, Yuri escribió:

 
'netstat -a' gives me the listing of network connection/listening 
records.

But there's no link to the process id that opened it.
With lots of processes this can be a significant problem to figure 
out who

opened which connection.



For example, for the port 25 you see it with:

# lsof -P | fgrep :25
sendmail  6462  root3uIPv4 0xc5c3ecb00t0 TCP 
localhost:25 (LISTEN)


i.e. the PID is 6462

HIH

matthias
  

ps -Al show the parent PID of each process.


I just moved from Linux, where the netstat does supply the info you're 
asking, and it took me a little time to find out that sockstat is where 
the info is, in FreeBSD.


Try sockstat.


___
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: Making mergemaster skip certain files

2007-11-17 Thread Howard Goldstein
Giorgos Keramidas wrote:
> On 2007-11-16 22:34, "J. Porter Clark" <[EMAIL PROTECTED]> wrote:
> mergemaster for more details, but here's a short description of what I
> use on my laptop for some time now:

Please consider submitting this as a PR in hopes it gets included in the
actual package.


> 
> 1. A `.mergemasterrc' file in the HOME directory of the `root' user,
>which contains:
> 
>   STRICT=no
>   MM_PRE_COMPARE_SCRIPT=/root/mm-pre-compare.sh
> 
> 2. The `/root/mm-pre-compare.sh' script contains the following:
> 
> #!/bin/sh
> 
> # NOTE: No PATH needed, because mm's PATH is already
>   # draconian enough.
> 
>   # If TEMPROOT is not set, or it is set to a path which
>   # resolves to the real root filesystem, abort early, before we
>   # trash the config files of the installed root filesystem.
> 
> if test -z "${TEMPROOT}" ; then
> echo >&2 "$0: error: TEMPROOT is unset or empty."
> exit 1
> fi
> p=`realpath "${TEMPROOT}"`
> if test "${p}" = '/' ; then
> echo >&2 "$0: error: TEMPROOT is the real root filesystem."
> exit 2
> fi
> 
> case "${PRE_WORLD}" in
> '')
> # The following files always have local changes.
> # Remove them from ${TEMPROOT} to force mergemaster(8)
> # to ignore these files when comparing /etc directories.
> 
> rm -f "${TEMPROOT}/.cshrc"
> rm -f "${TEMPROOT}/.profile"
> rm -f "${TEMPROOT}/root/.cshrc"
> rm -f "${TEMPROOT}/root/.profile"
> 
> rm -f "${TEMPROOT}/etc/hosts"
> rm -f "${TEMPROOT}/etc/networks"
> 
> rm -f "${TEMPROOT}/etc/motd"
> rm -f "${TEMPROOT}/etc/printcap"
> 
> ;;
> esac
> 
> ___
> 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: congrlations to the freebsd developers

2007-11-17 Thread John Levine
>> You can run FreeBSD/i386 on amd64 boxes.
>
>All the different methods people have suggested to me for doing this
>has blown up

You just boot the 386 install disk and install it, the same as you
do on any other 386 box.  Works great for me.

If you want to run some 386 applications on top of an amd64 kernel,
I agree that's a lot trickier.  If I had more time, I would work on
getting cross-compiling ports to work properly.


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


Re: congrlations to the freebsd developers

2007-11-17 Thread Giorgos Keramidas
On 2007-11-17 18:53, "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:
> M. Warner Losh wrote:
> > You can run FreeBSD/i386 on amd64 boxes.
>
> All the different methods people have suggested to me for doing this
> has blown up also since I use a nvidia card it is almost pointless
> unless I can run the nvidia kernel module.

That's odd.

The laptop I'm typing this is amd64-capable, but installing from the
FreeBSD/i386 release CD-ROMs worked like a charm.  Which methods have
you tried?

BTW, the i386 kernel module of nvidia should run fine on FreeBSD/i386.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Gary Kline
On Sun, Nov 18, 2007 at 12:14:51AM +0100, Roland Smith wrote:
> On Sat, Nov 17, 2007 at 02:13:19PM -0800, Gary Kline wrote:
> > Okay, I've set vfs.usermount=1, but both totem and kmplayer
> > refuse to play my audio-CD. 
> 
> You don't mount audio CDs. They don't carry a cd9660 filesystem.
> 
> Try something like this with a CD in the drive;
> 
> mplayer -cdrom-device /dev/acd0 cdda://1
> 
> Roland


Closer, perhaps, but the stderr is 

Plaaying cdda://1.
File not found: '1'

So whatever it's looking fo r  with "cdda://" is missing.
(There are 25, 35 tracks  on this CD.)

gary


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



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


Re: congrlations to the freebsd developers

2007-11-17 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]> "Aryeh M. Friedman"
> <[EMAIL PROTECTED]> writes: : After having the help of
> several developers to resolve hw issues on my : machine I have set
> up a 2 dual boot enviroment between 8-current (for : desktop use)
> and vista.I am just writting to say 8-current kicks : vista's
> ass in response time, stability [note 1], and almost every : other
> aspect except for end-user oriented office apps [note 2] and games.
>  : : Notes: : : 1.  As was posted in an other thread my nic still
> has a slow death issue : 2. I meant features  not formats and since
> I am using amd64 no wine
>
> You can run FreeBSD/i386 on amd64 boxes.

All the different methods people have suggested to me for doing this
has blown up also since I use a nvidia card it is almost pointless
unless I can run the nvidia kernel module.

- --Aryeh

- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHP37nJ9+1V27SttsRAuEsAJ9FN80TH243ApUahdvBkxES2KbBZgCcCEpZ
AD9ACLTTvbnhrBHrxhk7JnA=
=68JJ
-END PGP SIGNATURE-

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


Re: congrlations to the freebsd developers

2007-11-17 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
"Aryeh M. Friedman" <[EMAIL PROTECTED]> writes:
: After having the help of several developers to resolve hw issues on my
: machine I have set up a 2 dual boot enviroment between 8-current (for
: desktop use) and vista.I am just writting to say 8-current kicks
: vista's ass in response time, stability [note 1], and almost every
: other aspect except for end-user oriented office apps [note 2] and games.
: 
: Notes:
: 
: 1.  As was posted in an other thread my nic still has a slow death issue
: 2. I meant features  not formats and since I am using amd64 no wine

You can run FreeBSD/i386 on amd64 boxes.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Giorgos Keramidas
On 2007-11-17 14:13, Gary Kline <[EMAIL PROTECTED]> wrote:
>On Sat, Nov 17, 2007 at 08:03:25PM +0200, Giorgos Keramidas wrote:
>>On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:
>>> On Nov 16, 2007, at 10:56 PM, Yeef wrote:
 this is work for me  freebsd 6.2-RELEASE

 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0

 you should use root mount it.
>>>
>>> Or set vfs.usermount to 1, if I remember right.  I can't recall what's
>>> the proper method for setting it at boot, rc.conf or loader.conf.  The
>>> default is 0, which is what I have it set to, more to annoy me than
>>> security (personal server behind a buggy router/firewall).
>>
>>  man sysctl.conf
>>
>> That's the proper place to put `vfs.usermount=1'.
>
>  Okay, I've set vfs.usermount=1, but both totem and kmplayer
>  refuse to play my audio-CD.  Using #mount alone (as root)
>  doesn't say anything about /dev/acd0.  I have tried to mount
>  the CD ::
>
>  [EMAIL PROTECTED]:/dev# mount_cd9660 /dev/acd0 /media/cdroms/0
>  mount_cd9660: /dev/acd0: Invalid argument

You are not trying to _mount_ an audio CD-ROM, right?

If you are, then please read carefully the Handbook chapter about
multimedia and CD-ROM/DVD-ROM disks.  It will help a lot :)

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Roland Smith
On Sat, Nov 17, 2007 at 02:13:19PM -0800, Gary Kline wrote:
>   Okay, I've set vfs.usermount=1, but both totem and kmplayer
>   refuse to play my audio-CD. 

You don't mount audio CDs. They don't carry a cd9660 filesystem.

Try something like this with a CD in the drive;

mplayer -cdrom-device /dev/acd0 cdda://1

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


pgp4MQ3EwQHzG.pgp
Description: PGP signature


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Chuck Robey

Joshua Isom wrote:


On Nov 16, 2007, at 10:56 PM, Yeef wrote:


this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

you should use root mount it.


Or set vfs.usermount to 1, if I remember right.  I can't recall what's 
the proper method for setting it at boot, rc.conf or loader.conf.  The 
default is 0, which is what I have it set to, more to annoy me than 
security(personal server behind a buggy router/firewall).


I have a dvd-rw and cd-rw in the same box, and I haven't recalled any 
problems with access(except from dvd speed which I'm hoping for an 
answer or fix for) or writing.



On Nov 17, 2007 12:50 PM, Gary Kline <[EMAIL PROTECTED]> wrote:

On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:

I think I have this page bookmarked; can't find it.  I'll try
"rw" and "ro".   Can either you or David explain why I get a
popup error: Can't mount volume. [?] When I clicked on the
Details, it says:

mount_cd9660: /dev/acd1: Operation not permitted

I click  on "System" (upper left) -> Preferences ->
"Removable Drives and Media Prederences"  and select every
peermissions box.   Nothing.   (I'm using a data disk, not
audio.)


Gary, I've watched for this to go awhile before i went and jumped in, to 
ask my question ... it's about my cdrom drive, whic is a sony, one 
that's been 100% reliable for me, I used it regularly under linux with 
k3b to burn stuff.  Now, under FreeBSD, k3b won't even recognize it as a 
ro or rw cd drive at all.  I can coax burncd to burn bootable disks 
successfully with it, but after the command completes, all further 
accesses to the drive return "device busy", and I have to reboot FreeBSD 
in order to even eject the cd.  The only way I even knew the disk was ok 
was because afterwards, it tried to boot the machine from the disk image 
of a FreeBSD boot disk (which is what I was burning, for a different 
machine, an AMD64 next to it).  Lucky that this machine is even binarily 
compatible (the Intel box is a 64 bit processor, so it boots AMD64 fine, 
but I didn't install it that way).


Anyhow, how could I either coax k3b to recognize it, or get burncd to 
let the disk go after it's finished with it?

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Garrett Cooper

Gary Kline wrote:

On Sat, Nov 17, 2007 at 08:03:25PM +0200, Giorgos Keramidas wrote:
  

On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:


On Nov 16, 2007, at 10:56 PM, Yeef wrote:
  

this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

you should use root mount it.


Or set vfs.usermount to 1, if I remember right.  I can't recall what's
the proper method for setting it at boot, rc.conf or loader.conf.  The
default is 0, which is what I have it set to, more to annoy me than
security (personal server behind a buggy router/firewall).
  

man sysctl.conf

That's the proper place to put `vfs.usermount=1'.




Okay, I've set vfs.usermount=1, but both totem and kmplayer
refuse to play my audio-CD.  Using #mount alone (as root)
	doesn't say anything about /dev/acd0.  I have tried to mount 
	the CD ::


[EMAIL PROTECTED]:/dev# mount_cd9660 /dev/acd0 /media/cdroms/0
mount_cd9660: /dev/acd0: Invalid argument

	and 


[EMAIL PROTECTED]:/dev# mount_cd9660  /media/cdroms/0 /dev/acd0
mount_cd9660: /dev/acd0: not a directory

In /, media and its subdirectories are mode 777, and in
/dev, acd[01] are all 0666 char devices.

Any more places to mouse-click on or files/directories to
chown/chmod??

Oh: FWIW:


[EMAIL PROTECTED]:/dev# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad1s1d on /var (ufs, local)
/dev/ad1s1f on /usr (ufs, local, soft-updates)
/dev/ad1s1e on /home (ufs, local)
/dev/ad1s1g on /store (ufs, local, soft-updates)


gary


   Even though audio CDs use the ISO-9660 standard, they aren't really 
mountable (depends on how you look at the problem, i.e. what OS you use, 
and what audio playing app you use).
   Specifying the /dev node or mount point (via the application / 
plugin preferences), without trying to mount the actual disk, will most 
likely yield the results you want.

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


congrlations to the freebsd developers

2007-11-17 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

After having the help of several developers to resolve hw issues on my
machine I have set up a 2 dual boot enviroment between 8-current (for
desktop use) and vista.I am just writting to say 8-current kicks
vista's ass in response time, stability [note 1], and almost every
other aspect except for end-user oriented office apps [note 2] and games.

Notes:

1.  As was posted in an other thread my nic still has a slow death issue
2. I meant features  not formats and since I am using amd64 no wine

- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHPyUKJ9+1V27SttsRAq6FAJ91vQ/oxWGBN+IVqIsPXA8oWODgnACcCZ8a
T9/R/6Zz1tovsNtrvP0RU2s=
=g5sJ
-END PGP SIGNATURE-

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Gary Kline
On Sat, Nov 17, 2007 at 08:03:25PM +0200, Giorgos Keramidas wrote:
> On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:
> > On Nov 16, 2007, at 10:56 PM, Yeef wrote:
> >> this is work for me  freebsd 6.2-RELEASE
> >>
> >> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
> >>
> >> you should use root mount it.
> >
> > Or set vfs.usermount to 1, if I remember right.  I can't recall what's
> > the proper method for setting it at boot, rc.conf or loader.conf.  The
> > default is 0, which is what I have it set to, more to annoy me than
> > security (personal server behind a buggy router/firewall).
> 
>   man sysctl.conf
> 
> That's the proper place to put `vfs.usermount=1'.
> 

Okay, I've set vfs.usermount=1, but both totem and kmplayer
refuse to play my audio-CD.  Using #mount alone (as root)
doesn't say anything about /dev/acd0.  I have tried to mount 
the CD ::

[EMAIL PROTECTED]:/dev# mount_cd9660 /dev/acd0 /media/cdroms/0
mount_cd9660: /dev/acd0: Invalid argument

and 

[EMAIL PROTECTED]:/dev# mount_cd9660  /media/cdroms/0 /dev/acd0
mount_cd9660: /dev/acd0: not a directory

In /, media and its subdirectories are mode 777, and in
/dev, acd[01] are all 0666 char devices.

Any more places to mouse-click on or files/directories to
chown/chmod??

Oh: FWIW:


[EMAIL PROTECTED]:/dev# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad1s1d on /var (ufs, local)
/dev/ad1s1f on /usr (ufs, local, soft-updates)
/dev/ad1s1e on /home (ufs, local)
/dev/ad1s1g on /store (ufs, local, soft-updates)


gary


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


Re: Sealed Server

2007-11-17 Thread jekillen


On Nov 17, 2007, at 12:13 PM, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

jekillen wrote:

Hello;
I am planning on setting up Cyrus on a machine
and the documentation says that it is intended'
for use on 'sealed' servers (servers for which there
are no accounts that can log into the system)


This is really just trying to say that you don't need
a Unix login account in order to have an e-mail account
via Cyrus IMAPd.

Of course any server will require user accounts for its
administrators to be able to log in.



However:
If I use ssh to administer the system, I have to
set it up so I can ssh directly to root, right.


Wrong. The best practice is to require users to log in
as themselves (thus establishing some sort of audit trail)
and then use some program like su or sudo to gain rootly
powers.  At work we use a second instance of sshd bound to
a high-numbered port on the loopback so you can ssh to root
only after you've logged in and only if you've using
ssh-agent and your ssh public key is in root's
..ssh/authorized_keys file.

Thank you this answers these questions



and
Since there are references to use of MySQL
and the MySQL user is set up as a normal
user with a login/pwrd,


No -- mysql runs as a non-privileged user which doesn't need
to have any password set or any ability for anyone to get a
login session as the mysql user.  All that ID is for is to own
some files and the various mysqld processes.  This is a standard
practice with most long-running daemons exposed to the network:
it limits the damage that can be done by remote compromise of
the software.

and this accept, I know that MySQL has a separate set of user/passwords
and various levels of access privilege, When I built and installed 
MySQL I had
to create a mysql user as a normal user with password, unless I 
misunderstood.

Someone who knew this password would be able to log into the system as
user mysql (or the name that was given to mysqld to run as)

The best way to configure MySQL in that situation is to

* use 'skip-networking' in the configuration file.  This
  forces all connections to mysql to be via the unix domain
  socket in /tmp/mysql.sock

* Run 'mysql_secure_installation' to remove remote root access,
  set the root password, get rid of wildcarded logins etc.

* Review all user IDs and GRANTS carefully -- if you aren't using
  networking, then all your MySQL users should be
  'userid'@'localhost' Adopt a polict of *minimum privilege* --
  allow only the necessary access required for things to keep
  working.

* In order to prevent the MySQL root password being used routinely
  (which makes it far more likely to be disclosed), create a
  file /root/.my.cnf with contents like:

[client]
user = root
password = yourpassword

  Make sure the file is mode 600: read-write only for the owner
  With this in place, then once you've become the Unix root user
  you can then just type 'mysql' and get a root MySQL session
  without having to type any passwords.  ie. you rely on the
  security of your Unix root account to protect your MySQL
  root account.


Please forgive my lack of sophistication on this
issue, I am learning.
(I have also been looking at Dovecot)
I have assembled some documentation on this
but have not found a direct answer, thus the
query here.
system uses Postfix on FreeBSD 6.2


Dovecot is good, and its configuration -- particularly where stuff 
like SASL
is concerned -- is a lot easier for inexperienced users.  It will run 
a mail
server for tens of hundreds of users perfectly satisfactorily.  On the 
other
hand, if you're looking at thousands of users then Cyrus IMAPd is what 
you

need.


One FYI that may be of interest:
I had my own dns servers listed in
resolv.conf before the isp's dns servers
and messages sent from this machine
(FreeBSD w/Postfix) were failing to deliver
 to [EMAIL PROTECTED] due to dns lookup failures.
So I changed the order in resolv.conf (listing isp dns
servers first) and the messages were then delivered.
I  thought that if one server could not respond with
enough info, the next server would be tried until one
was successful (making order insignificant).


Sounds like your own recursive DNSes weren't actually working.
Flaky DNS is the cause of most of the delays or failures that
spoil your user experience:


That is probably the cause, but editing resolv.conf was the quick fix.


 until you've thoroughly mastered managing
DNS servers, I'd recommend using your ISPs servers.  Having
reliable DNS will help you a great deal while you are debugging
your mail server setup.

Actually they work fine for what I set them up for. It was the recursive
aspect that I had forgotten about, but as I remember, there was a
security issue with regard to recursive queries so I have them disabled.
I have the isp's servers set up to relay queries to in my primary  
named.conf

and that is probably what I hav

Re: Sealed Server

2007-11-17 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

jekillen wrote:
> Hello;
> I am planning on setting up Cyrus on a machine
> and the documentation says that it is intended'
> for use on 'sealed' servers (servers for which there
> are no accounts that can log into the system)

This is really just trying to say that you don't need
a Unix login account in order to have an e-mail account
via Cyrus IMAPd.

Of course any server will require user accounts for its
administrators to be able to log in.


> However:
> If I use ssh to administer the system, I have to
> set it up so I can ssh directly to root, right.

Wrong. The best practice is to require users to log in
as themselves (thus establishing some sort of audit trail)
and then use some program like su or sudo to gain rootly
powers.  At work we use a second instance of sshd bound to
a high-numbered port on the loopback so you can ssh to root
only after you've logged in and only if you've using
ssh-agent and your ssh public key is in root's
..ssh/authorized_keys file.

> and
> Since there are references to use of MySQL
> and the MySQL user is set up as a normal
> user with a login/pwrd,

No -- mysql runs as a non-privileged user which doesn't need
to have any password set or any ability for anyone to get a
login session as the mysql user.  All that ID is for is to own
some files and the various mysqld processes.  This is a standard
practice with most long-running daemons exposed to the network:
it limits the damage that can be done by remote compromise of
the software.

> How do I get around that? (have MySQL
> running on a different machine, or something?)

Unless you're running a particularly heavyweight Cyrus
installation (ie. lots of users + lots of e-mail) or you've 
got really weedy hardware, then you're better off running 
MySQL on the same machine as the rest of the mail system.

Remember that there is a completely separate set of logins
and passwords *within* MySQL -- nothing to do with the system
logins from /etc/passwd.

The best way to configure MySQL in that situation is to

* use 'skip-networking' in the configuration file.  This
  forces all connections to mysql to be via the unix domain
  socket in /tmp/mysql.sock

* Run 'mysql_secure_installation' to remove remote root access,
  set the root password, get rid of wildcarded logins etc.

* Review all user IDs and GRANTS carefully -- if you aren't using
  networking, then all your MySQL users should be
  'userid'@'localhost' Adopt a polict of *minimum privilege* --
  allow only the necessary access required for things to keep
  working.

* In order to prevent the MySQL root password being used routinely
  (which makes it far more likely to be disclosed), create a 
  file /root/.my.cnf with contents like:

[client]
user = root
password = yourpassword

  Make sure the file is mode 600: read-write only for the owner
  With this in place, then once you've become the Unix root user
  you can then just type 'mysql' and get a root MySQL session
  without having to type any passwords.  ie. you rely on the
  security of your Unix root account to protect your MySQL
  root account.

> Please forgive my lack of sophistication on this
> issue, I am learning.
> (I have also been looking at Dovecot)
> I have assembled some documentation on this
> but have not found a direct answer, thus the
> query here.
> system uses Postfix on FreeBSD 6.2

Dovecot is good, and its configuration -- particularly where stuff like SASL
is concerned -- is a lot easier for inexperienced users.  It will run a mail
server for tens of hundreds of users perfectly satisfactorily.  On the other
hand, if you're looking at thousands of users then Cyrus IMAPd is what you
need.

> One FYI that may be of interest:
> I had my own dns servers listed in
> resolv.conf before the isp's dns servers
> and messages sent from this machine
> (FreeBSD w/Postfix) were failing to deliver
>  to [EMAIL PROTECTED] due to dns lookup failures.
> So I changed the order in resolv.conf (listing isp dns
> servers first) and the messages were then delivered.
> I  thought that if one server could not respond with
> enough info, the next server would be tried until one
> was successful (making order insignificant).

Sounds like your own recursive DNSes weren't actually working.
Flaky DNS is the cause of most of the delays or failures that
spoil your user experience: until you've thoroughly mastered managing
DNS servers, I'd recommend using your ISPs servers.  Having
reliable DNS will help you a great deal while you are debugging
your mail server setup.

Cheers,

Matthew


- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (

Re: How to know PID responsible for network connection/listen?

2007-11-17 Thread Tino Engel

Matthias Apitz schrieb:

El día Thursday, November 15, 2007 a las 11:20:30AM -0800, Yuri escribió:

  

'netstat -a' gives me the listing of network connection/listening records.
But there's no link to the process id that opened it.
With lots of processes this can be a significant problem to figure out who
opened which connection.



For example, for the port 25 you see it with:

# lsof -P | fgrep :25
sendmail  6462  root3uIPv4 0xc5c3ecb00t0 TCP localhost:25 
(LISTEN)

i.e. the PID is 6462

HIH

matthias
  

ps -Al show the parent PID of each process.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sealed Server

2007-11-17 Thread jekillen

Hello;
I am planning on setting up Cyrus on a machine
and the documentation says that it is intended'
for use on 'sealed' servers (servers for which there
are no accounts that can log into the system)
However:
If I use ssh to administer the system, I have to
set it up so I can ssh directly to root, right.
and
Since there are references to use of MySQL
and the MySQL user is set up as a normal
user with a login/pwrd,
How do I get around that? (have MySQL
running on a different machine, or something?)
Please forgive my lack of sophistication on this
issue, I am learning.
(I have also been looking at Dovecot)
I have assembled some documentation on this
but have not found a direct answer, thus the
query here.
system uses Postfix on FreeBSD 6.2
One FYI that may be of interest:
I had my own dns servers listed in
resolv.conf before the isp's dns servers
and messages sent from this machine
(FreeBSD w/Postfix) were failing to deliver
 to [EMAIL PROTECTED] due to dns lookup failures.
So I changed the order in resolv.conf (listing isp dns
servers first) and the messages were then delivered.
I  thought that if one server could not respond with
enough info, the next server would be tried until one
was successful (making order insignificant).
Thank you for any info;
Jeff k

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


Re: Making mergemaster skip certain files

2007-11-17 Thread Giorgos Keramidas
On 2007-11-16 22:34, "J. Porter Clark" <[EMAIL PROTECTED]> wrote:
> Is there any way to keep certain files out of the reach of
> mergemaster?  I understand the need for carefully merging the
> old and the new, but I really shouldn't ever have to for files
> like these:
>
>   /etc/aliases
>   /etc/hosts
>   /etc/hosts.allow
>   /etc/manpath.config
>   ... and many others.

You can hook into mergemaster, using shell scripts.  See the manpage of
mergemaster for more details, but here's a short description of what I
use on my laptop for some time now:

1. A `.mergemasterrc' file in the HOME directory of the `root' user,
   which contains:

STRICT=no
MM_PRE_COMPARE_SCRIPT=/root/mm-pre-compare.sh

2. The `/root/mm-pre-compare.sh' script contains the following:

#!/bin/sh

# NOTE: No PATH needed, because mm's PATH is already
# draconian enough.

# If TEMPROOT is not set, or it is set to a path which
# resolves to the real root filesystem, abort early, before we
# trash the config files of the installed root filesystem.

if test -z "${TEMPROOT}" ; then
echo >&2 "$0: error: TEMPROOT is unset or empty."
exit 1
fi
p=`realpath "${TEMPROOT}"`
if test "${p}" = '/' ; then
echo >&2 "$0: error: TEMPROOT is the real root filesystem."
exit 2
fi

case "${PRE_WORLD}" in
'')
# The following files always have local changes.
# Remove them from ${TEMPROOT} to force mergemaster(8)
# to ignore these files when comparing /etc directories.

rm -f "${TEMPROOT}/.cshrc"
rm -f "${TEMPROOT}/.profile"
rm -f "${TEMPROOT}/root/.cshrc"
rm -f "${TEMPROOT}/root/.profile"

rm -f "${TEMPROOT}/etc/hosts"
rm -f "${TEMPROOT}/etc/networks"

rm -f "${TEMPROOT}/etc/motd"
rm -f "${TEMPROOT}/etc/printcap"

;;
esac

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Giorgos Keramidas
On 2007-11-16 22:24, Chris Hill <[EMAIL PROTECTED]> wrote:
>On Fri, 16 Nov 2007, David J Brooks wrote:
>>On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
>>> This is the old and current fstable:
>>>
>>> # DVD drive (top)
>>> /dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
>>> # CD-burner (bottom)
>>> /dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
>>
>> cd9660 is what you need. for the burner at least though, you'll want
>> to make it rw rather than ro.

Not really.  When *mounted* even DVD-RW disks are read-only.

> Good point! Although my CD burner burns CDs just fine with either
> cdrecord or burncd, even with ro in its fstab line.

That's because they are not written ``through the cd9660 filesystem
driver'', but through cdrecord/burncd.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Giorgos Keramidas
On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2007, at 10:56 PM, Yeef wrote:
>> this is work for me  freebsd 6.2-RELEASE
>>
>> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
>>
>> you should use root mount it.
>
> Or set vfs.usermount to 1, if I remember right.  I can't recall what's
> the proper method for setting it at boot, rc.conf or loader.conf.  The
> default is 0, which is what I have it set to, more to annoy me than
> security (personal server behind a buggy router/firewall).

man sysctl.conf

That's the proper place to put `vfs.usermount=1'.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Tino Engel

Gary Kline schrieb:


Hopefully! I bought TWO burners, tho.  My acd0 is a Pioneer,
the acd1 is a cheaper "Lite On" (IIRC).


  
Sh... I also have a Lite-On Drive (Combo-Drive) and I never managed to 
burn under FreeBSD...

Reading though is fine.


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


Re: evolution slow on 7.0

2007-11-17 Thread Joe Marcus Clarke

On Sat, 2007-11-17 at 16:01 +0300, Vladimir Grebenschikov wrote:
> On Fri, 2007-11-16 at 16:38 -0600, Matt wrote:
> > On Nov 14, 2007 4:45 PM, James <[EMAIL PROTECTED]> wrote:
> > > Hi folks,
> > >
> > > first, I know the subject line is a goldmine for jokes, but I couldn't
> > > think of a better way to phrase it.
> > >
> > > Ever since I moved to FreeBSD 7.0, the evolution mail client has become
> > > ridiculously slow for me. It takes two or three minutes to start up,
> > > right clicking on a folder takes several minutes to display a context
> > > menu etc
> 
> Same here on sched_4bsd.
> Also I can say, that problem appears earlier than last release of gnome.
> And it becomes worse with last update.
> 
> (same bits: startup, right-click on attachment, move message to folder,
> change sort order /that only on last evolution/).

I have seen slowdowns as well.  You can speed up start time by disabling
unused plug-ins as Evo spends a lot of time in the linker when starting.
As for the rest of the slowdowns, please report them using GNOME
Bugzilla.  My research indicates that there is nothing FreeBSD-specific
to this problem.

Joe

> 
> 
> 
> 
> > > My install process was as follows:
> > >
> > > 1. backup my home directory from a FreeBSD 6.2 install
> > > 2. Format the hard drive
> > > 3. Install 7.0 beta 1.5
> > > 4. csup sources and install beta 2.0
> > > 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this
> > > 6. portsnap fetch extract
> > > 7. follow the instructions in UPDATING for updating gnome
> > >
> > > I tried cd /usr/ports/mail/evolution && make deinstall && make
> > > reinstall, to see if something had simply gone wrong during the build,
> > > but nothing changed.
> > >
> > > Any ideas?
> > >
> > > James
> > 
> > I've also experienced this since moving to 7-CURRENT (and tracking
> > through to the current 7.0-BETA2) and have been unable to figure out
> > why.  Startup takes between 30 and 40 seconds, during with the
> > "evolution" process consumes 100% of one of the cores of the dual-core
> > processor.  After startup, various actions (including right-clicking
> > on attachments) take approximately 10 seconds to complete the first
> > time the action is done, this time with the "evolution-data-server"
> > process consuming 100% of one core.  Running ktrace against the
> > evolution process during startup shows large amounts of apparently
> > random information, but I don't have a pre-7 system to compare it to.
> > 
> > I use SCHED_ULE and have had no other noticeable system slowdowns.
> > All ports have been built from source with no extra settings in
> > /etc/make.conf.
> > 
> > $ cat /var/db/ports/evolution/options
> > 
> > # This file is auto-generated by 'make config'.
> > # No user-servicable parts inside!
> > # Options for evolution-2.12.1_3
> > _OPTIONS_READ=evolution-2.12.1_3
> > WITHOUT_PILOT=true
> > WITHOUT_LDAP=true
> > WITHOUT_SPAMASSASSIN=true
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: sysutils/etcmerge vs mergemaster

2007-11-17 Thread RW
On Sat, 17 Nov 2007 11:15:58 +0100
Peter Schuller <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> etcmerge, with three-way merging, has been available for a while, but
> the man page still warns of it not being extensively tested, and of
> course mergermaster still seems to be the officially supported tool.
> 
> In spite of this, etcmerge is attractive since, to be honest,
> manually saying "yes update" to a bunch of files that mostly have
> only CVS revision changes is a waste of time.

 Isn't that what the -U option in mergemaster does?  


   -U   Attempt to auto upgrade files that have not been user
   modified.


BTW does  etcmerge handle the merging of passwd and groups well,
because that's what I hate more than anything else about upgrading. 
___
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 know PID responsible for network connection/listen?

2007-11-17 Thread Matthias Apitz
El día Thursday, November 15, 2007 a las 11:20:30AM -0800, Yuri escribió:

> 'netstat -a' gives me the listing of network connection/listening records.
> But there's no link to the process id that opened it.
> With lots of processes this can be a significant problem to figure out who
> opened which connection.

For example, for the port 25 you see it with:

# lsof -P | fgrep :25
sendmail  6462  root3uIPv4 0xc5c3ecb00t0 TCP localhost:25 
(LISTEN)

i.e. the PID is 6462

HIH

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: evolution slow on 7.0

2007-11-17 Thread Vladimir Grebenschikov

On Fri, 2007-11-16 at 16:38 -0600, Matt wrote:
> On Nov 14, 2007 4:45 PM, James <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > first, I know the subject line is a goldmine for jokes, but I couldn't
> > think of a better way to phrase it.
> >
> > Ever since I moved to FreeBSD 7.0, the evolution mail client has become
> > ridiculously slow for me. It takes two or three minutes to start up,
> > right clicking on a folder takes several minutes to display a context
> > menu etc

Same here on sched_4bsd.
Also I can say, that problem appears earlier than last release of gnome.
And it becomes worse with last update.

(same bits: startup, right-click on attachment, move message to folder,
change sort order /that only on last evolution/).




> > My install process was as follows:
> >
> > 1. backup my home directory from a FreeBSD 6.2 install
> > 2. Format the hard drive
> > 3. Install 7.0 beta 1.5
> > 4. csup sources and install beta 2.0
> > 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this
> > 6. portsnap fetch extract
> > 7. follow the instructions in UPDATING for updating gnome
> >
> > I tried cd /usr/ports/mail/evolution && make deinstall && make
> > reinstall, to see if something had simply gone wrong during the build,
> > but nothing changed.
> >
> > Any ideas?
> >
> > James
> 
> I've also experienced this since moving to 7-CURRENT (and tracking
> through to the current 7.0-BETA2) and have been unable to figure out
> why.  Startup takes between 30 and 40 seconds, during with the
> "evolution" process consumes 100% of one of the cores of the dual-core
> processor.  After startup, various actions (including right-clicking
> on attachments) take approximately 10 seconds to complete the first
> time the action is done, this time with the "evolution-data-server"
> process consuming 100% of one core.  Running ktrace against the
> evolution process during startup shows large amounts of apparently
> random information, but I don't have a pre-7 system to compare it to.
> 
> I use SCHED_ULE and have had no other noticeable system slowdowns.
> All ports have been built from source with no extra settings in
> /etc/make.conf.
> 
> $ cat /var/db/ports/evolution/options
> 
> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for evolution-2.12.1_3
> _OPTIONS_READ=evolution-2.12.1_3
> WITHOUT_PILOT=true
> WITHOUT_LDAP=true
> WITHOUT_SPAMASSASSIN=true
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Vladimir B. Grebenschikov
[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: I went to 8.0 current accidently :(

2007-11-17 Thread cuongvt



cuongvt wrote:
> 
> After got below news from OSnews.com yesterday (I was late),
> I inserted RELENG_7 to my /usr/share/examples/cvsup/stable-supfile
> as below:
> 
> *default host=CHANGE_THIS.FreeBSD.org
> *default base=/var/db
> *default prefix=/usr
> *default release=cvs tag=RELENG_7
> *default delete use-rel-suffix
> *default compress
> src-all
> Then I exec:
> cvsup -g -L 2 -h cvsup.jp.freebsd.org
> /usr/share/examples/cvsup/stable-supfile
> 
> Then I -j10 buildworld, build kernel, install kernel, then as single
> mode I installworld.
> After that, when I uname -a, it output is:
> FreeBSD hanhnhu.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri
> Nov 16 19:48:47 ICT 2007
> Where I was wrong?
> Tnx in advanced.
> 
> 
> 
> "The 7.0-BETA2 builds have completed and are on many of the FreeBSD mirror
> sites. If you want to update an existing machine using cvsup use RELENG_7
> as the branch tag. Instructions on using FreeBSD Update to perform a
> binary upgrade from FreeBSD 6.x to 7.0-BETA2 will be provided via the
> freebsd-stable list when available."
> 
Never mind. It's my careless. I created other supfile with . in it and cvsup
with it, not with stable sup file, so it went to 8.0 current.
Sorry
Btw currently it is not beta2, it's beta3 
FreeBSD hanhnhu.local 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Sat Nov 17 18:19:47
ICT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRUONGMINHHANH i386

-- 
View this message in context: 
http://www.nabble.com/I-went-to-8.0-current-accidently-%3A%28-tf4821358.html#a13808264
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 "[EMAIL PROTECTED]"


Re: OpenEXR portupgrade failure

2007-11-17 Thread Yuri Pankov
On Saturday 17 November 2007 13:55:02 Alain G. Fabry wrote:
> Hi,
>
> I'm trying to portupgrade my system and the only ones left are kde and
> OpenEXR. Apparently OpenEXR needs to be done as dependency for kde. But my
> portupgrade -R OpenEXR fail.
>
> Following is the error message, how can I solve this?
>
> /usr/bin/ld: warning: libIlmThread.so.4, needed by
> /usr/local/lib/libIlmImf.so, may conflict with libIlmThread.so.6
>
> generalInterfaceExamples.o(.text+0x5da): In function `writeGZ2(char const*, 
half const*, float const*, int, int, Imath::Box > const&)':
> : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int,
> : bool)'
>
> generalInterfaceExamples.o(.text+0x604): In function `writeGZ2(char const*, 
half const*, float const*, int, int, Imath::Box > const&)':
> : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int,
> : bool)'
>
> generalInterfaceExamples.o(.text+0x797): In function `writeGZ1(char const*, 
half const*, float const*, int, int)':
> : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int,
> : bool)'
>
> generalInterfaceExamples.o(.text+0x7c1): In function `writeGZ1(char const*, 
half const*, float const*, int, int)':
> : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int,
> : bool)'
>
> generalInterfaceTiledExamples.o(.text+0x28c): In function `writeTiled1(char 
const*, Imf::Array2D&, int, int, int, int)':
> : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int,
> : bool)'
>
> generalInterfaceTiledExamples.o(.text+0x2b6): more undefined references to
> `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' follow gmake[1]:
> *** [imfexamples] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples' gmake: ***
> [all-recursive] Error 1
> *** Error code 2
>
> Stop in /usr/ports/graphics/OpenEXR.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.1076.1 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=OpenEXR-1.4.0 UPGRADE_PORT_VER=1.4.0 make ** Fix the problem
> and try again.
> ** Listing the failed packages (*:skipped / !:failed)
> ! graphics/OpenEXR (OpenEXR-1.4.0)  (linker error)
> --->  Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed
>
>
> Many thanks,
>
> Alain

Read 20071008 entry in /usr/ports/UPDATING.


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


OpenEXR portupgrade failure

2007-11-17 Thread Alain G. Fabry
Hi,

I'm trying to portupgrade my system and the only ones left are kde and OpenEXR.
Apparently OpenEXR needs to be done as dependency for kde. But my portupgrade 
-R OpenEXR fail.

Following is the error message, how can I solve this?

/usr/bin/ld: warning: libIlmThread.so.4, needed by /usr/local/lib/libIlmImf.so, 
may conflict with libIlmThread.so.6
generalInterfaceExamples.o(.text+0x5da): In function `writeGZ2(char const*, 
half const*, float const*, int, int, Imath::Box > const&)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'
generalInterfaceExamples.o(.text+0x604): In function `writeGZ2(char const*, 
half const*, float const*, int, int, Imath::Box > const&)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'
generalInterfaceExamples.o(.text+0x797): In function `writeGZ1(char const*, 
half const*, float const*, int, int)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'
generalInterfaceExamples.o(.text+0x7c1): In function `writeGZ1(char const*, 
half const*, float const*, int, int)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'
generalInterfaceTiledExamples.o(.text+0x28c): In function `writeTiled1(char 
const*, Imf::Array2D&, int, int, int, int)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'
generalInterfaceTiledExamples.o(.text+0x2b6): more undefined references to 
`Imf::Channel::Channel(Imf::PixelType, int, int, bool)' follow
gmake[1]: *** [imfexamples] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/OpenEXR.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.1076.1 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 UPGRADE_PORT_VER=1.4.0 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! graphics/OpenEXR (OpenEXR-1.4.0)  (linker error)
--->  Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed


Many thanks,

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


sysutils/etcmerge vs mergemaster

2007-11-17 Thread Peter Schuller
Hello,

etcmerge, with three-way merging, has been available for a while, but the man 
page still warns of it not being extensively tested, and of course 
mergermaster still seems to be the officially supported tool.

In spite of this, etcmerge is attractive since, to be honest, manually 
saying "yes update" to a bunch of files that mostly have only CVS revision 
changes is a waste of time. (In addition even files with local changes would 
be easier to handle with etcmerge)

Given the obvious benefit to etcmerge's fundamental algorithm I have to wonder 
why it does not seem to be more wide spread in use. Are there problems with 
it that I don't know about? How many people use it in production? Are there 
advantages to mergemaster that causes mergemaster to even be preferred over 
etcmerge as the default tool in base?

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Re: Xorg impossible problems

2007-11-17 Thread Dino Vliet
Coleman Kane <[EMAIL PROTECTED]> wrote: Dino Vliet wrote:
> Toni Schmidbauer  wrote: At Sat, 22 Sep 2007 02:43:11 -0700 (PDT),
> Dino Vliet wrote:
>   
>>from time to time, Xorg crashes and won't restart (especially when I'm 
>> using firefox) and I have found firefox.core, gnash.core and metacity.core 
>> files in my home directory afterwards
>> 
>
> i actually have the same problems, but i'm using the nv driver (quadro
> fx 560). i think this is somehow related to xorg and
> gnash/firefox. can you try to disable the gnash plugin in firefox? i'm
> not completely sure but xorg seems to be more stable since then.
>
> toni
>   
What version of pixman do you have installed? I experienced the same
problems under pixman 0.9.5, and found that they are fixed in 0.9.6.
FreeBSD has since updated the related port to match the new version.

In my case, evince and swfdec were causing the crashing pretty reliably.
I originally attributed the problem to swfdec, but after some GDBing, I
found that it was happening in pixman.

PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=117854
--
Coleman Kane


Hi there,

I've checked what I'm using and it is:

 pkg_info | grep pixman
pixman-0.9.6Low-level pixel manipulation library


So I'm already using this version while experiencing those problems. I'm so 
glad I removed everything because now my workstation is stable again and that's 
a huge relief for me.

Brgds
Dino

   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Making mergemaster skip certain files

2007-11-17 Thread Roland Smith
On Fri, Nov 16, 2007 at 10:34:26PM -0600, J. Porter Clark wrote:
> Is there any way to keep certain files out of the reach of
> mergemaster?  I understand the need for carefully merging the
> old and the new, but I really shouldn't ever have to for files
> like these:
> 
>   /etc/aliases
>   /etc/hosts
>   /etc/hosts.allow
>   /etc/manpath.config
>   ... and many others.

Set the system immutable and undeletable flags (as root);

chflags schg,sunlnk /etc/aliases /etc/hosts /etc/hosts.allow \
/etc/manpath.config 

> Mergemaster has so many options that I'm fairly certain that
> there must be some way to do this.

There is an option you can set in /etc/mergemaster.rc to ignore
/etc/motd, and the -P option to preserve replaced files.

Of course you can always hack it to ignore some files.

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


pgpqOhnPK3OpK.pgp
Description: PGP signature


Re: How to set maximum disk cache size?

2007-11-17 Thread Ivan Voras
On 17/11/2007, Bruce Cran <[EMAIL PROTECTED]> wrote:
> Ivan Voras wrote:
> > On 16/11/2007, Laszlo Nagy <[EMAIL PROTECTED]> wrote:
> >> Ivan Voras wrote:
> >
> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm-fileio.html
> >>>
> >> I read this too but I don't understand. Too difficult for me.
> >>
> >> So what is the answer? Do I need to set a sysctl or will FreeBSD use all
> >> available free memory for caching file data from disk?
> >
> > You don't need to change anything, it's the default state.
>
> So as long as the memory isn't shown as "Free" in top, any memory that
> isn't being used by the kernel or by applications is being used for
> cache/buffer?

Yes.

> One reason why I had thought that FreeBSD didn't use all
> the memory for caching disk accesses was because I saw a different
> behaviour when decompressing large archives between Linux and FreeBSD:
> in Linux there's a massive burst of activity as the archive gets put
> straight into memory; then, once memory starts getting full it pauses
> for what seems a very long time as it flushes all the data to disk.
> FreeBSD doesn't seem to do that; it seems a lot smoother in that it
> writes to the disk a lot more regularly - is this likely to be because
> Linux has a higher limit on the number of dirty pages it can have in
> memory before it writes them out to disk?

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Joshua Isom


On Nov 16, 2007, at 10:56 PM, Yeef wrote:


this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0  
 0


you should use root mount it.


Or set vfs.usermount to 1, if I remember right.  I can't recall what's 
the proper method for setting it at boot, rc.conf or loader.conf.  The 
default is 0, which is what I have it set to, more to annoy me than 
security(personal server behind a buggy router/firewall).


I have a dvd-rw and cd-rw in the same box, and I haven't recalled any 
problems with access(except from dvd speed which I'm hoping for an 
answer or fix for) or writing.



On Nov 17, 2007 12:50 PM, Gary Kline <[EMAIL PROTECTED]> wrote:

On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:

I think I have this page bookmarked; can't find it.  I'll try
"rw" and "ro".   Can either you or David explain why I get a
popup error: Can't mount volume. [?] When I clicked on the
Details, it says:

mount_cd9660: /dev/acd1: Operation not permitted

I click  on "System" (upper left) -> Preferences ->
"Removable Drives and Media Prederences"  and select every
peermissions box.   Nothing.   (I'm using a data disk, not
audio.)

Ideas?




True dat.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]


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






--
new city  new thoughts  new men
please choose the freesoftware
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]"




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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread [LoN]Kamikaze
David J Brooks wrote:
> On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
>>  I've googled aroound, and can't be sure what to  add in the
>>  FStype column to get my DCD/CDROM  burners to work.  Ubuntu
>>  installed ny 2005 burner automagically.  Nothing like that for
>>  FreeBSD, so can anybody clue me in what I substitute for
>>  "udf" and "cd9660"?
>>
>>  This is the old and current fstable:
>>
>>
>> # DVD drive (top)
>> /dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
>> # CD-burner (bottom)
>> /dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
> 
> cd9660 is what you need. for the burner at least though, you'll want to make 
> it rw rather than ro.

As far as I know it's not possible to write a CD/DVD by copying stuff to the
mount. cd9660 are always read-only. CD/DVD burning always goes right through
the device /dev/acd0 or the CAM interface /dev/cd0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"