1. 15 Nov, 2012 3 commits
  2. 14 Nov, 2012 6 commits
  3. 13 Nov, 2012 8 commits
    • Thomas Hindoe Paaboel Andersen's avatar
      delta.c: fix option '-t' · 377ec8bf
      Thomas Hindoe Paaboel Andersen authored
      Both the help and man page claims that it accepts -t with an argument
      so let's do that.
    • Thomas Hindoe Paaboel Andersen's avatar
      delta.c: use _cleanup_ · e26970a8
      Thomas Hindoe Paaboel Andersen authored
    • Marti Raudsepp's avatar
      python: add journal backend for the logging framework · 73c0495f
      Marti Raudsepp authored
      Supports Python versions 2.6 through 3.3 (tested on 2.7 and 3.2).
      See JournalHandler docstring for usage details.
      [zj: - use send() instead of using sendv() directly
           - do exception handling like in the logging module
           - bumped min version to python2.6, since the module
             does not work with python2.5 anyway ]
    • Zbigniew Jędrzejewski-Szmek's avatar
      systemd-analyze: use argparse instead of getopt · 0c027184
      Zbigniew Jędrzejewski-Szmek authored
      Makes the output way nicer with shorter code. Also brings
      systemd-analyze behaviour more in line with other systemd-programs.
      Argparse is in Python since 2.6, and is available as a package for
      previous versions, if someone is stuck with very old Python.
    • Zbigniew Jędrzejewski-Szmek's avatar
    • Zbigniew Jędrzejewski-Szmek's avatar
      shared/socket-util: kill gcc warning about uninitialized variable · 6b6ed3e3
      Zbigniew Jędrzejewski-Szmek authored
      The warning was invalid, but distracting.
    • Kay Sievers's avatar
      udev: properly handle symlink removal by 'change' event · bf9d233f
      Kay Sievers authored
      If a 'change' event is supposed to remove created symlinks, we create
      a new device structure from the sysfs device and fill it with the list
      of links, to compute the delta of the old and new list of links to apply.
      If the device is already 'remove'd by the kernel though, udev fails to
      create the device structure, so the links are not removed properly.
      > From: Neil Brown <nfbrown@suse.com>
      > Date: Thu, 8 Nov 2012 10:39:06 +0100
      > Subject: [PATCH] If a 'change' event does not get handled by udev until
      > after the device has subsequently disappeared, udev mis-handles
      > it. This can happen with 'md' devices which emit a change
      > event and then a remove event when they are stopped. It is
      > normally only noticed if udev is very busy (lots of arrays
      > being stopped at once) or the machine is otherwise loaded
      > and reponding slowly.
      > There are two problems.
      > 1/ udev_device_new_from_syspath() will refuse to create the device
      >    structure if the device does not exist in /sys, and particularly if
      >    the uevent file does not exist.
      >    If a 'db' file does exist, that is sufficient evidence that the device
      >    is genuine and should be created.  Equally if we have just received an
      >    event from the kernel about the device, it must be real.
      >    This patch just disabled the test for the 'uevent' file, it doesn't
      >    try imposing any other tests - it isn't clear that they are really
      >    needed.
      > 2/ udev_event_execute_rules() calls udev_device_read_db() on a 'device'
      >    structure that is largely uninitialised and in particular does not
      >    have the 'subsystem' set.  udev_device_read_db() needs the subsystem
      >    so it tries to read the 'subsystem' symlink out of sysfs.  If the
      >    device is already deleted, this naturally fails.
      >    udev_event_execute_rules() knows the subsystem (as it was in the
      >    event message) so this patch simply sets the subsystem for the device
      >    structure to be loaded to match the subsystem of the device structure
      >    that is handling the event.
      > With these two changes, deleted handling of change events will still
      > correctly remove any symlinks that are not needed any more.
      Use udev_device_new() instead of allowing udev_device_new_from_syspath()
      to proceed without a sysfs device.
    • Mauro Dreissig's avatar
  4. 12 Nov, 2012 6 commits
  5. 11 Nov, 2012 1 commit
  6. 09 Nov, 2012 7 commits
  7. 06 Nov, 2012 4 commits
  8. 04 Nov, 2012 5 commits