summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/019931.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-November/019931.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/019931.html')
-rw-r--r--zarb-ml/mageia-dev/2012-November/019931.html150
1 files changed, 150 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/019931.html b/zarb-ml/mageia-dev/2012-November/019931.html
new file mode 100644
index 000000000..f517b1d71
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-November/019931.html
@@ -0,0 +1,150 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] default $PATH after UsrMove
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20default%20%24PATH%20after%20UsrMove&In-Reply-To=%3C509FE898.4090400%40free.fr%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="019953.html">
+ <LINK REL="Next" HREF="019950.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] default $PATH after UsrMove</H1>
+ <B>Luc Menut</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20default%20%24PATH%20after%20UsrMove&In-Reply-To=%3C509FE898.4090400%40free.fr%3E"
+ TITLE="[Mageia-dev] default $PATH after UsrMove">lmenut at free.fr
+ </A><BR>
+ <I>Sun Nov 11 19:04:08 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="019953.html">[Mageia-dev] Small project for a Python programmer
+</A></li>
+ <LI>Next message: <A HREF="019950.html">[Mageia-dev] default $PATH after UsrMove
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19931">[ date ]</a>
+ <a href="thread.html#19931">[ thread ]</a>
+ <a href="subject.html#19931">[ subject ]</a>
+ <a href="author.html#19931">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi,
+
+After UsrMove, /bin and /sbin are symlinks to /usr/bin and /usr/sbin.
+For the moment, the default $PATH in cauldron is still /bin:/usr/bin:...
+for normal users, and /sbin:/usr/sbin/... for root, so that 'which
+a-binary' report that all /usr/[s]bin/... binaries are located in /bin
+or /sbin instead.
+(some discussions about this on fedora devel mailing list [1]).
+
+While it is not optimal to prefer the indirect path via symlink instead
+of the direct /usr/[s]bin/ path, it can trigger weird bugs difficult to
+detect, when there is automatic prefix detection based on the location
+of a binary (either at buildtime or at runtime).
+eg. bug #7119 is due to an incorrect detection of the X11 prefix at
+buildtime; it is detected as &quot;/&quot; instead of &quot;/usr&quot;, so that
+systemsettings searchs evdev.xml at &quot;/share/X11/xkb/rules/evdev.xml&quot;
+instead of &quot;/usr/share/X11/xkb/rules/evdev.xml&quot;.
+It seems to introduce non-optimal path for interpreter program in
+shebang line for some perl or python scripts [1].
+
+So, we should probably drop /bin and /sbin from all search paths, in
+shadow-utils (/etc/login.defs), util-linux (&quot;/bin/su - &quot; doesn't use
+/etc/login.defs), openssh, ...
+
+I think that we should drop these dirs from our defaults $PATH, before a
+future mass rebuild.
+
+WDYT?
+
+
+
+Regards,
+Luc
+
+
+[1] from Fedora
+<A HREF="http://lists.fedoraproject.org/pipermail/devel/2012-February/162720.html">http://lists.fedoraproject.org/pipermail/devel/2012-February/162720.html</A>
+<A HREF="http://lists.fedoraproject.org/pipermail/devel/2012-September/171559.html">http://lists.fedoraproject.org/pipermail/devel/2012-September/171559.html</A>
+<A HREF="http://lists.fedoraproject.org/pipermail/devel/2012-October/173220.html">http://lists.fedoraproject.org/pipermail/devel/2012-October/173220.html</A>
+<A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=797557">https://bugzilla.redhat.com/show_bug.cgi?id=797557</A>
+
+[2] on my system, grep &quot;#\!/bin/perl&quot; /usr/bin/*
+/usr/bin/aclocal:#!/bin/perl -w
+/usr/bin/aclocal-1.12:#!/bin/perl -w
+/usr/bin/aclocal-1.8:#!/bin/perl -w
+/usr/bin/aclocal-1.9:#!/bin/perl -w
+/usr/bin/automake:#!/bin/perl -w
+/usr/bin/automake-1.12:#!/bin/perl -w
+/usr/bin/automake-1.8:#!/bin/perl -w
+/usr/bin/automake-1.9:#!/bin/perl -w
+/usr/bin/c_rehash:#!/bin/perl5
+/usr/bin/diffpp:#!/bin/perl
+/usr/bin/gdialog:#!/bin/perl
+/usr/bin/sliceprint:#!/bin/perl
+/usr/bin/xscreensaver-getimage-file:#!/bin/perl5 -w
+/usr/bin/xscreensaver-getimage-video:#!/bin/perl5 -w
+/usr/bin/xscreensaver-text:#!/bin/perl5 -w
+
+grep &quot;#\!/bin/python&quot; /usr/bin/*
+/usr/bin/bzr:#!/bin/python
+/usr/bin/cheetah:#!/bin/python
+/usr/bin/cheetah-analyze:#!/bin/python
+/usr/bin/cheetah-compile:#!/bin/python
+/usr/bin/django-admin.py:#!/bin/python
+/usr/bin/easy_install:#!/bin/python
+/usr/bin/easy_install-2.7:#!/bin/python
+/usr/bin/mako-render:#!/bin/python
+/usr/bin/manhole:#!/bin/python
+/usr/bin/mgarepo:#!/bin/python
+/usr/bin/ndiff:#!/bin/python
+/usr/bin/pyhtmlizer:#!/bin/python
+/usr/bin/tap2deb:#!/bin/python
+/usr/bin/tap2rpm:#!/bin/python
+/usr/bin/tapconvert:#!/bin/python
+/usr/bin/trial:#!/bin/python
+/usr/bin/twistd:#!/bin/python
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="019953.html">[Mageia-dev] Small project for a Python programmer
+</A></li>
+ <LI>Next message: <A HREF="019950.html">[Mageia-dev] default $PATH after UsrMove
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19931">[ date ]</a>
+ <a href="thread.html#19931">[ thread ]</a>
+ <a href="subject.html#19931">[ subject ]</a>
+ <a href="author.html#19931">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>