chainguard-dev / chainguard-dev/dfc

useradd -l being copied over, but not needed for Busybox

Open
#111 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
103
Forks
29
PR merge metrics
No merged PRs in 30d

Description

The useradd -l (--no-log-init) argument is being passed through to the converted adduser command but Busybox does not support it. In fact, as far as I can tell, Busybox does not do any lastlog or faillog logging so it's not needed.

Maybe we should remove but add a comment about it's removal?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Dockerfile conversion logic that translates useradd arguments into the BusyBox adduser command, then check whether related tests cover the -l option. The work is done when -l is no longer passed to BusyBox and the behavior is documented in a comment or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.