Skip to contentSkip to conversation

postgres: set PGROOT dir owner to be "postgres". Without this change, the postgres server fails to start on boot.

PATCH New Alan Yaniger 3 participants 4 messages Mar 6, 2016 – Mar 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 postgres: set PGROOT dir owner to be "postgres". Without this change, the postgres server fails to start on boot.

---
 package/postgresql/postgresql.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/postgresql/postgresql.mk +4 -0
index 444c1b1..5906ce9 100644
@@ -17,6 +17,10 @@ POSTGRESQL_CONF_ENV = ac_cv_type_struct_sockaddr_in6=yes \
 POSTGRESQL_AUTORECONF = YES
 POSTGRESQL_CONF_OPTS = --disable-rpath
 
+define POSTGRESQL_PERMISSIONS
+	/var/lib/pgsql d 755 postgres postgres - - - - -
+endef
+
 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
 # PostgreSQL does not build against uClibc with locales
 # enabled, due to an uClibc bug, see
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 docs: fix syntax error in makedev-syntax example. In the makedev syntax documentation, one of the examples lacks the "mode" value.

---
 docs/manual/makedev-syntax.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/makedev-syntax.txt +1 -1
index 0bbc16e..e4dffc9 100644
@@ -44,7 +44,7 @@ this syntax, you will need to write:
 ----
 /usr/bin/foo f 755 0 0 - - - - -
 /usr/bin/bar f 755 root root - - - - -
-/data/buz f buz-user buz-group - - - - -
+/data/buz f 644 buz-user buz-group - - - - -
 ----
 
 Alternatively, if you want to change owner/permission of a directory
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 docs: fix syntax error in makedev-syntax example. In the makedev syntax documentation, one of the examples lacks the "mode" value.

Alan, All,

On 2016-03-06 22:03 +0200, Alan Yaniger spake thusly:

Quoted 1 line

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 docs/manual/makedev-syntax.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/makedev-syntax.txt +1 -1
index 0bbc16e..e4dffc9 100644
@@ -44,7 +44,7 @@ this syntax, you will need to write:
 ----
 /usr/bin/foo f 755 0 0 - - - - -
 /usr/bin/bar f 755 root root - - - - -
-/data/buz f buz-user buz-group - - - - -
+/data/buz f 644 buz-user buz-group - - - - -
 ----
 
 Alternatively, if you want to change owner/permission of a directory
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 2/2 docs: fix syntax error in makedev-syntax example. In the makedev syntax documentation, one of the examples lacks the "mode" value.

Hi Yann,

Quoted 4 lines · Yann E. MORIN

On 2016-03-06 22:03 +0200, Alan Yaniger spake thusly:

Quoted 1 line

This patch is marked 'Superseded' in patchwork already. The updated patch is at http://patchwork.ozlabs.org/patch/592587/.

baruch

Quoted 16 lines
Quoted 16 lines
 docs/manual/makedev-syntax.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/makedev-syntax.txt +1 -1
index 0bbc16e..e4dffc9 100644
@@ -44,7 +44,7 @@ this syntax, you will need to write:
 ----
 /usr/bin/foo f 755 0 0 - - - - -
 /usr/bin/bar f 755 root root - - - - -
-/data/buz f buz-user buz-group - - - - -
+/data/buz f 644 buz-user buz-group - - - - -
 ----
 
 Alternatively, if you want to change owner/permission of a directory
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -