Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Mike Clarke
On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a system snapshot can be quickly restored

Re: OT

2012-07-12 Thread Виталий Туровец
2012/7/12 Hasse Hansson ha...@thorshammare.org: Hello all Needed an extra box today for some experimental use, and serarched my storeroom. Found an old Compaq and fired it up. All I changed was the networksettings, and there it was. IPv6 connectivity and all. Amasing, last serving 2003.

Re: Why is Gluster not available in FreeBSD?

2012-07-12 Thread Lowell Gilbert
Brent Clark brentgclarkl...@gmail.com writes: A question I would like to ask, if no one minds. Whys is Gluster not available in FreeBSD? It is that Gluster just cant run on FreeBSD, or no one can port it? http://wiki.freebsd.org/GlusterFS ___

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Joseph Lenox
On 07/12/2012 05:47 AM, Mike Clarke wrote: On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a

ppp connection goes down - requires reboot

2012-07-12 Thread David Banning
Lately I have a problem where the ppp connection goes down. Watching the log I see the following; Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: Connected! Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: opening - dial Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: dial -

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work if you use installer 1) install to first disk

Re: ppp connection goes down - requires reboot

2012-07-12 Thread Mike Tancsa
On 7/12/2012 10:18 AM, David Banning wrote: Lately I have a problem where the ppp connection goes down. Watching the log I see the following; Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: opening - dial Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: dial - carrier Jul 12

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work

Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
Hi, I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. At present they are running a whole bunch of CentOS based boxes and VM's which of course can be run through

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Devin Teske
On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: Hi, I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. At present they are running a whole bunch of CentOS

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske devin.te...@fisglobal.com wrote: On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: Hi, I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Mark Felder
On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman kayasa...@gmail.com wrote: I would like to use ports specifically and not the pkg_add tool to get software. Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your own local mirror (net/cvsup-mirror) as well.

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder f...@feld.me wrote: On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman kayasa...@gmail.com wrote: I would like to use ports specifically and not the pkg_add tool to get software. Getting the ports tree with csup/cvsup wouldn't use ftp. You could run

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Mark Felder
On Thu, 12 Jul 2012 12:00:01 -0500, Kaya Saman kayasa...@gmail.com wrote: Yeah, this is a good idea I was actually thinking about this. I've never done it so I'd need to google around a bit and do some testing but it is probably what we would want to do! Install the port, run the setup

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Mark Blackman
On 12 Jul 2012, at 17:23, Kaya Saman wrote: How does one get round this issue as my superiors are telling me that opening up FTP is a security risk and therefor don't want to proceed? I would like to use ports specifically and not the pkg_add tool to get software. Can anyone sugget

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Devin Teske
On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote: On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske devin.te...@fisglobal.com wrote: On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: Hi, I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Lowell Gilbert
Kaya Saman kayasa...@gmail.com writes: On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder f...@feld.me wrote: On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman kayasa...@gmail.com wrote: I would like to use ports specifically and not the pkg_add tool to get software. Getting the ports tree with

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:15 PM, Devin Teske devin.te...@fisglobal.com wrote: On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote: On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske devin.te...@fisglobal.com wrote: On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: Hi, I am trying to introduce FreeBSD

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. do you work FOR that company. Ask administrator to unblock if for you as you need it for work. Do you do

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0.

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:41 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. do you work FOR that

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello. 2012/07/12 13:19:56 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org = To Kaya Saman : LG URLs as well as FTP. For ones that aren't, (and assuming the rather LG silly security policies won't allow for an external web-based FTP proxy) LG you may need to bring them in by offline

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the

IPv6 getaddrinfo(3C)

2012-07-12 Thread Matthias Apitz
Hello, I'm playing around with IPv6 code on a FreeBSD 9 system and can't get getaddrinfo(3C) to do what it should do as stated in its man page: accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form: $ ./a.out ::1 host: ::1 read: SSH-2.0-OpenSSH_5.6p1 FreeBSD-2010 $ ./a.out

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:41 PM, Peter Vereshagin pe...@vereshagin.org wrote: Hello. 2012/07/12 13:19:56 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org = To Kaya Saman : LG URLs as well as FTP. For ones that aren't, (and assuming the rather LG silly security policies won't

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
The information comes straight down from the IT director who will **not** change his mind on this as I have asked several times in the past. I just told about solution to a problem. Not a workaround. How you can make your work if your director actively prevent it!? Basically without getting

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
Most surprise for me is why no one is interested about what kind of a danger the ftp protocol can ever be? i. e. skype is much more vicious in comparison to As in lots of companies where idiots are directors (common case) the danger is because it is something that doesn't exist. As we all know

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of partitioning scheme, the metadata should not

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Lowell Gilbert
Peter Vereshagin pe...@vereshagin.org writes: 2012/07/12 13:19:56 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org = To Kaya Saman : LG URLs as well as FTP. For ones that aren't, (and assuming the rather LG silly security policies won't allow for an external web-based FTP proxy)

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello. Why don't you use a portsnap? it's over http... 2012/07/12 19:01:15 +0100 Kaya Saman kayasa...@gmail.com = To Peter Vereshagin : KS I will check it out however and see if that method is best, however KS CVSup would be the best way for us and I'm already looking at this: KS KS

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
last partition includes the block of gmirror metadata, that's an error. no it doesn't i do this 2 ways: method 1) i FIRST do gmirror on whole disk THEN partition it, so partition sizes sums up to gmirror size which is 1 sector less disk size. then bsdlabel -B method 2) i make same

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello. 2012/07/12 14:44:48 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org = To Peter Vereshagin : LG Peter Vereshagin pe...@vereshagin.org writes: LG LG 2012/07/12 13:19:56 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org = To Kaya Saman : LG LG URLs as well as FTP.

re: Patch failed to apply cleanly [chromium-20.0.1132.57] FreeBSD 9.0-RELEASE

2012-07-12 Thread Alexander Kapshuk
When attempting to upgrade chromium-19.0.1084.56_1 to chromium-20.0.1132.57 on FreeBSD9.0 (FreeBSD box2 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386), one of the patches failed to apply:

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: last partition includes the block of gmirror metadata, that's an error. no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. i do this 2 ways: method 1) i FIRST do gmirror on whole disk

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. sorry - possibly i missed something. both method results in system bootable from both drives and proper disklabels. Yes, these are the same methods that can be used with MBR

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
Does your IT director understand the active/passive distinction? If not From what he described his director is plain moron. He required him to block things that HE needs to work, leaving port 80 open so things that are best in distracting from work (youtube, facebook...) works, as well as

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On 07/12/2012 07:54 PM, Peter Vereshagin wrote: Hello. Why don't you use a portsnap? it's over http... 2012/07/12 19:01:15 +0100 Kaya Saman kayasa...@gmail.com = To Peter Vereshagin : KS I will check it out however and see if that method is best, however KS CVSup would be the best way for us

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On 07/12/2012 08:13 PM, kpn...@pobox.com wrote: On Thu, Jul 12, 2012 at 06:44:56PM +0100, Kaya Saman wrote: I do infact work for this company and additionally I am one of the administrators of the company. The information comes straight down from the IT director who will **not** change his

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
My issues start coming into play when building the actual port itself. Ie. fetching the distfile, as you suggested above. As soon as I start running portmaster -a or a 'make install clean' on certain ports, the progress just bombs out totally. as you've said it is not a problem at all

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Matthew Seaman
On 12/07/2012 21:26, Kaya Saman wrote: My issues start coming into play when building the actual port itself. Ie. fetching the distfile, as you suggested above. As soon as I start running portmaster -a or a 'make install clean' on certain ports, the progress just bombs out totally. It

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello. 2012/07/12 21:26:22 +0100 Kaya Saman kayasa...@gmail.com = To freebsd-questions@freebsd.org : KS A Demo? Am I invited for the show? ;-) KS Something like a Linux repo server if you will - though I mention the KS term very loosely. SHould you try with a ixsystems's pcbsd.org then?

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On 07/12/2012 09:46 PM, Matthew Seaman wrote: On 12/07/2012 21:26, Kaya Saman wrote: My issues start coming into play when building the actual port itself. Ie. fetching the distfile, as you suggested above. As soon as I start running portmaster -a or a 'make install clean' on certain ports,

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread dweimer
On 2012-07-12 15:26, Kaya Saman wrote: On 07/12/2012 07:54 PM, Peter Vereshagin wrote: Hello. Why don't you use a portsnap? it's over http... 2012/07/12 19:01:15 +0100 Kaya Saman kayasa...@gmail.com = To Peter Vereshagin : KS I will check it out however and see if that method is best,

Re: IPv6 getaddrinfo(3C)

2012-07-12 Thread Doug Hardie
On 12 July 2012, at 07:24, Matthias Apitz wrote: Hello, I'm playing around with IPv6 code on a FreeBSD 9 system and can't get getaddrinfo(3C) to do what it should do as stated in its man page: accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form: $ ./a.out ::1 host: ::1

profiling library smaller than non-profiling, while it contains more symbols. Why?

2012-07-12 Thread Anton Shterenlikht
While updating my port (math/slatec) to use the new OPTIONS framework, I did some experiments with the profiling library. I don't know much about this, so what surprised me is that the profiling library is smaller: # ls -al lib*a -rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a

Re: profiling library smaller than non-profiling, while it contains more symbols. Why?

2012-07-12 Thread Anton Shterenlikht
On Thu, Jul 12, 2012 at 11:31:31PM +0100, Anton Shterenlikht wrote: While updating my port (math/slatec) to use the new OPTIONS framework, I did some experiments with the profiling library. I don't know much about this, so what surprised me is that the profiling library is smaller: # ls

Re: IPv6 getaddrinfo(3C)

2012-07-12 Thread Robert Bonomi
From: Doug Hardie bc...@lafn.org Date: Thu, 12 Jul 2012 14:21:38 -0700 Subject: Re: IPv6 getaddrinfo(3C) On 12 July 2012, at 07:24, Matthias Apitz wrote: Hello, I'm playing around with IPv6 code on a FreeBSD 9 system and can't get getaddrinfo(3C) to do what it should do as stated

Re: profiling library smaller than non-profiling, while it contains more symbols. Why?

2012-07-12 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Thu Jul 12 17:34:12 2012 Date: Thu, 12 Jul 2012 23:31:31 +0100 From: Anton Shterenlikht me...@bristol.ac.uk To: freebsd-questions@freebsd.org Subject: profiling library smaller than non-profiling, while it contains more symbols. Why? While

Re: profiling library smaller than non-profiling, while it contains more symbols. Why?

2012-07-12 Thread Robert Bonomi
Date: Thu, 12 Jul 2012 23:52:18 +0100 From: Anton Shterenlikht me...@bristol.ac.uk Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? Also, the library compiled on amd64 has lots more symbols than if compiled on ia64. This is _not_