Re: doom, quake, hexen...

2012-08-20 Thread Josh Tolbert
games/quake2max is a good one...At least it was years ago when I tried 
it. I see nothing in the Makefile that will prevent it from building on 
amd64.


Cheers,

Josh

On 8/20/12 12:16 PM, Polytropon wrote:

On Tue, 21 Aug 2012 00:05:17 +0700, Victor Sudakov wrote:

Polytropon wrote:

Please advise if there are any 3D shooters in the ports collection
which work out of the box on 9.0-STABLE (amd64)? None of those I have
tried work for a number of irritating reasons, like e.g.

games/uhexen: http://pastebin.com/ZaJ74eaa

MIDI load failed:/etc/timidity.cfg: No such file or directory

Install timidity++ from ports to get MIDI background music support.

Actually I have compiled it WITHOUT_MUSIC. Anyway, recompiling with background
music support does not make things any better:

Starting Hexen!
XDM authorization key matches an existing client!V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
DEMO IWAD detected!
Z_Init: Init zone memory allocation daemon.
MN_Init: Init menu system.
CT_Init: Init chat mode data.
S_InitScript
SN_InitSequenceScript: Registering sound sequences.
I_Init: Setting up machine state.
SDL Audio opened successfully.
ST_Init: Init startup screen.
Executable: U-Hexen 0.5 build Aug 20 2012.
R_Init: Init Hexen refresh daemonTextures Bus error (core dumped)

"Bus error" doesn't sound good.




games/doom: http://pastebin.com/XdrCwzvn

doom-1.10_5 is only for i386, while you are running amd64.

A precise message.

Does not make me any happier.

But at least it tells the truth from the beginning.




games/quake2lnx even pretends to do something: it opens a tiny X11
window with some flickering rubbish and plays some farting sounds to
the audio system.

Is there any working 3D shooter in the ports collection my 8 year old
son could enjoy?

How about OpenArena? I'm currently playing it with pals via
Internet. Okay, not at this moment, as I'm writing this
message, obviously... :-)

This is some multiuser game, isn't it? I was looking for something one
could play alone, like Doom or Hexen.

You actually have a series of levels to play against computer
enemies (AI), but it's not that it contains a "story" like
DooM or Quake.




I have some WADs from the old
DOS CDs and from BBSes.

Try to load them with lsdldoom or prboom (I've tried both in
the past).




First make sure all your 3D stuff runs fine. Install "xlockmore"
and test it with:

% xlock -nolock -mode lament
% xlock -nolock -mode fire

Works fine?

Yes, it does. In fact, I use xlock as my screensaver all the time.

Very good, so there will be _no_ problem related to 3D, which
often is the main issue for those games.




Next consideration:

Games in ports collection that run out of the box (even though I
still have 8.2-STABLE/x86 here) include DooM 3 and Quake 4.

If I wanted a linux game, I would use the linux notebook. I am very
reluctant in install half-a-penguin on my FreeBSD box just to play a
game.

I also had to apply some tweaks to get those games running, it's
at least not trivial.




I've
also tried RTCW, but except a grey fullscreen I get nothing.
Music plays, I can move the mouse and listen to the main menu
choices "clicking", but I don't see anything. For older DooM
ports, I've successfully been playing DooM, DooM II and Heretic
using lsdldoom port on a 300 MHz P2. Note lsdldoom also supports
OpenGL graphics.

Which port is it? "make search key=lsdldoom" finds nothing.

Oh, it's "doomlegacy".




I could also play Quake, Quake 2 from ports,
and Jedi Knight II via wine.

Oh, is there really nothing native?

No, that game is far too old, but Quake and Quake 2 have ports
(to native FreeBSD) which work very nicely with the original
files from the DOS version. Still it was playable more than 5
years ago, so even considering the ongoing disimprovement, it
should run today. :-)

Maybe even other older DOS shooters (Duke Nukem 3D, Chasm,
Shadow Warrior, Dark Forces, Blood and so on) could be easily
run using a VM or emulator?






--
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller

___
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: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread Josh Tolbert

On 3/13/12 4:06 PM, Gary Kline wrote:

On Tue, Mar 13, 2012 at 12:39:38PM +1000, Da Rock wrote:
so that's it. i messed around with mythtv last fall on my ubuntu 
distro. couldn't get anywhere and finally realized that =you need some 
kind of HARDWARE=.


I have an HDHomeRun...The original "classic" two-tuner model, from 
http://www.silicondust.com. It's a stand-alone DTV streamer. I use it 
with an antenna; apparently you can get versions that work with antennas 
or cablecard/cable TV as well. Works great. I use it with Windows Media 
Center for scheduling recordings, but they work great with MythTV, VLC 
and others for recording. Using VLC, I've recorded some videos of a 
local band on a morning show that have ended up on YouTube...I can send 
links if you want to see how it looks, although that station only 
broadcasts in 480i.


For what it's worth, I've successfully used three BT848/878/878+ 
cards---all of which were PixelView or STB cards---in the same machine 
running FreeBSD with the bktr driver and Motion to handle 
surveillance-camera duties. mplayer/mencoder could only use bktr0 cause 
they hard-code bktr0 in the source and seemed thoroughly uninterested in 
fixing this oversight, even though the change would be fairly minor.


Hope that helps someone.

Cheers,

Josh

--
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller

___
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: Using sendmail as a client with auth

2012-02-13 Thread Josh Tolbert

On 2/13/2012 11:12 PM, Bernt Hansson wrote:


Thank you for your answer.



I wrote this ages ago and it's still valid. You can ignore the IMAP 
stuff if you like. :)


http://www.puresimplicity.net/~hemi/freebsd/sendmail.html

Cheers,

Josh

--
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller

___
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 Enable ls Color?

2012-01-08 Thread Josh Tolbert

On 1/8/2012 6:14 PM, Polytropon wrote:

On Sun, 08 Jan 2012 16:04:17 -0800, Drew Tomlinson wrote:

I've installed 9.0-RC3 amd64.  I'm trying to enable color output for
ls.  I've issued the basic 'ls -Gla' but output is not colored.  Yet if
I can get colorized output by providing color codes (echo
^[[34mhello^[[37m produces a blue "hello") at the command line so I know
my terminal is capable.

Is there some other secret?  This is a new install and I'm just trying
to set things up.

Put

setenv LSCOLORS ExGxdxdxCxDxDxBxBxegeg

in the csh's initialisation file (typically ~/.cshrc
for local use, /etc/csh.cshrc for global effect)
and maybe setup an alias:

alias ls 'ls -FG'
alias ll 'ls -laFG'

However, ls should provide colored output even
if you don't set the $LSCOLORS variable. It
should work with the default terminal emulation
(cons25 or cons25l1).



From here: http://www.puresimplicity.net/~hemi/freebsd/misc.html

CLICOLOR="YES";export CLICOLOR
LSCOLORS="ExGxFxdxCxDxDxhbadExEx";export LSCOLORS

I last updated that page a while ago...But it still seems to be working for me. 
:) You shouldn't really have to muck around with term type or anything...

Cheers,

Josh

--
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller

___
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: Snow in my Server

2008-12-19 Thread Josh Tolbert
On Fri, Dec 19, 2008 at 08:10:51PM +0100, Roger Olofsson wrote:
> 
> 
> Gary Hartl skrev:
> >Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
> >7-release server.
> >
> >IT seems to be causeing some http outages.
> >
> >My FBSD 6-.0 doesn't seem to be affected thou.
> >
> >
> >Any suggestions,
> >
> >
> >Cheers,
> >
> >Gary 
> >
> 
> Locate roof in ports and build roof!
> 
> /R

Build a bike shed over the server? :)

Josh
-- 
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
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: NFS drops with em0 driver

2008-06-01 Thread Josh Tolbert
On Sun, Jun 01, 2008 at 11:36:05AM +0530, Subhro wrote:
> Hello,
> 
> I am facing a strange problem on my systems. I am running
> FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am
> facing a lot of issues where the NFS connections are dying randomly.
> Is there any known bug with the em driver? I am using the SCHED_ULE
> scheduler.
> 
> Thanks
> Subhro

Hello Subhro,

I have nothing to add besides a "me too." I ended up replacing my em0 with an
fxp0 and all of my networking issues (watchdog timeouts, link
dropping/reconnection, etc.) disappeared. This may have been flaky hardware.
Do you have another NIC you can try with?

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I get sendmail working again

2008-01-06 Thread Josh Tolbert
On Sun, Jan 06, 2008 at 09:22:52AM +, Matthew Seaman wrote:
> There's your problem.  You've got two conflicting sets of daemon
> options -- effectively you're telling sendmail to bind to the
> same interfaces twice for port 25.
> 
> Just delete the DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl line
> and try again.
> 
>   Cheers,
> 
>   Matthew

Or just comment out both the IPv4 and IPv6 DAEMON_OPTIONS lines, leaving the
smtp/smtps lines alone. I didn't notice that in the config he posted; good
catch.

I sent Andy my box's .mc and it has both commented out.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Drive concatenation...Which tool to use?

2007-07-26 Thread Josh Tolbert
On Thu, Jul 26, 2007 at 07:59:35PM +0200, Roger Olofsson wrote:
> Gconcat looks mighty cool, will it be able to concat two devices that
> already have existing filesystems on them and retain these? Say that ad0
> has /usr and ad1 has /home will gconcat preserve these after concat:ing
> ad0 with ad1?

I believe geom/gconcat works below the file system level, so most likely not.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Drive concatenation...Which tool to use?

2007-07-25 Thread Josh Tolbert
On Wed, Jul 25, 2007 at 08:22:40PM -0700, Garrett Cooper wrote:
> gvinum works just fine for RAID-0 operations, if that's what you want.
> 
> -Garrett

Probably not, considering the drives are all different sizes. I think gconcat
will most likely do what we want.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Drive concatenation...Which tool to use?

2007-07-25 Thread Josh Tolbert
On Wed, Jul 25, 2007 at 10:43:29PM -0400, John Nielsen wrote:
> On Wednesday 25 July 2007, Josh Tolbert wrote:
> > I've got a friend that wants to use a FreeBSD box for a file server. He
> > has a huge pile of drives of different sizes, but he wants them all as
> > one big file system. What's the appropriate tool for this? gstripe
> > doesn't seem like it'd be smart to use with differently-sized drives. Is
> > gvinum up to snuff and stable enough to use? Is ccd still supported? What
> > would be your tool of choice?
> 
> gconcat, perhaps?

Talk about missing the obvious one...That should work. Thanks.

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Drive concatenation...Which tool to use?

2007-07-25 Thread Josh Tolbert
Hello,

I've got a friend that wants to use a FreeBSD box for a file server. He has a
huge pile of drives of different sizes, but he wants them all as one big file
system. What's the appropriate tool for this? gstripe doesn't seem like it'd
be smart to use with differently-sized drives. Is gvinum up to snuff and
stable enough to use? Is ccd still supported? What would be your tool of
choice?

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -o strangeness...

2007-06-12 Thread Josh Tolbert
On Tue, Jun 12, 2007 at 11:23:34AM +0100, Alex Zbyslaw wrote:
> It doesn't look like what I was suggesting is the issue so it's all 
> moot, but the example I can see:
> 
>sudo portupgrade -fo devel/bison2 bison
> 
> is different from what I was suggesting:
> 
>sudo portupgrade -f -o devel/bison2 bison
> 
> which deliberately split -f and -o.  Your original version could reasonably 
> be expected to work, but I have seen software (even written some :-)) which 
> does not correctly parse flags when they are combined ("-fo") especially 
> when one of them also takes an argument. That's not what's happening here, 
> but my suggestion was always a shot in the dark.
> 
> >Anyway, a PR has been filed and the response is, "it's a feature." I'm not
> >sure how it's a feature, but it is. The example I was given looks like 
> >this:
> >
> >$ pkg_version -t 2.3_1 1.75_2,1
> ><
> >
> >I'm guessing it's just doing some odd string comparison instead of breaking
> >the version number apart and handling it with weight on the major version
> >number, etc.
> > 
> >
> I find it bizarre too,  since I don't even understand *why* the version 
> numbers matter in that command line.  You've said "upgrade using 
> devel/bison2" as the origin and it's upgrading using "devel/bison".  I 
> could understand the version number bizarre-matching affecting *whether* 
> portupgrade chooses to upgrade (so requiring -f) but not that it fails 
> to honour the origin you've given.
> 
> The pkg_version comparison is surely just wrong.  The version numbers 
> look correct to me.  Interestingly, if you drop the ,1 from the second 
> version, the answer is correct (on 5.4 anyway).
> 
> $ pkg_version -t 2.3_1 1.75_2
> >
> 
> Or add a comma to the first
> 
> $ pkg_version -t 2.3_1,1 1.75_2,1
> >
> 
> 
> which looks like a bug to me, but maybe there's something non-standard 
> about that version number.  Blowed if I can see what; there are plenty 
> of examples like it in my installed packages.
> 
> There's definitely a bug in something.
> 
> Software, bah.
> 
> --Alex
> 
> PS Presumably deinstalling bison and installing bison2 worked OK as a 
> workaround?

I didn't try separate options for -f and -o. I've always just ran
single-letter options together and never had any issues. I'd be surprised if
that were the problem.

I ended up going back to portupgrade from portupgrade-devel and everything
seemed to work fine.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -o strangeness...

2007-06-11 Thread Josh Tolbert
On Fri, Jun 08, 2007 at 12:04:38PM +0100, Alex Zbyslaw wrote:
> Josh Tolbert wrote:
> 
> >(15:38:21 <[EMAIL PROTECTED]:~>) $ pkg_info | grep bison
> >bison-1.75_2,1  A parser generator from FSF, (mostly) compatible with 
> >Yacc
> >(15:38:30 <[EMAIL PROTECTED]:~>) $ sudo portupgrade -o devel/bison2 bison
> >(15:38:34 <[EMAIL PROTECTED]:~>) $ sudo portupgrade -fo devel/bison2 bison
> >--->  Reinstalling 'bison-1.75_2,1' (devel/bison)
> > 
> >
> Have you tried "sudo portupgrade -f -o devel/bison2 bison" in case it's 
> some bug in parsing merged options?  Worth a PR in any case...
> 
> Failing that you could just pkg_delete bison and install bison2 afresh.  
> You shouldn't have to but...
> 
> --Alex

Hi Alex,

Yes, I did exactly that. Take a look at the example above. :)

Anyway, a PR has been filed and the response is, "it's a feature." I'm not
sure how it's a feature, but it is. The example I was given looks like this:

$ pkg_version -t 2.3_1 1.75_2,1
<

I'm guessing it's just doing some odd string comparison instead of breaking
the version number apart and handling it with weight on the major version
number, etc.

Ironically, portupgrade still does things right. portupgrade-devel is the
port I'm having problems with.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -o oddness...

2007-06-08 Thread Josh Tolbert
On Fri, Jun 08, 2007 at 12:39:33PM -0400, Gerard wrote:
> On June 08, 2007 at 11:25AM Josh Tolbert wrote:
> 
> 
> > Filing a PR would be the obvious thing to do now that I know there's 
> > actually
> > a problem, isn't it? Seems like you enjoy stating the obvious, though.
> 
> Actually, no. I think you would be amazed at the number of individuals
> who discover a problem, confirm it with other users and then just sit
> back and complain hoping that someone else will do something about.
> 
> I meant no offense to you personally; it is just a fact of human
> nature. I wonder though whether anyone has actually filed a report on
> it yet. Since I don't use 'portupgrade' usually, I was not even aware
> of this problem.

Filing a PR is the plan. It's on the to-do list for today, as well as sending
a PR to update one of my ports.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -o oddness...

2007-06-08 Thread Josh Tolbert
On Fri, Jun 08, 2007 at 06:00:55AM -0400, Gerard wrote:
> On Friday June 08, 2007 at 02:34:32 (AM) [EMAIL PROTECTED] wrote:
> 
> 
> > Confirmed, -o worked as advertised here
> > before the move to portupgrade-devel and
> > now does not.
> 
> Have you filed a PR regarding this apparent bug?

Hello Gerard,

Filing a PR would be the obvious thing to do now that I know there's actually
a problem, isn't it? Seems like you enjoy stating the obvious, though.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -o oddness...

2007-06-07 Thread Josh Tolbert
On Thu, Jun 07, 2007 at 06:53:49PM -0400, Gerard wrote:
> Posting two identical questions except for the "Subject", eighteen
> minutes apart, to the same list does seem a bit tacky.

Yeah, sorry about that. Got a "message deferred" notice about the
first message, jumped the gun and sent another one.

Ironically, OpenOffice 2 was what I was trying to install. I suppose
I could have used packages, but I generally just start something
building before I run off to work and it's done when I come home.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade -o strangeness...

2007-06-07 Thread Josh Tolbert
Hello,

Having successfully completed my update from Xorg 6.9 to Xorg 7.2, I decided
to install a few things, one of which required devel/bison2 instead of bison.
Usually, portupgrade -o would handle this for me, but lately it seems like
portupgrade -o doesn't want to replace ports. Has anyone else noticed this or
is there a known workaround/fix?

(15:38:21 <[EMAIL PROTECTED]:~>) $ pkg_info | grep bison
bison-1.75_2,1  A parser generator from FSF, (mostly) compatible with Yacc
(15:38:30 <[EMAIL PROTECTED]:~>) $ sudo portupgrade -o devel/bison2 bison
(15:38:34 <[EMAIL PROTECTED]:~>) $ sudo portupgrade -fo devel/bison2 bison
--->  Reinstalling 'bison-1.75_2,1' (devel/bison)

The same problem occurred when I tried to replace ghostscript-gnu with
ghostscript-gpl as well.

I'm using portupgrade-devel instead of portupgrade.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade -o oddness...

2007-06-07 Thread Josh Tolbert
Hello,
   
Having successfully completed my update from Xorg 6.9 to Xorg 7.2, I decided
to install a few things, one of which required devel/bison2 instead of bison.
Usually, portupgrade -o would handle this for me, but lately it seems like
portupgrade -o doesn't want to replace ports. Has anyone else noticed this or
is there a known workaround/fix?
  
(15:38:21 <[EMAIL PROTECTED]:~>) $ pkg_info | grep bison
bison-1.75_2,1  A parser generator from FSF, (mostly) compatible with Yacc
(15:38:30 <[EMAIL PROTECTED]:~>) $ sudo portupgrade -o devel/bison2 bison
(15:38:34 <[EMAIL PROTECTED]:~>) $ sudo portupgrade -fo devel/bison2 bison
--->  Reinstalling 'bison-1.75_2,1' (devel/bison)
  
The same problem occurred when I tried to replace ghostscript-gnu with
ghostscript-gpl as well.
  
I'm using portupgrade-devel instead of portupgrade.
  
Thanks,
  
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is there any already-existing method for removing empty dirs through periodic?

2007-05-12 Thread Josh Tolbert
On Sat, May 12, 2007 at 04:02:00PM +0100, RW wrote:
> On Sat, 12 May 2007 00:05:58 -0500
> Josh Tolbert <[EMAIL PROTECTED]> wrote:
> 
> > ...
> > This setup eats disk space fast. I've been using the clean-tmps daily
> > periodic to remove all files older than seven days from the video
> > location, which takes care of the space issue, but there's one more
> > little issue. It leaves a lot of empty directories. I could just
> > write a cron entry to take care of empty directories, but I'm hoping
> > there's something I'm missing and there's a way to remove empty
> > directories from the locations specified in daily_clean_tmps_dirs
> 
> They should be deleted automatically, but it's based on when they are
> last modified, not just when the last file is removed, so it should take
> 14 days in your case.

Now that I look at it, you're right. Thanks. Sorry for wasting everyone's
time.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is there any already-existing method for removing empty dirs through periodic?

2007-05-11 Thread Josh Tolbert
Hello,

A bit of backstory...I'm running motion (motion.sourceforge.net) on a machine
connected to three analog IR cameras through three bktr cards in order to keep
an eye on our vehicles. We've had problems with stereos stolen, tires cut,
etc. motion is configured to write files out to the apache22 DocumentRoot,
which makes it easy to view the videos. I've even got Apache doing neat things
with HTMLTable, FancyIndexing, SuppressRules and CSS to make it not look
horrible, but that's besides the point.

The cameras write out their videos to subdirs like so:
year/month/day/camera-#/hh-mm-ss.avi.

This setup eats disk space fast. I've been using the clean-tmps daily periodic
to remove all files older than seven days from the video location, which takes
care of the space issue, but there's one more little issue. It leaves a lot of
empty directories. I could just write a cron entry to take care of empty
directories, but I'm hoping there's something I'm missing and there's a way to
remove empty directories from the locations specified in
daily_clean_tmps_dirs. If there's not, would this be a useful feature to add
to the clean-temps daily script?

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: find returns unusable result

2007-02-28 Thread Josh Tolbert
On Wed, Feb 28, 2007 at 11:33:14PM +, Vince wrote:
> or just
> find /path/to/dirs -type d -exec chmod 755 {} \;
> should do it.

Fair enough; I generally prefer the xargs method in case I have to do any more
processing later. Also, xargs' batching may potentially save you a bit of
time, but I doubt that'd be noticable.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: find returns unusable result

2007-02-28 Thread Josh Tolbert
On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
> I'd like to cron a process that looks at a certain folder every day and 
> changes the perms on a directory if they aren't what I want. 
> Unfortunately, the people creating the folders are Windows folks using 
> WinSCP, and so they create folders with spaces in them.  (E.g. Day 1, Day 
> 2, etc.)
> 
> I thought I could just do this:
> chmod 755 `find /path/to/dirs -type d`
> 
> but find returns a directory name of Day, Day, Day, which (obviously) 
> doesn't work.
> 
> >From the cli, find returns the actual directory name.
> 
> How can I get find to return the dirs correctly in a script?  Or is there 
> some other way to do this that would work?
> 
> Paul Schmehl ([EMAIL PROTECTED])

