Skip to content

start: insufficient permissions to directories#1250

Merged
bigbes merged 1 commit intomasterfrom
mockird31/tntp-6378-start-lose-stderr
Apr 20, 2026
Merged

start: insufficient permissions to directories#1250
bigbes merged 1 commit intomasterfrom
mockird31/tntp-6378-start-lose-stderr

Conversation

@Mockird31
Copy link
Copy Markdown

@Mockird31 Mockird31 commented Mar 4, 2026

Fixed a bug where an error did not appear when access rights to the var directive were insufficient.

Closes #1238

@Mockird31 Mockird31 changed the title start: insufficient permissions for the var directory start: insufficient permissions to directories Mar 4, 2026
@Mockird31 Mockird31 force-pushed the mockird31/tntp-6378-start-lose-stderr branch 3 times, most recently from 9ad3c4c to 4f0386c Compare March 4, 2026 11:19
Comment thread cli/running/running.go Outdated
@oleg-jukovec
Copy link
Copy Markdown
Contributor

Please, rebase the PR too.

@Mockird31 Mockird31 force-pushed the mockird31/tntp-6378-start-lose-stderr branch 10 times, most recently from 4392e94 to 72a948b Compare March 5, 2026 20:40
@Mockird31 Mockird31 requested a review from oleg-jukovec March 5, 2026 22:12
@oleg-jukovec oleg-jukovec requested review from bigbes and oleg-jukovec and removed request for oleg-jukovec March 17, 2026 11:45
Comment thread cli/running/running.go Outdated
@Mockird31 Mockird31 force-pushed the mockird31/tntp-6378-start-lose-stderr branch 7 times, most recently from 941e42f to 5c743da Compare March 20, 2026 20:51
@Mockird31 Mockird31 requested a review from bigbes March 21, 2026 10:56
@bigbes bigbes added the v2 label Mar 29, 2026
Comment thread cli/util/util.go Outdated
@Mockird31 Mockird31 force-pushed the mockird31/tntp-6378-start-lose-stderr branch 5 times, most recently from 97e0ccf to 58651ce Compare April 1, 2026 22:03
Fixed a bug where an error did not appear when access rights
to the var directive were insufficient.

Closes #1238
@Mockird31 Mockird31 force-pushed the mockird31/tntp-6378-start-lose-stderr branch from 58651ce to 4345f89 Compare April 1, 2026 22:36
@Mockird31 Mockird31 requested a review from elhimov April 2, 2026 07:29
@elhimov
Copy link
Copy Markdown
Contributor

elhimov commented Apr 17, 2026

There is still a gap between checking a log directory and creation of a log file, so technically it's possible that creation of the log file is failed even if the log directory checking was succeed. It seems the only way to make sure log file is created is... create log file. But it is created in a child process (which becomes watchdog of the corresponding tarantool instance) rather than initial tt process and it doesn't look trivial to catch it over the processes boundary, so for now let's keep it as suggested in this patch.

@bigbes bigbes merged commit 9810846 into master Apr 20, 2026
24 checks passed
@bigbes bigbes deleted the mockird31/tntp-6378-start-lose-stderr branch April 20, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tt does not show error message if tarantool fails on very start

4 participants