dovecot-indexer writting as root
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
Hi
Any idea on that ?
Thank you
On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote:
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
You are probably doing file operations before setuid() call, do you initialize things too soon?
Aki
On 01/08/2024 12:59 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Any idea on that ?
Thank you
On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote:
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
No, the change of uid comes at the end of the process (commit)
On 2 August 2024 19:08:00 Aki Tuomi via dovecot dovecot@dovecot.org wrote:
You are probably doing file operations before setuid() call, do you initialize things too soon?
Aki
On 01/08/2024 12:59 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Any idea on that ?
Thank you
On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote:
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Hi
Anyone on this ?
On 11 August 2024 04:02:56 Joan Moreau via dovecot dovecot@dovecot.org wrote:
No, the change of uid comes at the end of the process (commit)
On 2 August 2024 19:08:00 Aki Tuomi via dovecot dovecot@dovecot.org wrote:
You are probably doing file operations before setuid() call, do you initialize things too soon?
Aki
On 01/08/2024 12:59 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Any idea on that ?
Thank you
On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote:
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Nope, there is too little details available. We are not currently seeing this with other FTS drivers. Can you try reproducing this issue and see if you can figure out where the offending call is coming from?
Aki
On 20/08/2024 02:10 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Anyone on this ?
On 11 August 2024 04:02:56 Joan Moreau via dovecot dovecot@dovecot.org wrote:
No, the change of uid comes at the end of the process (commit)
On 2 August 2024 19:08:00 Aki Tuomi via dovecot dovecot@dovecot.org wrote:
You are probably doing file operations before setuid() call, do you initialize things too soon?
Aki
On 01/08/2024 12:59 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Any idea on that ?
Thank you
On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote:
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
i am seeing this too - the “iamglass” file has root ownership occasionally. i run a cronjob every 30 mins to find/report/change the ownership back to vmail. i am running latest debian repository dovecot 2.3.21 and latest debian repository dovecot-fts-xapian 1.6.0-1 - not building from source so limited debug capability
i acknowledge dovecot is not responsible for the fts-xapian driver. their website https://github.com/grosjo/fts-xapian has the following snippet: Set detach=1 only if your mail storage in on a partition on which you can force the uid/gid. For some reasons, Devoct write as root instead so the filesystem must correct until dovecot team fixes the bug. detach=1 speeds up very much the process. however, the mentioned option “detach” is not recognised in the driver.
looking forward to 2.4 CE and supported xapian driver… cheers ⊣GE⊢
On 20 Aug 2024, at 3:32 PM, Aki Tuomi via dovecot dovecot@dovecot.org wrote:
Nope, there is too little details available. We are not currently seeing this with other FTS drivers. Can you try reproducing this issue and see if you can figure out where the offending call is coming from?
Aki
On 20/08/2024 02:10 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Anyone on this ?
On 11 August 2024 04:02:56 Joan Moreau via dovecot dovecot@dovecot.org wrote:
No, the change of uid comes at the end of the process (commit)
On 2 August 2024 19:08:00 Aki Tuomi via dovecot dovecot@dovecot.org wrote:
You are probably doing file operations before setuid() call, do you initialize things too soon?
Aki
On 01/08/2024 12:59 EEST Joan Moreau via dovecot dovecot@dovecot.org wrote:
Hi
Any idea on that ?
Thank you
On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote:
Hi
I have that issue times to times
Full case described properly here :
https://github.com/grosjo/fts-xapian/issues/168
Can you help understand the root cause of that ?
THank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (3)
-
Aki Tuomi
-
Graham Eddy
-
Joan Moreau