%ghost weirdness in fedora-rpmdevtools
Michael Schwendt
bugs.michael at gmx.net
Tue Mar 15 16:25:47 UTC 2005
On Tue, 15 Mar 2005 16:54:55 +0200, Ville Skyttä wrote:
> I just noticed something weird with the %ghosts/triggers in fedora-
> rpmdevtools:
>
> For some reason unknown to me, installing fedora-rpmdevtools creates
> the /usr/lib64/xemacs/site-packages/lisp/site-start.d dir structure and
> places the fedora-init.el symlink in it on a FC3 i686 box. Before
> installing it, I don't have the /usr/lib64 dir nor obviously any subdirs
> below it.
>
> The package does not own or install that dir hierarchy, it just supposed
> to place a %ghost'd symlink there if it's present when the xemacs
> trigger runs. Ditto apparently with other site-start.d dirs in the
> specfile; I just happened to catch the lib64 one.
>
> The dir hierarchy is created even when installing fedora-rpmdevtools
> with --notriggers (although the actual fedora-init.el symlink is not
> created then, which is expected). Even placing explicit %exclude's in
> the rpmdevtools specfile doesn't prevent the dirs from being created.
>
> Huh?!? Am I just being slow today, or is this a rpm bug?
I wish I knew more about it, but the base of it looks like a feature,
i.e. creation of all paths in the %files section.
I've noticed that umask is applied although the double-verbose output
says "perms 0755". With umask 077, /usr/lib64 and all its subdirs are
chmod 0700 here. So, that's a different bug.
D: ========== +++ fedora-rpmdevtools-0.3.1-1 noarch-linux 0x0
D: Expected size: 77447 = lead(96)+sigs(344)+pad(0)+data(77007)
D: Actual size: 77447
D: install: fedora-rpmdevtools-0.3.1-1 has 61 files, test = 0
1:fedora-rpmdevtools D: ========== Directories not explicitly included in package:
D: 0 /etc/
D: 2 /usr/bin/
D: 3 /usr/lib/rpm/
D: 4 /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/
D: 5 /usr/lib64/xemacs/site-packages/lisp/site-start.d/
D: 6 /usr/share/doc/
D: 8 /usr/share/emacs/site-lisp/site-start.d/
D: 9 /usr/share/
D: 13 /usr/share/xemacs/site-packages/lisp/site-start.d/
D: ==========
D: /usr/lib64 directory created with perms 0755, context system_u:object_r:lib_t.
D: /usr/lib64/xemacs directory created with perms 0755, context system_u:object_r:lib_t.
D: /usr/lib64/xemacs/site-packages directory created with perms 0755, context system_u:object_r:lib_t.
D: /usr/lib64/xemacs/site-packages/lisp directory created with perms 0755, context system_u:object_r:lib_t.
D: /usr/lib64/xemacs/site-packages/lisp/site-start.d directory created with perms 0755, context system_u:object_r:lib_t.
More information about the fedora-extras-list
mailing list