Bug 108686 - Skipped directories prevent creation of parent-direcories
Summary: Skipped directories prevent creation of parent-direcories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: filesystem
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-31 05:19 UTC by Enrico Scholz
Modified: 2014-03-17 02:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-16 02:53:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2003-10-31 05:19:14 UTC
Description of problem:

When using '%_install_langs C', an installation from scratch will omit the
creation of all directories under /usr/lib/locale (which is correct) and of
/usr/lib/locale itself.

Therefore, after 'rpm -U glibc-common', /usr/lib/locale does not exist and
scriptlets will fail:

--------------
$ echo '%_install_langs C'
$ [ install the minimal 'basesystem filesystem glibc glibc-common libgcc setup   
  tzdata' set ]:

Preparing...                ########################################### [100%]
   1:setup                  ########################################### [ 14%]
   2:filesystem             ########################################### [ 29%]
   3:basesystem             ########################################### [ 43%]
   4:libgcc                 ########################################### [ 57%]
   5:tzdata                 ########################################### [ 71%]
   6:glibc-common           ########################################### [ 86%]
/usr/sbin/build-locale-archive: cannot open directory "/usr/lib/locale/": No
such file or directory
Fehler: %post(glibc-common-2.3.2-98) scriptlet failed, exit status 1
   7:glibc                  ########################################### [100%]
--------------

| $ rpm -q --qf '[%{FILENAMES} %{FILELANGS}\n]' glibc-common
| ...
| /usr/lib/locale 
| /usr/lib/locale/af_ZA af
| ...
| $ ls -l /usr/locale
| ls: /usr/locale: No such file or directory


Version-Release number of selected component (if applicable):

rpm-4.2.1-0.30


filesystem-2.2.1-5
libgcc-3.3.1-6
glibc-common-2.3.2-98
setup-2.5.27-1.1
basesystem-8.0-2
tzdata-2003d-1
glibc-2.3.2-98



Related with bug #52725?

Comment 1 Jeff Johnson 2003-12-05 13:44:50 UTC
The expedient workaround is to add /usr/lib/locale to
the filesystem package to establish the skeleton file tree.
(Note there are other dirs that should be considered to be
added to filesystem at same time).

Off to filesystem for fix, bounce back to rpm after ...

Comment 2 Bill Nottingham 2004-01-16 02:53:40 UTC
added in 2.2.3-1


Note You need to log in before you can comment on or make changes to this bug.