[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2014-03-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Michaël Lefèvre lefevr...@yahoo.fr changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |lefevr...@yahoo.fr
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2013-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Qubit qu...@runcibility.com changed:

   What|Removed |Added

 Whiteboard|EasyHack,DifficultyBeginner |EasyHack DifficultyBeginner
   |,SkillCpp,TopicCleanup  |SkillCpp TopicCleanup
 CC||qu...@runcibility.com

--- Comment #12 from Qubit qu...@runcibility.com ---
Removing comma from whiteboard (please use a space to delimit values in this
field)
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard#Getting_Started

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2013-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Stephan Bergmann sberg...@redhat.com changed:

   What|Removed |Added

 CC||sberg...@redhat.com

--- Comment #11 from Stephan Bergmann sberg...@redhat.com ---
FYI, at least current master towards LO 4.2 on Linux:

* If there is no ~/.config, LO silently creates ~/libreoffice/4 instead of
~/.config/libreoffice/4 and uses that.  This is probably a bug.

* If ~/.config is a directory that is not accessible (no rwx flags) LO refuses
to start with a The application cannot be started. An internal error
occurred. error box and does not create anything.

* If ~/.config is a directory that is not writeable (just r-x flags) LO refuses
to start with a The application cannot be started. User installation could not
be completed. error box and does not create anything.

* If ~/.config is a file instead of a directory LO refuses to start with a The
application cannot be started. The configuration file
'/.../program/bootstraprc' is corrupt. error box (whose wording does make
sense, given that bootstraprc's UserIntsallation=$SYSUSERCONFIG/libreoffice/4
points at a broken path) and does not create anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2013-10-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Björn Michaelsen bjoern.michael...@canonical.com changed:

   What|Removed |Added

 CC||libreoffice@lists.freedeskt
   ||op.org

--- Comment #10 from Björn Michaelsen bjoern.michael...@canonical.com ---
adding LibreOffice developer list as CC to unresolved EasyHacks for better
visibility.

see e.g.
http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for
details

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2013-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

--- Comment #9 from Julien Nabet serval2...@yahoo.fr ---
Created attachment 79365
  -- https://bugs.freedesktop.org/attachment.cgi?id=79365action=edit
gdb session

Here's a gdb session with bt

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

bfoman bfo.bugm...@spamgourmet.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||bfo.bugm...@spamgourmet.com
 Ever confirmed|0   |1

--- Comment #7 from bfoman bfo.bugm...@spamgourmet.com ---
NEW as confirmed in comment 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2013-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Michael Meeks michael.me...@novell.com changed:

   What|Removed |Added

 Whiteboard||EasyHack,DifficultyBeginner
   ||,SkillCpp,TopicCleanup
 CC|michael.me...@novell.com|pmla...@suse.cz

--- Comment #8 from Michael Meeks michael.me...@novell.com ---
To find the earliest use of ~/.config I guess we should put a breakpoint in
__cxa_throw and run without the directory existing :-)

I -imagine- this is from desktop/source/app or desktop/source/deployment - but
of course it could easily be in configmgr.cxx.

It'd be good to have a stack-trace for that.

It seems like: sal/osl/unx/security.c is prolly a good place to look at first:

#define DOT_CONFIG /.config

static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char*
pszDirectory, sal_uInt32 nMax)
{
sal_Char *pStr = getenv(XDG_CONFIG_HOME);

if (pStr == NULL || strlen(pStr) == 0 || access(pStr, 0) != 0)


Patches most welcome (turned it into an easy-hack) - thanks !

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2012-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

--- Comment #6 from Julien Nabet serval2...@yahoo.fr ---
Marc: thank you for your feedback.
Just to put it clear (because it wasn't said explicitly), my previous comment
was for Michael Meeks that I put in copy of this tracker.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2012-10-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 CC||michael.me...@novell.com

--- Comment #4 from Julien Nabet serval2...@yahoo.fr ---
Michael: I reproduced the behaviour but how should LO acts?
- create ~/.config with adhoc permissions itself?
- popup a message indicating there's no ~/.config or permissions don't allow to
write in it?
- other?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2012-10-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

--- Comment #5 from Marc Weber marco-owe...@gmx.de ---
Which options are there?

a) create /etc/skel/.config - so that .config is create whenever a new user is
created (doesn't seem to be common)

b) make libreoffice create that directory (700 because .config might contain
sensible data - and it is what ubuntu seems to do (?))
This would solve this problem once and forever for this project only

c) Is it the task of libreoffice to create the directory? Or should the bug
report forwarded to whatever library libreoffice is using to access .config?

I don't know. Software should just work - and b) will accomplish this for
LibreOffice forever.

I'd not change the permission if the directory already exists.

chrome, htop both create it and set 700.
inkscape creates it and sets 711

I could test more applications - but that will not change the fact that just
creating it and setting it to 700 makes everything work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2012-10-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #1 from Julien Nabet serval2...@yahoo.fr ---
I reproduce this but above all but it seems normal.
I don't understand how come you don't have ~/.config with write permissions?
This directory contains the config file from a lot of applications.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2012-10-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

--- Comment #2 from Marc Weber marco-owe...@gmx.de ---
I created a new user account - and there was no ~/.config at all.
Then I was lost with an unhelpful message for a short period of time.

I think its wrong to depend on a foreign application creating it - that's it.
Maybe its a distribution issue - too. Should .config exist in /etc/skel ?
Then the issue would be void, too

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56284] soffice fails to start unless ~/.config exists and is writable

2012-10-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56284

--- Comment #3 from Julien Nabet serval2...@yahoo.fr ---
(In reply to comment #2)
 I created a new user account - and there was no ~/.config at all.
 Then I was lost with an unhelpful message for a short period of time.
Ok I understand better now.

 I think its wrong to depend on a foreign application creating it - that's it.
 Maybe its a distribution issue - too. Should .config exist in /etc/skel ?
 Then the issue would be void, too
I don't know for the rest. Anyway, it could interesting to have an useful
message.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs