Permalink
Commits on Jan 27, 2017
  1. SW: add man-db to GRML_FULL

    Otherwise reading manpages doesn't work
    mika committed Jan 27, 2017
  2. Drop grml-live-compat from Suggests, update code + comments accordingly

    grml-live-compat is no longer relevant, so let's get rid of it.
    mika committed Jan 27, 2017
  3. README: document LIVE_CONF usage

    Closes #26 @ GH
    Thanks: Eric Keller for the bug report
    mika committed Jan 27, 2017
  4. Use ssh-keygen -A to generate host keys

    ssh-keygen -A (from manpage):
      For each of the key types (rsa1, rsa, dsa, ecdsa and
      ed25519) for which host keys do not exist, generate the host keys
      with the default key file path, an empty passphrase, default bits for
      the key type, and default comment.  This is used by system
      administration scripts to generate new host keys.
    jkirk committed with mika Jan 13, 2017
  5. Change systemd default target to multi-user.target

    The default target used to be graphical.target which is not appropriate
    for Grml
    jkirk committed with mika Jan 27, 2017
Commits on Jan 15, 2017
  1. Add SHA-256 and SHA-512 hashes

    Most security-conscious users expect to find SHA-256 hashes of files,
    since both MD5 and SHA-1 are considered weak.  SHA-512 additionally has
    the benefit that it is significantly faster than SHA-256 on 64-bit
    systems, processing twice as much data per chunk with only 125% of the
    operations.  Generate both SHA-256 and SHA-512 hashes anywhere we
    provide SHA-1 hashes.
    bk2204 committed Jan 15, 2017
Commits on Jan 13, 2017
  1. Release new version 0.28.0

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

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

    mika committed Jan 13, 2017
  4. Skip resolvconf magic when using systemd

    Enable resolvconf.service instead of running all the magic inside
    the 98-clean-chroot script.
    mika committed Jan 13, 2017
  5. Use systemd.preset to disable all unneeded services

    We decided to disable all services by default and only enable the ones
    we really need. Currently only getty, grml-autoconfig and the
    debug-shell are enabled.
    jkirk committed with mika Dec 25, 2016
  6. SW: drop sysvinit from GRML_SMALL + GRML_FULL

    sysvinit is a transitional package since jeessie and starting
    with stretch this package no longer exists, if we should need it
    for whatever reason we need to depend on sysvinit-core instead.
    mika committed Nov 28, 2016
  7. Set user, group and mode for /etc/systemd

    Set ownership and permission of all files copied to /etc/systemd to
    root:root and 0644. Previously the files did belong to grml:grml.
    jkirk committed with mika Nov 19, 2016
  8. Enable and disable services by using systemd.presets

    By using systemd.presets we can implement our own policy
    which services needs to be enabled or disabled on boot-time.
    
    This issue was initially triggered by a problem with the
    wpa_supplicant@*.service which failed on boot with an
    "Dependency failed for WPA supplicant daemon
    (interface-specific version)" error.
    
    See: http://paste.grml.org/2862/
    jkirk committed with mika Nov 19, 2016
  9. Fix failing systemd ssh.service

    SSH needs host keys which previously were generated by
    ssh-keygen.service. But the generation of the host keys is not a
    "service" and must only be done when no host keys exist.
    
    Also ssh-bootoption.service was aliased with sshd.service which itself
    depends on the kernel option "ssh" which prevents starting of ssh. So I
    removed the alias entry.
    jkirk committed with mika Nov 5, 2016
  10. README: explicitly mention the templates option as well

    Otherwise the templates from /usr/share/grml-live/templates
    are used (and might not be present).
    mika committed Oct 21, 2016
  11. Drop deprecated GRMLBASE/48-tmpfs file, use default /tmp handling

    The configuration needs to take place in /etc/default/tmpfs
    anyway (not /etc/default/rcS) and defaulted to "no". systemd
    has a separate tmp.mount unit and quoting systemd changelog:
    
    | systemd (220-6) unstable; urgency=medium
    |
    |    * Stop installing tmp.mount by default; there are still situations where it
    |      becomes active through dependencies from other units, which is surprising,
    |      hides existing data in /tmp during runtime, and it isn't safe to have a
    |      tmpfs /tmp on every install scenario. (Closes: #783509)
    |      - d/rules: Ship tmp.mount in /usr/share/systemd/ instead of
    |        /lib/systemd/systemd.
    |      - systemd.postinst: When tmp.mount already was enabled, install tmp.mount
    |        into /etc and keep it enabled.
    |      - systemd.postinst: When enabling tmp.mount because of RAMTMP=yes, copy it
    |        from /usr/share.
    |      - Drop Don-t-mount-tmp-as-tmpfs-by-default.patch and
    |        PrivateTmp-shouldn-t-require-tmpfs.patch, not necessary any more.
    mika committed Oct 21, 2016
  12. Switch UTC setting from /etc/default/rcS to /etc/adjtime

    /etc/default/rcS doesn't necessarily exist anymore in Debian
    stretch or newer, So use the UTC/LOCAL setting in /etc/adjtime
    rather than the UTC setting in /etc/default/rcS.
    
    Thanks: Darshaka Pathirana
    mika committed Oct 21, 2016
  13. Systemd support, providing backwards compatibility via FILE_RC class …

    …[Closes: issue1015]
    
    Support for file-rc is still available and can be enabled
    via FILE_RC class.
    mika committed Jan 5, 2016
  14. Add etc/grml/fai/make-fai-nfsroot.conf + etc/grml/fai/nfsroot.conf to…

    … .gitignore
    
    Those files are generated during run-time and removed
    after grml-live execution finished. If grml-live is used
    directly from inside grml-live.git we don't want add
    those files by mistake.
    mika committed Jan 27, 2016
Commits on Jan 11, 2017
  1. GRMLBASE/21-usersetup: add grml user to vboxsf group

    Otherwise the grml user has no access to VirtualBox
    Shared Folders.
    mika committed Jan 11, 2017
Commits on Nov 28, 2016
  1. SW: drop disabled 'nvi' package from GRML_SMALL class

    While this RC bug (#490361) was present since 2008 and fixed in
    2009 we never re-enabled nvi back again, so let's fully drop it.
    mika committed Nov 28, 2016
Commits on Nov 25, 2016
  1. Switch from aptitude to apt-get as package manager in package list

    So far we used "PACKAGES aptitude" to use aptitude as package
    manager. FAI's install_packages supports different commands
    (package managers) though, see `install_packages -H`:
    
      % install_packages -H | grep -e '^\s*aptitude ' -e '^\s*install '
             aptitude    aptitude -R -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install
              install    apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --fix-missing install
    
    FAI versions until 5.3** support ignoring packages via:
    
    | PACKAGES install
    |
    | packagename-
    
    We can use that feature in the IGNORE class to avoid e.g. the
    installation of the partimage package which is currently
    unavailable in Debian/testing and therefore would fail the build
    (because of aptitude's #835372 behavior change).
    
    ** NOTE: FAI v5.3 is broken regarding this behavior, so we've to
    use FAI 4.3.1+deb8u1 from jessie to use that feature (at least
    until it's restored/fixed again).
    mika committed Nov 25, 2016
  2. instsoft.GRMLBASE: ensure that file-rc can be installed

    If we request installation of file-rc but don't add hint
    to remove systemd-sysv package then aptitude fails with:
    
    | The following NEW packages will be installed:
    |   file-rc initscripts{a} insserv{a} sysvinit-core{ab}
    | The following packages are RECOMMENDED but will NOT be installed:
    |   psmisc
    | 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    | Need to get 316 kB of archives. After unpacking 686 kB will be used.
    | The following packages have unmet dependencies:
    |  systemd-sysv : Conflicts: file-rc but 0.8.18 is to be installed
    |                 Conflicts: sysvinit-core but 2.88dsf-59.8 is to be installed
    |  sysvinit-core : Conflicts: systemd-sysv but 232-3 is installed
    | The following actions will resolve these dependencies:
    |
    |      Install the following packages:
    | 1)     startpar [0.59-3.1 (testing)]
    | 2)     sysv-rc [2.88dsf-59.8 (testing)]
    |
    |      Keep the following packages at their current version:
    | 3)     file-rc [Not Installed]
    | 4)     sysvinit-core [Not Installed]
    |
    |
    |
    | No packages will be installed, upgraded, or removed.
    | 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    mika committed Nov 25, 2016
Commits on Nov 18, 2016
  1. SW: add dbus to GRMLBASE

    Without dbus there seem to be lots of service/systemd related issues,
    so as a starting point make sure it's at least always available.
    mika committed Nov 18, 2016
  2. templates: use net.ifnames=0 by default

    Grml_Networking from our live-boot doesn't support the new interface
    names yet (this needs to be fixed anyway for sure), though the consensus
    seems to be that we should use the old interface names by default,
    so give that a try now.
    mika committed Nov 18, 2016
  3. GRMLBASE/44-grub: explicitely set grub-mkimage's prefix path

    At least with grub 2.02~beta3-1 the prefix is mandatory:
    
    | Usage: grub-mkimage [OPTION...] [OPTION]... [MODULES]
    | Try 'grub-mkimage --help' or 'grub-mkimage --usage' for more information.
    | Prefix not specified (use the -p option).
    
    Set it to what's the default e.g. in grub 2.02~beta2-36
    as documented in its manpage:
    
    |      -p, --prefix=DIR
    |             set prefix directory [default=/boot/grub]
    
    Related grub git commit message:
    
    | commit 1440b7ebae47e1cb710e920bec9d88c4d75ff432
    | Author: Andrey Borzenkov <arvidjaar@gmail.com>
    | Date:   Sat Jan 25 19:54:51 2014 +0400
    |
    |     do not set default prefix in grub-mkimage
    |
    |     Default prefix is likely wrong on Unix and completely wrong on Windows.
    |     Let caller set it explicitly to avoid any ambiguity.
    
    Thanks: Darshaka Pathirana
    mika committed Oct 21, 2016