Repository navigation
Allow passwd entry with non-existing home path - #757
Conversation
This will be useful to create an entry like `nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin`
|
Hi @chanseokoh. Thanks for your PR. I'm waiting for a bazelbuild member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Hi @chanseokoh thanks for the PR, could you add passwd_entry, passwd_file, passwd_tar targets for this use case and tests in testdata/BUILD? Like these ones https://github.com/bazelbuild/rules_docker/blob/master/testdata/BUILD#L517 |
|
Thanks @xingao267, will do (some time later). |
|
Added tests. Hopefully the tests pass on Travis. I couldn't run tests locally. Don't know what's wrong. |
|
Never mind. Using the latest Bazel works. There seem test failures, so I'll fix them. |
|
Tests passing. I believe the |
|
Indeed, I verified an actual image created with |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chanseokoh, xingao267 If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This will be useful to create an entry like
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin.I'm new to Starlark, so I need some help actually.