find /path/to/dirs -type d -print0 | xargs -0 chmod 755

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Outlook With FreeBSD IMAP

2007-02-26 Thread Josh Tolbert
On Mon, Feb 26, 2007 at 07:16:58AM -0800, [EMAIL PROTECTED] wrote:
> >> > How do I use the Cram-MD5 passwords with Outlook?
> >> > Or do I have to go plain text?
> >>
> >> Off-topic for FreeBSD-Questions but I don't believe
> >> Outlook supports CRAM-MD5 out of the box.
> >
> > *Not* off-topic, the context being how best to configure Outlook
> > for use with FreeBSD IMAP.  One hopes something more secure than
> > plain-text passwords can be made to work.
> >
> > My answer is "Don't use Outlook.  For anything.  Period."
> > but the OP may be stuck with it for some reason.
> >
> 
> Thank You, if I was talking about Anna Nichole Smith or something, that
> would be *OFF* topic. ;o).
> 
> I am stuck with outlook if I want to synch my PDA phone to my e-mail.  It
> seems to work ok with gmail pop3.  Maybe I can just have sendmail foreward
> a copy of all my mail to gmail.
> 
> Thanks Guys,
> 
> Chris Maness

I run imap-uw. Outlook 2003 works just fine with my mail server. However, I
haven't been able to get Outlook 2002 to work properly. Outlook Express also
works fine for me.

My (quite popular) page about running both sendmail and imap-uw with SSL/TLS
and authentication can be found here:
<http://www.puresimplicity.net/~hemi/freebsd/sendmail.html>. The page states
that one of the goals of the described mail setup is compatibility with
Microsoft e-mail clients.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with mod_fcgid inside a jail.

2007-02-02 Thread Josh Tolbert
On Fri, Feb 02, 2007 at 10:51:32PM +0100, Ivan Voras wrote:
> Vincent Bolinard wrote:
> 
> > [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> > memory for size 316628 byte
> 
> > I'm running FreeBSD 6.2-RELEASE, Apache 2.0.59 and mod_fcgid 1.09.
> 
> Try running v1.10, here's what it says in changelog:
> 
> "3. Use anonymous shared memeory to make OS X happy. (Thank andkjar at
> obtech.net for the patch.)"
> 
> Maybe it will help you.

Update to 2.0 will be coming soon...Maybe this weekend, if I find some time. I
have no idea if it'll fix the problem, but 1.x is dead either way.

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


java/diablo-jre15 without xlib?

2006-12-22 Thread Josh Tolbert
Hello,

Is there any way to install java/diablo-jre15 without installing X libraries?

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Spam prevention

2006-11-29 Thread Josh Tolbert
On Wed, Nov 29, 2006 at 06:53:36PM -0500, Ian Lord wrote:
> 
> Hi,
> 
> I would like to setup a mail server with postfix and sendmail...
> 
> To fight spam, is spamassassin the best choice or should I look into
> something else ?
> 
> Thanks

I'm using sendmail and imap-uw. I am using greylisting (milter-greylist) and
virus-filtering (clamav with clamav-milter) in sendmail, plus I have
spamassassin available to the users via procmail (which is set as sendmail's
LDA). This setup works very well for my users.

Setting this stuff up in sendmail is also a good time to set up SSL/TLS and
SMTP AUTH. :)

Good luck,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TV capture card

2006-11-10 Thread Josh Tolbert
On Fri, Nov 10, 2006 at 02:22:14PM -0500, Mike Jeays wrote:
> On Fri, 2006-11-10 at 22:28 +0600, Bachilo Dmitry wrote:
> > ?? ??  ?? 10  2006 22:18 
> > Tsu-Fan Cheng ??(a):
> > > Hi
> > >   thank you guys. I just ordered a TV card from Avermedia, it should be
> > > using brooktree chip. i chose AverMedia over Happahauge simply because 
> > > it's
> > > less expensive. :-) (i actually live in long island, Happahauge is just
> > > right here...). I expect i will have some twicking to do to make it work,
> > > but what the heck!!
> > >
> > > TFC
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > Good luck, dude, mine refused to work. I would like to hear your experience 
> > later.
> 
> If you get it to work, please post the results.  I have never been able
> to get my Hauppauge WinTV card to work, although it is fine with Ubuntu
> and Suse, using xawtv, kdetv and others.
> 
> With FreeBSD 6.1 and xawtv, I get a stream of messages 'bktr
> alarmed' (not exact wording), and no picture or sound.

For what it's worth, I picked up two cheap ($7 and $11, respectively) bktr
cards on eBay and they work fine. One's an old S3-branded BT878 card and the
other had a fairly common brand, but I can't think of it right now. They work
great with xawtv and the bktr driver. Sure, they don't have any hardware
encode/decode features, but they do work.

I've got a PVR250, an older one, that's also properly detected, but I've never
tried to do anything with it.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cyrus-sasl & sendmail compile error

2006-10-20 Thread Josh Tolbert
On Fri, Oct 20, 2006 at 11:46:20AM -0500, Greg Groth wrote:
> rebuild world, and the needed pieces will be installed.
> 
> Nice step by step how-to here:
> http://dfwlpiki.dfwlp.org/index.php/Installing_FreeBSD_6.1
> 
> There's faster ways around this, but if you haven't already run the 
> buildworld process, more than likely you have a version of sendmail that 
> needs to be patched anyway.  Running the buildworld process will fix 
> both issues.
> 
> Greg Groth

I hate to pimp my own webpage, but...

http://www.puresimplicity.net/~hemi/freebsd/sendmail.html

Second part should cover it.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: next episode, continuing saga

2006-09-22 Thread Josh Tolbert
On Fri, Sep 22, 2006 at 10:27:11AM -0500, hackmiester (Hunter Fuller) wrote:
> Really? I've never seen a mobo... well, you learn something new every  
> day. :-D

Yeah, I'd never seen a whole motherboard get toasted cause of that, but I
suppose it could happen.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: next episode, continuing saga

2006-09-22 Thread Josh Tolbert
On Fri, Sep 22, 2006 at 07:41:02AM +, Mario Lobo wrote:
> And the keyboard & mouse too.

Actually, not quite. If the keyboard and mouse are PS/2, then they are not
technically hot-swappable. Lots of people get away with it just fine, but
every now and then someone fries a keyboard controller hot-plugging PS/2
peripherals. If they're USB, fine...PS/2, not so fine. Lots of people get away
with it, but hot-swap/plug is not part of the PS/2 spec...So don't complain if
something breaks.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE Konqueror:Can i have konqueror without KDEstuff port

2005-11-09 Thread Josh Tolbert
On Wed, Nov 09, 2005 at 10:50:28AM +0200, George Katsanos wrote:
>  
> KDE is a huge package , and if you're trying to portupgrade to p3 550 that's
> a hard thing to do.3 days now! :-(
> I just want konqueror , is there any way [or do you know the exact port]
> that will save me from installing kde base , kde , kdelibs and zillions of
> kde stuff [which I hate] at my computer?
>  
> Also , when I start konqueror 'kdeinit' is run also ! 3 instances of it.any
> way of avoiding that?
>  
>  
> Thanks

Hi George,

There used to be this browser in ports called netraider. It was Konqueror
without (most of) KDE. Netraider still required Qt, but that's better than
requiring Qt and all of KDE. Apparently netraider got removed a while back
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/netraider/Attic/Makefile)
cause it wasn't ever updated.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

If your sysadmin's not being fascist, you're paying him too much.
   --Sam Greenfield
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NOPROFILE is deprecated in favor of NO_PROFILE

2005-11-08 Thread Josh Tolbert
On Tue, Nov 08, 2005 at 10:51:01PM -0300, E. J. Cerejo wrote:
> Hello,
> 
> I just finished upgrading from FBSD 5.4 to 6.x stable
> and now if I want to upgrade any port I get the same
> warning all the time ""/usr/share/mk/bsd.compat.mk",
> line 36: warning: NOPROFILE is deprecated in favor of
> NO_PROFILE" does anyone know on how to fix this? thank you.
> 
> EJC
> www.only7bucks.com

Try changing NOPROFILE to NO_PROFILE in /etc/make.conf? :)

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

If your sysadmin's not being fascist, you're paying him too much.
   --Sam Greenfield
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unusual permissions on /var/named/etc/namedb/master?

2005-11-08 Thread Josh Tolbert
On Tue, Nov 08, 2005 at 12:03:23PM -0500, Lowell Gilbert wrote:
> Josh Tolbert <[EMAIL PROTECTED]> writes:
> 
> > Hello,
> > 
> > I'm running DHCP + dynamic DNS here on my home LAN and I've noticed a 
> > problem
> > that needs a manual fix every time the DNS machine gets rebooted. It doesn't
> > happen very often, but it does happen. :)
> > 
> > My firewall/gateway machine runs FreeBSD-5.4-RELEASE of some patchlevel. It
> > uses ISC DHCPD from ports to update my DNS server, another FreeBSD machine
> > (now running 6.0-RELEASE) with new entries when machines register with the
> > DHCP server. The problem arises because by default named runs -u bind, 
> > however
> > /var/named/etc/namedb/master is owned by root. I believe this is caused by
> > /etc/mtree/BIND.chroot.dist, since I'm running bind chrooted (the default
> > setup). When the DNS machine reboots, I have to manually chown
> > /var/named/etc/namedb/master (or /etc/namedb/master) to bind before updates
> > will continue, otherwise I see errors such as
> > 
> > named[297]: dumping master file: master/tmp-QQ2UU6pWaZ: open: permission 
> > denied
> > 
> > Is there any good workaround for this issue? I'd like to keep bind running 
> > as
> > the bind user as well as keep bind chrooted if possible. I know I could edit
> > the mtree file on my machine, but that seems somewhat kludgy to me.
> > 
> > Thanks for any help/advice you can give me,
> 
> Normally mtree is only automatically run by installworld.  
> Is that what causes the permissions to be reverted?
> If so, then change the mtree file (and keep the modifications over
> time when you run mergemaster).
> If not, then figure out what *is* changing the permissions.

Hi Lowell,

>From what I'm seeing in the /etc/rc.d/named script, mtree gets ran with the
BIND.chroot.dist mtree file every time bind starts. I guess I'll have to
maintain my own changes to that file for the time being.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

If your sysadmin's not being fascist, you're paying him too much.
   --Sam Greenfield
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Unusual permissions on /var/named/etc/namedb/master?

2005-11-08 Thread Josh Tolbert
Hello,

I'm running DHCP + dynamic DNS here on my home LAN and I've noticed a problem
that needs a manual fix every time the DNS machine gets rebooted. It doesn't
happen very often, but it does happen. :)

My firewall/gateway machine runs FreeBSD-5.4-RELEASE of some patchlevel. It
uses ISC DHCPD from ports to update my DNS server, another FreeBSD machine
(now running 6.0-RELEASE) with new entries when machines register with the
DHCP server. The problem arises because by default named runs -u bind, however
/var/named/etc/namedb/master is owned by root. I believe this is caused by
/etc/mtree/BIND.chroot.dist, since I'm running bind chrooted (the default
setup). When the DNS machine reboots, I have to manually chown
/var/named/etc/namedb/master (or /etc/namedb/master) to bind before updates
will continue, otherwise I see errors such as

named[297]: dumping master file: master/tmp-QQ2UU6pWaZ: open: permission denied

Is there any good workaround for this issue? I'd like to keep bind running as
the bind user as well as keep bind chrooted if possible. I know I could edit
the mtree file on my machine, but that seems somewhat kludgy to me.

Thanks for any help/advice you can give me,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

If your sysadmin's not being fascist, you're paying him too much.
   --Sam Greenfield
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need help with Saslauthd and Sendmail

2004-10-08 Thread Josh Tolbert
On Fri, Oct 08, 2004 at 12:01:38PM +0100, Matthew Seaman wrote:
> On Fri, Oct 08, 2004 at 12:30:51PM +0200, Andreas Widerøe Andersen wrote:
> 
> Wow.  Excellent problem report.
>  
> > I try to start saslauthd manually by doing a 
> > /usr/local/etc/rc.d/saslauthd.sh start, but nothing happens.
> 
> Have you put:
> 
> saslauthd_enable="YES"
> 
> into /etc/rc.conf?  You need to do that (or the equivalent) for any
> port that uses rc.subr (a.k.a rcNG) for it's startup script or else
> that service won't be started.
> 
> Otherwise, everything you show looks good to me.
> 
>   Cheers,
> 
>   Matthew

Page is updated. When I originally wrote the page the rc var was
sasl_saslauthd_enable="YES". I didn't notice the change when the script got
updated for rcNG.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

If your sysadmin's not being fascist, you're paying him too much.
   --Sam Greenfield
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"