[Bug 386240] Re: lastfmsubmitd failed to install/upgrade if user provided group doesn't exist

Jean-Baptiste Lallement jeanbaptiste.lallement at gmail.com
Tue Dec 15 21:08:26 UTC 2009


** Description changed:

+ :: DESCRIPTION ::
+ If the user enters a non-existent group at the lastfmsubmitd/spool_group prompt, the installation fails with 
+ 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/lastfmsubmitd.postinst:
+ 
+ db_get lastfmsubmitd/spool_group
+ 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
  NonfreeKernelModules: nvidia
  Package: lastfmsubmitd 0.37-3
  PackageArchitecture: all
  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

** Tags added: bitesize

-- 
lastfmsubmitd failed to install/upgrade if user provided group doesn't exist
https://bugs.launchpad.net/bugs/386240
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list