FS#8825 - /etc/profile missing in filesystem package

Attached to Project: Arch Linux
Opened by Alexandre Courtois (saladeverte) - Monday, 03 December 2007, 10:24 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 04 December 2007, 18:19 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

There is no /etc/profile in the last filesystem package, with several consequences. For example, there are many localization troubles, and some essential directories are missing from PATH (/sbin and /usr/sbin).
This task depends upon

Closed by  Aaron Griffin (phrakture)
Tuesday, 04 December 2007, 18:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in bash 3.2.025-4
Comment by Menno Tammens (menno) - Monday, 03 December 2007, 16:28 GMT
I have the same problem.
I've tried an older filesystem-package, but that didn't work. An older bash-package solved the problem.
Comment by Dr. Markus Waldeck (waldeck) - Monday, 03 December 2007, 19:51 GMT
I found out that there are obsolete entries in /etc/profile on satuerdy evening (http://bugs.archlinux.org/task/8824).
At this time /etc/profile was owned by bash 3.2.025-2.
After pacman -Syu I get
% pacman -Q bash
bash 3.2.025-3
% LANG=C pacman -Qo /etc/profile
error: No package owns /etc/profile

Comment by Eric Le Bras (elb) - Monday, 03 December 2007, 21:38 GMT
The problem is caused by updating bash to 3.2.025-3.
There is an error in the PKGBUILD. Before copying profile to the package with "install", there was a "cd" into the pkg dir which has been moved in the last revision, thus causing profile to be copied to the wrong place, outside the package.
The PKGBUILD should be corrected.
In the interval, you can get /etc/profile from the CVS here :
http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/base/bash/profile?rev=1.20&cvsroot=Core&only_with_tag=CURRENT&content-type=text/vnd.viewcvs-markup
Comment by Taylor Lookabaugh (Taylor) - Tuesday, 04 December 2007, 04:15 GMT
I did a force on the upgrade bash 3.2.025-4. it ignored the error and upgraded.

Loading...