Closed Bug 303579 Opened 19 years ago Closed 18 years ago

Sunbird nightly build stalls on loading if unpacked as 'root' user

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nxdpjn302, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)

It appears I have to unpack the tarball as the user to load Sunbird.  I can't
unpack it as root and have a normal user load Sunbird.  This isn't that bad of a
problem for single-user testing the nightly builds, but I think it's important
to fix to enable multi-user use on a normal system installation.  I hope "major"
is the right classification for this.

I'd like to note that I don't experience this problem in the offical Sunbird 0.2
release -- just the nightly builds (as of August 5th, 2005).  

Also, it seems this problem has been reported on a few other Calendar projects.
 I broke this bug report out separately, though, to delineate the problem
explicitly for the Sunbird nightly builds.  See bugs 280404 and 278008 for
reports that may be strongly tied to this one.

Reproducible: Always

Steps to Reproduce:
1. sudo tar zxf sunbird-0.2+.en-US.linux-i686.tar.gz; sudo mv sunbird \
   sunbird-nightly-root
2. tar zxf sunbird-0.2+.en-US.linux-i686.tar.gz; mv sunbird sunbird-nightly-user
3. sunbird-nightly-user/sunbird   # (Calendar should load fine)
4. sunbird-nightly-root/sunbird   # (Loading stalls) 
Actual Results:  
$ sunbird-nightly-root/sunbird
calItemModule: registering @mozilla.org/calendar/manager;1
calItemModule: registering @mozilla.org/calendar/alarm-service;1
registering for category stuff
calItemModule: registering @mozilla.org/calendar/event;1
calItemModule: registering @mozilla.org/calendar/todo;1
calItemModule: registering @mozilla.org/calendar/attendee;1
calItemModule: registering @mozilla.org/calendar/attachment;1
calItemModule: registering @mozilla.org/calendar/recurrence-info;1
calItemModule: registering @mozilla.org/calendar/import;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=html
registering for category stuff
calItemModule: registering @mozilla.org/calendar/import;1?type=csv
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=csv
registering for category stuff
Starting calendar alarm service
error creating table cal_calendars -- probably already exists
error creating table cal_calendars_prefs -- probably already exists
*** Calendar schema version is: 4
observer added
observer removed
Starting calendar alarm service
error creating table cal_calendars -- probably already exists
error creating table cal_calendars_prefs -- probably already exists
*** Calendar schema version is: 4
observer added


Expected Results:  
$ sunbird-nightly-user/sunbird
calItemModule: registering @mozilla.org/calendar/manager;1
calItemModule: registering @mozilla.org/calendar/alarm-service;1
registering for category stuff
calItemModule: registering @mozilla.org/calendar/event;1
calItemModule: registering @mozilla.org/calendar/todo;1
calItemModule: registering @mozilla.org/calendar/attendee;1
calItemModule: registering @mozilla.org/calendar/attachment;1
calItemModule: registering @mozilla.org/calendar/recurrence-info;1
calItemModule: registering @mozilla.org/calendar/import;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=html
registering for category stuff
calItemModule: registering @mozilla.org/calendar/import;1?type=csv
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=csv
registering for category stuff
Starting calendar alarm service
error creating table cal_calendars -- probably already exists
error creating table cal_calendars_prefs -- probably already exists
*** Calendar schema version is: 4
observer added
observer removed
Starting calendar alarm service
error creating table cal_calendars -- probably already exists
error creating table cal_calendars_prefs -- probably already exists
*** Calendar schema version is: 4
observer added
observer removed
Summary: Sunbird nightly builds do not load if unpacked as 'root' user → Sunbird nightly builds stalls on loading if unpacked as 'root' user
Summary: Sunbird nightly builds stalls on loading if unpacked as 'root' user → Sunbird nightly build stalls on loading if unpacked as 'root' user
Sukant, do you still see this behavior? Over 9 months have passed since this bug report, so maybe something has changed.
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o

Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
Sorry about the late response.  I moved on to KDE's Kontact suite because it was more mature and tightly integrated (although it's by no means perfect).  I'm probably not going to get around to play with Sunbird again as I'm happy with Kontact for now.  If you feel like closing this bug, I completely understand, especially if you've tested it on your end and feel as though it has been fixed by now.

Regards,
Sukant
Works for me with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060812 Calendar/0.3a2+

I think this bug can be marked "WFM"
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.