precheck should fail immediately if the conf file is not found

Bug #1958144 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Canonical Certification Server
Fix Released
Medium
Jeff Lane 

Bug Description

See attached screenshot.

A partner was recently running the precheck script and sent me a screenshot with a question about the process... I noticed in their screenshot that /etc/xdg/canonical-certificaiton.conf wasn't found by the script, yet the script keeps going.

The precheck script depends on that conf file and so should immediately fail and exit if the file isn't found.

Tags: servcert-319
Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Rod Smith (rodsmith) wrote :

The problem report is almost certainly caused by the incomplete APT setup; the config file IS present, just under another name. This was supposed to be fixed by https://code.launchpad.net/~rodsmith/plainbox-provider-certification-server/+git/plainbox-provider-certification-server/+ref/fix-apt-errors-in-precheck, but it looks like it's not running early enough in the script. I'm looking into that now.

Changed in plainbox-provider-certification-server:
status: In Progress → Fix Committed
Changed in plainbox-provider-certification-server:
status: Fix Committed → Fix Released
Jeff Lane  (bladernr)
tags: added: servcert-319
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.