Re: [opensuse-kde3] 12.2_32bit & KDE3.5 - Not Powering Off
On Monday 10 September 2012 11:00:43 am you wrote:
Correct link:
http://download.opensuse.org/repositories/openSUSE:/12.2/standard/i586/kdeb
ase3-3.5.10.1-41.4.1.i586.rpm
Ilya, I'm confused. The following is the repo inserted by Yast when Yast > Software Repositories > Add > Community Repositories > and the KDE3 repo is selected: http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.2/
kdebase3* (if that is the source of kdmrc) is from that repo. Are you saying that a 12.2 kde3 installation should be using the one that you set out?
Those do not differ in that respect.
Yes they do differ. In http://download.opensuse.org/repositories/openSUSE:/12.2/standard/i586 the kdebase3 versions are: 3-3.5.10.1-41.4.1
In KDE:KDE3, they are 3.5.10.1-312.1
Do you mean that with the one from the official repo you have no such problem?
No, the official KDE:KDE3 repo for 12.2 has the shutdown problem in kdmrc. I have not tried the version from the repo that you quoted, but will take your word that it works. If http://download.opensuse.org/repositories/openSUSE:/12.2/standard/i586/ contains more recent, production-use versions of KDE3 code, and you thought that everyone is using it, then perhaps this is the issue. I was not aware of this repo, it is not selectable from Yast, nor have I seen it mentioned anywhere. Do you intend to update KDE:KDE3 with these changes? Should everyone using KDE3 also add your new repo and select the newest from whatever has it? Or should use of KDE:KDE3 be dropped? Please advise. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 10 September 2012 19:18:46 Erik Sorenson wrote:
On Monday 10 September 2012 11:00:43 am you wrote:
Correct link:
http://download.opensuse.org/repositories/openSUSE:/12.2/standard/i586/kdeb
ase3-3.5.10.1-41.4.1.i586.rpm
Ilya, I'm confused. The following is the repo inserted by Yast when Yast > Software Repositories > Add > Community Repositories > and the KDE3 repo is selected: http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.2/
kdebase3* (if that is the source of kdmrc) is from that repo. Are you saying that a 12.2 kde3 installation should be using the one that you set out?
Those do not differ in that respect.
Yes they do differ. In http://download.opensuse.org/repositories/openSUSE:/12.2/standard/i586 the kdebase3 versions are: 3-3.5.10.1-41.4.1
Look, I know better whether they differ.
In KDE:KDE3, they are 3.5.10.1-312.1
Do you mean that with the one from the official repo you have no such problem?
No, the official KDE:KDE3 repo for 12.2 has the shutdown problem in kdmrc. I have not tried the version from the repo that you quoted, but will take your word that it works.
If the version from the official repo does not work, then the version from KDE:KDE3 also does not because they do not differ.
If http://download.opensuse.org/repositories/openSUSE:/12.2/standard/i586/ contains more recent, production-use versions of KDE3 code, and you thought that everyone is using it, then perhaps this is the issue. I was not aware of this repo, it is not selectable from Yast, nor have I seen it mentioned anywhere.
It contains less recent version.
Do you intend to update KDE:KDE3 with these changes? Should everyone using KDE3 also add your new repo and select the newest from whatever has it? Or should use of KDE:KDE3 be dropped?
Cjanges go from KDE:KDE3 to official repo, not vice versa. The both have "#HaltCmd=" line commented out which means the both use /sbin/halt -p command. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 10 September 2012 11:00:43 am you wrote:
Cjanges go from KDE:KDE3 to official repo, not vice versa. The both have "#HaltCmd=" line commented out which means the both use /sbin/halt -p command.
I just used the KDE:KDE3 repo to "update" (i.e., refresh) kdebase3-kdm from 3.5.10.1-312.1 to 3.5.10.1-312.1. Twice. It is kdebase3-kdm, I believe, which supplies the kdmrc file. The (pertinent) lines in the [Shutdown] section of kdmrc are unchanged, i.e., they STILL state (as they did before): [Shutdown] . . . . . . # The command (subject to word splitting) to run to halt the system. # Default is "/sbin/halt -p" HaltCmd=/sbin/halt # The command (subject to word splitting) to run to reboot the system. # Default is "/sbin/reboot" RebootCmd=/sbin/reboot . . . . . . Note that "HaltCmd=/sbin/halt" is still not commented out, or absent. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 10 September 2012 20:17:14 Erik Sorenson wrote:
On Monday 10 September 2012 11:00:43 am you wrote:
Cjanges go from KDE:KDE3 to official repo, not vice versa. The both have "#HaltCmd=" line commented out which means the both use /sbin/halt -p command.
I just used the KDE:KDE3 repo to "update" (i.e., refresh) kdebase3-kdm from 3.5.10.1-312.1 to 3.5.10.1-312.1. Twice. It is kdebase3-kdm, I believe, which supplies the kdmrc file.
The (pertinent) lines in the [Shutdown] section of kdmrc are unchanged, i.e., they STILL state (as they did before):
This is a config file, it is not replaced on package re-installation. By unpacking the package .rpm you can see that the file actually has this line commented out. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 10 September 2012 12:34:34 pm Ilya Chernykh wrote:
The (pertinent) lines in the [Shutdown] section of kdmrc are unchanged, i.e., they STILL state (as they did before):
This is a config file, it is not replaced on package re-installation.
By unpacking the package .rpm you can see that the file actually has this line commented out.
I have looked at the install and update log in /var/logs/zypp/history. The original, clean/fresh install of 12.2, and KDE from KDE:KDE3, installed kdebase3-kdm-3.5.10.1-309.1.i586.rpm. Log entries: # 2012-09-06 11:45:02 kdebase3-kdm-3.5.10.1-309.1.i586.rpm installed ok # Additional rpm output: # Information: reading current kdmrc /opt/kde3/share/config/kdm/kdmrc (from kde >= 2.2.x) # Information: current kdmrc is from kde >= 3.1 (config version 2.3) # 2012-09-06 11:45:02|install|kdebase3-kdm|3.5.10.1-309.1|i586|root@linux-knn6| download.opensuse.org-KDE3| 2f0cade5becd073f400c5b91164384ac82d6d6cce15a1918d45f4cddfb1b9abb On Sept 8th, an update to kdebase3-kdm-3.5.10.1-312.1 (and some other items) was offered via Yast and I installed it. Log entries: # 2012-09-08 13:30:03 kdebase3-kdm-3.5.10.1-312.1.i586.rpm installed ok # Additional rpm output: # warning: /opt/kde3/share/config/kdm/kdmrc created as /opt/kde3/share/config/kdm/kdmrc.rpmnew # Information: reading current kdmrc /opt/kde3/share/config/kdm/kdmrc (from kde >= 2.2.x) # Information: current kdmrc is from kde >= 3.1 (config version 2.3) # Updating /etc/sysconfig/displaymanager... # 2012-09-08 13:30:03|install|kdebase3-kdm|3.5.10.1-312.1|i586|root@linux-knn6| download.opensuse.org-KDE3| 71f362104c3fdae926983f1e88eb75ff5b94a69be09982d0de068617c005b806 Looking at the kdmrc.rpmnew file, which is the originally installed file from 3.5.10.1-309.1.i586.rpm, we see it is correct, as you note: [Shutdown] # The command (subject to word splitting) to run to halt the system. # Default is "/sbin/halt -p" #HaltCmd= ... However, after the update to 3.5.10.1-312.1.i586.rpm, kdmrc has in it (I took a copy of it before refreshing the .rpm today): [Shutdown] # The command (subject to word splitting) to run to halt the system. # Default is "/sbin/halt -p" HaltCmd=/sbin/halt It seems to me that something in the 3.5.10.1-312.1 update changed the pertinent HaltCmd line back to the way it is stated in 12.1, which is erroneous for 12.2. I don't know how to deconstruct a .rpm file, but that is the only logical explanation that I can come up with to explain the state of the [Shutdown] section in the current (3.5.10.1-312.1) kdmrc file, since I know I didn't modify it (or even know that logic was there), and I'm the only one that uses this PC. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 10 September 2012 21:56:08 Erik Sorenson wrote:
[Shutdown] # The command (subject to word splitting) to run to halt the system. # Default is "/sbin/halt -p" HaltCmd=/sbin/halt
It seems to me that something in the 3.5.10.1-312.1 update changed the pertinent HaltCmd line back to the way it is stated in 12.1, which is erroneous for 12.2.
No, it could not because the file list section for kdebase3-kdm package instructs the system not to replace this file ever to preserve user-defined settings: %files kdm %defattr(-,root,root) %dir /opt/kde3/share/doc/kdm /opt/kde3/bin/genkdmconf /opt/kde3/bin/kdm* /opt/kde3/bin/krootimage /opt/kde3/share/apps/kdm /opt/kde3/%_lib/kde3/kgreet_pam.* %doc /opt/kde3/share/doc/kdm/README %if %suse_version < 1020 %config /etc/pam.d/xdm-np %endif %dir /opt/kde3/share/config/kdm %config(noreplace) /opt/kde3/share/config/kdm/kdmrc %config(noreplace) /opt/kde3/share/config/kdm/backgroundrc %ghost /var/run/xdmctl /usr/sbin/rckdm /opt/kde3/share/applications/kde/kdm.desktop /opt/kde3/share/icons/*/*/*/kdmconfig.* /opt/kde3/%_lib/kde3/kcm_kdm.* %doc %lang(en) /opt/kde3/share/doc/HTML/en/kdm /usr/lib/X11/displaymanagers/kdm3 %dir /usr/lib/X11/displaymanagers You can see the "noreplace" directive here. It had been here always.
I don't know how to deconstruct a .rpm file,
Try File Roller archiver, for example.
but that is the only logical explanation that I can come up with to explain the state of the [Shutdown] section in the current (3.5.10.1-312.1) kdmrc file, since I know I didn't modify it (or even know that logic was there), and I'm the only one that uses this PC.
-- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 10 September 2012 2:08:05 pm Ilya Chernykh wrote:
You can see the "noreplace" directive here. It had been here always.
Yup, I see it. But here's the thing. Today, before I refreshed: kdebase3-kdm from 3.5.10.1-312.1 to 3.5.10.1-312.1. I changed kdmrc by appending the phrase "(XXX fingerprint)" to the end of the first line in the file, i.e." " # KDM master configuration file (XXX fingerprint)" After the refresh, the kdmrc file had its first line changed back to: "# KDM master configuration file", and the original file with the XXX... stuff that I appended was now kdmrc.bak. So the update process ( 3.5.10.1-312.1 to 3.5.10.1-312.1) does seem to touch/change the kdmrc file, even if there is absolutely nothing to change. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 2012/09/10 14:55 (GMT-0400) Erik Sorenson composed:
...here's the thing. Today, before I refreshed: kdebase3-kdm from 3.5.10.1-312.1 to 3.5.10.1-312.1. I changed kdmrc by appending the phrase "(XXX fingerprint)" to the end of the first line in the file, i.e." " # KDM master configuration file (XXX fingerprint)"
After the refresh, the kdmrc file had its first line changed back to: "# KDM master configuration file", and the original file with the XXX... stuff that I appended was now kdmrc.bak.
So the update process ( 3.5.10.1-312.1 to 3.5.10.1-312.1) does seem to touch/change the kdmrc file, even if there is absolutely nothing to change.
This may be a part of or related to an irritating thorn of mine: https://features.opensuse.org/313803 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 2012/09/10 13:56 (GMT-0400) Erik Sorenson composed:
I don't know how to deconstruct a .rpm file
You don't actually need to deconstruct to examine what it contains. Just open it the same way you open any regular DIR or archive file, with Midnight Commander (mc), select what you want to see, and hit F3. If you need to extract a file from the RPM, select it and hit F5, same as copying from a regular DIR or archive file. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (3)
-
Erik Sorenson
-
Felix Miata
-
Ilya Chernykh