Skip to content

Silverhadch master#1613

Closed
alejandro-colomar wants to merge 5 commits intoshadow-maint:masterfrom
alejandro-colomar:silverhadch-master
Closed

Silverhadch master#1613
alejandro-colomar wants to merge 5 commits intoshadow-maint:masterfrom
alejandro-colomar:silverhadch-master

Conversation

@alejandro-colomar
Copy link
Copy Markdown
Collaborator

@silverhadch Here's the branch that I intended to push.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
alejandro-colomar and others added 4 commits April 22, 2026 11:53
This simplifies the return value of is_btrfs() into a boolean.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
When the --btrfs-subvolume-home option is used but the parent directory
is not on a BTRFS filesystem, useradd previously failed with an error.
This is too strict; instead, fall back to creating a regular directory
and issue a warning.  The subvolume creation is attempted only when the
parent is BTRFS.  Otherwise, a regular directory is created and a
syslog(3) warning is logged.

Fixes: 3e8c105 (2026-01-02; "src/useradd: Support config for creating home dirs as Btrfs subvolumes")
Co-authored-by: Hadi Chokr <hadichokr@icloud.com>
Co-authored-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Hadi Chokr <hadichokr@icloud.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
@alejandro-colomar alejandro-colomar deleted the silverhadch-master branch April 22, 2026 10:17
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.

2 participants