| От | Tom Lane |
|---|---|
| Тема | Re: Postgresql fails to start? (Update) |
| Дата | |
| Msg-id | 27453.1118348828@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Postgresql fails to start? (Update) (Dianne Yumul <dianne@wellsgaming.com>) |
| Список | pgsql-general |
Dianne Yumul <dianne@wellsgaming.com> writes: > # chcon -u system_u -r object_r -t postgresql_log_t > /home/postgres/pgstartup.log > chcon: can't apply partial context to unlabeled file > /home/postgres/pgstartup.log > [but this works:] > # chcon system_u:object_r:postgresql_log_t /home/postgres/pgstartup.log That's pretty interesting --- I'd say it's a flat-out bug in the FC4 version of chcon. Filed as https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159973 I'm not sure whether the quickest fix from a Red Hat POV is to fix chcon or just alter the initscript for Postgres. But certainly your best bet to have something working today is to edit the initscript. Or of course you can just manually create the file with the right context ... regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера