Latest 'hostname' fails with syntax error 14 December 2019, 23:45:55 The latest hostname script, that uses envfile is broken and fails with invalid syntax. Well, it's not the script itself, but envfile expects the file to contain key/value pairs, while /etc/hostname contains a single value. Last Edit: 15 December 2019, 00:02:19 by dnkl
Re: Latest 'hostname' fails with syntax error Reply #1 – 15 December 2019, 00:38:01 Oh duh. Arch uses just a single value and not the key=value convention. Better follow what Arch does.
Re: Latest 'hostname' fails with syntax error Reply #2 – 15 December 2019, 00:43:04 I'm curious; which distro doesn't? I've never seen any other variants of the hostname file...
Re: Latest 'hostname' fails with syntax error Reply #3 – 15 December 2019, 00:49:15 I think pre-systemd Red Hat did that. Maybe some others. I'm way outdated here.
Re: Latest 'hostname' fails with syntax error Reply #4 – 15 December 2019, 17:19:56 Should be fixed in s6-rc now. It's has the same number/version so you'll have to reinstall it from goblins. Be sure to resync the mirror (so pacman -Sy s6-rc). Not sure when the next mirror sync is, but it should update so you'll know it's the rebuilt s6-rc version.