Nп/п : 60 из 100
 От   : William Unruh                       2:5075/128        07 сен 23 13:31:00
 К    : Grimble                                               07 сен 23 16:33:02
 Тема : Re: Ownership problems when setting up Mageia 9
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> b9e370a7
@REPLY: 1@dont-email.me> a478a4ba
@REPLYADDR William Unruh <unruh@invalid.ca>
@REPLYTO 2:5075/128 William Unruh
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
@TZUTC: -0000
@PID: slrn/1.0.3 (Linux)
@TID: FIDOGATE-5.12-ge4e8b94
On 2023-09-07, Grimble <grimble@nomail.afraid.org> wrote:
> I`m in the process of transferring various applications having done a 
> fresh install of Mageia 9. All my postgres stuff is in /local/pgsql, to 
> provide easy upgrading (didn`t like putting it in /var).
> Having failed to start postgresql in Mageia 9, I reverted to Mageia 8 
> and found that ownership of the posgres stuff had been changed behind my 
> back:
> [root@bach pgsql]# ls -l
> total 4
> drwx------ 19 avahi-autoipd avahi-autoipd 4096 Sep  4 15:40 data/
>
> Why should avahi do this?

I suspect it has nothing to do with avahi.
On a fresh install, the uid and gid for all of the system programs could
well have changed. Instead of looking at the username and group name
look at gid and uid instead. And look in /etc/passwd. I suspect you will
find that the old uid of postfix is now the uid of avahi-autoipd.
On a fresh install, Mageia has no idea of what the uids(that number
after the name in /etc/passwd) were for for various sevices (uids less
than 1000) and it assigns them "randomly" (well in order from 999 down
as it comes to installing them.) There is no reason that that ordering
should be the same on two separate installs. This is a severe problem
with fresh installs, rather than updates. 
The ownership (as determined by uid) has not changed, but the link
between ownership and owner`s name has changed.
Now, usually for system stuff, it is installed anew, so the old uid does
not matter. But if the old program put stuff into new directories (ie
not made during installation) then those directories and files will
carry the old uid.
--- slrn/1.0.3 (Linux)
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх