Control: tags -1 pending On 9 August 2016 at 08:07, Simon McVittie <s...@debian.org> wrote: > > Package: systemd > Version: 231-1 > Severity: normal > Tags: patch > > I'm using systemd on an embedded Debian derivative that doesn't routinely > populate /etc/default/keyboard (our target devices don't normally have > keyboards, so it would be meaningless). On this system, localed doesn't > start when activated via D-Bus: > > systemd-localed[9146]: Failed to read locale data: No such file or > directory > > This appears to be because the upstream code to load a Red Hat-specific > X11 keyboard configuration file tolerates it not existing, but the > Debian patch to load /etc/default/keyboard instead does not tolerate > ENOENT. > > To fix this, I applied the patch > 0001-x11_read_data-tolerate-absence-of-etc-default-keyboa.patch > (this is a forward-port to 231, the one I initially used was for an > earlier systemd version and touched the same code in a different file) > just after Use-Debian-specific-config-files.patch in the patch > series, then squashed it into that commit to get the attached > 0001-Use-Debian-specific-config-files.patch (again, this is a > forward-port). > > I'm not attaching a proposed debdiff because the resulting diff between > diffs is basically impossible to review :-)
Thanks for the patch.This makes a lot of sense, especially because ENOENT is tolerated everywhere in that file. I have applied this to git with the following commit message attributed to you: localed: tolerate absence of /etc/default/keyboard The debian-specific patch to read Debian config files was not tolerating the absence of /etc/default/keyboard. This causes systemd-localed to fail to start on systems where that file isn't populated (like embedded systems without keyboards). Closes: #833849 -- Saludos, Felipe Sateler _______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers