[Bug 601114] [NEW] /etc/profile.d/speechd-user-port.sh references $USER

Brian Bloniarz bmb at athenacr.com
Fri Jul 2 16:58:44 BST 2010


Public bug reported:

Binary package hint: speech-dispatcher

The profile script /etc/profile.d/speechd-user-port.sh references $USER,
which I believe is a BSD-ism; the standard UNIX variable for the current
username is $LOGNAME.

In particular, this causes the following error if /etc/profile is invoked from cron:
expr: syntax error

This is because cron defines $LOGNAME but not $USER. This behavior is
described in crontab(5).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: speech-dispatcher 0.6.8~unofficial~rc2-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Fri Jul  2 15:50:47 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: speech-dispatcher

** Affects: speech-dispatcher (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
/etc/profile.d/speechd-user-port.sh references $USER
https://bugs.launchpad.net/bugs/601114
You received this bug notification because you are a member of
Accessibility, which is subscribed to speech-dispatcher in ubuntu.



More information about the Ubuntu-accessibility-bugs mailing list