error when logging in via console

Bug #1206452 reported by Lars Noodén
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When I log in via console, I get the following three errors / warnings:

            find: `/var/lib/update-notifier/updates-available': No such
            file or
            directory
            cat: /var/lib/update-notifier/updates-available: No such
            file or directory
            run-parts: /etc/update-motd.d/90-updates-available exited
            with return code 1

These only happen with the console and not when using lxterminal or 'su -l'

Related branches

Revision history for this message
Lars Noodén (larsnooden) wrote :

update-notifier-common

affects: ubiquity (Ubuntu) → update-notifier (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-notifier (Ubuntu):
status: New → Confirmed
Revision history for this message
Lars Noodén (larsnooden) wrote :

The problems occur in /usr/lib/update-notifier/update-motd-updates-available

Either the script should create the stamp file at the beginning:

touch "$stamp"

Or it should do checks on its existence prior to trying to use it:

if [ -f "$stamp" ]; then
    ...
fi

Steve Langasek (vorlon)
Changed in update-notifier (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier - 0.144

---------------
update-notifier (0.144) saucy; urgency=low

  * Fix the newly-optimized update-motd-updates-available to correctly handle
    the initial case when the stamp file doesn't yet exist. LP: #1206452.
 -- Steve Langasek <email address hidden> Tue, 30 Jul 2013 13:25:05 +0100

Changed in update-notifier (Ubuntu):
status: In Progress → 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.