'Twas brillig, and James Buren at 20/05/13 18:28 did gyre and gimble: > Files such as /etc/machine-info have an incompatibility with systemd in > regards to how > it writes and/or parses them. Take the following sample: > > PRETTY_HOSTNAME="\'\"\$\`\\" > > Systemd will translate this to: '"$`\ > However, the shells bash and dash will translate this to: \'"$`\ > > So, it appears to be that systemd is escaping single quotes when the shells > themselves > do not honor it for single quotes here. Thoughts for a solution? I ask > because I have to > write some systemd config files for a distro installer, and cannot use > hostnamectl yet.
AFAIUI, it's not meant to be 100% shell compatible anyway, so I suspect the currently behaviour is as intended and will remain. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel