Skip to content

systemd-networkd ignores systemd-homed users #37279

@zabbal

Description

@zabbal

systemd version the issue has been seen with

252

Used distribution

Debian 12

Linux kernel version used

6.6.72-amd64

CPU architectures issue was seen on

x86_64

Component

systemd-networkd

Expected behaviour you didn't see

User= and Group= directives work for all users.

Unexpected behaviour you saw

systemd-networkd[470]: vpn0: Cannot resolve user name test: No such process

Steps to reproduce the problem

Create tunnel device for VPN with user & group directives using user from systemd-homed instead of regular system user:

[NetDev]
Name=vpn0
Kind=tun

[Tun]
User=test
Group=test

Additional program output to the terminal or log subsystem illustrating the issue

homectl create test

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Programming errors, that need preferential fixingnetwork

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions