[Bug 229172] New: multiple directory ownership of /usr/share/xsessions
https://bugzilla.novell.com/show_bug.cgi?id=229172 Summary: multiple directory ownership of /usr/share/xsessions Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de The /usr/share/xsessions directory is currently owned by at least 5 packages: fvwm2-2.5.16-30 (for fvwm2.desktop) gnome-session-2.16.1-30 (for gnome.desktop) xorg-x11-7.2-26 (for twm.desktop) kdebase3-session-3.5.5-78 (for kde.desktop) gdm-2.16.1-36.2 (no file, just the directory) The directory ownership should be moved to a common package and should be removed from these 5 packages afterwards. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andreas.hanke@gmx-topmail.de ------- Comment #1 from sndirsch@novell.com 2006-12-19 07:31 MST -------
The directory ownership should be moved to a common package and should be removed from these 5 packages afterwards. Why?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas.hanke@gmx-topmail.de| ------- Comment #2 from andreas.hanke@gmx-topmail.de 2006-12-19 08:50 MST ------- Multiple directory ownership is not a fatal error. It's just about consistency. A rule of thumb is that a directory should be owned by multiple packages only if it's hard to tell where it logically belongs or it would result in a too long or inappropriate dependency chain. A requirement is that every package must create the directories it installs files into, either by (1) having it in its own filelist or by (2) depending on another package that has it in its filelist. The current situation is (1). I think that (2) reflects the reality much better because /usr/share/xsessions has a clear logical owner: xorg-x11. xorg-x11 is the package that provides the xdm init script which is always required to boot the system into runlevel 5 and the xsession .desktop files are useful only if the system can be booted into runlevel 5, so I think that xorg-x11 should be the only package that has /usr/share/xsessions in its filelist and all the others should depend on it. Effectively, this means no changes for xorg-x11 and adding dependencies on xorg-x11 + removing /usr/share/xsessions from the filelist for all the others. Does this sound reasonable? I can file reports for the individual packages if that is preferred. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andreas.hanke@gmx-topmail.de ------- Comment #3 from sndirsch@novell.com 2006-12-19 09:53 MST ------- I prefer (1) because then you don't necessarily need to have xorg-x11 installed on a system on which you only start some X11 apps, but don't use it to start complete Xsessions. I remember that many packagers removed the Requires to xorg-x11 therefore from their packages in the last years. Any chance to close this one as WONTFIX or will you repoen it again and again for the time being? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas.hanke@gmx-topmail.de| ------- Comment #4 from andreas.hanke@gmx-topmail.de 2006-12-19 10:04 MST ------- (In reply to comment #3)
will you repoen it again and again
No, I won't do that. I think that it would still make sense because the affected packages are themselves Xsessions (and not just X11 applications), but it's just a consistency issue that doesn't "need" to be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com AssignedTo|sndirsch@novell.com |lmichnovic@novell.com ------- Comment #5 from sndirsch@novell.com 2006-12-19 10:08 MST -------
I think that it would still make sense because the affected packages are themselves Xsessions (and not just X11 applications) Valid point! Reassigning to maintainer of fvwm2.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #6 from lmichnovic@novell.com 2006-12-19 10:46 MST ------- If I understand it correct, the decision is final, isn't it? There is no point to install window managers without xorg-x11. But the second way requires not only add the dependency on xorg-x11 into the package, but also build the package with the xorg-x11 package (add it into Buildrequires). I don't know if this could be a valid contra argument against it. ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #7 from sndirsch@novell.com 2006-12-19 10:52 MST -------
But the second way requires not only add the dependency on xorg-x11 into the >package, but also build the package with the xorg-x11 package (add it into Buildrequires). I don't know if this could be a valid contra argument against >it. ;-) I think it's ok. The downside is that the affected packages then are built later in the buildqueue/buildtree.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #8 from andreas.hanke@gmx-topmail.de 2006-12-19 10:55 MST ------- (In reply to comment #6)
If I understand it correct, the decision is final, isn't it?
No, it is not. I wasn't aware that this would have an impact on the build order. If it makes anything worse in that area as it currently is, feel free to say WONTFIX. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 lmichnovic@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schwab@novell.com, arndt@jjj.de, | |hvogel@novell.com, mmarek@novell.com, | |jmatejek@novell.com, pnemec@novell.com AssignedTo|lmichnovic@novell.com |mmarek@novell.com ------- Comment #9 from lmichnovic@novell.com 2006-12-19 12:48 MST ------- It could be easily reverted. Fix is ready for WindowMaker and fvwm2. Reassigning to icewm maintainer. Adding to CC blackbox and openbox, ctwm, icewm, enlightenment, openmotif and xfce4 maintainers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ro@novell.com ------- Comment #10 from mmarek@novell.com 2006-12-20 03:37 MST ------- Can't filesystem own it? That way we woulnd't have to (build)depend on xorg-x11. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #11 from sbrabec@novell.com 2006-12-22 08:41 MST ------- Maybe even xorg-x11-libs can own it, because any X session binaries must link with X libraries. I am doing the same just now in GNOME - find lowest possible library referring to it, directly or indirectly (by its associated binaries) and add directory ownership to it. Multiple ownership is really ugly thing: If the base library upgrades and changes any default path, dependent applications using the old one must fail. If it builds correctly, you will get half working package. We got several but reports, which could be prevented by it, more such problems were found in GNOME spec file cleanup. I would like to see even Autobuild check warning about multiple ownerships allowing to make exceptions in some cases (e. g. icon files for optional environent). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #12 from sbrabec@novell.com 2007-01-03 08:16 MST ------- Related: bug 229171 Bug 229171 comment #3 is valid here, too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #13 from jmatejek@novell.com 2007-01-03 08:20 MST ------- will fix it in enlightenment as soon as the definite directory owner is appointed. from me, +1 for xorg-x11-libs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC|kde-maintainers@suse.de | ------- Comment #14 from coolo@novell.com 2007-01-09 06:35 MST ------- For kdebase3 this is a WONTFIX -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #15 from sndirsch@novell.com 2007-01-30 14:42 MST ------- (In reply to comment #10)
Can't filesystem own it? That way we woulnd't have to (build)depend on xorg-x11. Rudi?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #16 from sbrabec@novell.com 2007-02-23 04:52 MST ------- The same problem has /etc/xdg/autostart. I see two candidates for both of them: filesystem (it already owns /etc/xdg) and xorg-x11-libs (It's required only for X applications.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ro@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ro@novell.com | ------- Comment #17 from ro@novell.com 2007-02-28 03:42 MST ------- I have no problem with adding both directories to "filesystem". is that consensus ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #18 from sndirsch@novell.com 2007-02-28 03:59 MST ------- I'm fine with adding it to filesystem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #19 from sbrabec@novell.com 2007-02-28 04:11 MST ------- Fixed for filesystem. Needs to fix for packages. For backportable packages, it still needs. %if %suse_version <= 1020 %dir ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #20 from jmatejek@novell.com 2007-02-28 05:51 MST ------- fixed in enlightenment -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #21 from sndirsch@novell.com 2007-02-28 06:32 MST ------- fixed in xorg-x11. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #22 from lmichnovic@novell.com 2007-02-28 08:27 MST ------- Refixed in fvwm2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #23 from sndirsch@novell.com 2007-03-01 20:29 MST ------- (In reply to comment #21) > fixed in xorg-x11. /work/built/info/failed/x86_64/xorg-x11: [...] xorg-x11-7.2-53.x86_64.rpm: directories not owned by a package: - /usr/share/xsessions although the directory has been added to filesystem package. Do I need to add filesystem to Requires of xorg-x11? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 ------- Comment #24 from sbrabec@novell.com 2007-03-02 07:01 MST ------- No. It was probably not yet checked in. Checked in Thu, 01 Mar 2007 22:06:19 +0100 Just now it should be OK. Fixed for gdm and gnome-session. I guess that for kdebase* it should be also fixed. This should be correct for backportable products: %if %suse_version <= 1020 %dir /usr/share/xsessions %endif -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mmarek@novell.com |pnemec@novell.com ------- Comment #25 from mmarek@novell.com 2007-03-05 05:45 MST ------- AJ fixed icewm for me, thanks! :-) Fixed blackbox and ctwm, xfce is locked by Pavel. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229172 pnemec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #26 from pnemec@novell.com 2007-03-14 03:11 MST ------- xfce is fixed for some time. I forget to post it, sorry. Closing as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com