ospack: Disable fqdn resolution for sudo
When opening a new session sudo tries to resolve the fqdn of the host, but that introduces a sensible delay if the host does not have a fqdn set up appropriately, as it is often the case with development board or when booting images in QEMU. We currently also ship libnss-myhostname which in theory could solve the issue at the system level and not just for sudo, but upstream configures it to come *after* dns resolution to avoid breaking `hostname --fqdn`, see https://github.com/systemd/systemd/issues/1280 Our use-case is sligthly different and we may configure libnss-myhostname to precede dns resolution, but in the meantime keep disabling this in sudo as the apertis-customization package used to do. Signed-off-by:Emanuele Aina <emanuele.aina@collabora.com>
parent
552d5bdd
No related branches found
No related tags found
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
Showing
- apertis-ospack-basesdk.yaml 3 additions, 0 deletionsapertis-ospack-basesdk.yaml
- apertis-ospack-devroot.yaml 3 additions, 0 deletionsapertis-ospack-devroot.yaml
- apertis-ospack-minimal.yaml 3 additions, 0 deletionsapertis-ospack-minimal.yaml
- apertis-ospack-sdk.yaml 3 additions, 0 deletionsapertis-ospack-sdk.yaml
- apertis-ospack-target.yaml 3 additions, 0 deletionsapertis-ospack-target.yaml
- overlays/sudo-fqdn/etc/sudoers.d/disable-fqdn 3 additions, 0 deletionsoverlays/sudo-fqdn/etc/sudoers.d/disable-fqdn
Please register or sign in to comment