Skip to content

Fix premature ignore file move#216

Merged
vagos merged 1 commit intomainfrom
grepmsg
Feb 28, 2026
Merged

Fix premature ignore file move#216
vagos merged 1 commit intomainfrom
grepmsg

Conversation

@vagos
Copy link
Contributor

@vagos vagos commented Feb 27, 2026

Inside a container (using tmpfs), the ignore file is moved inside the sandbox directory before mounting. Mounting then hides the file, so later grep -v -f "$ignore_file" fails.

Inside a container:

root@fac46d5259bb:/app# ./try echo hello
hello
grep: /tmp/tmp.pfBSmAqO3o.try-1772248742591/ignore: No such file or directory

Signed-off-by: Evangelos Lamprou <vagos@lamprou.xyz>
@angelhof
Copy link
Member

What is that supposed to fix?

@vagos vagos changed the title Fix annoying grep message Fix premature ignore file move Feb 28, 2026
@vagos
Copy link
Contributor Author

vagos commented Feb 28, 2026

Thanks Konstantinos, updated the PR title and description!

@angelhof
Copy link
Member

Looks good from my side!

Copy link
Member

@ezrizhu ezrizhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vagos vagos merged commit bee03cb into main Feb 28, 2026
18 of 23 checks passed
@vagos vagos deleted the grepmsg branch February 28, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants