[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2010-09-16 Thread Bug Watch Updater
** Changed in: gdm
   Importance: Unknown = Low

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2010-07-05 Thread Bug Watch Updater
** Changed in: gdm
   Status: New = Fix Released

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2010-02-20 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/gdm

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-09-22 Thread Launchpad Bug Tracker
This bug was fixed in the package gdm - 2.28.0-0ubuntu2

---
gdm (2.28.0-0ubuntu2) karmic; urgency=low

  * debian/patches/08_use_polkit_for_settings.patch:
- set translatable strings and list the file to translate (lp: #425798)
  * debian/patches/09_gdmsetup.patch,
debian/patches/99_autoreconf.patch:
- initialize the translations so the gdmsetup interface is translated
  (lp: #434102)
  * debian/patches/17_use_timed_login_after_autologin.patch:
- revert upstream change to not use timed login after autologin session
  (lp: #396489)
  * debian/patches/18_create_log_dir_when_required.patch:
- create the log directory when required (lp: #405227)
  * debian/gdm.config, debian/gdm.templates:
- restore debconf files which have been dropped by error in karmic,
  thanks Pär Andersson (lp: #395591)

 -- Sebastien Bacher seb...@ubuntu.com   Tue, 22 Sep 2009 15:20:27
+0200

** Changed in: gdm (Ubuntu Karmic)
   Status: Triaged = Fix Released

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-09-19 Thread Pär Andersson
This bug is about GDM breaking when a user remove system directories
that they should never remove. Importance Critical would be
ridiculous, I actually think even Medium is too much.

It is an incorrect assumption that it is OK to tidy up by running
rm -rf /var/log/*. Doing that is never correct, AFAIK /var/cache is
the only directory under /var where the FHS say you may remove
anything at any time.

There is probably many other programs that can't recreate their own
log directory, especially programs running as non-root. Only root can
write to /var/log, so giving write permissions for other system
uid/gid is often the reason that an application have a separate
directory under /var/log.

(SSD) Users that like to put /var/log on tmpfs will need to sync files
to/from it at boot/shutdown, just as if they put any other system
directory on tmpfs. If there are guides/howtos suggesting to mount an
empty tmpfs on /var/log at boot then those guides needs to be fixed.

Here are the relevant parts of FHS[1] and Debian Policy[2]:

[1] http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#THEVARHIERARCHY
[2] http://www.debian.org/doc/debian-policy/ch-files.html

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-09-19 Thread MindVirus
Say what you wish. Here are two facts:

1) GDM should not explode because its logging directory doesn't exist. Logging 
is strictly a feature. This statement goes along with every other program that 
does not inherently require logging.
2) A non-trivial quantity of users will have GDM fail because its logging 
directory doesn't exist.

GDM can a) recreate its logging directory structure, or b) emit a
warning; both of these methods are foolproof, simple, and safe.

All in all, the dangers of keeping current behavior are great while
changing behavior to something less flawed is extremely redeeming.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-09-18 Thread ENigma885
Importance should be Critical. OF COURSE

Having a non-functional gdm is just like having a useless machine.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-09-17 Thread Sebastien Bacher
** Changed in: gdm (Ubuntu)
Milestone: None = ubuntu-9.10

** Also affects: gdm (Ubuntu Karmic)
   Importance: Low
 Assignee: Ubuntu Desktop Bugs (desktop-bugs)
   Status: Triaged

** Changed in: gdm (Ubuntu Karmic)
   Importance: Low = Medium

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-09-17 Thread MindVirus
Importance should be Critical.

This bug bit me in the ass again as the init script, /etc/init.d/gdm,
was replaced with /etc/init/gdm.conf. I had to recode the fix into the
init file.

This is NOT a difficult bug to fix for GDM developers! It is so
disappointing that this bug still exists.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-08-27 Thread MindVirus
This bug's priority should be raised to critical. Like Guilhem, many SSD
users (that includes some models of EeePCs) use tmpfs for /var/log.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-08-27 Thread MindVirus
Furthermore, damianos' fix is reasonable but should not be included in
/etc/init.d/gdm as the logging code is not there. It should instead be
in GDM's logging code.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-08-27 Thread Noel J. Bergman
Sebastien, as just came up on #ubuntu+1, Many EeePC users have /var/log
set to tmpfs, so the proposed init script fix should be adopted until
something else is done.  I'd go with Damianos' solution.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-08-27 Thread MindVirus
One more thing.

I encountered this bug when booting up. However, when GDM failed to
start, I was stuck with a blinking white text cursor at the top-left of
my black screen and I was not able to Ctrl+Alt+Fn to a prompt.

Booting up should fail gracefully.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-08-14 Thread damianos

I use /var/log on a tmpfs mount too. I just did the following in 
/etc/init.d/gdm 

if [ ! -d /var/log/gdm ]; then
mkdir /var/log/gdm
fi

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-29 Thread Guilhem LETTRON
This bug is quite important for me because my netbook is unusable
because of this.

To prevent damage on SSD, I use tmpfs for /var/log/
So, I lost all changes and any folder. It make an error for apt, but it's 
really crazy that gdm stop for this!

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Dominic Evans

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/29564955/Dependencies.txt

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Sebastien Bacher
Thank you for your bug report, there is no need to call every small bug
a papercut though those are usability issues

** Changed in: gdm (Ubuntu)
   Importance: Undecided = Low

** Changed in: gdm (Ubuntu)
 Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs)

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Sebastien Bacher
The issue is an upstream one and it would be nice if somebody having it
could send the bug the to the people writting the software
(https://wiki.ubuntu.com/Bugs/Upstream/GNOME). They seem to have decided
to break if system directories are not available which can make sense,
you should not fiddle with things if you don't know what you are doing

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Dominic Evans
raised upstream on gnome-bugs, although note that despite any upstream
decisions, it could trivially be fixed as a couple of additional `mkdir
-p` or `[ -d ... ]` lines in the 'debian/gdm.init' init.d script

** Bug watch added: GNOME Bug Tracker #589862
   http://bugzilla.gnome.org/show_bug.cgi?id=589862

** Also affects: gdm via
   http://bugzilla.gnome.org/show_bug.cgi?id=589862
   Importance: Unknown
   Status: Unknown

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Bug Watch Updater
** Changed in: gdm
   Status: Unknown = New

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Sebastien Bacher
Right but should the init scripts all try to workaround every way users
might have screwed their install? It would add complexity and bugs only
to try to workaround users touching things they should not

** Changed in: gdm (Ubuntu)
   Status: New = Triaged

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


Re: [Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Dominic Evans
Well of all the apps I had jnstalled that logged to /var/log/ 
subdirectory only gdm and apt failed to recreate their chosen subdir  
on next launch and gdm was the only one that failed to launch because  
of it. So patching gdm to be consistent with all the other apps  
included in a default ubuntu install seems a fair proposal to me. As  
far as I'm concerned /var/log should be as throwaway a dir as /var/tmp  
and the cache dirs for a user.


On 27 Jul 2009, at 13:31, Sebastien Bacher seb...@ubuntu.com wrote:

 Right but should the init scripts all try to workaround every way  
 users
 might have screwed their install? It would add complexity and bugs  
 only
 to try to workaround users touching things they should not

 ** Changed in: gdm (Ubuntu)
   Status: New = Triaged

 -- 
 gdm fails to start if /var/log/gdm does not exist
 https://bugs.launchpad.net/bugs/405227
 You received this bug notification because you are a direct subscriber
 of the bug.

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 405227] Re: gdm fails to start if /var/log/gdm does not exist

2009-07-27 Thread Sebastien Bacher
I don't argue against fixing this issue, but next you can raise the same
concern about deleting the etc directory, etc

-- 
gdm fails to start if /var/log/gdm does not exist
https://bugs.launchpad.net/bugs/405227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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