[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
(no subject)
- From: Enrico Scholz <enrico scholz informatik tu-chemnitz de>
- To: undisclosed-recipients:;
- Subject: (no subject)
- Date: Thu, 14 Sep 2000 22:01:29 +0200
>From enrico.scholz@informatik.tu-chemnitz.de Thu Sep 14 22:01:28 2000
Return-Path: <enrico.scholz@informatik.tu-chemnitz.de>
Path: not-for-mail
Newsgroups: maillists.rpm
Subject: Semantic of %{_netsharedpath}
Date: 14 Sep 2000 22:01:27 +0200
Organization: Chemnitz University of Technology
Lines: 31
Sender: ensc@kosh.ultra.csn.tu-chemnitz.de
Message-ID: <87k8cehhew.fsf@kosh.ultra.csn.tu-chemnitz.de>
NNTP-Posting-Host: kosh.ultra.csn.tu-chemnitz.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Date: 14 Sep 2000 20:01:27 GMT
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Nike)
To: rpm-list@redhat.com
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Hello,
I have some difficulties with %{_netsharedpath}. I am sharing
e.g. /var/spool/mail (mounted with NFS) on several hosts. To prevent rpm
to change this mountpoint[1] I have set:
| %{_netsharedpath} /var/spool/mail
When installing the filesystem-RPM containing this directory its state
is still `normal':
| $ rpm -qs filesystem | grep /var/spool/mail
| normal /var/spool/mail
Well, I could share this path by putting `/var/spool' into
%{_netsharedpath}, but this would handle /var/spool/lpd also.
The reason for this behavior lies in skipFiles() (lib/transaction.c),
where only `fi->bnl' (basedirectory; here `/var') will be compared
against %{_netsharedpath}-entries.
Is this the wanted behavior and if so, how can I achieve to ignore
toplevel-directories of a %{_netsharedpath}-hierarchy nevertheless?
Enrico
Footnotes:
[1] chown() fails there while cpio'ing the package
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]