Logging subsystem produces warnings that cannot be slienced if $XDG_CACHE_HOME cannot be written to

Bug #1262898 reported by Zygmunt Krynicki on 2013-12-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Maciej Kisielewski

Bug Description

In a typical Debian build system plainbox, if invoked, will emit a warning such as the one below:

Unable to create log directory: /sbuildnonexistent/.cache/plainbox/logs
Reason: [Errno 13] Permission denied: '/sbuildnonexistent'. All logs will go to console instead.

Since we do need to run plainbox at build time it'd be better if that particular warning could be selectively disabled.

Related branches

Zygmunt Krynicki (zyga) wrote :

This is currently patched away in Debian so we should come up with a better solution.

Changed in checkbox:
milestone: none → plainbox-0.6
Zygmunt Krynicki (zyga) on 2014-04-03
Changed in plainbox:
assignee: nobody → Zygmunt Krynicki (zkrynicki)
milestone: none → 0.6
importance: Undecided → Medium
status: New → Confirmed
Zygmunt Krynicki (zyga) on 2014-04-03
Changed in checkbox:
milestone: plainbox-0.6 → none
Zygmunt Krynicki (zyga) on 2014-04-23
no longer affects: checkbox
Zygmunt Krynicki (zyga) on 2014-04-23
tags: removed: plainbox
Changed in plainbox:
milestone: 0.6 → 0.7
Changed in plainbox:
milestone: 0.7 → 0.9
Changed in plainbox:
milestone: 0.9 → 0.11
Daniel Manrique (roadmr) on 2014-08-22
Changed in plainbox:
milestone: 0.11 → future
Zygmunt Krynicki (zyga) on 2015-04-09
Changed in plainbox:
assignee: Zygmunt Krynicki (zyga) → nobody
Sylvain Pineau (sylvain-pineau) wrote :

Bug is still valid, the path is really just a workaround (See https://anonscm.debian.org/cgit/python-modules/packages/plainbox.git/tree/debian/patches/silence-logging-failure). It should be handled better.

Changed in plainbox:
status: Confirmed → Incomplete
assignee: nobody → Maciej Kisielewski (kissiel)
Changed in plainbox:
status: Incomplete → In Progress
Maciej Kisielewski (kissiel) wrote :
Changed in plainbox:
status: In Progress → Fix Committed
affects: plainbox → checkbox-ng
Changed in checkbox-ng:
milestone: future → none
milestone: none → 0.36.0
milestone: 0.36.0 → 1.0.0
Changed in checkbox-ng:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers