Re: FreeBSD, Centos and ZFS

2013-10-12 Thread Mark Felder
On Sat, Oct 12, 2013, at 10:53, aurfalien wrote:
> Hi,
> 
> I would like to first say that by no means is this a "hey, why is my Mac
> faster then my PC" kind of email.
> 
> I'm really hoping its an LSI driver issue.
> 

It may very well be an LSI firmware issue. What are the firmwares for
those HBAs?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-10 Thread Mark Felder
On Wed, Oct 9, 2013, at 8:36, Eduardo Morras wrote:
> On Tue, 8 Oct 2013 21:32:39 -0600 (MDT)
> Mike Brown  wrote:
> 
> > alexus wrote:
> > > ok, I just did fetch & install and got bumped from p5 to p9
> > > 
> > > # uname -a
> > > FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11
> > > 19:47:58 UTC 2012
> > > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
> > >  amd64
> > > #
> > > 
> > > can I take it all the way to -p12?
> > 
> > -p10 through -p12 probably didn't involve any kernel changes. Bumping the 
> > reported patchlevel isn't considered important enough to warrant building a 
> > new kernel.
> 
> That there's no kernel changes doesn't mean that uname -a info is not
> updated. 

You are incorrect. The output of uname -a is taken from the kernel and
cannot be updated without installing a new kernel.

The good news is that FreeBSD 10 will ship with a new utility called
freebsd-version which will provide a better way of identifying if your
system is up to date.

>From the commit message:

Introduce the /libexec/freebsd-version script, which is intended to be
used by auditing tools to determine the userland patch level when it
differs from what `uname -r` reports.  This can happen when the system
is kept up-to-date using freebsd-update and the last SA did not touch
the kernel, or when a new kernel has been installed but the system has
not yet rebooted.

http://svnweb.freebsd.org/base/head/bin/freebsd-version/


By the way, it will be /bin/freebsd-version as it has been relocated
since the import into head.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: gpart weirdness: diskid/DISK-3EV0P4PZ00007250010X GPT (17G)

2013-10-09 Thread Mark Felder
On Wed, Oct 9, 2013, at 4:33, Anton Shterenlikht wrote:
> # gpart show
> =>  34  35566411  da1  GPT  (17G)
> 34  35566411   - free -  (17G)
> 
> =>  34  35566411  diskid/DISK-3EV0P4PZ7250010X  GPT  (17G)
> 34  35566411- free -  (17G)
> 
> =>  34  35566411  da2  GPT  (17G)
> 34  35566411   - free -  (17G)
> 
> =>  34  35566411  diskid/DISK-3EV0PWCX72500ZNJ  GPT  (17G)
> 34  35566411- free -  (17G)
> 
> # 
> 

This is normal. Gpart is showing you both the physical dev versions of
the devices and the GPT label versions of the devices. I'll admit it can
be confusing, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-09 Thread Mark Felder
On Tue, Oct 8, 2013, at 22:32, Mike Brown wrote:
> alexus wrote:
> > ok, I just did fetch & install and got bumped from p5 to p9
> > 
> > # uname -a
> > FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11
> > 19:47:58 UTC 2012
> > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
> >  amd64
> > #
> > 
> > can I take it all the way to -p12?
> 
> -p10 through -p12 probably didn't involve any kernel changes. Bumping the 
> reported patchlevel isn't considered important enough to warrant building
> a 
> new kernel.
> 
> If your sources are in /usr/src, do this:
> 
> grep -v # /usr/src/sys/conf/newvers.sh | head -4
> 

If he had sources on the box he probably would have just compiled the
fixes himself. The version number shouldn't be embedded in the kernel
like that so it's easier for people to audit their systems. I have VMs
right now in Xen that report different FreeBSD versions and it's
confusing for other sysadmins who aren't intimately familiar with
FreeBSD. Some were updated by freebsd-update, some were updated by src.
But they don't report the same OS version so I get asked why we haven't
updated those servers yet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Where is pkg repository for 9.2-RELEASE (amd64)?

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 10:58, Zoran Kolic wrote:
> > Use PACKAGESITE=http://pkg-test.freebsd.org/pkg-test-${ABI}/latest
> > 
> > That's the kit that will form the official FreeBSD package repository;
> > it just lacks the crypto bits for signing the packages, which is why
> > it's calling itself 'pkg-test'
> > 
> > Oh -- there isn't an A record in the DNS for pkg-test.freebsd.org --
> > look up a SRV record for _http._tcp.pkg-test.freebsd.org instead.
> 
> Well, I still have no idea what the address of the server is.
> Could someone post it (i.e. 123.456.789.123 or alike)?

# dig _http._tcp.pkg-test.freebsd.org SRV

; <<>> DiG 9.9.3-P2 <<>> _http._tcp.pkg-test.freebsd.org SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8634
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;_http._tcp.pkg-test.freebsd.org. INSRV

;; ANSWER SECTION:
_http._tcp.pkg-test.freebsd.org. 120 IN SRV 10 10 80
pkg1.nyi.freebsd.org.

;; ADDITIONAL SECTION:
pkg1.nyi.freebsd.org.   3600IN  A   96.47.72.120
pkg1.nyi.freebsd.org.   3600IN  2610:1c1:1:6300::16:78

;; Query time: 374 msec
;; SERVER: 192.168.93.251#53(192.168.93.251)
;; WHEN: Tue Oct 08 11:24:41 CDT 2013
;; MSG SIZE  rcvd: 144



> After having it set as PACKAGESITE, I assume running pkg, pkg2ng,
> pkg update, pkg upgrade -fy enough?
> Best regards all
> 

Depends. Where are your other installed packages from? I'd probably
re-install all of them from the pkg-test repository just to be safe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote:
> El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder
> escribió:
> 
> > On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
> > > 
> > > So far so good. Now I want install the packages as well into the image
> > > in /mnt. What would be the best method for this? Run pkg_add with the
> > > flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
> > > 
> > > Thanks in advance
> > > 
> > > All this is with 10-CURRENT (base and ports).
> > > 
> > 
> > pkg_add and all of the old "pkgtools" do not exist in 10-CURRENT
> > anymore. Are you running a build of 10-CURRENT before they were removed?
> 
> No. The r255948 was built on a clean, empty environment but with
> 
> $ cat /etc/src.conf 
> WITH_PKGTOOLS=yes
> 

Ok, I won't question your needs for pkg_* as you seem to be aware of
what you're doing :-)

When you use pkg_* or pkg with their built-in chroot options it seems
that it executes those tools within those chroots instead of setting the
chroot as a destination for the installation. So if you wanted to use
--chroot I think you have to make sure the packages are available inside
the chroot. Perhaps there's some sort of DESTDIR option for the package
installation? I've been searching but have had no luck yet. I'll ask
around. It might be more reliable to do something like nullfs mount the
packages into the chroot and do the installation completely within the
chroot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
> 
> So far so good. Now I want install the packages as well into the image
> in /mnt. What would be the best method for this? Run pkg_add with the
> flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
> 
> Thanks in advance
> 
> All this is with 10-CURRENT (base and ports).
> 

pkg_add and all of the old "pkgtools" do not exist in 10-CURRENT
anymore. Are you running a build of 10-CURRENT before they were removed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: munin related

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 1:15, Trond Endrestøl wrote:
> On Mon, 7 Oct 2013 19:57+0200, Laszlo Danielisz wrote:
> 
> > Yep killing nscd help me to get out of this trouble.
> 
> I have long suspected nscd to reinitialise the timers whenever an 
> entry is requested while still held in the cache, be it a positive or 
> a negative result.
> 
> As such the only reasonable solution is to never cache negative 
> results (TTL=0) and keep the positive TTL relatively short, say no 
> more than 60 minutes.
> 
> Can someone more knowledgeable on nscd internals confirm my suspicion?
> 

I'm not that guy, but I do remember watching this closely on the mailing
lists a while back. I can't deploy nscd because of negative cache issues
and I don't think this patch in this thread was ever committed. I
haven't had time to investigate, though.


http://freebsd.1045724.n5.nabble.com/PATCH-Fix-for-negative-cacheing-problem-in-NSCD-td5722843.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-07 Thread Mark Felder
On Mon, Oct 7, 2013, at 14:22, alexus wrote:
> bash-4.2# freebsd-update upgrade -r 7.4-RELEASE-p12

Just freebsd-update fetch && freebsd-update install is all you should
have to run. The -r flag is for jumping major releases (from 7.x to 8.x,
for example).

I can't comment on whether or not the freebsd-update data for 7.x is
still on the servers, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: munin related

2013-10-07 Thread Mark Felder
On Mon, Oct 7, 2013, at 12:57, Laszlo Danielisz wrote:
> Dear Dan, 
> 
> Yep killing nscd help me to get out of this trouble.
> 
> Thank you very much! 
> 

Some day it might be feasible to tie a hook into pkg that clears the
uid/gid cache in nscd when trying to install packages so this isn't a
problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 9.2-RELEASE stability?

2013-10-01 Thread Mark Felder
On Tue, Oct 1, 2013, at 18:54, ot...@ahhyes.net wrote:
> 
> * I run powerdns recursor for resolution of domain names. Despite 
> having the recursor as being one of the first things
> in rc.conf to start (certainly before ntpdate), ntpdate decides to run 
> before the recursor has started. This causes the lookup of the ntp 
> server
> hostname to fail (using -b ip.ip.ip.ip as a flag to ntpdate rather than 
> a host is a way to work around the issue).
> 

Create in rc script in /usr/local/etc/rc.d that does nothing but set the
REQUIRE and BEFORE fields. You can use that to re-order the startup
scripts. Use the `service` command to see the new startup order --
there's a flag that will give you that output.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 9.2-RELEASE stability?

2013-10-01 Thread Mark Felder
On Mon, Sep 30, 2013, at 14:01, Brett Glass wrote:
> How stable are folks finding FreeBSD 9.2-RELEASE to be? The 
> improvements are welcome, but there have been a few troubling 
> messages about kernel panics and VM issues on the various mailing 
> lists. It's never clear until the release drops whether these are 
> actual problems with the software or hardware defects in individual 
> systems, so I am eager to hear how the new release is working for
> everyone.
> 

I upgraded our two main backup servers which are doing I/O via
rsync/rsnapshot and sending ZFS snapshots to the other remote site every
15 minutes.

I had several instances where the machines went unresponsive. They
didn't panic, and they did respond to CTRL+ALT+DEL on the console, but
they lost all networking and wouldn't do anything else. The only change
was I enabled zfs prefetch which I previously had disabled for
performance reasons. It never caused this issue on 9.1 when I had it
enabled, though. The fix definitely was turning off prefetch again which
doesn't bother me too much, but I can't use this environment to try to
help debug it as it's important production data.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: after pkgng update, daily run still using pkg_info

2013-09-30 Thread Mark Felder
On Sun, Sep 29, 2013, at 23:09, Gary Aitken wrote:
>
> Some of the packages reported as corrupt were installed *after* the
> conversion to pkgng, so why is pkg_info even noticing them?
>

The only way this is possible is if they are in the old package format.
Did you happen to convert your packages to pkgng and then install some
software from ports without putting WITH_PKGNG=YES in your make.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: after pkgng update, daily run still using pkg_info

2013-09-28 Thread Mark Felder
Run pkg_info. If there is anything listed you have not fully converted
to pkgng and have some old broken/corrupt packages. You'll want to clean
this up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to ask a DNS resolver listening on a different port than the tcp/udp 53

2013-09-27 Thread Mark Felder
On Fri, Sep 27, 2013, at 13:20, Laurent SALIN wrote:
> Hello,
> I wondering how i can send queries to a dns resolver listening on a
> different port than the normaly 53 tcp/udp ?
> 
> The situation:
> I've got a vps who running NSD as a autoritative nameserver, listening
> on tcp/udp 53 and unbound as personnal resolver, listening on a
> different tcp/udp port. It work very well on his own or with my OpenBSD
> gateway at home as DNS cache.
> 

Is there any way to use multiple IPs?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: find ports that aren't required anymore

2013-08-31 Thread Mark Felder


On Sat, Aug 31, 2013, at 14:19, Dale Scott wrote:
> I was using the postfix port, but decided to replace it with ssmtp to
> reduce
> ports in use and simplify system updating (deleting postfix with
> pkg_delete). Is it possible that deleting postfix will leave ports
> installed
> that aren't required anymore? Will pkg_delete also delete any
> dependencies
> no longer required? If I could have ports still installed that aren't
> required anymore? How can I find them now? Portmaster?
> 

If you're using the old pkg format you'll want to use something like
pkg_cutleaves which is in ports.

If you're using the new pkg format you can simply run "pkg autoremove".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Way to be announced about security updates and new releases

2013-08-29 Thread Mark Felder
On Wed, Aug 21, 2013, at 1:54, Antonio Kless wrote:
> Is there any way to be noticed, when security updates or new releases are
> available?
> 
> https://twitter.com/freebsd nearly would be a solution, if it did not
> repostquestions from its
> subscribers and other information that is not related to updates.
> 

http://twitter.com/freebsdsecurity is probably what you're looking for.
There are several twitter accounts run by FreeBSD members
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Renumber users and groups

2013-08-28 Thread Mark Felder
Can you please file a PR with your findings? That's definitely something
we need fixed as mtree is pretty important to the project.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Setup HP Laserjet 1120m over network with LPD

2013-08-22 Thread Mark Felder


On Thu, Aug 22, 2013, at 8:19, Juris Kaminskis wrote:
> 
> generally i would prefer to stick with the native freebsd printing system
> which is LPD
>

As you should! CUPS is horrible... I also use apsfilter. I can print
almost any file I want just by doing lpr filename

apsfilter's generated config required some hand tweaking by me, but
here's an example I'll drop for you:

/etc/printcap:

netlaser|netlaser;r=600x600;q=medium;c=gray;p=letter;m=auto:\
:lp=9100@netlaser:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/netlaser:\
:lf=/var/spool/lpd/netlaser/log:\
:af=/var/spool/lpd/netlaser/acct:\
:mx#0:\
:sh:

/etc/hosts:

192.168.94.5 netlaser

/usr/local/etc/apsfilter/netlaser/apsfilterrc:

#
# don't delete these settings
#
PRINTER='PS'
PAPERSIZE='letter'
METHOD='auto'
QUALITY='medium'
COLOR='gray'
RESOLUTION='600x600'
# apsfilter as jukebox
# important if audio playback device is a network print queue
# INTERFACE='network'
INTERFACE='network'


And then I think I just had to create /var/spool/lpd/netlaser with
ownership root:daemon and 755


After that I think restarting lpd and it just works?

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


Re: Renumber users and groups

2013-08-21 Thread Mark Felder
On Wed, Aug 21, 2013, at 11:36, Mark Felder wrote:
> 
> Those solutions sound pretty handy if I need to move the files at the
> same time. mtree should do this in-place with minimal fuss as it's just
> confirming permissions and ownership on all files.
>

