Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#6255 - extend pacman to recognize new files in /etc/profile.d/ and act... somehow.
Attached to Project:
Pacman
Opened by Jens Adam (byte) - Tuesday, 23 January 2007, 03:56 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 11 May 2007, 18:24 GMT
Opened by Jens Adam (byte) - Tuesday, 23 January 2007, 03:56 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 11 May 2007, 18:24 GMT
|
Details http://bbs.archlinux.org/viewtopic.php?t=28455 had some great ideas, but mostly about .install files.
The 'profile.d problem' comes up very often on the forums and IRC, so I think it would be nice to either notify the user about it or even source /etc/profile automatically. On the other hand, maintainers of such packages could just echo a hint in the .install file. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 11 May 2007, 18:24 GMT
Reason for closing: Won't implement
Additional comments about closing: See final two comments
Friday, 11 May 2007, 18:24 GMT
Reason for closing: Won't implement
Additional comments about closing: See final two comments
When I finally get around to adding a global "on install" system, which I plan on doing, this will be cake. The idea came from the fact that I want some sort of trigger when "/usr/include" is touched by pacman, to re-run ctags for my global tag file. So, in theory, we have a file pattern and a command to run. It would be very easy to have "match *" run something like "check-front-page-news.py"
http://bbs.archlinux.org/viewtopic.php?id=29518
Phrased better: If pacman is run with su or sudo, there is no way to react, in the user's session, once pacman completes. The only possible way to do something like this is a script that does the following:
* check profile.d scripts (store mtimes?)
* run "sudo pacman" with script args
* compare profile.d scripts and rerun ones with newer mtimes
Most people encounter this in the context of a desktop environment, and sourcing /etc/profile.d/* still won't help them. Why isn't firefox starting when I type firefox in my panel command line? A login/logout is still the best way to take care of this.
I think this one could be closed as "not implementing", as the situations where it comes into play are rare (especially since we just moved gnome and xfce out of /opt).