lastfmsubmitd failed to install/upgrade if user provided group doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lastfmsubmitd (Debian) |
Fix Released
|
Unknown
|
|||
lastfmsubmitd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
:: DESCRIPTION ::
If the user enters a non-existent group at the lastfmsubmitd/
chown: invalid group: `lastfm:firstfm'
dpkg: error processing lastfmsubmitd (--configure):
subprocess post-installation script returned error exit status 1
:: VERSION ::
lastfmsubmitd | 0.36-1 | hardy/universe | source, all
lastfmsubmitd | 0.37-2 | intrepid/universe | source, all
lastfmsubmitd | 0.37-3 | jaunty/universe | source, all
lastfmsubmitd | 1.0.5-1 | karmic/universe | source, all
lastfmsubmitd | 1.0.5-1 | lucid/universe | source, all
:: HOW TO REPRODUCE ::
When prompt with the question: "Group that may send submissions:" enter a group name that doesn't exist on your system and different from the default value "lastfm"
:: WORKAROUND ::
Keep the default.
:: FAULTY CODE ::
in debian/
db_get lastfmsubmitd/
if [ "$RET" ]; then
for dir in /var/log/lastfm /var/run/lastfm /var/spool/lastfm; do
chown "lastfm:$RET" $dir
chmod 2775 $dir
done
fi
=======
I do not know what happened
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelMo
Package: lastfmsubmitd 0.37-3
PackageArchitec
SourcePackage: lastfmsubmitd
Title: package lastfmsubmitd 0.37-3 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686
Related branches
description: | updated |
tags: | added: bitesize |
Changed in lastfmsubmitd (Ubuntu): | |
assignee: | nobody → Jean-Baptiste Lallement (jibel) |
status: | Confirmed → In Progress |
Changed in lastfmsubmitd (Debian): | |
status: | Unknown → New |
Changed in lastfmsubmitd (Debian): | |
status: | New → Fix Released |
Relevent Extract from appatch dpkg log:
Setting up lastfmsubmitd (0.37-3) ...
chown: invalid group: `lastfm:firstfm'
dpkg: error processing lastfmsubmitd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
lastfmsubmitd
I am not quite sure how the group "firstfm" came to exist. Could not reproduce on Jaunty. Will investigate further.