Re: Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-25 Thread Eshat Cakar
Hi Boris,
hi Yves-Alexis,

Am Fri, 23 Nov 2012 10:06:50 +0100
schrieb Yves-Alexis Perez cor...@debian.org:
 To me there's two issues/fixes:
 
 1) make KDM correctly handle the case where the selected theme is gone

That should already be covered. We have a palceholder, namely
Theme=@@@ToBeReplacedByDesktopBase@@@
in /etc/kde4/kdm/kdmrc (Boris could you check that?) which is
substituted by kdm's init.d script. The setting is replaced with
values from /etc/default/kdm.d/10_desktop-base.
So you always should end up with the theme currently installed, since
the setting and kdm theme come from the same package (desktop-base).
I admit that the whole process is a bit messy and I probably miss
something, since this all was set before I was involved.

Cheers,

-- 
eshat cakar   gpg-id: 799B 95D5
web: www.eshat.de


signature.asc
Description: PGP signature


Re: Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-25 Thread Yves-Alexis Perez
On dim., 2012-11-25 at 13:23 +0100, Eshat Cakar wrote:
 Hi Boris,
 hi Yves-Alexis,
 
 Am Fri, 23 Nov 2012 10:06:50 +0100
 schrieb Yves-Alexis Perez cor...@debian.org:
  To me there's two issues/fixes:
  
  1) make KDM correctly handle the case where the selected theme is gone
 
 That should already be covered. We have a palceholder, namely
 Theme=@@@ToBeReplacedByDesktopBase@@@
 in /etc/kde4/kdm/kdmrc (Boris could you check that?) which is
 substituted by kdm's init.d script. The setting is replaced with
 values from /etc/default/kdm.d/10_desktop-base.

So it might have failed in this case. I've added Boris to CC so he
actually has a chance to check.

 So you always should end up with the theme currently installed, since
 the setting and kdm theme come from the same package (desktop-base).
 I admit that the whole process is a bit messy and I probably miss
 something, since this all was set before I was involved.
 
Can you at least try to reproduce the issue?

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-23 Thread Boris Pek
Hi,

 I faced with problem after updating from Squeeze to Wheezy on my laptop:
 KDM fails to start because spacefun theme for KDM is absent [1].
 
 That's not a problem, the Wheezy theme is Joy.

This will be a problem for inexperienced users who will update their systems.

 I was surprised and checked problem on clean install in VirtualBox.
 And the bug is reproducible.
 
 So you installed a clean KDE Squeeze and upgraded to Wheezy?

Yes.

 Possible fix is pretty simple:
 
 --- desktop-base.links  (revision 0)
 +++ desktop-base.links  (working copy)
 @@ -0,0 +1 @@
 +usr/share/kde4/apps/kdm/themes/joy usr/share/kde4/apps/kdm/themes/spacefun
 
 That looks like a wrong way to do it. In any case, kdm shouldn't
 directly use spacefun or joy but use a generic name so it's correctly
 handled on upgrades. What puzzles me is that Joy is available since
 months and you're the first one to report an issue with upgrades.

KDE System Settings allow to choose any KDM theme manually. In this case after
updating package desktop-base KDM will fails to start. Maybe the problem is
in KDM: it should use default theme if current theme is not found.
 
 I have no knowledge of KDE so I'll let involved people reply, but
 there's something very fishy here.

Nothing fishy. Everyone could check it using VirtualBox, Qemu and etc.

For a note: I didn't use a CD with KDE, but netinstall + kde metapackage.

Best regards,
Boris


Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-23 Thread Yves-Alexis Perez
On ven., 2012-11-23 at 12:11 +0400, Boris Pek wrote:
 Hi,
 
  I faced with problem after updating from Squeeze to Wheezy on my laptop:
  KDM fails to start because spacefun theme for KDM is absent [1].
  
  That's not a problem, the Wheezy theme is Joy.
 
 This will be a problem for inexperienced users who will update their systems.

I didn't mean that KDM not starting was not a problem. I meant that
changing theme from Spacefun to Joy was not one.
 
  I was surprised and checked problem on clean install in VirtualBox.
  And the bug is reproducible.
  
  So you installed a clean KDE Squeeze and upgraded to Wheezy?
 
 Yes.
 
  Possible fix is pretty simple:
  
  --- desktop-base.links  (revision 0)
  +++ desktop-base.links  (working copy)
  @@ -0,0 +1 @@
  +usr/share/kde4/apps/kdm/themes/joy usr/share/kde4/apps/kdm/themes/spacefun
  
  That looks like a wrong way to do it. In any case, kdm shouldn't
  directly use spacefun or joy but use a generic name so it's correctly
  handled on upgrades. What puzzles me is that Joy is available since
  months and you're the first one to report an issue with upgrades.
 
 KDE System Settings allow to choose any KDM theme manually. In this case after
 updating package desktop-base KDM will fails to start.

So you didn't just install a clean KDE Squeeze, you also changed the
theme manually?

  Maybe the problem is
 in KDM: it should use default theme if current theme is not found.

Indeed. Or only present the virtual, Debian theme which points to the
current theme.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-23 Thread Yves-Alexis Perez
On ven., 2012-11-23 at 12:26 +0400, Boris Pek wrote:
 I have just found bug #570478 and it looks very similar.
 But I disagree with Severity: normal.

Yup, looks related.

To me there's two issues/fixes:

1) make KDM correctly handle the case where the selected theme is gone
2) make desktop-base KDE config points to the virtual theme and not the
named theme so it's always available

Both are even better, because I guess that, if one installs a default
KDE Debian and then remove desktop-base the same problem will happen.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-23 Thread Boris Pek
control: reassign 694011 kdm 4:4.8.4-4
control: retitle  694011 kdm: KDM fails to start when current theme is absent

 I have just found bug #570478 and it looks very similar.
 But I disagree with Severity: normal.
 
 Yup, looks related.
 
 To me there's two issues/fixes:
 
 1) make KDM correctly handle the case where the selected theme is gone
 2) make desktop-base KDE config points to the virtual theme and not the
 named theme so it's always available
 
 Both are even better, because I guess that, if one installs a default
 KDE Debian and then remove desktop-base the same problem will happen.

Ok, bug is reassigned.

Regards,
Boris


Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy

2012-11-22 Thread Yves-Alexis Perez
On ven., 2012-11-23 at 03:07 +0400, Boris Pek wrote:
 Package: desktop-base
 Version: 7.0.3
 Severity: important
 Tags: patch
 
 Hi,
 
 I faced with problem after updating from Squeeze to Wheezy on my laptop:
 KDM fails to start because spacefun theme for KDM is absent [1].

That's not a problem, the Wheezy theme is Joy.
 
 [1] http://packages.debian.org/sid/all/desktop-base/filelist
 
 I was surprised and checked problem on clean install in VirtualBox.
 And the bug is reproducible.

So you installed a clean KDE Squeeze and upgraded to Wheezy?
 
 Possible fix is pretty simple:
 
 --- desktop-base.links  (revision 0)
 +++ desktop-base.links  (working copy)
 @@ -0,0 +1 @@
 +usr/share/kde4/apps/kdm/themes/joy usr/share/kde4/apps/kdm/themes/spacefun

That looks like a wrong way to do it. In any case, kdm shouldn't
directly use spacefun or joy but use a generic name so it's correctly
handled on upgrades. What puzzles me is that Joy is available since
months and you're the first one to report an issue with upgrades.

I have no knowledge of KDE so I'll let involved people reply, but
there's something very fishy here.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part