Skip to content

Fix premature ignore file move - #216

Merged
vagos merged 1 commit into
mainfrom
grepmsg
Feb 28, 2026
Merged

vagos merged 1 commit into
mainfrom
grepmsg

Conversation

@vagos

@vagos vagos commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

vagos commented Feb 28, 2026

Copy link
Copy Markdown
Contributor Author

Thanks Konstantinos, updated the PR title and description!

@angelhof

Copy link
Copy Markdown
Member

Looks good from my side!

@ezrizhu ezrizhu left a comment

Copy link
Copy Markdown
Member

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