I also just thought of an idea I need to benchmark: running mtree with
and without nscd. I bet nscd could speed it up a lot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Renumber users and groups

2013-08-21 Thread Mark Felder
On Wed, Aug 21, 2013, at 11:12, Frank Leonhardt wrote:
> On 21/08/2013 13:36, Olivier Nicole wrote:
> > Hello,
> >
> > On my system legacy users come with UID starting from 200 upward, and
> > all users come with GID lower that 100.
> >
> > I know it's not a good idea, but consider that some accounts are over 20
> > years old!
> >
> > This is not too much a problem with FreeBSD as I can renumber the few
> > FreeBSD services that have a conflicting ID.
> >
> > But now I want to share the user directories with Mac (10.6). On Mac,
> > any id lower than 512 should be reserved for the system.
> >
> > I tried to renumber the conflicting services on Mac OS, but it messes up
> > the system.
> >
> > So I should renumber my users; it's not very difficult to do, but I have
> > over 1TB of user files for 200 users.
> >
> > Is there a clever/fast way to do that (other than find -exec chown)?
> >
> > What pitfall should I avoid?
> >
> > Best regards,
> >
> > Olivier
> 
> Both tar and rsync are spectacularly clever about this. I've never 
> needed to renumber users, but I've noticed tar will restore a backup 
> across hosts and try to resolve user names correctly. tar stores users 
> and groups symbolically and will happily extract them to the correct 
> numerical ID on the new host. All you need do, therefore, is merge the 
> passwd and group files without conflict and "untar" everything. If 
> you've got to do this in-place it's not going to work, but as you'd be 
> wise to make a backup anyway you may as well make a copy instead, and 
> let it convert them on the fly. rsync seems to pull the same trick.
> 

Those solutions sound pretty handy if I need to move the files at the
same time. mtree should do this in-place with minimal fuss as it's just
confirming permissions and ownership on all files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Renumber users and groups

2013-08-21 Thread Mark Felder
On Wed, Aug 21, 2013, at 7:36, Olivier Nicole wrote:
> 
> Is there a clever/fast way to do that (other than find -exec chown)?
> 

Maybe! I haven't tried this myself yet, but next time I need to do this
I think I'm going to take an mtree backup of the entire filesystem,
change the UIDs and GIDs (vipw, then vi /etc/groups), and then re-apply
the mtree to the entire filesystem. It should find all the files that
are now orphaned and fix them to use the new UID/GID that you specified.
:)

> What pitfall should I avoid?
> 

Not having a backup :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Custom Software for Municipalities

2013-08-20 Thread Mark Felder
This literally looks like a CRUD interface that could easily be rebuilt.
PHPMyEdit, Dadabik, and others provide easy ways to produce these
interfaces from database tables.

For the record I wouldn't recommend Dadabik unless it does something
specific that you need (postgres or sqlite support, I suppose). The
developer is strange and doesn't understand open source licenses. A year
or so ago I paid him $5 to get a copy of his program, received GPLv2
code, and then he got angry and started threatening me when I published
it on github with some minor cleanup and translation fixes. He's since
changed the license to something else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: copying milllions of small files and millions of dirs

2013-08-19 Thread Mark Felder
On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote:
> On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
> > Is there a faster way to copy files over NFS?
> 
> I would use find+cpio. This handles hard links, permissions, and in case 
> of later runs, will not copy files if they already exist on the 
> destination.
> 
> # cd /source/dir
> # find . | cpio -pvdm /destination/dir
> 

I always found sysutils/cpdup to be faster than rsync.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: High availability on remote site

2013-08-15 Thread Mark Felder
On Thu, 15 Aug 2013 18:19:35 +0700
Olivier Nicole  wrote:

> Hi,
> 
> I have been assigned to offer HA on a 3 tiers architecture.
> 
> Data storage tier will be MySQL, so replication is easy.
>

Keep in mind that MySQL replication has plenty of its own issues. It
does not replicate every SQL command to the slave. Guaranteeing that
data on both servers is identical is also a very tricky process. You
might want to first browse through the sections here to get an idea:

http://dev.mysql.com/doc/refman/5.5/en/replication-features.html

 
> HA should be implemented only on the Data storage tier, Active/Active,
> but one of the sites is remote!
> 
> When everything is working, each application accesses the local MySQL
> tier, but when the local MySQL becomes unavailable, it should be able
> to automatically move to the other database server.
> 
> I have no access to the application, so I cannot modify it to test if
> local MySQL is working. So I should have an HA mechanism that enforces
> changing the IP address on the database server.
>

This is easy. Use HAProxy. It can test to see if your local MySQL
instance is up and running and if it detects it is not it will
automatically pass connections to the remote site's MySQL server.
 
> If both servers are installed at different places, with different
> addresses, would there be a way beside establishing an IP tunnel/VPN
> between both places to have all machines in a single subnet?
> 

This seems unnecessary. Why do you need them to be on the same subnet?

> An image is here http://www.cs.ait.ac.th/~on/HA.gif
> 
> I am really bothered by the IP tunnel, but that's the only way I see to keep 
> HA.
>

Hopefully I've answered this question for you and you see that you
shouldn't need these to be on the same subnet. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: SolarFlare 10GB card

2013-08-14 Thread Mark Felder
On Wed, 14 Aug 2013 12:05:56 -0700
aurfalien  wrote:

> 
> Well my fine feathered friend, thats my dilemma.
> 
> I do not see the SolarFlare via ifconfig.
> 
> Now pciconf -l shows much stuff, even my built in 1Gb nics but not my 10Gb 
> Solars.
> 
> I'm sure one of the many PCI devices is listed, but not as a SlarFlare, but 
> some generic device.
> 
> Any guidance?
> 
> - aurf
> 
> 

Just logged into the only Solarflare box I have access to --

/boot/loader.conf has

 sfxge_load="YES"


So on a running system you'll have to

# kldload sfxge

And my pciconf -l has these entries:

> sfxge0@pci0:6:0:0:  class=0x02 card=0x71041924 chip=0x08131924 rev=0x00 
> hdr=0x00
> sfxge1@pci0:6:0:1:  class=0x02 card=0x71041924 chip=0x08131924 rev=0x00 
> hdr=0x00



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


Re: SolarFlare 10GB card

2013-08-14 Thread Mark Felder
On Wed, 14 Aug 2013 11:48:52 -0700
aurfalien  wrote:

> 
> On Aug 14, 2013, at 11:34 AM, Mark Felder wrote:
> 
> > On Wed, 14 Aug 2013 10:51:03 -0700
> > aurfalien  wrote:
> > 
> >> 
> >> On Aug 14, 2013, at 5:49 AM, Mark Felder wrote:
> >> 
> >>> Don't use the driver on their website. It's very old. Use the driver
> >>> that comes with FreeBSD 9.1 which you don't have to compile. 
> >> 
> >> Yea, that driver sux actually.
> >> 
> >> But how would I compile the driver in 9.2RC1 as I see the source is 
> >> included?
> >> 
> >> 
> > 
> > Why do you believe the driver in 9.1-RELEASE sucks? Do you have a
> > specific issue?
> 
> I meant the driver off there site.  I'm trying the one with 9.1 in a few.
> 
> Didn't meant to sound like a barney.
> 
> Unsure why the SolarFlare driver is even up on there site, seems unstable.
> 
> - aurf

Ahhh, I see. 

You won't have to compile anything with FreeBSD 9.1 or later. Just boot
up the OS and you'll see sfxge in the output of ifconfig.

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


Re: SolarFlare 10GB card

2013-08-14 Thread Mark Felder
On Wed, 14 Aug 2013 10:51:03 -0700
aurfalien  wrote:

> 
> On Aug 14, 2013, at 5:49 AM, Mark Felder wrote:
> 
> > Don't use the driver on their website. It's very old. Use the driver
> > that comes with FreeBSD 9.1 which you don't have to compile. 
> 
> Yea, that driver sux actually.
> 
> But how would I compile the driver in 9.2RC1 as I see the source is included?
> 
> 

Why do you believe the driver in 9.1-RELEASE sucks? Do you have a
specific issue?

FYI, the driver in 9.1-RELEASE, upcoming 9.2-RELEASE, and even CURRENT
are almost 100% identical:

http://svnweb.freebsd.org/base/release/9.1.0/sys/dev/sfxge/
http://svnweb.freebsd.org/base/head/sys/dev/sfxge/

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


Re: SolarFlare 10GB card

2013-08-14 Thread Mark Felder
Don't use the driver on their website. It's very old. Use the driver
that comes with FreeBSD 9.1 which you don't have to compile. 

Someone should ask them to remove the link on their website...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSD Magazine

2013-08-07 Thread Mark Felder
Isn't BSDMag now owned by iXSystems (purchased as part of BSDMall?)? And
this seems odd / unprofessional to just blindly post on the -questions
mailing list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Update /usr/src with subversion

2013-08-05 Thread Mark Felder
On Mon, Aug 5, 2013, at 10:16, David Noel wrote:
> 
> Ooops. Top-posted. I always forget. Does anyone know how to change the
> default "reply" behavior of gmail? Last I searched the only way to do
> it was with a greasemonkey script...
>

Google still hasn't figure out how to bottom post. Can you imagine how
awful their internal emails are?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: System hangs for several minutes (disk IO related)

2013-07-31 Thread Mark Felder
If you Google SmartArray P400 I'm sure you will find tons of horror
stories. As soon as I saw that in your post I recalled looking into an
issue for a customer not too long ago. In short, it's a very bad
controller with tons of issues. I could be mistaking this for another
controller, but I'm pretty confident this is the same one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Unusual file: /bin/[

2013-07-29 Thread Mark Felder
That's a real binary, also known as /bin/test
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 2 lines

2013-07-29 Thread Mark Felder
The right way to handle this is to get your own IP allocation and do BGP
out both providers. Then the internet can reach you over both internet
connections and when one goes down all traffic is routed through your
other connection.

Another feasible, but poor option: proxy your services out in the cloud
and have it be intelligent enough to be able to reach your content over
both providers and properly failover when one goes down.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Saving scanned document

2013-07-24 Thread Mark Felder
Can your machine email the PDF? That's how I'd solve it... have it send
to a mailbox on your local machine and have a script that grabs the
attachment and puts it in a directory shared on the network.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: trashed installation ?

2013-07-18 Thread Mark Felder
John,

Can you link to the screenshots? They're stripped when you post to the
mailing list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: linux-f10-hal-libs

2013-07-16 Thread Mark Felder
On Tue, Jul 16, 2013, at 6:26, R Skinner wrote:
> I've discovered a fix for certain videos using flashplayer on websites. 
> Apparently they require hal to access the DRM (?!), so I've just whipped 
> up a port to fix this.
> 
> It has been done in a real hurry; unfortunately I don't have any further 
> time to spend on this as I'm way over my head at the moment, but I hope 
> this helps fix some issues for some.
> 
> If there are any problems with the way I've set this up, can you let me 
> know via this address and advice on the error would be very appreciated.
> 


Can you provide a link to a video that is broken and requires this so we
have a test case?


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


Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Mark Felder
On Thu, Jul 11, 2013, at 14:37, David Noel wrote:
> 
> If this is the case replacing the kernel should have no effect. But
> what then? Any thoughts?

I'd contact freebsd-fs@ and see what they have to say
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Mark Felder
On Thu, 11 Jul 2013 05:00:39 -0500, Eduardo Morras   
wrote:


Perhaps make buildkernel was compiled with -j >1, it's known to create a  
buggy kernel.


This is not true to my knowledge. If buildkernel produced bad kernels with  
-j>1 we'd not allow you to do that without jumping through hoops.

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


Re: courier imap - unable to access shared folders: "operation not supported"

2013-07-09 Thread Mark Felder
On Tue, 09 Jul 2013 08:23:05 -0500, R Skinner  
 wrote:



Ok. I'll give it a try.
 But why would it work with the NFS server - before the repair and  
without FAM - and not now?


Oh, I misunderstood. I thought you weren't having problems until you  
turned on that enhanced idle feature.


I'd start asking in a courier irc channel or on their mailing lists --  
this sounds quite odd.

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


Re: courier imap - unable to access shared folders: "operation not supported"

2013-07-09 Thread Mark Felder
On Tue, 09 Jul 2013 08:00:22 -0500, R Skinner  
 wrote:


No, I don't. But then it was something I thought might help the  
situation and another feature to start playing with. Bit of a stretch  
really... but I was getting desperate.

 Would that have anything to do with the main problem though?


I'm honestly not sure. The doc seem to indicate that it won't work without  
a fam daemon on the NFS server, so maybe that's the root of the errors.

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


Re: courier imap - unable to access shared folders: "operation not supported"

2013-07-09 Thread Mark Felder

The courier documentation says this about using "enhanced idle" over NFS

FAM (but not Gamin) also works with NFS filesystems. On NFS clientsfam  
transparently forwards file monitoring requests to a peer famprocess on  
the NFS server.


Do you have a peer fam process on the NFS server?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sleepycat db VS MySQL or postgres

2013-07-02 Thread Mark Felder

On Tue, 02 Jul 2013 07:12:37 -0500, Ivan Voras  wrote:


On 02/07/2013 13:55, Mark Felder wrote:


If twitter was built upon a WORM database instead of MySQL they could
host the entirety of twitter on a handful of servers instead of the
gross MySQL+Cassandra mess they're fighting with today.


I'd say their problem is not exactly solvable by only choosing a  
database :D

They, like Facebook, have the problem of "fanout", where a single piece
of data goes into thousands of different user pages. Whatever they save
in the raw data access operations will probably be relatively small
compared to the horsepower needed to combine pages from all these
fleeting data pieces.



Good point :) I'm still sure it would work much, much better though.  
However, I'm just glad that's not *my* problem to fix.

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


Re: sleepycat db VS MySQL or postgres

2013-07-02 Thread Mark Felder

On Tue, 02 Jul 2013 05:45:47 -0500, Ivan Voras  wrote:


Well, this is essentially a bikeshed thread... so why not chip in


I disagree; all of these databases have distinctly different uses.

MySQL/PostgreSQL: pick your poison. Relational databases. Will you have  
multiple users connecting to the database? Will there be lots of updates  
to the data? These are what you want. If you care about data integrity,  
I'd choose Postgres.


SQLite: Do you want a relational database without needing a daemon to be  
running and will only have a single user/process accessing the database at  
one time? This is what you want.


NoSQL: Do you want to dabble with the mess that is NoSQL so you can build  
your "cloud"? Don't care if other nodes aren't guaranteed to get the  
latest copy of the data? This is what you want.


SleepyCat/BerkleyDB: Is your data WORM? (Write Once Read Many) If so, this  
is *ABSOLUTELY* what you want.




If twitter was built upon a WORM database instead of MySQL they could host  
the entirety of twitter on a handful of servers instead of the gross  
MySQL+Cassandra mess they're fighting with today.

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


Re: Compile a port without its dependencies?

2013-06-28 Thread Mark Felder

Sometimes build dependencies are just that --

You might benefit from using the poudriere tool to build these things in a  
clean environment and then you can just install the package/runtime  
dependencies.

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


Re: pure-ftpd& Ldap

2013-06-28 Thread Mark Felder

On Fri, 28 Jun 2013 09:37:12 -0500, maral ff  wrote:



I installed Pure-ftpd + Ldap and add a user in Ldap
but Pure-ftpd don't recognize that user
how can i fix this issue?


We're going to need some sort of confirmation that you actually configured  
pure-ftpd to bind to your LDAP server. Can you provide your  
pureftpd-ldap.conf?

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


Re: Should I be able to use mergemaster with freebsd-update?

2013-06-26 Thread Mark Felder
On Wed, Jun 26, 2013, at 2:07, Mike Brown wrote:
> 
> Next step, I think, is reboot, before another 'freebsd-update install'
> run.
> I'm worried something is still amiss, though, so I'm holding off for now.
> :(

When in doubt: fetch source, build, install, and use mergemaster. Then
reboot. Better safe than sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Should I be able to use mergemaster with freebsd-update?

2013-06-25 Thread Mark Felder
On Tue, Jun 25, 2013, at 15:29, Eugene wrote:
> Hi all,
> 
> I do not quite understand. Is the freebsd-update upgrade process
> completely 
> broken? Or is it some special mode? Or was it broken recently?
> Because some time ago I have upgraded from 8.1 to 8.2 quite nicely, with 
> editor-based merging of config files, and was planning to upgrade to 8.4 
> soon (especially as 8.2 is already not compatible with some ports).
> 

It depends on how many changes happen between the releases. Have you
tried taking 7.x to 9.x before? You'll have to deal with that editor for
merging many, many files. Maybe nearly everything in /etc. It's quite
time consuming, whereas I can get mergemaster to auto-merge all of those
files and only show me the 5 that I've personally touched.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html

2013-06-25 Thread Mark Felder
On Tue, Jun 25, 2013, at 11:23, Stephen Burke wrote:
> Does anyone know how I could push serial output to an IP port that I
> could SSH to?
>

You want something like a Portmaster or Lantronix device that will
provide serial consoles over SSH

http://www.lantronix.com/device-networking/external-device-servers/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Should I be able to use mergemaster with freebsd-update?

2013-06-25 Thread Mark Felder
On Tue, Jun 25, 2013, at 3:14, Mike Brown wrote:
> 
> Well, thanks for reading this far. I'm scared to death to reboot now,
> since my
> server is in another city, but we'll see how it goes.
> 

I always avoid freebsd-update when moving between releases simply
because of this atrocity.

If it requires we setup a stupid kickstarter to fund a developer to sit
down and rip into freebsd-update so it uses mergemaster I would be
incredibly thankful. I don't know how anyone can upgrade between FreeBSD
releases without an /etc/mergemaster.rc with the following settings:

AUTO_INSTALL='yes'
AUTO_UPGRADE='yes'
# keep our custom motd
IGNORE_FILES='/etc/motd'
# Do not display changes that only affect whitespace
DIFF_FLAG='-Bub'
FREEBSD_ID='yes'
DELETE_STALE_RC_FILES='yes'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Which is the public interface to use for ipfw when lagg(4)?

2013-06-25 Thread Mark Felder
On Tue, Jun 25, 2013, at 7:13, Unga wrote:
> 
> What is the interface should I use for the pif? Is it lagg1?
> 

The interface you should use is the interface the IPs are on. It doesn't
matter what kind of interface it is. In this case it looks like lagg1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: When to submit regression in a PR

2013-06-22 Thread Mark Felder
On Fri, Jun 21, 2013, at 2:42, Aymeric Mansoux wrote:
> 
> My question therefore is: while I will mention these problems upstream,
> should I also make the PR? Contact the port maintainer directly? 
> I understand it is not FreeBSD specific (same issue on Debian Sid)
> however it really make the current port unusable for those working on
> laptops and those needing to input characters only reachable with the
> compose key.
>

It's probably a good idea to open a PR and let the port maintainer know,
but we really need to have upstream to fix it. FreeBSD discourages doing
custom "development" in the ports tree, so even if you could whip up a
patch to fix it we would prefer that it get committed upstream and the
port updated to pull the new version rather than have the port committer
include a custom patch with the port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD maximum password length

2013-06-17 Thread Mark Felder
On Mon, Jun 17, 2013, at 21:19, Brandon Gooch wrote:
> On Mon, Jun 17, 2013 at 6:35 AM, takCoder  wrote:
> 
> Perhaps your PR is unnecessary:
> 
> $ svn log -v -r243023 /usr/src/sys/sys/param.h
>

Hmm, looks like it wasn't MFC'd to 9-STABLE before 9.1's release. Well,
at least it's good to know that it's coming.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD maximum password length

2013-06-17 Thread Mark Felder
On Mon, 17 Jun 2013 12:52:48 -0500, Teske, Devin  
 wrote:



Is sha512 the highest it goes in our system?


Not sure what the limitations are. I know OpenBSD uses blowfish and I have  
been using that on older FreeBSD servers as a workaround. I think that  
OpenBSD uses a high number of rounds on their blowfish to make brute  
forces more difficult because of how slow it gets.

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


Re: FreeBSD maximum password length

2013-06-17 Thread Mark Felder
On Mon, 17 Jun 2013 12:25:54 -0500, Teske, Devin  
 wrote:



The default in FreeBSD is MD5


MD5 is no longer the default.


http://svnweb.freebsd.org/base?view=revision&revision=238484
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD maximum password length

2013-06-17 Thread Mark Felder
There isn't a max password length as far as I'm aware, but there is a max  
username length that drive me insane sometimes. I should really file a PR  
about that...

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


Re: Bourne shell "if" syntax

2013-06-10 Thread Mark Felder
On Mon, 10 Jun 2013 14:05:45 -0500, Tim Daneliuk   
wrote:



  if  [  _"$PTR"  ==  _  ]  ;  then


I've never seen this syntax before. Intriguing!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: System Calls that do DNS

2013-06-05 Thread Mark Felder

On Mon, 03 Jun 2013 21:57:07 -0500, Doug Hardie  wrote:

I have an unusual situation.  A program is doing a DNS lookup and often  
the IP address has no reverse DNS entries.  As a result the program  
hangs for several timeouts.  The call is not being made directly in its  
code, but is occurring in a system call.  There are no specific calls to  
DNS, its something else doing it.  I have been trying to track down  
which system call is doing it, but without success so far.  I have tried  
syslog calls around each of the system calls I thought might be the  
culprit, but my guessing is not very good.  How can I identify the  
system call that is calling DNS?  If I can find it, I hopefully can find  
another way to do whatever it does that does not involve a reverse DNS  
lookup.





The system DNS lookups are handled by libc. Probably somewhere in the code  
here:


http://svnweb.freebsd.org/base/head/lib/libc/nameser/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Mark Felder
On Tue, 04 Jun 2013 10:47:16 -0500, Tim Daneliuk   
wrote:



I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.


I don't use sendmail, but aren't the login attempts at least logged in  
maillog as well? If so, you could use fail2ban to ban them. We do this  
with postfix/exim/dovecot/etc.

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


Re: why is ports web page so far out of date

2013-06-04 Thread Mark Felder

On Tue, 04 Jun 2013 07:08:15 -0500, Fbsd8  wrote:


I can not get current version of the ports system.
The ports web page http://www.freebsd.org/ports/
is almost 2 years out of date. Says the port I am interested in is at  
1.7 version when just 2 weeks ago it was at 2.2. Portsnap is also messed  
up showing the 1.7 version.





I'm not sure what the status of this system is, but I'd recommend you use  
the official unofficial Freshports.org

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


Re: setup journaling for root partition

2013-05-21 Thread Mark Felder
On Tue, 21 May 2013 06:43:34 -0500, saeedeh motlagh  
 wrote:



thanks Julien, but i think it's not true. man page for newfs seys that
journaling is done via gjournal and in freebsd handbook it says do
journaling with gjournal for UFS file system.


No, he's right. It's generally not recommended to use gjournal anymore.  
It's still supported for those that have existing implementations and want  
to be able to update their FreeBSD install without breaking their  
filesystems.


UFS' SUJ (soft updates journaling) is what you should be using.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: VMware tools for FreeBSD

2013-05-08 Thread Mark Felder
If this is a production server operation VMWare will *only* support you  
running their list of supported FreeBSD versions and their official VMWare  
Tools. This means you'll often be left behind several releases with the  
most recent available being completely abandoned by the FreeBSD project.  
It's a sad situation that they call this "supported".


If you really don't have any concerns about that what you want is  
emulators/open-vm-tools or emulators/open-vm-tools-nox11

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


Re: pkgng repositories

2013-05-01 Thread Mark Felder

On Wed, 01 May 2013 08:54:33 -0500, Quark 
wrote:


Does some noble soul maintain any publically accessible pkgng repo?


PCBSD has one!

ftp://ftp.pcbsd.org/pub/mirror/packages/9.1-RELEASE/amd64/ (or i386)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD-update?

2013-04-24 Thread Mark Felder
On Wed, Apr 24, 2013, at 20:41, Da Rock wrote:
> On 04/25/13 09:07, Mike Brown wrote:
> > Da Rock wrote:
> >> sysctl kern.version
> > For me, that's the same info as in uname -a.
> >
> > Try this:
> >
> > grep -v # /usr/src/sys/conf/newvers.sh | head -4
> That shows even less. But the point of the OP was having a file in etc 
> with the info on version, which I fell could be redundant given the 
> excessive detail available in sysctl which is what it is meant for. 
> uname actually refers to the sysctl as a neat command for a shell user, 
> doesn't it?
>

The point is that the uname and sysctl output is inaccurate. If the
latest release is -p6 and the kernel hasn't been touched since -p4, both
uname and the sysctl only show -p4. It's impossible to tell otherwise
that the system is really -p6 if you don't have /usr/src/.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD-update?

2013-04-24 Thread Mark Felder
On Wed, Apr 24, 2013, at 18:07, Mike Brown wrote:
> Da Rock wrote:
> > sysctl kern.version
> 
> For me, that's the same info as in uname -a.
> 
> Try this:
> 
> grep -v # /usr/src/sys/conf/newvers.sh | head -4
>

Not useful if you don't have src on your servers, but that's good to
know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD-update?

2013-04-24 Thread Mark Felder
On Wed, 24 Apr 2013 14:34:30 -0500, Steve O'Hara-Smith   
wrote:



You have updated to 9.1-RELEASE-p2 - but since there have been no
kernel changes since 9.1-RELEASE the kernel version message hasn't  
changed.

This could very reasonably be regarded as bug in the update/version
reporting process but I wouldn't hold my breath for a fix, as things  
stand

the version reported only changes when the kernel is updated, or if you
recompile it after the update.


It would be nice if the version of the OS itself was stored in something  
like /etc/freebsd-version so you know what the version of the OS as a  
whole is. I'd even accept some sort of output by freebsd-update. It just  
seems silly that there's no other way -- kern.osrelease is just the base  
release and kern.version is the same thing that uname -a outputs. It's  
hard to pick this up and monitor it accurately.

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


Re: OT: posix sh problem

2013-04-04 Thread Mark Felder
On Thu, 04 Apr 2013 11:16:11 -0500, Teske, Devin  
 wrote:


Here's what I suggest (the following works for me -- lists all my pools  
and shows healthy):


Fantastic! I'd have never considered wrapping the entire thing into  
STRING="$STRING$()".


I can't tell you how much I appreciate your assistance with making this  
functional.


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


Re: OT: posix sh problem

2013-04-04 Thread Mark Felder
Sorry, my email client did something weird with collapsing and I didn't  
see you mention that it appeared to be working for you.


On Thu, 04 Apr 2013 08:54:30 -0500, Teske, Devin  
 wrote:


The only things I saw that needed changing to go from ksh to /bin/sh  
were:

if [ … == … ]; then
Needs to be
if [ … = … ]; then
And optionally, a style nit would be to convert back-tick pairs into  
nestable $(…) syntax. For example, change:

cap=`…`
to instead:
cap=$(…)
Oh and of course, the HTML should go away since you're making a  
command-line tool and not a BB/Hobbit/Xymon module.


I actually will be using this with Xymon at work. I did fix the == and  
style nit when I went over this script I'm still having a problem. When I  
started debugging this last night $STRING led me to believe the pipe into  
read wasn't working right. At the bottom of the script I added echo in  
front of the "$BB $BBDISP" line. My output is this:


# sh zfs_xymon.sh
status .zfs green Thu Apr  4 09:59:36 CDT 2013 zfs - health: okay -  
capacity: okay Zpool  
NameStatusCapacity all pools  
are healthy


Where are the other parts of the table showing each zpool? Those are just  
the headers. If you sh -x you'll see it flow like this:


+ read name size used avail cap depup health altroot
+ STRING='Zpool  
NameStatusCapacity '

+ /sbin/zpool status -xv

It's like everything between do ... done never happened? If you put echo  
in front of line 60 you DO get output:


# sh zfs_xymon.sh
STRING=Zpool  
NameStatusCapacity  
&greentankONLINE48
status .zfs green Thu Apr  4 10:07:30 CDT 2013 zfs - health: okay -  
capacity: okay Zpool  
NameStatusCapacity all pools  
are healthy


But as you can see, everything in that do ... done is disappearing.  
According to Rich's Posix sh tricks site it explains that the things to  
the right of that pipe are completed in a subprocess. The updates it makes  
to STRING never make it out so it can be used in the rest of the script.


Do you see what I mean now? :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: OT: posix sh problem

2013-04-04 Thread Mark Felder
On Thu, 04 Apr 2013 08:54:30 -0500, Teske, Devin  
 wrote:



Wait, you can't? Then I've been doing something wrong all these years…
#!/bin/sh
printf "line1\nline2\n" | while read line
do
echo "line=[$line]"
done


You sort-of can, but it's not portable at all. As detailed here:  
http://www.etalabs.net/sh_tricks.html


One common pitfall is trying to read output piped from commands, such  
as:

foo | IFS= read var
POSIX allows any or all commands in a pipeline to be run in subshells, 
and which command (if any) runs in the main shell varies greatly between 
implementations — in particular Bash and ksh differ here. The standard 
idiom for overcoming this problem is to use a here document:


IFS= read var << EOF
$(foo)
EOF



I was having problems with the variables magically becoming empty,  
remembered I had Rich's site bookmarked, checked to see if it mentioned  
and it was. I'll admit there's a high chance that due to lack of sleep  
user error was the culprit.

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

Re: OT: posix sh problem

2013-04-04 Thread Mark Felder

On Thu, 04 Apr 2013 07:47:09 -0500, Quartz  wrote:


I'd really like to
have this working cleanly on FreeBSD without requiring any funky shells


Define "funky shell". Does it have to be straight up plain sh? Can it  
use csh or tcsh syntax? Does bash count as 'funky'?




Any shells not in the FreeBSD base system, basically. I don't want this  
script to stop working because someone somehow broke bash or zsh and  
nobody noticed because nobody ever uses it.





or using any temporary files.


Do you mean "manually created temp files"? because some of the different  
ways of doing process substitution and redirection will automatically  
create temp files for you in the background and fail on an unwritable  
filesystem.




Yes, I mean manually created temp files. It looks pretty ugly to >  
/tmp/foo and read from it a line later :)

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


OT: posix sh problem

2013-04-04 Thread Mark Felder

Hi all,

Hopefully someone here is much more clever than I am. I've run out of  
ideas on how to cleanly convert this chunk of ksh to posix sh. This is  
from a BB/Hobbit/Xymon monitoring script for ZFS. I'd really like to have  
this working cleanly on FreeBSD without requiring any funky shells or  
using any temporary files.


The following is supposed to be able to loop through the output of  
multiple zpools reading one line at a time and each line item is set as a  
variable:



/sbin/zpool list -H | while read name size used avail cap dedup health  
altroot

do
  # do interesting things here
done

Unfortunately you can't pipe through read in posix sh. You also can't use  
process substitution: while read var1 var1 < <(/sbin/zpool list -H)



Any ideas are greatly appreciated. I know there's a python-based script  
floating on github but I cant guarantee every server will have python on  
it...





Source of script is here:  
http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO#Hobbit_Client_and_ZFS_monitoring

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


snd_hda and front headphones jack

2013-03-12 Thread Mark Felder

Hi guys,

I seem to be having problems getting my front headphones jack to work.  
I've read the snd_hda man page and perhaps I'm doing this wrong, but  
here's my setup:



dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group
dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones  
conn=Jack ctype=1/8 loc=Front color=Green misc=0
dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack  
ctype=1/8 loc=Front color=Pink misc=0
dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack  
ctype=1/8 loc=Rear color=Pink misc=0
dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack  
ctype=1/8 loc=Rear color=Green misc=0
dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack  
ctype=1/8 loc=Rear color=Blue misc=0
dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker  
conn=Fixed ctype=Analog loc=0x12 color=Unknown misc=1
dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1



If I am looking at this right I believe I need to set nid25 to as=1 which  
matches the nid31 Speaker and probably also set seq=15. However, this  
doesn't seem to be working. Am I overlooking something obvious?



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


Re: https://wiki.freebsd.org/ certificate error

2013-03-01 Thread Mark Felder
On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee   
wrote:


And in this particular case, the certificate is for www.freebsd.org and  
freebsd.org, and the browser is complaining because it's being used on  
wiki.freebsd.org.


No, the certificate being used on wiki.freebsd.org is NOT the one being  
used for (www\.)?freebsd.org.


http://i.imgur.com/WHg9hI1.png

If you're seeing the certificate from (www\.)?freebsd.org on the wiki site  
you either are a victim of a MITM attack or the specific regional FreeBSD  
webserver you're talking to has the wrong certificate configured. I'm not  
even sure if the FreeBSD website has multiple webservers based on  
geographical region.


If you're seeing the (www\.)?freebsd.org certificate on wiki.freebsd.org  
site please report which IP you're connecting to so we can start comparing  
notes. If we can prove there are multiple webservers/IPs hosting  
wiki.freebsd.org we need to contact whoever manages the webserver next.

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


Re: https://wiki.freebsd.org/ certificate error

2013-03-01 Thread Mark Felder
On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee   
wrote:



On 3/1/2013 11:11 AM, Mark Felder wrote:

On Fri, 01 Mar 2013 09:42:58 -0600,  wrote:

The fact remains, the ms/browsers do find the wiki.freebsd.org  
wedsite's  certificate invalid because the certificate ip address does  
not match the ip address the public dns points to.


You can put a certificate on any IP address you want. It's not embedded  
into the certificate. For the most part it only matters that the  
CommonName on the certificate matches the hostname of the website and  
the certificate chain is valid.


And in this particular case, the certificate is for www.freebsd.org and  
freebsd.org, and the browser is complaining because it's being used on  
wiki.freebsd.org.


Their certificate should have been issued for *.freebsd.org instead of  
just the main site name. Unfortunately I think all of the certificate  
issuers charge big $$$ for that type of cert..



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


Re: Limiting jail CPU & memory resources

2013-03-01 Thread Mark Felder

On Fri, 01 Mar 2013 09:52:41 -0600,  wrote:


Read that all ready and left me with more question than answers.
Its experimental and has to be compiled into the kernel.
Need solutions that are provided as part of the base system.
Such as a loadable kernel module.
 Can not be risking the security of production jails on some
experimental software.


Unfortunately there's nothing else available yet. You'd be better off  
using full-fledged hypervisors like Xen, KVM, or ESXi. I'm also anxiously  
awaiting some improvement in this area.

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


Re: https://wiki.freebsd.org/ certificate error

2013-03-01 Thread Mark Felder

On Fri, 01 Mar 2013 09:42:58 -0600,  wrote:

The fact remains, the ms/browsers do find the wiki.freebsd.org  
wedsite's  certificate invalid because the certificate ip address does  
not match the ip address the public dns points to.


You can put a certificate on any IP address you want. It's not embedded  
into the certificate. For the most part it only matters that the  
CommonName on the certificate matches the hostname of the website and the  
certificate chain is valid.

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


Re: https://wiki.freebsd.org/ certificate error

2013-03-01 Thread Mark Felder

On Fri, 01 Mar 2013 09:23:25 -0600,  wrote:


I am not sure what he gets, but I receive this:


That Gandi certificate is correct. I wonder if he's got some strange MITM  
going on.

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


Re: Limiting jail CPU & memory resources

2013-03-01 Thread Mark Felder

On Fri, 01 Mar 2013 08:38:05 -0600,  wrote:


Is there anything in 9.1 to Limit jail CPU & memory resources?


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


Re: https://wiki.freebsd.org/ certificate error

2013-03-01 Thread Mark Felder

On Fri, 01 Mar 2013 08:08:17 -0600,  wrote:


When my browser access wiki.freebsd.org
I get certificate error message.
 Who should I notify about this problem?]


What do you get for results when you run

# openssl s_client -showcerts -connect wiki.freebsd.org:443
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Linux's "magic" sysrq

2013-02-09 Thread Mark Felder

On Fri, 08 Feb 2013 18:46:06 -0600, Joshua Isom  wrote:

I was reading the comments on a slashdot article about moving kernel  
console to userland.  One thing that came up with Linux's sysrq support,  
documented at http://en.wikipedia.org/wiki/Magic_SysRq_key to see the  
abilities.  I'd never heard of this, and I doubt FreeBSD has anything  
similar, but have I just never heard of it?




It's one of the few things I actually miss from Linux. Server hose?  
Alt+SysRq+RSEIUB (raising skinny elephants is utterly beautiful) and you  
have killed all processes, synced data to disk, unmounted drives, and  
rebooted the server.


They're going to lose a lot more than the Magic SysRq if they move to  
userland...

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


Re: Software raid VS hardware raid

2013-01-29 Thread Mark Felder
On Tue, 29 Jan 2013 08:57:31 -0600, Warren Block   
wrote:


