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

source directive support is broken #50

Open
mstone232 opened this issue Sep 20, 2022 · 0 comments
Open

source directive support is broken #50

mstone232 opened this issue Sep 20, 2022 · 0 comments

Comments

@mstone232
Copy link

If /etc/network/interfaces contains something like "source interfaces.d/*" the files in interfaces.d are read, but when interfaces is rewritten the directive is removed and nothing in interfaces.d is read in future. (Either by debinterface or ifupdown -- the system is potentially badly broken.) Additionally if the newer "source-directory interfaces.d" syntax is used, the directive is completely ignored by debinterface, as well as being removed on write.

There are traces of e.g., _write_sourced_paths, in the code, but that function is never called; I'm not entirely sure what the expected state/use is so I'm hesitant to propose a patch.

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

No branches or pull requests

1 participant