Commits on May 28, 2017
  1. Release new version 0.15.9

    mika committed May 28, 2017
Commits on May 26, 2017
  1. Release new version 0.15.8

    mika committed May 26, 2017
  2. Update instructions for manual LVM start + fix LVM detection for lvm …

    …boot option
    service lvm2-lvmetad doesn't do what we assumed it does.
    Instead 'Start lvm2-pvscan@name' allows startup of the
    given LV or VG (which is actually nice).
    Also we need to explicitely execute `vgchange -a` to
    start any present LVs.
    Closes grml/grml#31
    mika committed May 26, 2017
  3. Update instructions for manual mdadm start, drop --auto=yes --symlink…

    …=no from swraid
    The "--auto=yes --symlink=no" options shouldn't be relevant any
    longer (symlink actually doesn't seem to do what it's supposed).
    The "mdmonitor" service doesn't do what we thought it does,
    so instead recommend usage of "mdadm --assemble --scan" instead.
    Related to grml/grml#45
    mika committed May 26, 2017
Commits on May 24, 2017
  1. Release new version 0.15.7

    mika committed May 24, 2017
  2. Fix the amixer scontrols parser in config_mixer

    The internal field seperator (IFS) got messed up in commit# 1043bc0.
    While at it, fixed all IFS variables to make it more readable and to
    prevent breakage by (automatic) indentation.
    This is not (yet) POSIX though, but we are in zsh anyway.
    Closes grml/grml#40
    jkirk committed with mika May 21, 2017
Commits on May 20, 2017
  1. Get rid of ugly startx helper script and start X on tty7/vt7

    The startx helper script was used to get around some permission problems
    which were caused by grml-runtty. As we switched to agetty, we also can
    get rid of this ugly hack.
    Furthermore we decided to start X on tty7/vt7 (if the bootoption startx
    is given) as tty6 "is especially reserved for auto-spawned gettys":
     This is done in order to ensure that there's always a way to get a text
     login, even if due to fast user switching X took possession of more
     than 5 VTs.
    Relates to grml/grml#20
    jkirk committed May 20, 2017
Commits on May 19, 2017
  1. Drop config_debug, not working under systemd as intended

    Startup of shells during bootup under systemd doesn't work
    as with file-rc and actually causes ugly error messages.
    systemd has its own mechanism and we should rely on that.
    With this change also drop the /proc/sys/kernel/printk related
    code, this *shouldn't* be relevant anymore.
    Closes grml/grml#3
    mika committed May 19, 2017
  2. Release new version 0.15.6

    mika committed May 19, 2017
  3. Drop config_stats

    The stats feature was integrated to collect some basic
    information about usage of Grml. While we anonymise
    the data we also lack the according information *why*
    things are used in a way they are used (e.g. since
    we cut of any arguments to bootoptions we don't
    know the actual settings for e.g. vga=xxx).
    What we learned from the stats is that grml32 is still
    in usage way more often than expected, though a leading
    majority of the systems support 64bit, so it's unclear
    why those users still use the 32bit version.
    While we thought it was a good idea back then we think
    different nowadays and users of Grml don't expect such
    a behavior as default. So don't make it even opt-in but
    just drop it overall.
    mika committed May 19, 2017
Commits on May 16, 2017
  1. Don't warn if SecureBoot is not enabled, instead only inform about cu…

    …rrent state
    If SecureBoot isn't enabled this could very well be by
    intention, so don't warn about it, but only make it
    an informational message.
    Closes grml/grml#24
    mika committed May 16, 2017
  2. Don't complain about missing amixer binary on tty

    On grml-small we don't ship amixer (being part of alsa-utils),
    since that would add ~8.5MB of additional disk space usage.
    Avoid the error message by sending a message only to syslog.
    Closes grml/grml#24
    mika committed May 16, 2017
Commits on May 12, 2017
  1. Release new version 0.15.5

    mika committed May 12, 2017
  2. Ensure that grml-autoconfig service is running before tty1 is enabled

    Thanks: Darshaka Pathirana <>
    Closes grml/grml#19
    mika committed May 12, 2017
  3. Replace dependency on console-terminus with console-setup + console-s…

    console-terminus is purely virtual.
    Inside console-setup-linux's udev rule there's a rule
    depending on /etc/console-setup/ which
    itself is provided only via console-setup, otherwise it
    fails with:
    | systemd-udev: failed to execute '/etc/console-setup/' '/etc/console-setup/': No such file or directory
    Closes grml/grml#8
    mika committed May 12, 2017
Commits on May 5, 2017
  1. Release new version 0.15.4

    mika committed May 5, 2017
  2. 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
    jkirk committed May 5, 2017
  3. Release new version 0.15.3

    mika committed May 5, 2017
Commits on Apr 25, 2017
  1. Make startx boot option work with systemd

    The desired behavior (with systemd and the boot option "startx") is to start
    the X window system automatically.
    This is achieved by getty@tty6.service which starts grml-x as user "grml" on
    vt6/tty6 and switches back to vt1/tty1 after exit. (This alone could be
    achieved with systemd-unit option Type=oneshot and Restart=no). But when
    switiching back to vt6/tty6 (again) we would like to start a zsh (for user
    "grml") and restart the zsh if exited. That means that grml-x should only be
    started on the very first run and the zsh on every other.
    We could not figure out how to change the systemd-unit option "Type"
    dynamically, so we kept it on "idle" which means that the "actual execution of
    the service binary is delayed until all active jobs are dispatched". That's why
    we need to switch to vt6/tty6 (via grml-autoconfig) iff the boot option
    "startx" is given.
    We also do not know yet how to dynamically change the behavior of the
    systemd-unit in a safe way. Rewriting the unit-file (override.conf) after
    grml-x exits (i.e. with ExecStopPost) doesn't seem to work reliably (especially
    when calling "systemctl daemon-reload" in it). That's why we use a state-file
    (/var/run/grml_startx.started) to start up grml-x on the first call and the zsh
    This also means that grml-x is started automatically when switching to vt6/tty6
    manually (when no "startx" boot option was given) once and the zsh on the
    following calls.
    Closes grml/grml#1
    jkirk committed with mika Apr 24, 2017
Commits on Apr 21, 2017
  1. Adjust mdadm-raid + lvm2 messages and service handling for usage with…

    … systemd
    The mdadm-raid unit is masked under systemd, instead it's necessary
    to start mdmonitor.
    Also lvm2 is masked and needs to be activated via lvm2-lvmetad instead.
    mika committed Apr 21, 2017
Commits on Apr 20, 2017
  1. Release new version 0.15.2

    mika committed Apr 20, 2017
  2. Re-enable GPM service startup

    It's still needed, both for file-rc and systemd systems.
    mika committed Apr 20, 2017
Commits on Feb 24, 2017
  1. Release new version 0.15.1

    mika committed Feb 24, 2017
  2. systemd/grml-autoconfig.service: switch to

    We define our own systemd target, so enable grml-autoconfig
    in the according target.
    Closes grml/grml#2 @ GH
    mika committed Feb 24, 2017
  3. No longer depend on acpid, skip acpi(d) specific stuff under systemd

    systemd provides all the relevant bits via logind, so let's
    all our acpi magic when running under systemd.
    Closes grml/grml#4 @ GH
    mika committed Feb 24, 2017
Commits on Jan 13, 2017
  1. Release new version 0.15.0

    mika committed Jan 13, 2017
  2. Build-Depend on debhlper >= 9

    mika committed Jan 13, 2017
  3. Bump debian/compat to 9

    mika committed Jan 13, 2017
  4. Bump Standards-Version to 3.9.8

    mika committed Jan 13, 2017
  5. Drop grml_nocolors + grml_colors magic, instead rely on lsb-functions

    grml-etc-core git commit 2ee956e includes color handling
    inside lsb-functions, simplify its usage inside grml-autoconfig's
    autoconfig.functions therefore.
    mika committed Jan 13, 2017