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

Bug #1262898 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
Medium
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.

Tags: debian

Related branches

Revision history for this message
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)
Changed in plainbox:
assignee: nobody → Zygmunt Krynicki (zkrynicki)
milestone: none → 0.6
importance: Undecided → Medium
status: New → Confirmed
Zygmunt Krynicki (zyga)
Changed in checkbox:
milestone: plainbox-0.6 → none
Zygmunt Krynicki (zyga)
no longer affects: checkbox
Zygmunt Krynicki (zyga)
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)
Changed in plainbox:
milestone: 0.11 → future
Zygmunt Krynicki (zyga)
Changed in plainbox:
assignee: Zygmunt Krynicki (zyga) → nobody
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.