Bug 152787
| Summary: | CAN-2004-0750 - redhat-config-nfs incorrect permission on exports | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Fedora Legacy | Reporter: | Marc Deslauriers <marc.deslauriers> | ||||||
| Component: | redhat-config-nfs | Assignee: | Fedora Legacy Bugs <bugs> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | unspecified | CC: | deisenst, jpdalbec, pekkas, s.j.thompson | ||||||
| Target Milestone: | --- | Keywords: | Security | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| URL: | https://rhn.redhat.com/errata/RHSA-2004-434.html | ||||||||
| Whiteboard: | 1, 2, LEGACY, rh90 | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2005-12-18 05:03:40 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
David Lawrence
2005-03-30 23:27:27 UTC
For some reason, the tag for FC1 appears to be '-core1' not '-fc1'.. Adding "discuss" tag as we may need to discuss whether to ship incomplete fix (but the same as RHEL) or wait for a better one.. Created attachment 116722 [details]
Patch for properties window
This patch looks for multiple hosts in the properties field. If it finds them,
it replaces the original entry with separate entries for each host. I don't
think we want more than one host on a line because there's no guarantee they'll
have the same properties if the file is edited outside redhat-config-nfs.
Thanks. Could folks test this w/ this patch to see if it workarounds the bug? I don't have access to X-enabled linux right now. If so, I can remove the discuss tag and we need to respin the packages.. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ++VERIFY for RHL 9 RHL 9 Packages: redhat-config-nfs-1.0.13-5.legacy.noarch.rpm SHA1 checksum matches. Signatures verify okay. I first tested the original RH9 version and saw indeed it didn't work if /etc/exports didn't exist, and that it did indeed generate the wrong entries when given an empty /etc/exports file. I then upgraded to the FL update, and re-ran the tests. This time, it did work without an pre-existing /etc/exports file, and did generate the expected results for multiple host entries. I did not test the case of editing an existing rule, only of creating new rules in an empty or missing /etc/exports file. If there is a problem with the existing rules, I vote to publish anyway and just put a note in the release advisory about that issue. This fixes two major problems, and it is worth pushing even if there is still a third problem, as long as we document any such third problem. Vote for release for RHL 9. ++VERIFY -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC1oVb4jZRbknHoPIRAk59AKCweMW1L16mDCSc/smWknw/+dscUQCfY+xe 3DKjLRwQdsNtKU290c9bHNY= =Hi65 -----END PGP SIGNATURE----- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've tested John's patch and it appears to be working OK. The problem still persists in the latest upstream package; could someone try reporting it to the authors? In any case, I don't think this should stop us from finally proceeding. I've created new packages which include this patch: http://www.netcore.fi/pekkas/linux/redhat-config-nfs-1.0.13-6.legacy.src.rpm (RHL9) http://www.netcore.fi/pekkas/linux/redhat-config-nfs-1.1.3-3.legacy.src.rpm (FC1) http://www.netcore.fi/pekkas/linux/system-config-nfs-1.2.3-3.legacy.src.rpm (FC2) ecb9560fc13e87d28c12594575364fa63174baee redhat-config-nfs-1.0.13-6.legacy.src.rpm a2440633bdb2ba9fda137bc256928e9745c77a5d redhat-config-nfs-1.1.3-3.legacy.src.rpm 91ad6111c9f16818988ef24129303efe6731a099 system-config-nfs-1.2.3-3.legacy.src.rpm * Wed Jul 27 2005 Pekka Savola <pekkas> 1.1.3-3.legacy - - Patch from John Dalbec to completely fix CAN-2004-0750 (#152787) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFC5y31GHbTkzxSL7QRAi5DAKDNn7QlBfhRMIZoDf+iqNFoF+T8WgCghSuP xTwcHVGReKaxuK4bRLEkkK0= =SPG5 -----END PGP SIGNATURE----- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
QA for FC1 package:
a2440633bdb2ba9fda137bc256928e9745c77a5d
redhat-config-nfs-1.1.3-3.legacy.src.rpm
* All previous patches and tarball the same to
redhat-config-nfs-1.1.3-2.legacy.src.rpm.
* All signatures are good
* Patch looks okay. Though I don't know Python really well, this new
patch to function on_edit_button_clicked looks very similar to what
the multiple-hosts.patch file did to function on_add_button_clicked.
* Built just fine.
* Installs fine.
* It runs.
PUBLISH++ FC1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFDOSWjxou1V/j9XZwRAnXjAJ937XORX9F/aXAIcBONPExCYBeJ3ACghJQR
v+F+1RUrlsl8OhhqxNNJOdY=
=19nx
-----END PGP SIGNATURE-----
Thanks. Still needs publishes for the other distros. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 QA for FC2 package, submitted in comment #6. 91ad6111c9f16818988ef24129303efe6731a099 system-config-nfs-1.2.3-3.legacy.src.rpm Contents of the .src.rpm: 698 Jul 27 01:43 nfs-fc2-CAN-2004-0750-complete.patch 87853 Apr 8 2004 system-config-nfs-1.2.3.tar.bz2 7652 Jul 27 01:43 system-config-nfs.spec I compared the patched sources of FC1's redhat-config-nfs-1.1.3-3.legacy.src. rpm to the unpatched sources from FC2's system-config-nfs-1.2.3-3.legacy. src.rpm. I could find no evidence that any part of the patches for CAN-2004-0750 ever made it into FC2's source tarball, dated 8-Apr-2004, listed above. However, it appears that the FC2 .src.rpm assumes that all the other patches *did* make it into that tarball, with the only patch needed being John Dalbec's addition- al patch. I don't think that's the only patch needed. Grepping all Fedora errata emails from 2004 and 2005 for the string "CAN-2004-0750" yielded no matches. FC2's original system-config-nfs package appears to never have had any part of CAN-2004-0750 patch applied. We're going to need to include (perhaps forward-port?) the other patch files, included in FC1's redhat-config-nfs: 385 Sep 22 2004 redhat-config-nfs-1.0.13-dialogclose.patch 1006 Sep 22 2004 redhat-config-nfs-1.0.13-exportsmissing.patch 1424 Sep 22 2004 redhat-config-nfs-1.0.13-multiple-hosts.patch 4268 Sep 22 2004 redhat-config-nfs-1.0.13-optionless.patch Until then, PUBLISH FC2-- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFDPTaoxou1V/j9XZwRAmdLAKCqN8wNeuO07P5T/JohUakEd0fu9ACfZE/8 xNt34oOKUC1t5FCct1gkcmk= =czfx -----END PGP SIGNATURE----- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, here's a new RPM which includes the same patches Marc included in FC1. Available at: http://www.netcore.fi/pekkas/linux/system-config-nfs-1.2.3-4.legacy.src.rpm 62c0839b4d6751403f72e51ca33de28961b83f0b system-config-nfs-1.2.3-4.legacy.src.rpm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFDPhU9GHbTkzxSL7QRAiUwAJ4gFcn+8PObB+9ccRL72j5Vbqat9gCguOHy 4mzijBEHVXIxehHRWCtPT9g= =hL8J -----END PGP SIGNATURE----- Created attachment 119518 [details]
Suggested system-config-nfs-1.2.3-exportsmissing.patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The .src.rpm looks good, except there was a piece missing from the
exportsmissing patch.
Attached is the patch with the piece put back in.
0544f2e65c3493737d0e6471e14fdbd41119cb07
system-config-nfs-1.2.3-exportsmissing.patch
Let me know what you think?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFDP7iXxou1V/j9XZwRAvXZAKDDzKwxCaebrXcRRhxqZBEQKLxZQQCg6zON
JuxEXF/tLmoRsQpb7HOF6Ow=
=1MXD
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here's a new RPM which includes an updated "system-config-nfs-1.2.3- exportsmissing.patch" file. Available at: http://fedoralegacy.org/contrib/system-config-nfs/system-config-nfs-1.2.3-5.legacy.src.rpm 8f4d6cba6ba6c98509062d94d7234808ba63e00a system-config-nfs-1.2.3-5.legacy.src.rpm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFDP8ZExou1V/j9XZwRAl+kAJ4tu+8jttT+heeC8U0XfMJiJVt7zACgqJNb nm1jfsmyZQLyq13MpWzvoh8= =MJOq -----END PGP SIGNATURE----- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The patch addition was OK (it was indeed missing), there weren't other changes in the package. +PUBLISH FC2 8f4d6cba6ba6c98509062d94d7234808ba63e00a system-config-nfs-1.2.3-5.legacy.src.rpm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFDQLrtGHbTkzxSL7QRAjrgAJ9k2PZQ70cg+zy7U7iqF0kJzNPyfgCeN8gm Cpzsdf8GKuxNa0JgnoNvHQ4= =gTZY -----END PGP SIGNATURE----- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
QA for RH9 package:
ecb9560fc13e87d28c12594575364fa63174baee
redhat-config-nfs-1.0.13-6.legacy.src.rpm
* All previous patches and tarball the same to
redhat-config-nfs-1.0.13-5.legacy.src.rpm.
* All signatures are good
* New Patch looks good.
* All patches apply cleanly.
PUBLISH++ RH9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFDR91oxou1V/j9XZwRAiRYAKDN6miHKnSNbCTXIX2PQRkElfZjKQCglwqR
OP2N64aHJwS8MnzeN2zLSKo=
=eRVU
-----END PGP SIGNATURE-----
Packages were pushed to updates-testing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 QA for RHL9. Signatures OK, installs OK. Generates good exports files, also modification is OK. rpm-build-compare.sh on the binaries looks sane. +VERIFY RHL9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFDexMQGHbTkzxSL7QRAuQDAJ9Vsf0cMuD847gemwFfGcOnlPiESwCglln4 QfapvcTThEdDkcZ8qpChy58= =PWsn -----END PGP SIGNATURE----- Timeout in 4 weeks. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 QA for FC1. 376cd7a13d85877976d606a2a8dc57e5a9de1766 redhat-config-nfs-1.1.3-3.legacy.noarch.rpm at http://download.fedoralegacy.org/fedora/1/updates-testing/i386/redhat-config-nfs-1.1.3-3.legacy.noarch.rpm * sha1sums okay * signatures okay * installs fine * runs fine * rpm-build-compare.sh on one I built and this one looks good. FC1 VERIFY++ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFDfDGLxou1V/j9XZwRAi24AJ0XfEcnw0gHRuQpkwVZmYKMfm5oAwCg9BsX 34bp8eMUi4BvgUOL+u9cwSE= =O9Oa -----END PGP SIGNATURE----- $ cat <comment #17> | \ awk '/e1766/ { x = $0; getline; print x " " $0 ; getline; } {print;}' | \ gpg --verify to verify my last post. Timeout over. Packages were released. |