As far a gmirror is concerned, yes, drives can be removed and new drives  
inserted while the mirror is running.  Hot swap is more of an issue with  
the hardware.  I have not tried it with SATA drives, although I think it  
should work.
 The Handbook chapter on gmirror talks about the problems with GPT and  
GEOM metadata.  In short: right now, they conflict.  It's possible to  
mirror GPT partitions, but be aware that if you mirror more than one  
partition on a drive, a rebuild after replacing a drive could thrash the  
heads as mirrors are rebuilt simultaneously.
  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html


Why isn't gmirror more intelligent? I hate to use Linux as an example, but  
mdadm won't simultaneously rebuild multiple RAID sets if they use the same  
physical providers to prevent this. Could this be added as a feature? Even  
a sysctl toggle?

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


Re: ffmpef 1.1

2013-01-15 Thread Mark Felder
On Tue, 15 Jan 2013 14:22:56 -0600, Zyumbilev, Peter  
 wrote:



1.1 has REALLY cool features - burn subtitles


Hardcoded subs are the worst :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ffmpef 1.1

2013-01-15 Thread Mark Felder
On Tue, 15 Jan 2013 13:47:49 -0600, Zyumbilev, Peter  
 wrote:



Hi,

Does anybody know if there soon be port of ffmpeg 1.1 to FreeBSD ?



I assume multimedia/ffmpeg1 just needs an update
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jails

2013-01-11 Thread Mark Felder
On Fri, 11 Jan 2013 18:28:41 +0200
"Zyumbilev, Peter"  wrote:

> 1. Use
> http://download.openvz.org/template/precreated/debian-6.0-x86.tar.gz
> instead the file listed in the howto.
> 
> 2. Run sysctl compat.linux.osrelease=2.6.32 in Freebsd shell before
> starting the jail, otherwise you will get error "kernel too old".

Does PLEX work? I'm highly interested in this I even posted asking for 
FreeBSD support on the relevant forum post...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Mark Felder
On Thu, 3 Jan 2013 12:24:31 -0400
Joseph Mingrone  wrote:

> A little of topic, but Fossil is BSD licensed.

It also would work poorly as an SCM for FreeBSD because everything would be in 
a giant sqlite database :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD: GIT instaed of SVN?

2013-01-03 Thread Mark Felder
On Thu, 3 Jan 2013 12:19:55 +0200
Volodymyr Kostyrko  wrote:

> Nope, importing svnsup would suffice.
> 
> http://svnweb.freebsd.org/base/user/des/svnsup/

As far as I know that's not a completed project.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: SOLVED...Re: Trying to find out how to mount as user

2013-01-02 Thread Mark Felder
On Wed, 2 Jan 2013 17:47:15 +0100
Leslie Jensen  wrote:

> I was on a wired connection first and the on wifi so I had two different 
> IP-addresses!

FYI a cool trick is to bridge your ethernet and wifi so you can keep your IP 
and roam between wired and wireless :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is csup broken?

2013-01-02 Thread Mark Felder
On Wed, 2 Jan 2013 11:08:24 -0500
fb...@a1poweruser.com wrote:

> This 9.1 release was released prematurely. It has more problems
> them 5.0 had which had a re-release 2 weeks later to fix problems.

This is FUD. Stop being afraid of change.

Users use portsnap
Power users use svn

There's no use trying to cover everyone's edge cases. You'll never keep 
everyone happy.

> Now I just had a port I maintain committed yesterday
> and I have no way to test it to verify the port is working.

Please don't commit ports to the ports tree if you have not tested them!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD: GIT instaed of SVN?

2013-01-02 Thread Mark Felder
Git is also not BSD licensed. I believe it may require bringing Python into 
base as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as an Access Point

2012-12-21 Thread Mark Felder
On Fri, 21 Dec 2012 22:10:42 -0600
dwei...@dweimer.net wrote:

> I will look into those, currently running UniFi, worked out great at 
> first, but struggling now, can only get 1-3Mbps download, yet 50-60Mbps 
> upload.

This seems very, very strange. I've never heard of that problem with UnFi 
before...

Mikrotiks are "neat" devices for wifi too, but they have their own warts... 
beware. Still more powerful than the Linksys you'll pick up at Best Buy, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: clearing /var/tmp in periodic.conf?

2012-11-29 Thread Mark Felder
On Thu, 29 Nov 2012 09:19:08 -0700
Gary Aitken  wrote:

> Any reasons why one should not clear /var/tmp via periodic.conf?

There are lots of things put in /var/tmp that programs expect to be persistent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: latest git ports upgrade

2012-11-29 Thread Mark Felder
On Thu, 29 Nov 2012 15:04:12 +0100
Artifex Maximus  wrote:

> On next upgrade got the first error so I am in loop. Any idea what to do?

Please check /usr/ports/UPDATING which has a note in there about git.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: VM queue

2012-11-29 Thread Mark Felder
On Thu, 29 Nov 2012 13:13:03 +0400
vag...@bsdway.ru wrote:

> I running big process on my machine and the memory pages of some other 
> process been moved to swap.
> I run swapoff(8) for clean swap partition and after swapon(8).

Why are you trying to force these things out of swap?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Next csup tool to fetch src/ and ports/

2012-11-29 Thread Mark Felder
On Wed, 28 Nov 2012 13:24:40 +0100
David Demelier  wrote:

> I will need to use portsnap, to fetch ports build subversion and then I can
> fetch the src, fetch the ports again using svn this time, that's a little
> bit painful.
> 
> Maybe we can try to write something like srcsnap with the same behavior /
> features as portsnap ?

I don't expect you'll find src available in anything simpler than svn.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nvidia and flash plugin problem

2012-10-03 Thread Mark Felder

http://lists.x.org/archives/xorg-announce/2012-September/002066.html

This is very much related.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-10-01 Thread Mark Felder

On Mon, 01 Oct 2012 15:00:40 -0500,  wrote:



Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 5  
ee 60 16 0 1 0 0
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3  
ef 42 51 0 1 0 0
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3  
ef 64 51 0 1 0 0
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3  
ef 66 51 0 1 0 0
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
...
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0  
41 f3 94 99 0 1 0 0
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): Retrying command



Sometimes you'll see this before a crash, but not every time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: What replaces csup?

2012-09-18 Thread Mark Felder
On Tue, 18 Sep 2012 07:00:08 -0500, Michael Sierchio   
wrote:



We are really behind the curve here.  Git assumes (correctly) that
disk space is inexpensive, much cheaper per byte than network
bandwidth.  By the time we adopt SVN completely, every serious project
I know of will have moved from subversion to git.


Git is available in a hush-hush unsupported fashion for ports and source.  
I'll warn you: it will take you forever to pull it.

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


Re: pkgconf-0.8.9 conflicts...

2012-09-15 Thread Mark Felder

On Sat, 15 Sep 2012 10:33:09 -0500,  wrote:



But of course I can't deinstall it because several hundred already  
installed

require it.


The required instructions to fix your problem are in /usr/ports/UPDATING.  
Just serarch for pkgconf.



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


Re: Apache 2.2 and php 5.4.5 failing on freebsd 8.3

2012-08-20 Thread Mark Felder
Are you running pecl-APC? If so, what version? There's a major issue with  
the latest.

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


Re: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem

2012-08-20 Thread Mark Felder

On Mon, 20 Aug 2012 14:57:14 -0500,  wrote:


Support for "FLASH" basically sucks.


Please stop trolling. I've been using flash with zero issues for 3 years.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


  1   2   3   >