← Back to issue list

lxd: Don't assume user ID to 1000 for raw.idmap

View original Github issue

Metadata

Project
snapcraft
Number
#1385
Type
pull request
State
merged
Author
kalikiana
Labels
Created
Updated
Closed

Current evaluation

Merged fix for LXD raw.idmap that incorrectly assumed user ID 1000. Resolves bug 1700703. Approved by reviewers and validated across environments.

Suggested action:

No scores available.

Issue body

Fixes: [bug 1700703](https://bugs.launchpad.net/snapcraft/+bug/1700703)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix for LXD raw.idmap that incorrectly assumed user ID 1000. Resolves bug 1700703. Approved by reviewers and validated across environments.
qwen3.6-35b-a3b-mtp-q6 Merged contributor branch fixing LXD raw.idmap UID mapping assumption. Resolves bug 1700703 after cross-environment verification and testing.
qwen3.6-35b-a3b-mtp-q6 Merged a fix for LXD raw.idmap that incorrectly assumed user ID 1000. Resolves Launchpad bug 1700703. Prevents container startup failures by correctly handling user namespace mapping.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1629 lxd: fix the unit test for the user id map snapcraft merged Merged a fix for an LXD unit test failure when run as root, introduced in #1588. Adjusts the user ID map test logic. Approved by two reviewers and passed CI. One remaining test error was noted but did not block the merge.
79%
#1904 lxd: raw.idmap expects host and container id respectively snapcraft merged Merged a fix correcting raw.idmap syntax in LXD configuration. The change maps host and container IDs correctly, preventing container files from being owned by root. Resolves LP: #1741753 with a four-line adjustment across two files.
78%
#1588 lxd: use SUDO_UID for ID mapping snapcraft merged Merged a one-file change implementing SUDO_UID for LXD ID mapping, resolving bug 1719996. The pull request passed CI, received approval from one reviewer with no unresolved comments, and was successfully integrated.
78%