Re: [HACKERS] [Patch] - Fix for bug #2558, InitDB failed

From: "dror" <dror_b(at)hotmail(dot)com>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>; "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org; "Andrew Dunstan" <andrew(at)dunslane(dot)net>; pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] [Patch] - Fix for bug #2558, InitDB failed
Date: 2006-08-15 13:32:49
Message-ID: BAY124-W14EAAC3D9D3970E93D8C9CF94F0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hi All,

I agree with all of you that it is strange behavior, more then that :
On two win 2003 machines with the same SP and last hot fixes, on one the nul device is accessible by non admin user and on other it is not.
I also agree that the source of the problem might be something that effect the OS configuration (as a virus scanner for example).
The source of the problem and the right diagnostic is important, but right now we have problem (unknown) with the nul device on some of the system.
I don't see any risk with canceling the redirection nor with open a log file (with permission to the postgres user), if a commercial DB, as EnterpriseDB, choose this solution (Log file) I don't see any reason why not to do the same.

Does anyone know why EnterpriseDB changed the nul redirection?

Regards
Dror

> Date: Tue, 15 Aug 2006 11:37:30 +0200> From: pgadmin(at)pse-consulting(dot)de> To: tgl(at)sss(dot)pgh(dot)pa(dot)us> CC: pgsql-hackers(at)postgresql(dot)org; andrew(at)dunslane(dot)net; pgsql-patches(at)postgresql(dot)org> Subject: Re: [HACKERS] [PATCHES] [Patch] - Fix for bug #2558, InitDB failed to run> > Tom Lane wrote:> > Andrew Dunstan <andrew(at)dunslane(dot)net> writes:> > > >> I am more than somewhat perplexed as to why the NUL device should be a> >> security risk ... what are they thinking??> >> > >> > Frankly, I don't believe it; even Microsoft can't be that stupid.> > And I can't find any suggestion that they've done this in a google> > search. I think the OP is misdiagnosing his problem.> > > An older message suggests that a service pack induced this problem, per> MS. I just tried it as non-admin on a W2K3 machine with recent hotfixes,> and the command "dir >nul" _did_ work for me.> Though neglected, it still sounds like a virus scanner issue to me.> > Regards,> Andreas> > > ---------------------------(end of broadcast)---------------------------> TIP 3: Have you checked our extensive FAQ?> > http://www.postgresql.org/docs/faq
_________________________________________________________________
Try Live.com: where your online world comes together - with news, sports, weather, and much more.
http://www.live.com/getstarted

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-08-15 13:54:50 Re: [Patch] - Fix for bug #2558, InitDB failed to run
Previous Message Tom Lane 2006-08-15 13:25:39 Re: [PATCHES] [Patch] - Fix for bug #2558, InitDB failed to run

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-08-15 13:54:50 Re: [Patch] - Fix for bug #2558, InitDB failed to run
Previous Message Tom Lane 2006-08-15 13:25:39 Re: [PATCHES] [Patch] - Fix for bug #2558, InitDB failed to run