Various notes on /usr unification
Various notes on /usr unification
Posted Feb 28, 2012 2:00 UTC (Tue) by russell (guest, #10458)Parent article: Various notes on /usr unification
Posted Feb 28, 2012 8:59 UTC (Tue)
by niner (subscriber, #26151)
[Link]
Posted Feb 28, 2012 14:32 UTC (Tue)
by SEJeff (guest, #51588)
[Link] (9 responses)
Posted Feb 28, 2012 14:38 UTC (Tue)
by mpr22 (subscriber, #60784)
[Link] (8 responses)
Posted Feb 28, 2012 14:41 UTC (Tue)
by SEJeff (guest, #51588)
[Link] (4 responses)
Something that isn't pointed out is that people who aren't ok with this move don't have to use Fedora / a systemd distro moving to this model. They could fork fedora or build their own distro. It isn't as though distributors are forcing a free distro down your throat :)
Posted Feb 28, 2012 17:43 UTC (Tue)
by drag (guest, #31333)
[Link] (2 responses)
Posted Feb 28, 2012 20:39 UTC (Tue)
by lindi (subscriber, #53135)
[Link] (1 responses)
seems to give quite opposite advice at least for official debian packages:
"Maintainers should not override the Debian Python interpreter using /usr/bin/env python or /usr/bin/env pythonX.Y. This is not advisable as it bypasses Debian's dependency checking and makes the package vulnerable to incomplete local installations of python."
Posted Feb 29, 2012 16:10 UTC (Wed)
by cortana (subscriber, #24596)
[Link]
Posted Feb 28, 2012 20:43 UTC (Tue)
by samroberts (subscriber, #46749)
[Link]
Posted Mar 5, 2012 9:53 UTC (Mon)
by jschrod (subscriber, #1646)
[Link] (2 responses)
Not like now, where you can't write a bash script for both Linux (/bin/bash) and FreeBSD (/usr/bin/bash) without using #!/usr/bin/env. Then it could just be /usr/bin/bash and we would be done. Just as in Solaris, since many years.
Posted Mar 5, 2012 10:55 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
instead of using absolute paths.
Posted Mar 5, 2012 12:12 UTC (Mon)
by jwakely (subscriber, #60262)
[Link]
Posted Mar 1, 2012 8:32 UTC (Thu)
by AndreE (guest, #60148)
[Link]
I don't think you are going to convince anyone that having to learn the arbitrary determinations of binary and library location (that differ from distro to distro) ,is a better state of affairs than knowing everything will be found under /usr
Various notes on /usr unification
Various notes on /usr unification
ISTR there are definitely contexts where you either shouldn't be trusting PATH at all, or should be forcing it to a known value yourself. (#! lines are one of them, IIRC.)
Various notes on /usr unification
Various notes on /usr unification
#!/usr/bin/env python
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
>#!bash
or
>#!env bash
You can, but it means the same as #!./bash so probably doesn't do what you wanted.
Various notes on /usr unification
Various notes on /usr unification
