Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcron module: fix use with hardlink-optimized store #30261

Merged
merged 1 commit into from Oct 9, 2017

Conversation

Ekleog
Copy link
Member

@Ekleog Ekleog commented Oct 9, 2017

Fixes an issue with the same symptoms as #25072 when the nix store is optimized with hardlinks.

fcron apparently checks for security reasons that the file isn't hardlinked anywhere when reading it, according to fcron's source code, subs.c:151 on commit 7afed73.

So the solution is to just pass it via stdin.

Tested by hand via disabledModules and import of the updated module file on an up-to-date 17.09.

@Ekleog Ekleog mentioned this pull request Oct 9, 2017
@Mic92 Mic92 merged commit a61304e into NixOS:master Oct 9, 2017
@Ekleog Ekleog deleted the fcron-hardlink branch October 9, 2017 22:21
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.

None yet

2 participants