lp:ubuntu/karmic-updates/kerneloops

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/karmic-updates/kerneloops
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Mature

Recent revisions

14. By James Westby

Don't start kerneloops on boot in stable releases, for the same reasons that
we disable appport. (LP: #471137)

13. By James Westby

* Install the autostart file so that if the user installs kerneloops-applet
  it will at least start, leaving them to just choose in the config file
  whether to use it.
* Also add "Replaces kerneloops" on the kerneloops-applet package as
  files moved there too.

12. By James Westby

* Install kerneloops.conf in the kerneloops-daemon package. Thanks
  Matt Zimmerman. (LP: #428891)
* Don't scan the log file, just rely on dmesg for now to avoid a flood
  of duplicate reports. Thanks Matt Zimmerman. (LP: #429000)

11. By James Westby

* Move submit-pipe to be before asking, and still use apport for Ubuntu.
  This puts apport in control of prompting the user.
* Add apport to Recommends as it will be needed to report any oopses
  now if you don't edit the configuration file.
* Add kerneloops-submit which will allow apport to submit an oops.
* Split kerneloops-applet and kerneloops-daemon package. This means that
  servers can just install the daemon without gtk, and we don't have to
  install the applet by default now that we will use apport to do the
  prompting. Thanks Tim Abbott. (LP: #337757)
  (-daemon isn't really needed at this stage, but that is the way Debian
   plan to go, so we use that to avoid clashes)
* Don't try and start the daemon if it isn't there. Thanks again to Tim
  Abbott.

10. By James Westby

* Merge from Debian, remaining changes:
  - Add a "submit-pipe" configuration option for passing the oops to
    another tool. Set it to pipe to apport for Ubuntu.
  - Ensure that the newline is not included in the value when parsing
    string values (LP: #344813)
  - Add Homepage field.
  - Create a kernoops system user and run the daemon as that, using
    start-stop-daemon. (Running in the adm group ensures it can
    read the logs).
    - Add postinst/postrm to add/remove the user.
    - Depend on adduser.
    - Tweak the dbus conf so that the new user can own the dbus names.
  - Append -O0 to CFLAGS when building in debug mode honoring noopt
    DEB_BUILD_OPTIONS.
  - Honor nocheck in DEB_BUILD_OPTIONS.
  - Change log-file option to point to /var/log/kern.log instead of
    /var/log/messages.
  - Debianise the default location.
  - If the notification daemon doesn't support actions then use
    a dialog instead.
* Remove debian/applied-patches as updating them is too much headache.
* Remove Vcs URIs as they don't point to the one used for packaging.
* The Makefile now deletes the test/*.dbg files, so debian/rules doesn't
  have to.
* Don't stop the daemon in runlevels 0 or 6 as sendsigs can quite happily
  kill it for us.

9. By Ken VanDine

debian/applied-patches/kerneloops-applet.c.patch: Updated patch to include
a fix for box packing so expander fills and expands submitted by Cody
Russell. (LP: #344377)

8. By Ken VanDine

[ Ken VanDine ]
* debian/applied-patches/kerneloops-applet.c.patch: Convert notification to
  a dialog. Applied inline, since package has no patch system. (LP: #344377)
* debian/rules: Remove test/*dbg, these should be cleaned by the Makefile
* debian/applied-patches/submit.c.patch: Fix the config parser so that it
  will actually work with apport. Thanks to Matt Zimmerman for the patch!
  (LP: #344813)

[ Martin Pitt ]
* Moved *.patch to debian/applied-patches/, to be a little less confusing.

7. By Kees Cook

* debian/{postinst,postrm}: create/remove kernoops system user.
* kerneloops.init:
  - Debianify defaults location.
  - use start-stop-daemon to handle daemon init, including running
    as non-root user with log-readable permissions (group "adm").
* configfile.c, kerneloops.{c,h}, kerneloops.conf:
  - create "log-file" config setting, populate to /var/log/kern.log.
* kerneloops.dbus: switch to "kernoops" user instead of "root".
* debian/control:
  - add "adduser" as Depend now that there is a system user.
  - document Vcs URIs.
  - add Homepage URL.
  - update standards version (no changes needed).

6. By Loïc Minier

* configfile.c:read_configfile(): Properly dereference "*c" configfile
  parsing char* when checking chars.
* Append -O0 to CFLAGS when building in debug mode honoring noopt
  DEB_BUILD_OPTIONS.
* Honor nocheck in DEB_BUILD_OPTIONS.

5. By Martin Pitt

* New upstream release. Adapt our patches, remove Matt's hardcoded
  apport patch.
* Apply Jim Lieb's support for a "submit-pipe" configuration option
  and set it to pipe to /usr/share/apport/kernel_oops.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/lucid/kerneloops
This branch contains Public information 
Everyone can see this information.

Subscribers