update-motd.d/10-help-text has an incomplete check for ubuntu server systems

Bug #771395 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
Confirmed
Medium
Dimitri John Ledkov

Bug Description

Binary package hint: base-files

I'd just finished installing ubuntu-server i386 and was surprised to discover that after logging in I was presented with a link to help.ubuntu.com instead of www.ubuntu.com/server. This is because the help text script is just looking for '-server' in the output of uname and there is no -server kernel for i386.

From 10-help-text:

URL="https://help.ubuntu.com/"
if uname -r | grep -qs "\-server"; then
 URL="http://www.ubuntu.com/server/doc"
fi

Tags: iso-testing
tags: added: iso-testing
Changed in base-files (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Brian Murray (brian-murray) wrote :

One way to handle this might be to the following:

elif uname -r | grep -qs "\-pae" && grep -qsi "server" /var/log/installer/media-info; then
        URL="http://www.ubuntu.com/server/doc"
fi

Revision history for this message
Colin Watson (cjwatson) wrote :

Please can we instead consolidate the documentation, and remove this client-side conditionalisation which I don't think can ever really be made correct?

Changed in base-files (Ubuntu):
assignee: Dustin Kirkland  (kirkland) → Dimitri John Ledkov (xnox)
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

This bug should be closed (obsoleted) by the fix to Bug #1592386

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
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.