| Summary: | /etc/profile.d/30python.sh and /etc/profile.d/30python.csh not marked as config file | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Hartmut Goebel <h.goebel> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | davidwhodgins, makowski.mageia, oliver.bgr, sysadmin-bugs, tmb |
| Version: | 3 | Keywords: | Junior_job, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | advisory has_procedure mga3-64-ok mga3-32-ok | ||
| Source RPM: | python-2.7.3-7.mga3.src.rpm and python3-3.3.0-4.mga3.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 11785 | ||
| Bug Blocks: | |||
|
Description
Hartmut Goebel
2013-07-11 21:19:16 CEST
Manuel Hiebel
2013-07-12 18:05:19 CEST
CC:
(none) =>
makowski.mageia, oliver.bgr Please note: This bug is in both python2 and python3 packages. will be solved in Mageia 4 can't be done before Depends on:
(none) =>
3348 Fixing the version assignment then. I'm not sure they really need to be marked as config files though. Can't sysadmins just drop another file in /etc/profile.d to override it, rather than messing with a packaged file? Version:
3 =>
Cauldron Thanks. (In reply to David Walser from comment #3) > I'm not sure they really need to be > marked as config files though. Well, files in /etc are config-files by definition. See https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard#Directory_structure https://de.wikipedia.org/wiki/Filesystem_Hierarchy_Standard#.2Fetc_.E2.80.93_spezifische_Konfigurationsdateien > Can't sysadmins just drop another file in > /etc/profile.d to override it, rather than messing with a packaged file? This would work for this files, but not in general. Image a profile.d-file executing some command. The sysadmin could not suppress this by adding another config-file (depending on the case, of course). I will remove them from the package I have uploaded a patched/updated package for Mageia 3. Suggested advisory: ======================== Updated python and python3 packages fix mga#10758: The files /etc/profile.d/30python.sh and /etc/profile.d/30python.csh are now marked as a config file. /etc/profile.d/30python.sh and /etc/profile.d/30python.csh are now provided only by python not by python3. It will help the upgrade process to mga4. Updated packages in core/updates_testing: ======================== tkinter3-3.3.0-4.4.mga3.x86_64 python3-debuginfo-3.3.0-4.4.mga3.x86_64 python3-debuginfo-3.3.0-4.4.mga3.i586 python3-3.3.0-4.4.mga3.x86_64 tkinter3-apps-3.3.0-4.4.mga3.x86_64 lib64python3-devel-3.3.0-4.4.mga3.x86_64 tkinter3-apps-3.3.0-4.4.mga3.i586 lib64python3.3-3.3.0-4.4.mga3.x86_64 python3-3.3.0-4.4.mga3.i586 libpython3-devel-3.3.0-4.4.mga3.i586 python3-docs-3.3.0-4.4.mga3.noarch libpython3.3-3.3.0-4.4.mga3.i586 tkinter3-3.3.0-4.4.mga3.i586 lib64python-devel-2.7.5-1.3.mga3.x86_64 tkinter-2.7.5-1.3.mga3.x86_64 python-docs-2.7.5-1.3.mga3.noarch tkinter-apps-2.7.5-1.3.mga3.i586 tkinter-2.7.5-1.3.mga3.i586 python-debuginfo-2.7.5-1.3.mga3.x86_64 python-debuginfo-2.7.5-1.3.mga3.i586 lib64python2.7-2.7.5-1.3.mga3.x86_64 libpython2.7-2.7.5-1.3.mga3.i586 python-2.7.5-1.3.mga3.x86_64 libpython-devel-2.7.5-1.3.mga3.i586 tkinter-apps-2.7.5-1.3.mga3.x86_64 python-2.7.5-1.3.mga3.i586 Source RPMs: python3-3.3.0-4.4.mga3.src python-2.7.5-1.3.mga3.src Depends on:
3348 =>
(none) Adding bug 11785 as a blocker for this bug. Have to sort out which bug python 3 should be pushed for. CC:
(none) =>
davidwhodgins As the version of python3 in updates testing has been replaced by python3-3.3.0-4.5.mga3.src.rpm for bug 11782, excluding python3 from the advisory, so this bug report is now only for python-2. Advisory 10758.adv committed to svn. Whiteboard:
(none) =>
advisory So rpms for this one are now just lib64python2.7-2.7.5-1.3.mga3.x86_64 lib64python-devel-2.7.5-1.3.mga3.x86_64 libpython2.7-2.7.5-1.3.mga3.i586 libpython-devel-2.7.5-1.3.mga3.i586 python-2.7.5-1.3.mga3.i586 python-2.7.5-1.3.mga3.x86_64 python-debuginfo-2.7.5-1.3.mga3.i586 python-debuginfo-2.7.5-1.3.mga3.x86_64 python-docs-2.7.5-1.3.mga3.noarch tkinter-2.7.5-1.3.mga3.i586 tkinter-2.7.5-1.3.mga3.x86_64 tkinter-apps-2.7.5-1.3.mga3.i586 tkinter-apps-2.7.5-1.3.mga3.x86_64 from python-2.7.5-1.3.mga3.src.rpm testing complete mga3 64 using idle Whiteboard:
advisory =>
advisory has_procedure mga3-64-ok ALso confirmed that the two files mentioned are now config files and only for python not python3 $ rpm -q --configfiles python | grep profil /etc/profile.d/30python.csh /etc/profile.d/30python.sh $ rpm -q --configfiles python3 | grep profil Testing complete mga3 32 Validating. Could sysadmin please push from 3 core/updates_testing to updates Thanks! Keywords:
(none) =>
validated_update Update pushed: http://advisories.mageia.org/MGAA-2013-0131.html Status:
NEW =>
RESOLVED |