why is my symlink gone????
glen
glen at pld-linux.org
Sun Jan 8 21:25:01 CET 2012
a symlink, in .spec, nothing special in it, %config or plain listing,
visible in rpm -qpl, but not placed to filesystem. dumps below.
wtf is happening!?
tested various systems (thus i find nothing special in them):
ac 4.5, 4.4.9
th 4.5
# rpm -Uhvvvvvv fetch-crl-id.ee-1.0-0.2.noarch.rpm
D: ============== fetch-crl-id.ee-1.0-0.2.noarch.rpm
D: Expected size: 5007 = lead(96)+sigs(920)+pad(0)+data(3991)
D: Actual size: 5007
D: fetch-crl-id.ee-1.0-0.2.noarch.rpm: Header SHA1 digest: OK (979342a55a3aa469f14119a433d03d88d0d0aaf1)
D: opening db environment /var/lib/rpm/Packages cdb:mpool
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name rdonly mode=0x0
D: added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ fetch-crl-id.ee-1.0-0.2 noarch/linux 0x0
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 94 Header sanity check: OK
D: ========== DSA pubkey id 7c751c5c 1bbd5459 (h#94)
D: read h# 229 Header V4 DSA signature: OK, key ID 1bbd5459
D: Requires: ca-certificates-update>= 20090814-14 YES (db provides)
D: Requires: config(fetch-crl-id.ee) = 0:1.0-0.2 YES (added provide)
D: read h# 75 Header SHA1 digest: OK (2377536ebbc13a5d2772c9ec5d6a701bf02921da)
D: Requires: fetch-crl YES (db provides)
D: opening db index /var/lib/rpm/Conflictname rdonly mode=0x0
D: closed db index /var/lib/rpm/Depends
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, Ldepth, Rbreadth)
D: 0 0 0 1 0 0 +fetch-crl-id.ee-1.0-0.2.noarch
D: installing binary packages
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: opening db environment /var/lib/rpm/Packages cdb:mpool
D: opening db index /var/lib/rpm/Packages create mode=0x42
D: mounted filesystems:
D: i dev bsize bavail iavail mount point
D: 0 0x0000fe2c 4096 350795 5614814 rw /
D: 1 0x00000003 4096 1 -1 rw /proc
D: 2 0x0000000a 4096 1 -1 rw /dev/pts
D: sanity checking 1 elements
D: opening db index /var/lib/rpm/Name create mode=0x42
D: running pre-transaction scripts
D: computing 14 file fingerprints
Preparing... D: computing file dispositions
D: opening db index /var/lib/rpm/Basenames create mode=0x42
########################################### [100%]
D: ========== +++ fetch-crl-id.ee-1.0-0.2 noarch-linux 0x0
D: Expected size: 5007 = lead(96)+sigs(920)+pad(0)+data(3991)
D: Actual size: 5007
D: fetch-crl-id.ee-1.0-0.2: Header SHA1 digest: OK (979342a55a3aa469f14119a433d03d88d0d0aaf1)
D: install: fetch-crl-id.ee-1.0-0.2 has 14 files, test = 0
D: opening db index /var/lib/rpm/Sha1header create mode=0x42
D: opening db index /var/lib/rpm/Triggername create mode=0x42
1:fetch-crl-id.ee D: ========== Directories not explicitly included in package:
D: 0 /etc/fetch-crl.d/
D: 1 /etc/pki/
D: ==========
D: fini 100644 1 ( 0, 0) 1198 /etc/fetch-crl.d/id.ee.conf;4f09f646
D: fini 040755 2 ( 0, 0) 0 /etc/pki/id
D: fini 100644 1 ( 0, 0) 40 /etc/pki/id/ESTEID-SK.crl_url;4f09f646
D: fini 100644 1 ( 0, 0) 44 /etc/pki/id/ESTEID-SK_2007.crl_url;4f09f646
D: fini 100644 1 ( 0, 0) 48 /etc/pki/id/ESTEID-SK_2011.crl_url;4f09f646
D: fini 100644 1 ( 0, 0) 35 /etc/pki/id/JUUR-SK.crl_url;4f09f646
BZDIO: 1 reads, 2336 total bytes in 0.000233 secs
########################################### [100%]
D: +++ /var/cache/hrmib/fetch-crl-id.ee-1.0-0.2.noarch
D: +++ h# 302 Header SHA1 digest: OK (979342a55a3aa469f14119a433d03d88d0d0aaf1)
D: adding "fetch-crl-id.ee" to Name index.
D: adding 14 entries to Basenames index.
D: opening db index /var/lib/rpm/Group create mode=0x42
D: adding "Base/Authentication and Authorization" to Group index.
D: opening db index /var/lib/rpm/Requirename create mode=0x42
D: adding 3 entries to Requirename index.
D: opening db index /var/lib/rpm/Providename create mode=0x42
D: adding 2 entries to Providename index.
D: opening db index /var/lib/rpm/Dirnames create mode=0x42
D: adding 3 entries to Dirnames index.
D: opening db index /var/lib/rpm/Requireversion create mode=0x42
D: adding 3 entries to Requireversion index.
D: opening db index /var/lib/rpm/Provideversion create mode=0x42
D: adding 2 entries to Provideversion index.
D: opening db index /var/lib/rpm/Installtid create mode=0x42
D: adding 1 entries to Installtid index.
D: opening db index /var/lib/rpm/Sigmd5 create mode=0x42
D: adding 1 entries to Sigmd5 index.
D: adding "979342a55a3aa469f14119a433d03d88d0d0aaf1" to Sha1header index.
D: opening db index /var/lib/rpm/Filemd5s create mode=0x42
D: adding 14 entries to Filemd5s index.
D: running post-transaction scripts
D: closed db index /var/lib/rpm/Filemd5s
D: closed db index /var/lib/rpm/Sha1header
D: closed db index /var/lib/rpm/Sigmd5
D: closed db index /var/lib/rpm/Installtid
D: closed db index /var/lib/rpm/Provideversion
D: closed db index /var/lib/rpm/Requireversion
D: closed db index /var/lib/rpm/Dirnames
D: closed db index /var/lib/rpm/Triggername
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Group
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
# rpm -qplv fetch-crl-id.ee-1.0-0.2.noarch.rpm
-rw-r--r-- 1 root root 1198 jaan 8 21:47 /etc/fetch-crl.d/id.ee.conf
drwxr-xr-x 2 root root 0 jaan 8 21:59 /etc/pki/id
lrw-r--r-- 1 root root 11 jaan 8 21:59 /etc/pki/id/119afc2e.0 -> JUUR-SK.pem
lrw-r--r-- 1 root root 18 jaan 8 21:59 /etc/pki/id/590f5e9e.0 -> ESTEID-SK_2007.pem
lrw-r--r-- 1 root root 13 jaan 8 21:59 /etc/pki/id/9834803d.0 -> ESTEID-SK.pem
-rw-r--r-- 1 root root 40 jaan 8 21:52 /etc/pki/id/ESTEID-SK.crl_url
lrw-r--r-- 1 root root 47 jaan 8 21:59 /etc/pki/id/ESTEID-SK.pem -> /usr/share/ca-certificates/esteid/ESTEID-SK.crt
-rw-r--r-- 1 root root 44 jaan 8 21:52 /etc/pki/id/ESTEID-SK_2007.crl_url
lrw-r--r-- 1 root root 52 jaan 8 21:59 /etc/pki/id/ESTEID-SK_2007.pem -> /usr/share/ca-certificates/esteid/ESTEID-SK_2007.crt
-rw-r--r-- 1 root root 48 jaan 8 21:52 /etc/pki/id/ESTEID-SK_2011.crl_url
lrw-r--r-- 1 root root 52 jaan 8 21:59 /etc/pki/id/ESTEID-SK_2011.pem -> /usr/share/ca-certificates/esteid/ESTEID-SK_2011.crt
-rw-r--r-- 1 root root 35 jaan 8 21:52 /etc/pki/id/JUUR-SK.crl_url
lrw-r--r-- 1 root root 45 jaan 8 21:59 /etc/pki/id/JUUR-SK.pem -> /usr/share/ca-certificates/esteid/JUUR-SK.crt
lrw-r--r-- 1 root root 18 jaan 8 21:59 /etc/pki/id/a10d94b7.0 -> ESTEID-SK_2011.pem
# rpm -q rpm
rpm-4.5-56.i686
# rpm -Uhv -vvv fetch-crl-id.ee-1.0-0.2.noarch.rpm -vvvvvvvvvvvvvvvvv --nodeps
D: ============== fetch-crl-id.ee-1.0-0.2.noarch.rpm
D: Expected size: 5007 = lead(96)+sigs(920)+pad(0)+data(3991)
D: Actual size: 5007
D: fetch-crl-id.ee-1.0-0.2.noarch.rpm: Header SHA1 digest: OK (979342a55a3aa469f14119a433d03d88d0d0aaf1)
D: opening db environment /var/lib/rpm/Packages cdb:mpool
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name rdonly mode=0x0
D: added binary package [0]
D: found 0 source and 1 binary packages
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, Ldepth, Rbreadth)
D: 0 0 0 1 0 0 +fetch-crl-id.ee-1.0-0.2.noarch
D: installing binary packages
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: opening db environment /var/lib/rpm/Packages cdb:mpool
D: opening db index /var/lib/rpm/Packages create mode=0x42
D: mounted filesystems:
D: i dev bsize bavail iavail mount point
D: 0 0x0000fe00 4096 223849 1042174 rw /
D: 1 0x00000003 4096 0 -1 rw /proc
D: 2 0x00000010 4096 0 -1 rw /proc/bus/usb
D: 3 0x00000000 4096 0 -1 rw /sys
D: 4 0x0000000e 4096 0 -1 rw /sys/kernel/security
D: 5 0x0000000b 4096 0 -1 rw /dev/pts
D: 6 0x00000801 1024 54733 18032 rw /boot
D: 7 0x0000fe01 4096 416565 2095179 rw /var
D: 8 0x0000fe02 4096 158692 1026920 rw /usr
D: 9 0x0000fe03 4096 213202 1048222 rw /home
D: 10 0x0000fe05 4096 4930329 79481941 rw /var/cache/squid
D: 11 0x0000fe06 4096 1205573 12582522 rw /var/log/squid
D: sanity checking 1 elements
D: opening db index /var/lib/rpm/Name create mode=0x42
D: running pre-transaction scripts
D: computing 14 file fingerprints
Preparing... D: computing file dispositions
D: opening db index /var/lib/rpm/Basenames create mode=0x42
########################################### [100%]
D: ========== +++ fetch-crl-id.ee-1.0-0.2 noarch-linux 0x0
D: Expected size: 5007 = lead(96)+sigs(920)+pad(0)+data(3991)
D: Actual size: 5007
D: fetch-crl-id.ee-1.0-0.2: Header SHA1 digest: OK (979342a55a3aa469f14119a433d03d88d0d0aaf1)
D: install: fetch-crl-id.ee-1.0-0.2 has 14 files, test = 0
D: opening db index /var/lib/rpm/Sha1header create mode=0x42
D: opening db index /var/lib/rpm/Triggername create mode=0x42
1:fetch-crl-id.ee D: ========== Directories not explicitly included in package:
D: 0 /etc/fetch-crl.d/
D: 1 /etc/pki/
D: ==========
D: /etc/fetch-crl.d directory created with perms 0755, no context.
D: fini 100644 1 ( 0, 0) 1198 /etc/fetch-crl.d/id.ee.conf;4f09f8a8
D: fini 040755 2 ( 0, 0) 0 /etc/pki/id
D: fini 100644 1 ( 0, 0) 40 /etc/pki/id/ESTEID-SK.crl_url;4f09f8a8
D: fini 100644 1 ( 0, 0) 44 /etc/pki/id/ESTEID-SK_2007.crl_url;4f09f8a8
D: fini 100644 1 ( 0, 0) 48 /etc/pki/id/ESTEID-SK_2011.crl_url;4f09f8a8
D: fini 100644 1 ( 0, 0) 35 /etc/pki/id/JUUR-SK.crl_url;4f09f8a8
BZDIO: 1 reads, 2336 total bytes in 0.000264 secs
########################################### [100%]
D: +++ /var/cache/hrmib/fetch-crl-id.ee-1.0-0.2.noarch
D: +++ h# 720 Header SHA1 digest: OK (979342a55a3aa469f14119a433d03d88d0d0aaf1)
D: adding "fetch-crl-id.ee" to Name index.
D: adding 14 entries to Basenames index.
D: opening db index /var/lib/rpm/Group create mode=0x42
D: adding "Base/Authentication and Authorization" to Group index.
D: opening db index /var/lib/rpm/Requirename create mode=0x42
D: adding 3 entries to Requirename index.
D: opening db index /var/lib/rpm/Providename create mode=0x42
D: adding 2 entries to Providename index.
D: opening db index /var/lib/rpm/Dirnames create mode=0x42
D: adding 3 entries to Dirnames index.
D: opening db index /var/lib/rpm/Requireversion create mode=0x42
D: adding 3 entries to Requireversion index.
D: opening db index /var/lib/rpm/Provideversion create mode=0x42
D: adding 2 entries to Provideversion index.
D: opening db index /var/lib/rpm/Installtid create mode=0x42
D: adding 1 entries to Installtid index.
D: opening db index /var/lib/rpm/Sigmd5 create mode=0x42
D: adding 1 entries to Sigmd5 index.
D: adding "979342a55a3aa469f14119a433d03d88d0d0aaf1" to Sha1header index.
D: opening db index /var/lib/rpm/Filedigests create mode=0x42
D: adding 14 entries to Filedigests index.
D: opening db index /var/lib/rpm/Packagecolor create mode=0x42
D: adding 1 entries to Packagecolor index.
D: running post-transaction scripts
D: closed db index /var/lib/rpm/Packagecolor
D: closed db index /var/lib/rpm/Filedigests
D: closed db index /var/lib/rpm/Sha1header
D: closed db index /var/lib/rpm/Sigmd5
D: closed db index /var/lib/rpm/Installtid
D: closed db index /var/lib/rpm/Provideversion
D: closed db index /var/lib/rpm/Requireversion
D: closed db index /var/lib/rpm/Dirnames
D: closed db index /var/lib/rpm/Triggername
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Group
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
# l /etc/pki/id/
total 16K
-rw-r--r-- 1 root root 44 2012-01-08 21:52 ESTEID-SK_2007.crl_url
-rw-r--r-- 1 root root 48 2012-01-08 21:52 ESTEID-SK_2011.crl_url
-rw-r--r-- 1 root root 40 2012-01-08 21:52 ESTEID-SK.crl_url
-rw-r--r-- 1 root root 35 2012-01-08 21:52 JUUR-SK.crl_url
# rpm -q rpm
rpm-4.4.9-96.amd64
# rpm2cpio ../fetch-crl-id.ee-1.0-0.2.noarch.rpm | cpio -tv
-rw-r--r-- 1 root root 1198 Jan 8 21:47 ./etc/fetch-crl.d/id.ee.conf
drwxr-xr-x 2 root root 0 Jan 8 21:59 ./etc/pki/id
-rw-r--r-- 1 root root 40 Jan 8 21:52 ./etc/pki/id/ESTEID-SK.crl_url
-rw-r--r-- 1 root root 44 Jan 8 21:52 ./etc/pki/id/ESTEID-SK_2007.crl_url
-rw-r--r-- 1 root root 48 Jan 8 21:52 ./etc/pki/id/ESTEID-SK_2011.crl_url
-rw-r--r-- 1 root root 35 Jan 8 21:52 ./etc/pki/id/JUUR-SK.crl_url
5 blocks
# file ../fetch-crl-id.ee-1.0-0.2.noarch.rpm
../fetch-crl-id.ee-1.0-0.2.noarch.rpm: RPM v3 bin fetch-crl-id.ee-1.0-0.2
--
glen
More information about the pld-devel-en
mailing list