paster crashed with OSError in change_user_group()

Bug #563122 reported by Dooitze de Jong on 2010-04-14
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
schooltool (Ubuntu)
Medium
Gediminas Paulauskas

Bug Description

I got an crash report, i dont know further details.
Sorry

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: python-pastescript 1.7.3-5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CheckboxSubmission: d9f70a3fd7d12668a49f95e6a4bba6f3
CheckboxSystem: 6ce041aeed0a2c17b3343b66d157175d
Date: Tue Apr 13 19:18:36 2010
ExecutablePath: /usr/bin/paster
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: python /usr/bin/paster serve --user=schooltool --group=schooltool --daemon --pid-file=/var/run/schooltool/schooltool-2009.pid --log-file=/var/log/schooltool/paste.log --quiet /etc/schooltool/schooltool-2009/paste.ini start
ProcEnviron:
 PATH=(custom, no user)
 LANG=nl_NL.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/paster', 'serve', '--user=schooltool', '--group=schooltool', '--daemon', '--pid-file=/var/run/schooltool/schooltool-2009.pid', '--log-file=/var/log/schooltool/paste.log', '--quiet', '/etc/schooltool/schooltool-2009/paste.ini', 'start']
SourcePackage: pastescript
Title: paster crashed with OSError in change_user_group()
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Dooitze de Jong (dooitze) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Piotr Ożarowski (piotr) wrote :

You tried to change process' group while starting paster as user with uid=1000 (which usually doesn't have rights to to that). Remove "--user=schooltool --group=schooltool" from your command or start it as root.

Gediminas Paulauskas (menesis) wrote :

You tried to start schooltool as a user. Need sudo:

sudo /etc/init.d/schooltool-2009 start

affects: pastescript (Ubuntu) → schooltool (Ubuntu)
Changed in schooltool (Ubuntu):
assignee: nobody → Gediminas Paulauskas (menesis)
Gediminas Paulauskas (menesis) wrote :

But of course such "crashes" are annoying. Still the same now.

Changed in schooltool (Ubuntu):
importance: Undecided → Medium
Changed in schooltool (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers