[Git-commits] [grml/grml-autoconfig] b1359b: Fix generation of startx helper script

Michael Prokop mika at grml.org
Fri May 5 16:59:56 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-autoconfig
  Commit: b1359ba47c70cf7b774568dd57e16e5f8f58e988
      https://github.com/grml/grml-autoconfig/commit/b1359ba47c70cf7b774568dd57e16e5f8f58e988
  Author: Darshaka Pathirana <dpat at syn-net.org>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  Fix generation of startx helper script

`/etc/init.d/startx` is created dynamically on startup.  The $ of ${TTY}
was not escaped so that when generating the helper script the variable
was evaluated which lead to an empty output.

The script fixes permission problems of /dev/ttyX when grml-x is started
via sudo.

Usually /dev/ttyX is owned by root:tty and has 0620 permission but
grml-runtty changes ownership to root:root to overcome other problems.
(It is not clear if these problems are still present and if we still
have to do this but for now we provide this helper script).

${WINDOWMANAGER} is evaluated on generation and can be (and usually is)
empty. But when starting grml-x with the parameter "" this leads to an
immediate exit of grml-x. Removed the surrounding "".

Closes grml/grml#1


  Commit: 843ea42847c29f777f6788b4fa3213b157dceba8
      https://github.com/grml/grml-autoconfig/commit/843ea42847c29f777f6788b4fa3213b157dceba8
  Author: Michael Prokop <mika at grml.org>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  Release new version 0.15.4


Compare: https://github.com/grml/grml-autoconfig/compare/62128d707358...843ea42847c2


More information about the Git-commits mailing list