* [gentoo-dev] postgresql ebuild file faulty?
@ 2002-01-18 22:53 Kevin Gordon
2002-01-20 7:55 ` Vitaly Kushneriuk
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Gordon @ 2002-01-18 22:53 UTC (permalink / raw
To: gentoo-dev
Previously # emerge dev-db/postgresql (received 7.1 on a clean system i.e.
no previous postgresql installed and it took me a while to realise that no
config had occurred)
Today # emerged dev-db/postgresql (received 7.1.3 but no config occurred: I
had no /var/db/postgresql directory)
# ebuild postgresql-7.1.3.ebuild config (failed /usr/bin/initab:
/tmp/initdb.28959: Permission denied)
# chmod 777 /tmp
# rm -R /var/db/postgresql
# ebuild postgresql-7.1.3.ebuild config (config ok)
Hope this is helpful
Regards,
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] postgresql ebuild file faulty?
2002-01-18 22:53 [gentoo-dev] postgresql ebuild file faulty? Kevin Gordon
@ 2002-01-20 7:55 ` Vitaly Kushneriuk
2002-01-20 18:16 ` Kevin Gordon
0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Kushneriuk @ 2002-01-20 7:55 UTC (permalink / raw
To: Gentoo-dev
On Sat, 2002-01-19 at 00:53, Kevin Gordon wrote:
> Previously # emerge dev-db/postgresql (received 7.1 on a clean system i.e.
> no previous postgresql installed and it took me a while to realise that no
> config had occurred)
> Today # emerged dev-db/postgresql (received 7.1.3 but no config occurred: I
> had no /var/db/postgresql directory)
> # ebuild postgresql-7.1.3.ebuild config (failed /usr/bin/initab:
> /tmp/initdb.28959: Permission denied)
> # chmod 777 /tmp
If you care about security permissions on /tmp should be 1777.
/Vitaly
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] postgresql ebuild file faulty?
2002-01-20 7:55 ` Vitaly Kushneriuk
@ 2002-01-20 18:16 ` Kevin Gordon
2002-01-21 8:28 ` Vitaly Kushneriuk
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Gordon @ 2002-01-20 18:16 UTC (permalink / raw
To: gentoo-dev
Thank you Vitaly. I will change /tmp to 1777. Perhaps this should have
happened automatically somewhere?
When running # emerge dev-db/postgresql is the config section meant to run
automatically?
----- Original Message -----
From: "Vitaly Kushneriuk" <vitaly_kushneriuk@yahoo.com>
To: "Gentoo-dev" <gentoo-dev@gentoo.org>
Sent: Sunday, January 20, 2002 8:55 PM
Subject: Re: [gentoo-dev] postgresql ebuild file faulty?
> On Sat, 2002-01-19 at 00:53, Kevin Gordon wrote:
> > Previously # emerge dev-db/postgresql (received 7.1 on a clean system
i.e.
> > no previous postgresql installed and it took me a while to realise that
no
> > config had occurred)
> > Today # emerged dev-db/postgresql (received 7.1.3 but no config
occurred: I
> > had no /var/db/postgresql directory)
> > # ebuild postgresql-7.1.3.ebuild config (failed /usr/bin/initab:
> > /tmp/initdb.28959: Permission denied)
> > # chmod 777 /tmp
> If you care about security permissions on /tmp should be 1777.
>
> /Vitaly
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] postgresql ebuild file faulty?
2002-01-20 18:16 ` Kevin Gordon
@ 2002-01-21 8:28 ` Vitaly Kushneriuk
0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Kushneriuk @ 2002-01-21 8:28 UTC (permalink / raw
To: Gentoo-dev
On Sun, 2002-01-20 at 20:16, Kevin Gordon wrote:
> Thank you Vitaly. I will change /tmp to 1777. Perhaps this should have
> happened automatically somewhere?
I belive permissions of /tmp and /var/tmp are set during baselayout
install.
> When running # emerge dev-db/postgresql is the config section meant to run
> automatically?
No you have to "ebuild <ebuild file> config".
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-21 8:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-18 22:53 [gentoo-dev] postgresql ebuild file faulty? Kevin Gordon
2002-01-20 7:55 ` Vitaly Kushneriuk
2002-01-20 18:16 ` Kevin Gordon
2002-01-21 8:28 ` Vitaly Kushneriuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox