From glen at pld-linux.org Sun Jan 8 21:25:01 2012 From: glen at pld-linux.org (glen) Date: Sun, 08 Jan 2012 22:25:01 +0200 Subject: why is my symlink gone???? Message-ID: <4F09FB9D.3080903@pld-linux.org> 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 From glen at pld-linux.org Sun Jan 8 22:09:54 2012 From: glen at pld-linux.org (glen) Date: Sun, 08 Jan 2012 23:09:54 +0200 Subject: Fwd: why is my symlink gone???? In-Reply-To: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> Message-ID: <4F0A0622.6060905@pld-linux.org> On 01/08/2012 10:36 PM, Jeffrey Johnson wrote: > > *From: *Jeffrey Johnson > > *Subject: **Re: why is my symlink gone????* > *Date: *January 8, 2012 3:35:57 PM EST > *To: *"PLD: Developers list (English)" > > > > > > On Jan 8, 2012, at 3:25 PM, glen wrote: > >> 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!? > > Adding -vv --fsmdebug will display every sys call undertaken > while installing/erasing a package. > > If you do not see the symlink path being removed with --fsmdebug, > then rpm did not do the removal. Period. Fullstop. it's rather that rpm did not add it, on fresh install, neither on further upgrades or reinstalls links were not visible in rpm2cpio dump as well, not sure if that matters (log in bottom of first email) copy of the rpm package used in testing: http://carme.pld-linux.org/~glen/fetch-crl-id.ee-1.0-0.2.noarch.rpm > If you do find rpm removing the symlink, then there's some > issue with following a symlink (my guess). > > It isn't clear (to me with a curry reading) which symlink > path is being removed, and --fsmdebug has more explicit > information on the sys calls that rpm is actually performing. i don't see symlinks from .rpm file in that output either: wintersunset /etc/pki # rpm -Uhv fetch-crl-id.ee-1.0-0.2.noarch.rpm -vv --fsmdebug 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# 18 Header sanity check: OK D: ========== DSA pubkey id 7c751c5c 1bbd5459 (h#18) D: read h# 1401 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# 2352 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 0x0000fe07 4096 1793178 28792555 rw / D: 1 0x00000003 4096 1 -1 rw /proc D: 2 0x0000000a 4096 1 -1 rw /dev/pts D: 3 0x0000fe04 4096 2566598 28066139 rw /home/glen/rpm D: 4 0x00000019 262144 5359 -1 rw /home/glen/work 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 --> fsmSetup(0x651560, 0x5007, "cpio", 0x6342c0, 0x647900, 0x658410, (nil), 0x64ddb0) cpio vectors set 1:fetch-crl-id.ee D: mkdirs 000000 0 ( 0, 0) 0 unknown D: ========== Directories not explicitly included in package: D: 0 /etc/fetch-crl.d/ D: 1 /etc/pki/ D: ========== D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 29, cfd) rdnb 29 D: Fread (wrbuf, 1, cfd) rdnb 1 D: process 100644 1 ( 0, 0) 1198 /etc/fetch-crl.d/id.ee.conf;4f0a0500 D: Fopen (/etc/fetch-crl.d/id.ee.conf;4f0a0500, "w") wfd 0x659fc0 wrbuf 0x67fae0 D: Fread (wrbuf, 1198, cfd) rdnb 1198 D: Fwrite (wrbuf, 1198, wfd) wrnb 1198 D: Fclose (0x659fc0) D: fini 100644 1 ( 0, 0) 1198 /etc/fetch-crl.d/id.ee.conf;4f0a0500 D: Rename (/etc/fetch-crl.d/id.ee.conf;4f0a0500, /etc/fetch-crl.d/id.ee.conf) D: chown (/etc/fetch-crl.d/id.ee.conf, 0, 0) D: chmod (/etc/fetch-crl.d/id.ee.conf, 00644) D: utime (/etc/fetch-crl.d/id.ee.conf, 0x4f09f2e5) D: Fread (wrbuf, 2, cfd) rdnb 2 D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 13, cfd) rdnb 13 D: Fread (wrbuf, 1, cfd) rdnb 1 D: process 040755 2 ( 0, 0) 0 /etc/pki/id D: Mkdir (/etc/pki/id, 00700) D: fini 040755 2 ( 0, 0) 0 /etc/pki/id D: chown (/etc/pki/id, 0, 0) D: chmod (/etc/pki/id, 00755) D: utime (/etc/pki/id, 0x4f09f58b) D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 31, cfd) rdnb 31 D: Fread (wrbuf, 3, cfd) rdnb 3 D: process 100644 1 ( 0, 0) 40 /etc/pki/id/ESTEID-SK.crl_url;4f0a0500 D: Fopen (/etc/pki/id/ESTEID-SK.crl_url;4f0a0500, "w") wfd 0x659fc0 wrbuf 0x67fae0 D: Fread (wrbuf, 40, cfd) rdnb 40 D: Fwrite (wrbuf, 40, wfd) wrnb 40 D: Fclose (0x659fc0) D: fini 100644 1 ( 0, 0) 40 /etc/pki/id/ESTEID-SK.crl_url;4f0a0500 D: Rename (/etc/pki/id/ESTEID-SK.crl_url;4f0a0500, /etc/pki/id/ESTEID-SK.crl_url) D: chown (/etc/pki/id/ESTEID-SK.crl_url, 0, 0) D: chmod (/etc/pki/id/ESTEID-SK.crl_url, 00644) D: utime (/etc/pki/id/ESTEID-SK.crl_url, 0x4f09f3f3) D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 36, cfd) rdnb 36 D: Fread (wrbuf, 2, cfd) rdnb 2 D: process 100644 1 ( 0, 0) 44 /etc/pki/id/ESTEID-SK_2007.crl_url;4f0a0500 D: Fopen (/etc/pki/id/ESTEID-SK_2007.crl_url;4f0a0500, "w") wfd 0x659fc0 wrbuf 0x67fae0 D: Fread (wrbuf, 44, cfd) rdnb 44 D: Fwrite (wrbuf, 44, wfd) wrnb 44 D: Fclose (0x659fc0) D: fini 100644 1 ( 0, 0) 44 /etc/pki/id/ESTEID-SK_2007.crl_url;4f0a0500 D: Rename (/etc/pki/id/ESTEID-SK_2007.crl_url;4f0a0500, /etc/pki/id/ESTEID-SK_2007.crl_url) D: chown (/etc/pki/id/ESTEID-SK_2007.crl_url, 0, 0) D: chmod (/etc/pki/id/ESTEID-SK_2007.crl_url, 00644) D: utime (/etc/pki/id/ESTEID-SK_2007.crl_url, 0x4f09f3f3) D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 36, cfd) rdnb 36 D: Fread (wrbuf, 2, cfd) rdnb 2 D: process 100644 1 ( 0, 0) 48 /etc/pki/id/ESTEID-SK_2011.crl_url;4f0a0500 D: Fopen (/etc/pki/id/ESTEID-SK_2011.crl_url;4f0a0500, "w") wfd 0x659fc0 wrbuf 0x67fae0 D: Fread (wrbuf, 48, cfd) rdnb 48 D: Fwrite (wrbuf, 48, wfd) wrnb 48 D: Fclose (0x659fc0) D: fini 100644 1 ( 0, 0) 48 /etc/pki/id/ESTEID-SK_2011.crl_url;4f0a0500 D: Rename (/etc/pki/id/ESTEID-SK_2011.crl_url;4f0a0500, /etc/pki/id/ESTEID-SK_2011.crl_url) D: chown (/etc/pki/id/ESTEID-SK_2011.crl_url, 0, 0) D: chmod (/etc/pki/id/ESTEID-SK_2011.crl_url, 00644) D: utime (/etc/pki/id/ESTEID-SK_2011.crl_url, 0x4f09f3f3) D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 29, cfd) rdnb 29 D: Fread (wrbuf, 1, cfd) rdnb 1 D: process 100644 1 ( 0, 0) 35 /etc/pki/id/JUUR-SK.crl_url;4f0a0500 D: Fopen (/etc/pki/id/JUUR-SK.crl_url;4f0a0500, "w") wfd 0x659fc0 wrbuf 0x67fae0 D: Fread (wrbuf, 35, cfd) rdnb 35 D: Fwrite (wrbuf, 35, wfd) wrnb 35 D: Fclose (0x659fc0) D: fini 100644 1 ( 0, 0) 35 /etc/pki/id/JUUR-SK.crl_url;4f0a0500 D: Rename (/etc/pki/id/JUUR-SK.crl_url;4f0a0500, /etc/pki/id/JUUR-SK.crl_url) D: chown (/etc/pki/id/JUUR-SK.crl_url, 0, 0) D: chmod (/etc/pki/id/JUUR-SK.crl_url, 00644) D: utime (/etc/pki/id/JUUR-SK.crl_url, 0x4f09f3f3) D: Fread (wrbuf, 1, cfd) rdnb 1 D: Fread (wrbuf, 110, cfd) rdnb 110 D: Fread (wrbuf, 11, cfd) rdnb 11 --> fsmTeardown(0x651560) BZDIO: 1 reads, 2336 total bytes in 0.000379 secs ########################################### [100%] D: +++ /var/cache/hrmib/fetch-crl-id.ee-1.0-0.2.noarch D: +++ h# 2365 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 > Or use strace if you don't like/trust -vv --fsmdebug output. > Somehow the removal needs to be identified in context before > a diagnosis can be attempted. strace shows that rpm knows about the symlinks, but seems to nothing with them: # strace -efile rpm -Uhv fetch-crl-id.ee-1.0-0.2.noarch.rpm execve("/bin/rpm", ["rpm", "-Uhv", "fetch-crl-id.ee-1.0-0.2.noarch.r"...], [/* 60 vars */]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib64/librpm-4.5.so", O_RDONLY) = 3 open("/lib64/librpmdb-4.5.so", O_RDONLY) = 3 open("/lib64/librpmio-4.5.so", O_RDONLY) = 3 open("/lib64/libselinux.so.1", O_RDONLY) = 3 open("/lib64/libpopt.so.0", O_RDONLY) = 3 open("/lib64/tls/libpthread.so.0", O_RDONLY) = 3 open("/lib64/tls/libc.so.6", O_RDONLY) = 3 open("/lib64/libmagic.so.1", O_RDONLY) = 3 open("/lib64/libelf.so.1", O_RDONLY) = 3 open("/lib64/libdb-4.5.so", O_RDONLY) = 3 open("/lib64/libbeecrypt.so.6", O_RDONLY) = 3 open("/lib64/tls/libm.so.6", O_RDONLY) = 3 open("/lib64/libkeyutils.so.1", O_RDONLY) = 3 open("/lib64/libossp-uuid.so.16", O_RDONLY) = 3 open("/lib64/libz.so.1", O_RDONLY) = 3 open("/lib64/libbz2.so.1", O_RDONLY) = 3 open("/lib64/libdl.so.2", O_RDONLY) = 3 open("/lib64/libsepol.so.1", O_RDONLY) = 3 open("/lib64/tls/librt.so.1", O_RDONLY) = 3 access("/etc/selinux/", F_OK) = -1 ENOENT (No such file or directory) open("/proc/mounts", O_RDONLY) = 3 open("/usr/lib64/locale/locale-archive", O_RDONLY) = 3 open("/usr/lib/rpm/rpmpopt", O_RDONLY) = 3 open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/glen/.popt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm/platform", O_RDONLY) = 3 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 open("/usr/lib/rpm/macros", O_RDONLY) = 3 open("/etc/mtab", O_RDONLY) = 4 open("/proc/meminfo", O_RDONLY) = 4 open("/usr/lib/rpm/macros.build", O_RDONLY) = 3 open("/usr/lib/rpm/amd64-linux/macros", O_RDONLY) = 3 open("/etc/rpm", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3 lstat("/etc/rpm/macros.lang", {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 lstat("/etc/rpm/macros.whiteout.~1~", {st_mode=S_IFREG|0644, st_size=688, ...}) = 0 lstat("/etc/rpm/macros.whiteout.rpmsave", {st_mode=S_IFREG|0644, st_size=2395, ...}) = 0 lstat("/etc/rpm/macros.whiteout~", {st_mode=S_IFREG|0644, st_size=2387, ...}) = 0 lstat("/etc/rpm/macros.whiteout", {st_mode=S_IFREG|0644, st_size=3089, ...}) = 0 lstat("/etc/rpm/macros.rpmnew", {st_mode=S_IFREG|0644, st_size=561, ...}) = 0 lstat("/etc/rpm/macros.lang~", {st_mode=S_IFREG|0644, st_size=269, ...}) = 0 open("/etc/rpm/macros.lang", O_RDONLY) = 3 open("/etc/rpm/macros.whiteout", O_RDONLY) = 3 open("/etc/rpm/macros", O_RDONLY) = 3 open("/etc/rpm/amd64-linux/macros", O_RDONLY) = -1 ENOENT (No such file or directory) lstat("/home/glen/etc/.rpmmacros", 0x7fff1fb126f0) = -1 ENOENT (No such file or directory) lstat("/home/glen/.rpmmacros", {st_mode=S_IFREG|0664, st_size=2325, ...}) = 0 open("/home/glen/.rpmmacros", O_RDONLY) = 3 stat("/usr/lib/rpm/init.lua", 0x7fff1fb13bb0) = -1 ENOENT (No such file or directory) access("/etc/rpm/sysinfo", R_OK) = 0 stat("/etc/rpm/sysinfo", {st_mode=S_IFDIR|0755, st_size=124, ...}) = 0 stat("/etc/rpm/sysinfo/Providename", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/rpm/sysinfo/Providename", O_RDONLY) = 3 stat("/etc/rpm/sysinfo/Requirename", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/rpm/sysinfo/Requirename", O_RDONLY) = 3 stat("/etc/rpm/sysinfo/Conflictname", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/rpm/sysinfo/Conflictname", O_RDONLY) = 3 stat("/etc/rpm/sysinfo/Obsoletename", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/rpm/sysinfo/Obsoletename", O_RDONLY) = 3 stat("/etc/rpm/sysinfo/Dirnames", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/rpm/sysinfo/Dirnames", O_RDONLY) = 3 stat("/etc/rpm/sysinfo/Filelinktos", {st_mode=S_IFREG|0644, st_size=44, ...}) = 0 open("/etc/rpm/sysinfo/Filelinktos", O_RDONLY) = 3 open("/proc/filesystems", O_RDONLY) = 3 open("fetch-crl-id.ee-1.0-0.2.noarch.rpm", O_RDONLY) = 3 getcwd("/etc/pki"..., 4096) = 9 open("/usr/share/locale/locale.alias", O_RDONLY) = 4 open("/usr/share/locale/en_US.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGCHLD (Child exited) @ 0 (0) --- stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 access("/var/lib/rpm/Packages", F_OK) = 0 open("/var/lib/rpm/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory) open("/var/lib/rpm/__db.001", O_RDWR) = 3 open("/var/lib/rpm/__db.001", O_RDWR) = 3 open("/etc/mtab", O_RDONLY) = 3 open("/proc/stat", O_RDONLY) = 3 open("/var/lib/rpm/__db.002", O_RDWR) = 3 open("/var/lib/rpm/__db.003", O_RDWR) = 3 open("/var/lib/rpm/__db.004", O_RDWR) = 3 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=37285888, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 access("/var/lib/rpm/Name", F_OK) = 0 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=94208, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 open("/var/lib/rpm/Name", O_RDONLY) = 4 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 access("/etc/rpm/sysinfo", R_OK) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 access("/var/lib/rpm/Providename", F_OK) = 0 stat("/var/lib/rpm/Providename", {st_mode=S_IFREG|0644, st_size=663552, ...}) = 0 open("/var/lib/rpm/Providename", O_RDONLY) = 5 open("/var/lib/rpm/Providename", O_RDONLY) = 5 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 access("/var/lib/rpm/Pubkeys", F_OK) = 0 stat("/var/lib/rpm/Pubkeys", {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0 open("/var/lib/rpm/Pubkeys", O_RDONLY) = 6 open("/var/lib/rpm/Pubkeys", O_RDONLY) = 6 access("/etc/rpm/sysinfo", R_OK) = 0 access("/etc/rpm/sysinfo", R_OK) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 access("/var/lib/rpm/Conflictname", F_OK) = 0 stat("/var/lib/rpm/Conflictname", {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0 open("/var/lib/rpm/Conflictname", O_RDONLY) = 7 open("/var/lib/rpm/Conflictname", O_RDONLY) = 7 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 open("/var/lib/rpm/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory) open("/var/lib/rpm/__db.001", O_RDWR) = 3 open("/var/lib/rpm/__db.001", O_RDWR) = 3 open("/etc/mtab", O_RDONLY) = 3 open("/proc/stat", O_RDONLY) = 3 open("/var/lib/rpm/__db.002", O_RDWR) = 3 open("/var/lib/rpm/__db.003", O_RDWR) = 3 open("/var/lib/rpm/__db.004", O_RDWR) = 3 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=37285888, ...}) = 0 open("/var/lib/rpm/Packages", O_RDWR) = 3 open("/var/lib/rpm/Packages", O_RDWR|O_CREAT, 0) = 3 getcwd("/etc/pki"..., 128) = 9 open("/etc/mtab", O_RDONLY) = 4 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 stat("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/home/glen/rpm", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 stat("/home/glen/work", {st_mode=S_IFDIR|0771, st_size=5904, ...}) = 0 statfs("/", {f_type=0x58465342, f_bsize=4096, f_blocks=16512512, f_bfree=1793082, f_bavail=1793082, f_files=30317088, f_ffree=28791017, f_fsid={65031, 0}, f_namelen=255, f_frsize=4096}) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/proc/mounts", O_RDONLY) = 4 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 statfs("/proc", {f_type="PROC_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 stat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/proc/mounts", O_RDONLY) = 4 stat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 stat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 stat("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 open("/proc/mounts", O_RDONLY) = 4 stat("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 statfs("/home/glen/rpm", {f_type=0x58465342, f_bsize=4096, f_blocks=7075328, f_bfree=2566598, f_bavail=2566598, f_files=28311552, f_ffree=28066139, f_fsid={65028, 0}, f_namelen=255, f_frsize=4096}) = 0 stat("/home/glen/rpm", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 open("/proc/mounts", O_RDONLY) = 4 stat("/home/glen/rpm", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 stat("/home/glen/rpm", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 statfs("/home/glen/work", {f_type="NFS_SUPER_MAGIC", f_bsize=262144, f_blocks=38185, f_bfree=5359, f_bavail=5359, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=262144}) = 0 stat("/home/glen/work", {st_mode=S_IFDIR|0771, st_size=5904, ...}) = 0 open("/proc/mounts", O_RDONLY) = 4 stat("/home/glen/work", {st_mode=S_IFDIR|0771, st_size=5904, ...}) = 0 stat("/home/glen/work", {st_mode=S_IFDIR|0771, st_size=5904, ...}) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=94208, ...}) = 0 open("/var/lib/rpm/Name", O_RDWR) = 4 open("/var/lib/rpm/Name", O_RDWR|O_CREAT, 0) = 4 chdir("/") = 0 stat("/etc/fetch-crl.d", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0 stat("/etc/pki", {st_mode=S_IFDIR|0755, st_size=78, ...}) = 0 stat("/etc/pki/id", 0x7fff1fb128e0) = -1 ENOENT (No such file or directory) Preparing... stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Basenames", {st_mode=S_IFREG|0644, st_size=5451776, ...}) = 0 open("/var/lib/rpm/Basenames", O_RDWR) = 5 open("/var/lib/rpm/Basenames", O_RDWR|O_CREAT, 0) = 5 lstat("/etc/fetch-crl.d/id.ee.conf", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/119afc2e.0", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/590f5e9e.0", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/9834803d.0", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/ESTEID-SK.crl_url", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/ESTEID-SK.pem", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/ESTEID-SK_2007.crl_url", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/ESTEID-SK_2007.pem", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/ESTEID-SK_2011.crl_url", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/ESTEID-SK_2011.pem", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/JUUR-SK.crl_url", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/JUUR-SK.pem", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) lstat("/etc/pki/id/a10d94b7.0", 0x7fff1fb13aa0) = -1 ENOENT (No such file or directory) chdir("/etc/pki") = 0 ########################################### [100%] open("fetch-crl-id.ee-1.0-0.2.noarch.rpm", O_RDONLY) = 6 getcwd("/etc/pki"..., 4096) = 9 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Sha1header", {st_mode=S_IFREG|0644, st_size=167936, ...}) = 0 open("/var/lib/rpm/Sha1header", O_RDWR) = 7 open("/var/lib/rpm/Sha1header", O_RDWR|O_CREAT, 0) = 7 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Triggername", {st_mode=S_IFREG|0644, st_size=24576, ...}) = 0 open("/var/lib/rpm/Triggername", O_RDWR) = 8 open("/var/lib/rpm/Triggername", O_RDWR|O_CREAT, 0) = 8 1:fetch-crl-id.ee lstat("/etc", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0 lstat("/etc/fetch-crl.d", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0 lstat("/etc/pki", {st_mode=S_IFDIR|0755, st_size=78, ...}) = 0 open("/etc/fetch-crl.d/id.ee.conf;4f0a057b", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 rename("/etc/fetch-crl.d/id.ee.conf;4f0a057b", "/etc/fetch-crl.d/id.ee.conf") = 0 chown("/etc/fetch-crl.d/id.ee.conf", 0, 0) = 0 chmod("/etc/fetch-crl.d/id.ee.conf", 0644) = 0 utime("/etc/fetch-crl.d/id.ee.conf", [2012/01/08-21:47:49, 2012/01/08-21:47:49]) = 0 lstat("/etc/pki/id", 0x651798) = -1 ENOENT (No such file or directory) mkdir("/etc/pki/id", 0700) = 0 chown("/etc/pki/id", 0, 0) = 0 ( 63%) chmod("/etc/pki/id", 0755) = 0 utime("/etc/pki/id", [2012/01/08-21:59:07, 2012/01/08-21:59:07]) = 0 open("/etc/pki/id/ESTEID-SK.crl_url;4f0a057b", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 rename("/etc/pki/id/ESTEID-SK.crl_url;4f0a057b", "/etc/pki/id/ESTEID-SK.crl_url") = 0 chown("/etc/pki/id/ESTEID-SK.crl_url", 0, 0) = 0 chmod("/etc/pki/id/ESTEID-SK.crl_url", 0644) = 0 utime("/etc/pki/id/ESTEID-SK.crl_url", [2012/01/08-21:52:19, 2012/01/08-21:52:19]) = 0 open("/etc/pki/id/ESTEID-SK_2007.crl_url;4f0a057b", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 rename("/etc/pki/id/ESTEID-SK_2007.crl_url;4f0a057b", "/etc/pki/id/ESTEID-SK_2007.crl_url") = 0 chown("/etc/pki/id/ESTEID-SK_2007.crl_url", 0, 0) = 0 chmod("/etc/pki/id/ESTEID-SK_2007.crl_url", 0644) = 0 utime("/etc/pki/id/ESTEID-SK_2007.crl_url", [2012/01/08-21:52:19, 2012/01/08-21:52:19]) = 0 open("/etc/pki/id/ESTEID-SK_2011.crl_url;4f0a057b", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 rename("/etc/pki/id/ESTEID-SK_2011.crl_url;4f0a057b", "/etc/pki/id/ESTEID-SK_2011.crl_url") = 0 chown("/etc/pki/id/ESTEID-SK_2011.crl_url", 0, 0) = 0 chmod("/etc/pki/id/ESTEID-SK_2011.crl_url", 0644) = 0 utime("/etc/pki/id/ESTEID-SK_2011.crl_url", [2012/01/08-21:52:19, 2012/01/08-21:52:19]) = 0 open("/etc/pki/id/JUUR-SK.crl_url;4f0a057b", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 rename("/etc/pki/id/JUUR-SK.crl_url;4f0a057b", "/etc/pki/id/JUUR-SK.crl_url") = 0 chown("/etc/pki/id/JUUR-SK.crl_url", 0, 0) = 0 chmod("/etc/pki/id/JUUR-SK.crl_url", 0644) = 0 utime("/etc/pki/id/JUUR-SK.crl_url", [2012/01/08-21:52:19, 2012/01/08-21:52:19]) = 0 ########################################### [100%] open("/var/cache/hrmib/fetch-crl-id.ee-1.0-0.2.noarch", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 9 utime("/var/cache/hrmib/fetch-crl-id.ee-1.0-0.2.noarch", [2012/01/08-23:07:07, 2012/01/08-23:07:07]) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Group", {st_mode=S_IFREG|0644, st_size=45056, ...}) = 0 open("/var/lib/rpm/Group", O_RDWR) = 9 open("/var/lib/rpm/Group", O_RDWR|O_CREAT, 0) = 9 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Requirename", {st_mode=S_IFREG|0644, st_size=737280, ...}) = 0 open("/var/lib/rpm/Requirename", O_RDWR) = 10 open("/var/lib/rpm/Requirename", O_RDWR|O_CREAT, 0) = 10 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Providename", {st_mode=S_IFREG|0644, st_size=663552, ...}) = 0 open("/var/lib/rpm/Providename", O_RDWR) = 11 open("/var/lib/rpm/Providename", O_RDWR|O_CREAT, 0) = 11 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Dirnames", {st_mode=S_IFREG|0644, st_size=2592768, ...}) = 0 open("/var/lib/rpm/Dirnames", O_RDWR) = 12 open("/var/lib/rpm/Dirnames", O_RDWR|O_CREAT, 0) = 12 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Requireversion", {st_mode=S_IFREG|0644, st_size=262144, ...}) = 0 open("/var/lib/rpm/Requireversion", O_RDWR) = 13 open("/var/lib/rpm/Requireversion", O_RDWR|O_CREAT, 0) = 13 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Provideversion", {st_mode=S_IFREG|0644, st_size=159744, ...}) = 0 open("/var/lib/rpm/Provideversion", O_RDWR) = 14 open("/var/lib/rpm/Provideversion", O_RDWR|O_CREAT, 0) = 14 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Installtid", {st_mode=S_IFREG|0644, st_size=53248, ...}) = 0 open("/var/lib/rpm/Installtid", O_RDWR) = 15 open("/var/lib/rpm/Installtid", O_RDWR|O_CREAT, 0) = 15 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Sigmd5", {st_mode=S_IFREG|0644, st_size=147456, ...}) = 0 open("/var/lib/rpm/Sigmd5", O_RDWR) = 16 open("/var/lib/rpm/Sigmd5", O_RDWR|O_CREAT, 0) = 16 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/lib/rpm", W_OK) = 0 access("/var/lib/rpm/__db.001", F_OK) = 0 stat("/var/lib/rpm/Filemd5s", {st_mode=S_IFREG|0640, st_size=10489856, ...}) = 0 open("/var/lib/rpm/Filemd5s", O_RDWR) = 17 open("/var/lib/rpm/Filemd5s", O_RDWR|O_CREAT, 0) = 17 -- glen From n3npq at me.com Sun Jan 8 22:32:52 2012 From: n3npq at me.com (Jeffrey Johnson) Date: Sun, 08 Jan 2012 16:32:52 -0500 Subject: why is my symlink gone???? In-Reply-To: <4F0A0622.6060905@pld-linux.org> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> Message-ID: On Jan 8, 2012, at 4:09 PM, glen wrote: > On 01/08/2012 10:36 PM, Jeffrey Johnson wrote: >> >> *From: *Jeffrey Johnson > >> *Subject: **Re: why is my symlink gone????* >> *Date: *January 8, 2012 3:35:57 PM EST >> *To: *"PLD: Developers list (English)" > >> >> >> >> On Jan 8, 2012, at 3:25 PM, glen wrote: >> >>> 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!? >> >> Adding -vv --fsmdebug will display every sys call undertaken >> while installing/erasing a package. >> >> If you do not see the symlink path being removed with --fsmdebug, >> then rpm did not do the removal. Period. Fullstop. > > it's rather that rpm did not add it, > on fresh install, neither on further upgrades or reinstalls > > links were not visible in rpm2cpio dump as well, not sure if that matters (log in bottom of first email) > OK. If the symlink isn't in the *.rpm pkg, then its easy to understand why the symlink wasn't installed. Note that -vv --fsmdebug SHOULD work with rpm build, just the operations putting a file into a payload will be different than extracting from a payload. (but the issue is gonna be something screwy in the *.spec: just a guess) hth 73 de Jeff From glen at pld-linux.org Sun Jan 8 22:40:13 2012 From: glen at pld-linux.org (glen) Date: Sun, 08 Jan 2012 23:40:13 +0200 Subject: why is my symlink gone???? In-Reply-To: References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> Message-ID: <4F0A0D3D.2000201@pld-linux.org> On 01/08/2012 11:32 PM, Jeffrey Johnson wrote: > OK. If the symlink isn't in the *.rpm pkg, then its easy to understand why the > symlink wasn't installed. it is in a package (as common sense), see rpm -qpl listing in first post! -- glen From n3npq at me.com Sun Jan 8 22:55:23 2012 From: n3npq at me.com (Jeffrey Johnson) Date: Sun, 08 Jan 2012 16:55:23 -0500 Subject: why is my symlink gone???? In-Reply-To: <4F0A0D3D.2000201@pld-linux.org> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> <4F0A0D3D.2000201@pld-linux.org> Message-ID: <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> On Jan 8, 2012, at 4:40 PM, glen wrote: > On 01/08/2012 11:32 PM, Jeffrey Johnson wrote: >> OK. If the symlink isn't in the *.rpm pkg, then its easy to understand why the >> symlink wasn't installed. > > it is in a package (as common sense), see rpm -qpl listing in first post! > ok. technically its in the metadata but not in the payload (because rpm3cpio doesn't display). The paths in the cpio headers are used to index the metadata to use while installing. That explains why not installed: the path that would trigger symlink creation isn't in the payload. So its a rpmbuild issue because the metadata and the payload disagree. I might be able to spot the problem if you give me the exact path, and send me rpmbuild -ba -vv --fsmdebug --rpmiodebug foo.spec output. You might also try rearranging lines in the *.spec: there's lots of screwy issues that occur when a \r or an unclosed quote/bracket sneak into a *.spec. Without a grammar, there isn't any simple way to catch the screwiness, its all just an ad hoc parser. The output will be huge; I'd generate here but it would take hours to create some environment that could build with rpm-4.4.9. Its all Mac OS X here @jbj.org these days ... hth 73 de Jeff From glen at pld-linux.org Sun Jan 8 23:07:55 2012 From: glen at pld-linux.org (glen) Date: Mon, 09 Jan 2012 00:07:55 +0200 Subject: why is my symlink gone???? In-Reply-To: <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> <4F0A0D3D.2000201@pld-linux.org> <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> Message-ID: <4F0A13BB.8080508@pld-linux.org> On 01/08/2012 11:55 PM, Jeffrey Johnson wrote: > You might also try rearranging lines in the *.spec: there's > lots of screwy issues that occur when a \r or an unclosed > quote/bracket sneak into a *.spec. Without a grammar, there > isn't any simple way to catch the screwiness, its all just > an ad hoc parser. i tried to find what is so special in there, %files is just the topdir where all goes in simple spec goes fine http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/test/test.spec?revision=1.16.4.69.2.4.2.1.4.1&view=markup just those reported initially do not: http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/test/test.spec?revision=1.16.4.69.2.4.2.1.4.2&view=markup $ rpm -qpl rpm-symlinks-1-10.noarch.rpm |xargs ls -ld ls: cannot access /tmp/rpm-symlinks/kk/119afc2e.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/590f5e9e.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/9834803d.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/ESTEID-SK.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/ESTEID-SK_2007.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/ESTEID-SK_2011.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/JUUR-SK.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/a10d94b7.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/testlink2: No such file or directory drwxr-xr-x 3 root root 74 jaan 8 23:59 /tmp/rpm-symlinks lrwxrwxrwx 1 root root 14 jaan 8 23:59 /tmp/rpm-symlinks/fflink -> /etc/fstab.crt lrwxrwxrwx 1 root root 10 jaan 8 23:59 /tmp/rpm-symlinks/fstablink -> /etc/fstab drwxr-xr-x 2 root root 24 jaan 8 23:59 /tmp/rpm-symlinks/kk lrwxrwxrwx 1 root root 10 jaan 8 23:59 /tmp/rpm-symlinks/kk/fstablink.1 -> /etc/fstab -rw-r--r-- 1 root root 0 jaan 8 23:58 /tmp/rpm-symlinks/testfile lrwxrwxrwx 1 root root 8 jaan 8 23:59 /tmp/rpm-symlinks/testlink -> testfile glen at wintersunset packages/test $ rpm -qpl /home/glen/rpm/pld/packages/RPMS/rpm-symlinks-1-10.noarch.rpm -v drwxr-xr-x 2 root root 0 jaan 8 23:59 /tmp/rpm-symlinks lrw-r--r-- 1 root root 14 jaan 8 23:59 /tmp/rpm-symlinks/fflink -> /etc/fstab.crt lrw-r--r-- 1 root root 10 jaan 8 23:59 /tmp/rpm-symlinks/fstablink -> /etc/fstab drwxr-xr-x 2 root root 0 jaan 8 23:59 /tmp/rpm-symlinks/kk lrw-r--r-- 1 root root 11 jaan 8 23:59 /tmp/rpm-symlinks/kk/119afc2e.0 -> JUUR-SK.pem lrw-r--r-- 1 root root 18 jaan 8 23:59 /tmp/rpm-symlinks/kk/590f5e9e.0 -> ESTEID-SK_2007.pem lrw-r--r-- 1 root root 13 jaan 8 23:59 /tmp/rpm-symlinks/kk/9834803d.0 -> ESTEID-SK.pem lrw-r--r-- 1 root root 47 jaan 8 23:59 /tmp/rpm-symlinks/kk/ESTEID-SK.pem -> /usr/share/ca-certificates/esteid/ESTEID-SK.crt lrw-r--r-- 1 root root 52 jaan 8 23:59 /tmp/rpm-symlinks/kk/ESTEID-SK_2007.pem -> /usr/share/ca-certificates/esteid/ESTEID-SK_2007.crt lrw-r--r-- 1 root root 52 jaan 8 23:59 /tmp/rpm-symlinks/kk/ESTEID-SK_2011.pem -> /usr/share/ca-certificates/esteid/ESTEID-SK_2011.crt lrw-r--r-- 1 root root 45 jaan 8 23:59 /tmp/rpm-symlinks/kk/JUUR-SK.pem -> /usr/share/ca-certificates/esteid/JUUR-SK.crt lrw-r--r-- 1 root root 18 jaan 8 23:59 /tmp/rpm-symlinks/kk/a10d94b7.0 -> ESTEID-SK_2011.pem lrw-r--r-- 1 root root 10 jaan 8 23:59 /tmp/rpm-symlinks/kk/fstablink.1 -> /etc/fstab -rw-r--r-- 1 root root 0 jaan 8 23:59 /tmp/rpm-symlinks/testfile lrw-r--r-- 2 root root 8 jaan 8 23:59 /tmp/rpm-symlinks/testlink -> testfile lrw-r--r-- 2 root root 8 jaan 8 23:59 /tmp/rpm-symlinks/testlink2 -> testfile $ rpm -qpl rpm-symlinks-1-10.noarch.rpm | xargs ls -ld ls: cannot access /tmp/rpm-symlinks/kk/119afc2e.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/590f5e9e.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/9834803d.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/ESTEID-SK.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/ESTEID-SK_2007.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/ESTEID-SK_2011.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/JUUR-SK.pem: No such file or directory ls: cannot access /tmp/rpm-symlinks/kk/a10d94b7.0: No such file or directory ls: cannot access /tmp/rpm-symlinks/testlink2: No such file or directory drwxr-xr-x 3 root root 74 jaan 8 23:59 /tmp/rpm-symlinks lrwxrwxrwx 1 root root 14 jaan 8 23:59 /tmp/rpm-symlinks/fflink -> /etc/fstab.crt lrwxrwxrwx 1 root root 10 jaan 8 23:59 /tmp/rpm-symlinks/fstablink -> /etc/fstab drwxr-xr-x 2 root root 24 jaan 8 23:59 /tmp/rpm-symlinks/kk lrwxrwxrwx 1 root root 10 jaan 8 23:59 /tmp/rpm-symlinks/kk/fstablink.1 -> /etc/fstab -rw-r--r-- 1 root root 0 jaan 8 23:58 /tmp/rpm-symlinks/testfile lrwxrwxrwx 1 root root 8 jaan 8 23:59 /tmp/rpm-symlinks/testlink -> testfile > The output will be huge; I'd generate here but it would take hours > to create some environment that could build with rpm-4.4.9. we're on rpm 4.5 :) you can grab just chroot image, it has deps installed just for rpm 4.5 building: ftp://ftp.pld-linux.org/people/glen/pld-th-chroot-build-20111007.tar.bz2 -- glen From glen at pld-linux.org Sun Jan 8 23:37:43 2012 From: glen at pld-linux.org (glen) Date: Mon, 09 Jan 2012 00:37:43 +0200 Subject: why is my symlink gone???? In-Reply-To: <4F0A13BB.8080508@pld-linux.org> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> <4F0A0D3D.2000201@pld-linux.org> <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> <4F0A13BB.8080508@pld-linux.org> Message-ID: <4F0A1AB7.1000706@pld-linux.org> On 01/09/2012 12:07 AM, glen wrote: > i tried to find what is so special in there, %files is just the topdir > where all goes in nailed it! i mean i found symptom that could really explain it. http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/test/test.spec?revision=1.16.4.69.2.4.2.1.4.3&view=markup so symlinks who have nlink > 1 are problematic: not installed into system: # l /tmp/rpm-symlinks/ ls: cannot access /tmp/rpm-symlinks/: No such file or directory # rpm -Uhv rpm-symlinks-2-10.noarch.rpm Preparing... ########################################### [100%] 1:rpm-symlinks ########################################### [100%] # l /tmp/rpm-symlinks/ total 0 lrwxrwxrwx 1 root root 10 jaan 9 00:34 2.pem -> /etc/fstab lrwxrwxrwx 1 root root 10 jaan 9 00:34 3.pem -> /etc/fstab the build log (did not post debug, as imho plain log is sufficent): $ /usr/bin/rpmbuild -bb test.spec Executing(%prep): env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/home/glen/bin:/usr/lib64/mailman/bin:/usr/games HOME=/home/glen TMP=/home/glen/tmp TMPDIR=/home/glen/tmp SSH_AUTH_SOCK=/tmp/ssh-gZwNKm6359/agent.6359 /bin/sh -e /home/glen/tmp/rpm-tmp.33617 + umask 022 + cd /home/glen/rpm/pld/packages/BUILD + cd /home/glen/rpm/pld/packages/BUILD + rm -rf rpm-symlinks-2 + /bin/mkdir -p rpm-symlinks-2 + cd rpm-symlinks-2 + /bin/id -u + [ 500 = 0 ] + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): env -i SSH_AUTH_SOCK=/tmp/ssh-gZwNKm6359/agent.6359 PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/home/glen/bin:/usr/lib64/mailman/bin:/usr/games HOME=/home/glen TMP=/home/glen/tmp TMPDIR=/home/glen/tmp /bin/sh -e /home/glen/tmp/rpm-tmp.33617 + umask 022 + cd /home/glen/rpm/pld/packages/BUILD + cd rpm-symlinks-2 + ln -s /etc/fstab 1.pem + ln -s /etc/fstab 2.pem + exit 0 Executing(%install): env -i SSH_AUTH_SOCK=/tmp/ssh-gZwNKm6359/agent.6359 PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/home/glen/bin:/usr/lib64/mailman/bin:/usr/games HOME=/home/glen TMP=/home/glen/tmp TMPDIR=/home/glen/tmp /bin/sh -e /home/glen/tmp/rpm-tmp.91448 + umask 022 + cd /home/glen/rpm/pld/packages/BUILD + /bin/rm --interactive=never -rf /home/glen/tmp/rpm-symlinks-2-root-glen + cd rpm-symlinks-2 + rm -rf /home/glen/tmp/rpm-symlinks-2-root-glen + install -d /home/glen/tmp/rpm-symlinks-2-root-glen/tmp/rpm-symlinks + cp -pl 1.pem /home/glen/tmp/rpm-symlinks-2-root-glen/tmp/rpm-symlinks + cp -a 2.pem /home/glen/tmp/rpm-symlinks-2-root-glen/tmp/rpm-symlinks + ln -s /etc/fstab /home/glen/tmp/rpm-symlinks-2-root-glen/tmp/rpm-symlinks/3.pem + ls -li /home/glen/tmp/rpm-symlinks-2-root-glen/tmp/rpm-symlinks total 0 204945483 lrwxrwxrwx 2 glen glen 10 Jan 9 00:35 1.pem -> /etc/fstab 305665668 lrwxrwxrwx 1 glen glen 10 Jan 9 00:35 2.pem -> /etc/fstab 305665669 lrwxrwxrwx 1 glen glen 10 Jan 9 00:35 3.pem -> /etc/fstab + /usr/lib/rpm/find-debuginfo.sh /home/glen/rpm/pld/packages/BUILD/rpm-symlinks-2 RPM_BUILD_DIR=/home/glen/BUILD + __spec_install_post_strip + __spec_install_post_chrpath + __spec_install_post_check_so Searching for shared objects with unresolved symbols... DONE + __spec_install_post_compress_docs + __spec_install_post_compress_modules + __spec_install_post_py_hardlink Processing files: rpm-symlinks-2-10 Searching for required packages.... Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/glen/tmp/rpm-symlinks-2-root-glen Wrote: /home/glen/rpm/pld/packages/RPMS/rpm-symlinks-2-10.noarch.rpm Executing(%clean): env -i SSH_AUTH_SOCK=/tmp/ssh-gZwNKm6359/agent.6359 PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/home/glen/bin:/usr/lib64/mailman/bin:/usr/games HOME=/home/glen TMP=/home/glen/tmp TMPDIR=/home/glen/tmp /bin/sh -e /home/glen/tmp/rpm-tmp.91448 + umask 022 + cd /home/glen/rpm/pld/packages/BUILD + cd rpm-symlinks-2 + /bin/rm --interactive=never -rf /home/glen/tmp/rpm-symlinks-2-root-glen + rm -rf /home/glen/tmp/rpm-symlinks-2-root-glen -- glen From n3npq at me.com Mon Jan 9 00:11:52 2012 From: n3npq at me.com (Jeffrey Johnson) Date: Sun, 08 Jan 2012 18:11:52 -0500 Subject: why is my symlink gone???? In-Reply-To: <4F0A1AB7.1000706@pld-linux.org> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> <4F0A0D3D.2000201@pld-linux.org> <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> <4F0A13BB.8080508@pld-linux.org> <4F0A1AB7.1000706@pld-linux.org> Message-ID: On Jan 8, 2012, at 5:37 PM, glen wrote: > On 01/09/2012 12:07 AM, glen wrote: >> i tried to find what is so special in there, %files is just the topdir where all goes in > > nailed it! > Nice! > i mean i found symptom that could really explain it. > Wuss ;-) You nailed the common identifying factor. Poifect! > http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/test/test.spec?revision=1.16.4.69.2.4.2.1.4.3&view=markup > > so symlinks who have nlink > 1 are problematic: not installed into system: > This is a hard link to a symlink which is pretty obscure functionality. (aside) I'm not sure I've ever seen or needed a hard linked symlink in a lifetime of using uglix. But what rpm does with hard links is this: With cpio, there are headers with paths in the payload before the (usually, not here) file that carries the content to be written to the file system. The hard links are saved as encountered, waiting for the last header to appear. When the last header appears, the other hard links are created as a side effect of writing the content. There are complexities here that have to do with --excludepath as well as policies related to selecting some but not all of the hard linked files for installation. The point is that not all the files in a hardline set are always installed. Since the trigger here is the appearance of a file with content attached, I'm not too surprised (since I wrote the code and have never seen/needed a hardlinked symlink in my life on uglix) that this isn't handled correctly by the file state machine code (aka "fsm") in rpm. The simple answer is Don't use hard linked symlinks in packages. The more general answer is considerably messier because of the need to consider the case of not just a file but also a symlink which might be hard linked. Doable for sure, just not sure there is need. The issue affects all versions of rpm everywhere afaik. Bug added here https://bugs.launchpad.net/rpm/+bug/913572 73 de Jeff From glen at pld-linux.org Mon Jan 9 00:45:54 2012 From: glen at pld-linux.org (glen) Date: Mon, 09 Jan 2012 01:45:54 +0200 Subject: why is my symlink gone???? In-Reply-To: References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> <4F0A0D3D.2000201@pld-linux.org> <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> <4F0A13BB.8080508@pld-linux.org> <4F0A1AB7.1000706@pld-linux.org> Message-ID: <4F0A2AB2.9010802@pld-linux.org> On 01/09/2012 01:11 AM, Jeffrey Johnson wrote: > This is a hard link to a symlink which is pretty obscure functionality. nevertheless, it's quite useful when optimizing for packaging speed when you develop huge packages, you would appreciate faster repackaging so instead of copying data from %build -> %install tree, one can do hardlinks to speedup the process: cp -l build.txt $RPM_BUILD_ROOT/cp-test && l=l && rm -f $RPM_BUILD_ROOT/cp-test cp -a$l bin help lib license plugins $RPM_BUILD_ROOT%{_appdir} here it makes feature test if srcdir and $RPM_BUILD_ROOT are same disk, and enables hardlinking now if there is a symlink in a tree, it gets affected by this bug. also: in rpm package there is packaged only one instance of the hardlink (one in $RPM_BUILD_ROOT), imho should decide on that actual number, not what it sees from filesystem -- glen From n3npq at me.com Mon Jan 9 01:03:41 2012 From: n3npq at me.com (Jeffrey Johnson) Date: Sun, 08 Jan 2012 19:03:41 -0500 Subject: why is my symlink gone???? In-Reply-To: <4F0A2AB2.9010802@pld-linux.org> References: <896530A1-5641-4AE6-9532-2EEAA9F76609@me.com> <4F0A0622.6060905@pld-linux.org> <4F0A0D3D.2000201@pld-linux.org> <701686A6-5E56-4B60-ABF4-705C6FF71EB6@me.com> <4F0A13BB.8080508@pld-linux.org> <4F0A1AB7.1000706@pld-linux.org> <4F0A2AB2.9010802@pld-linux.org> Message-ID: <988DEB13-6B0D-4223-9F4D-AF5D35423432@me.com> (text copied verbatim into the #913572 as justification) On Jan 8, 2012, at 6:45 PM, glen wrote: > On 01/09/2012 01:11 AM, Jeffrey Johnson wrote: >> This is a hard link to a symlink which is pretty obscure functionality. > nevertheless, it's quite useful when optimizing for packaging speed > when you develop huge packages, you would appreciate faster repackaging > If you mean the speed with which rpm build produces multiple sub-pkgs, multi-threading likely is higher throughput than most anything else: all the digests have to be calculated, and that means all the content needs to be read, so there's likely little I/O savings. Dunno: the right approach is to do the measurement rather than guess at a performance speedup. Note that rpm-5.x has other performance issues that scale as some power of the #files that also slow down rpm build packaging with huge numbers of files (like kernel or texlive). > so instead of copying data from %build -> %install tree, one can do hardlinks to speedup the process: > But calculating the digests is gonna read the content anyways: there's some chance that the copied buffers will still be in cache. Off-hand, its likely that all hard linked files will have their digest computed repeatedly by rpmbuild. *shrug* Meanwhile the flaw here is a hard linked symlink: avoiding I/O there is pointless (but you do have to be careful to use hard links only on files, never on symlinks) > cp -l build.txt $RPM_BUILD_ROOT/cp-test && l=l && rm -f $RPM_BUILD_ROOT/cp-test > cp -a$l bin help lib license plugins $RPM_BUILD_ROOT%{_appdir} > > here it makes feature test if srcdir and $RPM_BUILD_ROOT are same disk, and enables hardlinking > > now if there is a symlink in a tree, it gets affected by this bug. > Yup. > also: in rpm package there is packaged only one instance of the hardlink (one in $RPM_BUILD_ROOT), > imho should decide on that actual number, not what it sees from filesystem > There are other issues such as when there are hard links outside of $RPM_BUILD_ROOT. There is no tag that carries st->st_nlink in rpm metadata. Instead st->st_nlink is computed by looking for identical {dev,ion} pairs for the 1-2 places where blink needs to be displayed by rpm. Might not be too hard to fix ? just not sure whether the gain is worth the risk of breaking something else. Handling "partial hardline sets" was very hard to get right. hth 73 de Jeff From wojciech at blaszkowski.com Mon Jan 9 12:42:36 2012 From: wojciech at blaszkowski.com (Wojciech =?utf-8?q?B=C5=82aszkowski?=) Date: Mon, 9 Jan 2012 12:42:36 +0100 Subject: chrony - /etc/init.d/chronyd missing Message-ID: <201201091242.36945@wojtosz> Hello, Anybody (glen?) can explain the missing file /etc/init.d/chronyd in chrony-1.26-3 ? -- Pozdrawiam, Wojciech B?aszkowski www.blaszkowski.com GSM: +48 600 197 207 JID: wojtosz at jabber.biz.pl From glen at delfi.ee Mon Jan 9 14:42:09 2012 From: glen at delfi.ee (=?UTF-8?B?RWxhbiBSdXVzYW3DpGU=?=) Date: Mon, 09 Jan 2012 15:42:09 +0200 Subject: chrony - /etc/init.d/chronyd missing In-Reply-To: <201201091242.36945@wojtosz> References: <201201091242.36945@wojtosz> Message-ID: <4F0AEEB1.2080806@delfi.ee> On 09.01.2012 13:42, Wojciech B?aszkowski wrote: > Hello, > > Anybody (glen?) can explain the missing file /etc/init.d/chronyd in > chrony-1.26-3 ? > nope. can't. but fixed in rel 4 -- glen From wojciech at blaszkowski.com Mon Jan 9 15:38:07 2012 From: wojciech at blaszkowski.com (Wojciech =?utf-8?q?B=C5=82aszkowski?=) Date: Mon, 9 Jan 2012 15:38:07 +0100 Subject: chrony - /etc/init.d/chronyd missing In-Reply-To: <4F0AEEB1.2080806@delfi.ee> References: <201201091242.36945@wojtosz> <4F0AEEB1.2080806@delfi.ee> Message-ID: <201201091538.07303@wojtosz> Dnia Monday 09 of January 2012, Elan Ruusam?e napisa?: > On 09.01.2012 13:42, Wojciech B?aszkowski wrote: > > Hello, > > > > Anybody (glen?) can explain the missing file /etc/init.d/chronyd in > > chrony-1.26-3 ? > > nope. can't. but fixed in rel 4 Thanks! -- Pozdrawiam, Wojciech B?aszkowski www.blaszkowski.com GSM: +48 600 197 207 JID: wojtosz at jabber.biz.pl From arekm at maven.pl Mon Jan 9 19:06:44 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Mon, 9 Jan 2012 19:06:44 +0100 Subject: PLD Th IRC info Message-ID: <201201091906.44909.arekm@maven.pl> "PLD on IRC Many developers and users can be found on freenode IRC network. PLD Th uses channel #pld. You can read everything while writting requires you to register at freenode nickserv to be able to speak on channel. Note: Previously there was a bot linking #pld channel on freenode and ircnet network. This is no longer a case." Trolls are not welcome. -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ From qboosh at pld-linux.org Mon Jan 16 17:40:09 2012 From: qboosh at pld-linux.org (Jakub Bogusz) Date: Mon, 16 Jan 2012 17:40:09 +0100 Subject: libpng 1.5 deployment status Message-ID: <20120116164009.GA7054@mail> What is the status of libpng 1.5 in Th? I've seen some try of rebuild some time ago, but it's been reverted. Were there any significant problems? I'm doing lazy migration on localhost and since now there was only one patch needed (DirectFB). Note that I have much too little time to maintain whole migration process myself; although if needed, I could prepare fixes for a few packages I'm using. -- Jakub Bogusz http://qboosh.pl/ From arekm at maven.pl Mon Jan 16 17:43:38 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Mon, 16 Jan 2012 17:43:38 +0100 Subject: libpng 1.5 deployment status In-Reply-To: <20120116164009.GA7054@mail> References: <20120116164009.GA7054@mail> Message-ID: <201201161743.39268.arekm@maven.pl> On Monday 16 of January 2012, Jakub Bogusz wrote: > What is the status of libpng 1.5 in Th? > I've seen some try of rebuild some time ago, but it's been reverted. > Were there any significant problems? > I'm doing lazy migration on localhost and since now there was only one > patch needed (DirectFB). Some specs linked with -lpng14 instead of -lpng afaik. > Note that I have much too little time to maintain whole migration process > myself; although if needed, I could prepare fixes for a few packages I'm > using. buildlogs.pld- should still have failed buildlogs. These need fixes. -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ From glen at pld-linux.org Tue Jan 17 17:49:17 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Tue, 17 Jan 2012 18:49:17 +0200 Subject: packages: systemd/systemd.spec - use lib because of problems on x86_64 install In-Reply-To: References: Message-ID: <4F15A68D.2000104@pld-linux.org> On 17.01.2012 03:29, cactus wrote: > Author: cactus Date: Tue Jan 17 01:29:20 2012 GMT > Module: packages Tag: HEAD > ---- Log message: > - use lib because of problems on x86_64 install revert this utter bullshit! relocate in %install if you're unable to fix build system > %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} > -%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la > +%{__rm} $RPM_BUILD_ROOT/lib/security/pam_systemd.la > %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la > > %clean > @@ -411,7 +411,7 @@ > %attr(664,root,utmp) %ghost /var/log/wtmp > > %if %{with pam} > -%attr(755,root,root) /%{_lib}/security/pam_systemd.so > +%attr(755,root,root) /lib/security/pam_systemd.so > %{_mandir}/man8/pam_systemd.8* > %endif > pam needs to be in /%{_lib}/security/ or IT WILL NOT WORK for your %arch -- glen From przemo at firszt.eu Fri Jan 20 15:34:46 2012 From: przemo at firszt.eu (Przemo Firszt) Date: Fri, 20 Jan 2012 14:34:46 +0000 Subject: [PATCH] xorg-driver-input-wacom.spec 10.10 -> 13.0 Message-ID: <1327070090.8629.6.camel@pldmachine> -- Regards, Przemo -------------- next part -------------- A non-text attachment was scrubbed... Name: xorg-driver-input-wacom.spec.patch Type: text/x-patch Size: 991 bytes Desc: not available URL: From baggins at pld-linux.org Fri Jan 20 20:13:52 2012 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Fri, 20 Jan 2012 20:13:52 +0100 Subject: [PATCH] xorg-driver-input-wacom.spec 10.10 -> 13.0 In-Reply-To: <1327070090.8629.6.camel@pldmachine> References: <1327070090.8629.6.camel@pldmachine> Message-ID: <20120120191351.GA3303@home.lan> Applied and rebuilt. Thanks -- Jan R?korajski | ALL SUSPECTS ARE GUILTY. PERIOD! bagginsmimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, MANIAC | -- TROOPS by Kevin Rubio From glen at pld-linux.org Mon Jan 23 15:38:25 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Mon, 23 Jan 2012 16:38:25 +0200 Subject: packages: libtorrent/libtorrent.spec - up to 0.13.0 In-Reply-To: References: Message-ID: <4F1D70E1.4000509@pld-linux.org> On 22.01.2012 13:18, zbyniu wrote: > ================================================================ > Index: packages/libtorrent/libtorrent.spec > diff -u packages/libtorrent/libtorrent.spec:1.82 packages/libtorrent/libtorrent.spec:1.83 > --- packages/libtorrent/libtorrent.spec:1.82 Sat Jul 23 18:47:29 2011 > +++ packages/libtorrent/libtorrent.spec Sun Jan 22 12:18:28 2012 > @@ -8,13 +8,13 @@ > Summary(pl.UTF-8): LibTorrent - biblioteka BitTorrenta napisana w C++ dla Uniksa > Name: libtorrent > # keep stable line, see URL below > -Version: 0.12.9 > -Release: 2 > +Version: 0.13.0 > +Release: 1 purpose of stable override on HEAD? -- glen From glen at pld-linux.org Mon Jan 23 15:40:58 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Mon, 23 Jan 2012 16:40:58 +0200 Subject: packages: libtorrent/libtorrent.spec - up to 0.13.0 In-Reply-To: <4F1D70E1.4000509@pld-linux.org> References: <4F1D70E1.4000509@pld-linux.org> Message-ID: <4F1D717A.6050204@pld-linux.org> On 23.01.2012 16:38, Elan Ruusam?e wrote: > On 22.01.2012 13:18, zbyniu wrote: >> ================================================================ >> Index: packages/libtorrent/libtorrent.spec >> diff -u packages/libtorrent/libtorrent.spec:1.82 >> packages/libtorrent/libtorrent.spec:1.83 >> --- packages/libtorrent/libtorrent.spec:1.82 Sat Jul 23 18:47:29 2011 >> +++ packages/libtorrent/libtorrent.spec Sun Jan 22 12:18:28 2012 >> @@ -8,13 +8,13 @@ >> Summary(pl.UTF-8): LibTorrent - biblioteka BitTorrenta napisana >> w C++ dla Uniksa >> Name: libtorrent >> # keep stable line, see URL below >> -Version: 0.12.9 >> -Release: 2 >> +Version: 0.13.0 >> +Release: 1 > purpose of stable override on HEAD? > answering myself: http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/libtorrent/libtorrent.spec?r1=1.84&r2=1.85 so ignore -- glen From arekm at maven.pl Thu Jan 26 21:00:32 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Thu, 26 Jan 2012 21:00:32 +0100 Subject: big move comming Message-ID: <201201262100.33007.arekm@maven.pl> Hello. There will be big th ftp move soon. "Todo" lists are at usual place. Packages that don't build (and thus won't have deps fulfilled) will be dropped from main. If you know about some important bugs - fix these. Thanks, -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ From baggins at pld-linux.org Fri Jan 27 14:26:15 2012 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Fri, 27 Jan 2012 14:26:15 +0100 Subject: systemd summary/podsumowanie Message-ID: <20120127132615.GN30184@sith.mimuw.edu.pl> en: Short summary of systemd discussion, what we should do IMO: - systemd units will go into main package (no more superfluous -systemd rpms) - packages providing systemd units will have R:systemd-units - packages providing systemd units will have a trigger migrating (by enabling new systemd service) from SysV iff SysV service exists and is enabled - admin will be able to disable the migration via RPM_ENABLE_SYSTEMD_SERVICE var in /etc/sysconfig/rpm (default - yes/migrate) - newly installed packages will always enable its systemd (and SysV) services Questions? Comments? pl: Kr?tkie podsumowanie dyskusji o systemd, jak to wg. mnie powinno wygl?da?: - unity systemd b?d? w podstawowym pakiecie (bez zb?dnych podpakiet?w -systemd) - pakiety dostarczaj?ce unity systemd b?d? mia?y R:systemd-units - pakiety dostarczaj?ce unity systemd b?d? mia?y trigger prze??czaj?cy us?ugi z SysV (poprzez w??czenie us?ugi systemd) wttw gdy us?uga SysV jest i jest w??czona - admin b?dzie m?g? wy??czy? migracj? przez zmienn? RPM_ENABLE_SYSTEMD_SERVICE w /etc/sysconfig/rpm (warto?? domy?lna - tak/migruj) - nowo instalowane pakiety zawsze w??czaj? serwisy systemd (i sysv) Pytania? Uwagi? -- Jan R?korajski | ALL SUSPECTS ARE GUILTY. PERIOD! bagginsmimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, MANIAC | -- TROOPS by Kevin Rubio From glen at pld-linux.org Fri Jan 27 16:30:19 2012 From: glen at pld-linux.org (=?UTF-8?B?RWxhbiBSdXVzYW3DpGU=?=) Date: Fri, 27 Jan 2012 17:30:19 +0200 Subject: systemd summary/podsumowanie In-Reply-To: <20120127132615.GN30184@sith.mimuw.edu.pl> References: <20120127132615.GN30184@sith.mimuw.edu.pl> Message-ID: <4F22C30B.2080206@pld-linux.org> On 27.01.2012 15:26, Jan R?korajski wrote: > Questions? Comments? what if i don't want systemd, i want legacy sysvinit/rc-scripts otherwise it would simply mean i have to pick between broken systems or no pld upgrades over 1year -- glen From wrob311 at gmail.com Fri Jan 27 16:46:36 2012 From: wrob311 at gmail.com (Artur Wroblewski) Date: Fri, 27 Jan 2012 15:46:36 +0000 Subject: systemd summary/podsumowanie In-Reply-To: <4F22C30B.2080206@pld-linux.org> Message-ID: <4f22c6d8.2612b40a.0c9a.ffffc0c1@mx.google.com> On 27 Jan 2012 15:30, Elan Ruusam??e wrote: On 27.01.2012 15:26, Jan R?korajski wrote: > > Questions? Comments? > what if i don't want systemd, i want legacy sysvinit/rc-scripts imho, systemd decision is similar to choosing xorg over old xfree86, texlive over tetex, udev over devfs and so on. you might have valid reasons to use old system, but benefits of new one are too good for too many people... maintaining two different approaches is pointless and waste of time. w From jajcus at jajcus.net Fri Jan 27 17:24:46 2012 From: jajcus at jajcus.net (Jacek Konieczny) Date: Fri, 27 Jan 2012 17:24:46 +0100 Subject: systemd summary/podsumowanie In-Reply-To: <4F22C30B.2080206@pld-linux.org> References: <20120127132615.GN30184@sith.mimuw.edu.pl> <4F22C30B.2080206@pld-linux.org> Message-ID: <20120127162446.GA5740@lolek.nigdzie> On Fri, Jan 27, 2012 at 05:30:19PM +0200, Elan Ruusam?e wrote: > On 27.01.2012 15:26, Jan R?korajski wrote: > > Questions? Comments? > what if i don't want systemd, i want legacy sysvinit/rc-scripts Just do not install the 'systemd' package and keep using SysVinit and rc-scripts. I see no reason to get rid of those, but please keep in mind that the more people switch to systemd the less supported SysVinit/rc-scripts will be. Greets, Jacek From glen at delfi.ee Fri Jan 27 18:16:49 2012 From: glen at delfi.ee (=?ISO-8859-2?Q?Elan_Ruusam=E4e?=) Date: Fri, 27 Jan 2012 19:16:49 +0200 Subject: systemd summary/podsumowanie In-Reply-To: <20120127162446.GA5740@lolek.nigdzie> References: <20120127132615.GN30184@sith.mimuw.edu.pl> <4F22C30B.2080206@pld-linux.org> <20120127162446.GA5740@lolek.nigdzie> Message-ID: <4F22DC01.9080308@delfi.ee> On 27.01.2012 18:24, Jacek Konieczny wrote: > On Fri, Jan 27, 2012 at 05:30:19PM +0200, Elan Ruusam?e wrote: >> On 27.01.2012 15:26, Jan R?korajski wrote: >>> Questions? Comments? >> what if i don't want systemd, i want legacy sysvinit/rc-scripts > Just do not install the 'systemd' package and keep using SysVinit and > rc-scripts. I see no reason to get rid of those, but please keep in mind > that the more people switch to systemd the less supported > SysVinit/rc-scripts will be. so, this does nothing then (other than diskspace)?: - packages providing systemd units will have R:systemd-units -- glen From gotar at polanet.pl Fri Jan 27 18:33:39 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Fri, 27 Jan 2012 18:33:39 +0100 Subject: systemd summary/podsumowanie In-Reply-To: <4F22DC01.9080308@delfi.ee> References: <20120127132615.GN30184@sith.mimuw.edu.pl> <4F22C30B.2080206@pld-linux.org> <20120127162446.GA5740@lolek.nigdzie> <4F22DC01.9080308@delfi.ee> Message-ID: <20120127173339.GA13998@polanet.pl> On Fri, Jan 27, 2012 at 19:16:49 +0200, Elan Ruusam?e wrote: >> Just do not install the 'systemd' package and keep using SysVinit and >> rc-scripts. I see no reason to get rid of those, but please keep in mind >> that the more people switch to systemd the less supported >> SysVinit/rc-scripts will be. > > so, this does nothing then (other than diskspace)?: > > - packages providing systemd units will have R:systemd-units Yes, this package costs you only some space. It contains systemctl binary and units (text files describing various services, devices, timers, sockets etc.) If you want to test systemd - install systemd and boot with init=/sbin/systemd. If you want to switch for good, install systemd-init. SysV scripts are not going to disappear fast (we use them for other things, like db init), but all ongoing development should focus on some decent init manager only. systemd was chosen over upstart because it's widely supported and handles legacy SysV/LSB scripts (required by 3rd party), being drop-in replacement. -- Tomasz Pala From gotar at polanet.pl Fri Jan 27 18:39:59 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Fri, 27 Jan 2012 18:39:59 +0100 Subject: systemd summary/podsumowanie In-Reply-To: <4F22C30B.2080206@pld-linux.org> References: <20120127132615.GN30184@sith.mimuw.edu.pl> <4F22C30B.2080206@pld-linux.org> Message-ID: <20120127173959.GB13998@polanet.pl> On Fri, Jan 27, 2012 at 17:30:19 +0200, Elan Ruusam?e wrote: > what if i don't want systemd, i want legacy sysvinit/rc-scripts > > otherwise it would simply mean i have to pick between broken systems or > no pld upgrades over 1year You have several choices: - do not install systemd at all, keep legacy init and SysV, - test path: install systemd and do some checks in service window, - no-migration path: install systemd-init and disable auto service migration: all services would start via old scripts, unless you switch them manually, the only thing changed would be rc.sysinit replaced by various parallelized systemd units. -- Tomasz Pala From arekm at maven.pl Sat Jan 28 14:55:23 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Sat, 28 Jan 2012 14:55:23 +0100 Subject: big move comming In-Reply-To: <201201262100.33007.arekm@maven.pl> References: <201201262100.33007.arekm@maven.pl> Message-ID: <201201281455.23838.arekm@maven.pl> On Thursday 26 of January 2012, Arkadiusz Mi?kiewicz wrote: > Hello. > > There will be big th ftp move soon. It happened. PLD-20120128 before move is available on ftp1.pld- > "Todo" lists are at usual place. > Packages that don't build (and thus won't have deps fulfilled) will be > dropped from main. > > If you know about some important bugs - fix these. http://pastebin.com/3Z695bc6 contains main+ready deps after move but before deletion of such packages: cacti-plugin-memcached-1.0-3.src.rpm.info deadbeef-0.5.1-5.src.rpm.info djview4-4.7-1.src.rpm.info epiphany-extensions-3.2.0-1.src.rpm.info evas-loaders-generic-1.1.0-2.src.rpm.info evince-gtk-3.0.2-3.src.rpm.info festival-1.4.4-0.20030803.4.src.rpm.info freeradius-server-2.1.10-3.src.rpm.info geoclue-0.12.0-5.src.rpm.info gnome-applets-3.2.1-1.src.rpm.info gnome-mag-0.16.2-2.src.rpm.info gypsy-0.7-1.src.rpm.info hylafax-4.4.6-1.src.rpm.info imlib-1.9.15-16.src.rpm.info iv-1.4.2-4.src.rpm.info kde4-kdeaccessibility-4.7.4-1.src.rpm.info kismet-2010_07_R1-3.src.rpm.info libpano13-2.9.18-1.src.rpm.info obsoleted-0-16.src.rpm.info padevchooser-0.9.4-0.svn20070925.1.src.rpm.info pdftk-1.41-7.src.rpm.info perl-Gtk2-Clutter-0.100.5-2.src.rpm.info perl-Mozilla-DOM-0.23-2.src.rpm.info perl-PDL-2.4.6-2.src.rpm.info php-pecl-haru-1.0.0-3.src.rpm.info pslib-0.4.3-2.src.rpm.info python-daemon-1.6-1.src.rpm.info python-pyodbc-2.0.30-4.src.rpm.info revelation-0.4.11-7.src.rpm.info ruby-gnome2-0.90.6-2.src.rpm.info scantailor-0.9.9.2-1.src.rpm.info tomboy-1.4.2-2.src.rpm.info urt-3.1b-6.src.rpm.info xorg-driver-video-nvidia-legacy3-173.14.31-9.src.rpm.info xpaint-2.8.18-1.src.rpm.info > > Thanks, -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ From glen at pld-linux.org Sun Jan 29 14:40:19 2012 From: glen at pld-linux.org (=?UTF-8?B?RWxhbiBSdXVzYW3DpGU=?=) Date: Sun, 29 Jan 2012 15:40:19 +0200 Subject: big move comming In-Reply-To: <201201281455.23838.arekm@maven.pl> References: <201201262100.33007.arekm@maven.pl> <201201281455.23838.arekm@maven.pl> Message-ID: <4F254C43.7080109@pld-linux.org> On 01/28/2012 03:55 PM, Arkadiusz Mi?kiewicz wrote: > gnome-applets-3.2.1-1.src.rpm.info what triggered this removal, don't see any reason from pastebin log > php-pecl-haru-1.0.0-3.src.rpm.info rebuild should be in th-test -- glen From glen at pld-linux.org Sun Jan 29 15:58:33 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Sun, 29 Jan 2012 16:58:33 +0200 Subject: flaws in xinitrc-ng Message-ID: <4F255E99.1030805@pld-linux.org> hi our latest and greatest release http://svn.pld-linux.org/trac/svn/browser/xinitrc-ng/trunk/xinitdefs?annotate=blame&rev=12296 78 # Run all system xinitrc shell scripts. 79 for i in /etc/X11/xinit/xinitrc.d/* ; do 80 if [ -x "$i" ]; then 81 . "$i" 82 fi 83 done this code has several flaws: 1) what if script sourced writes "exit 1"? * for first, it will prevent further scripts being executed as they are sourced * for second, WM will consider startup failed and will exit * for third, the scripts must be written in /bin/sh compatible way! (no .csh, no .pl) so whole session is aborted, user is not logged in, and rather hard to diagnose why log in failed! 2) common backups should be excluded, or only known file extensions processed otherwise you end up easily running same script twice. how to proceed here? for first problem, make all -x scripts executed, not sourced? for second problem allow only known extensions, or build blacklist of backup files? -- glen -- glen From baggins at pld-linux.org Sun Jan 29 16:34:14 2012 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Sun, 29 Jan 2012 16:34:14 +0100 Subject: flaws in xinitrc-ng In-Reply-To: <4F255E99.1030805@pld-linux.org> References: <4F255E99.1030805@pld-linux.org> Message-ID: <20120129153413.GA2940@home.lan> On Sun, 29 Jan 2012, Elan Ruusam?e wrote: > hi > > our latest and greatest release > http://svn.pld-linux.org/trac/svn/browser/xinitrc-ng/trunk/xinitdefs?annotate=blame&rev=12296 > > > > 78 # Run all system xinitrc shell scripts. ^^^^^^^ > 79 for i in /etc/X11/xinit/xinitrc.d/* ; do > 80 if [ -x "$i" ]; then > 81 . "$i" > 82 fi > 83 done > > this code has several flaws: > > 1) what if script sourced writes "exit 1"? > > * for first, it will prevent further scripts being executed as they are > sourced > * for second, WM will consider startup failed and will exit > * for third, the scripts must be written in /bin/sh compatible way! (no > .csh, no .pl) > > so whole session is aborted, user is not logged in, and rather hard to > diagnose why log in failed! > > 2) common backups should be excluded, or only known file extensions > processed > otherwise you end up easily running same script twice. > > how to proceed here? > for first problem, make all -x scripts executed, not sourced? > for second problem allow only known extensions, or build blacklist of > backup files? See underlined text. Fixed in SVN. And I checked, there are only .sh files there. -- Jan R?korajski | ALL SUSPECTS ARE GUILTY. PERIOD! bagginsmimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, MANIAC | -- TROOPS by Kevin Rubio From jajcus at jajcus.net Sun Jan 29 18:12:44 2012 From: jajcus at jajcus.net (Jacek Konieczny) Date: Sun, 29 Jan 2012 18:12:44 +0100 Subject: flaws in xinitrc-ng In-Reply-To: <4F255E99.1030805@pld-linux.org> References: <4F255E99.1030805@pld-linux.org> Message-ID: <20120129171244.GA5811@lolek.nigdzie> On Sun, Jan 29, 2012 at 04:58:33PM +0200, Elan Ruusam?e wrote: > how to proceed here? > for first problem, make all -x scripts executed, not sourced? Aren't the scripts supposed to set session environment in different ways? Running them in a subprocess won't help in this task? Greets, Jacek From baggins at pld-linux.org Sun Jan 29 18:20:35 2012 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Sun, 29 Jan 2012 18:20:35 +0100 Subject: flaws in xinitrc-ng In-Reply-To: <20120129171244.GA5811@lolek.nigdzie> References: <4F255E99.1030805@pld-linux.org> <20120129171244.GA5811@lolek.nigdzie> Message-ID: <20120129172035.GD2940@home.lan> On Sun, 29 Jan 2012, Jacek Konieczny wrote: > On Sun, Jan 29, 2012 at 04:58:33PM +0200, Elan Ruusam?e wrote: > > how to proceed here? > > for first problem, make all -x scripts executed, not sourced? > > Aren't the scripts supposed to set session environment in different > ways? Running them in a subprocess won't help in this task? Thanks for a voice of sanity. I'm touching that code so seldom, I'd make a bad mistake :/ -- Jan R?korajski | PLD/Linux bagginsmimuw.edu.pl | http://www.pld-linux.org/ bagginspld-linux.org From glen at pld-linux.org Sun Jan 29 22:13:41 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Sun, 29 Jan 2012 23:13:41 +0200 Subject: polkits Message-ID: <4F25B685.408@pld-linux.org> what's the difference PolicyKit vs polkit? both are available from th, neither seem to obsolete each other funnily, PolicyKit URL is polkit and polkit URL is PolicyKit :) $ rpm -qi PolicyKit Name : PolicyKit Relocations: (not relocatable) Version : 0.9 Vendor: (none) Release : 3 Build Date: Fri 02 Oct 2009 10:59:17 EEST Install Date: Fri 19 Aug 2011 14:29:35 EE Build Host: nereid-builder Group : Libraries Source RPM: PolicyKit-0.9-3.src.rpm Size : 187516 License: MIT Signature : DSA/SHA1, Wed 14 Oct 2009 13:56:54 EEST, Key ID af3f93bce4f1bc2d URL : http://people.freedesktop.org/~david/polkit-spec.html Summary : A framework for defining policy for system-wide components Description : PolicyKit is a framework for defining policy for system-wide components and for desktop pieces to configure it. It is used by HAL. $ rpm -qi polkit Name : polkit Relocations: (not relocatable) Version : 0.104 Vendor: (none) Release : 1 Build Date: Wed 25 Jan 2012 00:41:41 EET Install Date: Sun 29 Jan 2012 01:11:48 EE Build Host: nereid-builder Group : Libraries Source RPM: polkit-0.104-1.src.rpm Size : 108449 License: LGPL v2+ Signature : DSA/SHA1, Sat 28 Jan 2012 14:35:04 EET, Key ID af3f93bce4f1bc2d URL : http://www.freedesktop.org/wiki/Software/PolicyKit Summary : A framework for defining policy for system-wide components Description : PolicyKit is a framework for defining policy for system-wide components and for desktop pieces to configure it. -- glen From arekm at maven.pl Sun Jan 29 22:35:03 2012 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Sun, 29 Jan 2012 22:35:03 +0100 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: References: Message-ID: <201201292235.03999.arekm@maven.pl> On Sunday 29 of January 2012, glen wrote: > Author: glen Date: Sun Jan 29 21:09:23 2012 GMT > Module: packages Tag: HEAD > ---- Log message: > - do not use exit in xinitrc, use return instead > > ---- Files affected: > packages/synergy: > synergy-client.init (1.4 -> 1.5) > > ---- Diffs: > > ================================================================ > Index: packages/synergy/synergy-client.init > diff -u packages/synergy/synergy-client.init:1.4 > packages/synergy/synergy-client.init:1.5 --- > packages/synergy/synergy-client.init:1.4 Mon Jan 23 21:16:14 2012 +++ > packages/synergy/synergy-client.init Sun Jan 29 22:09:18 2012 > @@ -1,7 +1,20 @@ > #!/bin/sh > > -# Source function library > -. /etc/rc.d/init.d/functions > +# is_yes taken from rc-scripts > +is_yes() > +{ > + # Check value > + case "$1" in > + yes|Yes|YES|true|True|TRUE|on|On|ON|Y|y|1) > + # true returns zero > + return 0 > + ;; > + *) > + # false returns one > + return 1 > + ;; > + esac > +} What's the point of this? -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ From gotar at polanet.pl Sun Jan 29 23:07:55 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Sun, 29 Jan 2012 23:07:55 +0100 Subject: polkits In-Reply-To: <4F25B685.408@pld-linux.org> References: <4F25B685.408@pld-linux.org> Message-ID: <20120129220755.GA3218@polanet.pl> On Sun, Jan 29, 2012 at 23:13:41 +0200, Elan Ruusam?e wrote: > what's the difference PolicyKit vs polkit? PK was to be obsoleted by polkit a long time ago... > both are available from th, neither seem to obsolete each other ...so polkit should, unless something had changed since then. > $ rpm -qi PolicyKit > Name : PolicyKit Relocations: (not relocatable) > Version : 0.9 Vendor: (none) > Release : 3 Build Date: Fri 02 Oct 2009 10:59:17 EEST ^^^^ > $ rpm -qi polkit > Name : polkit Relocations: (not relocatable) > Version : 0.104 Vendor: (none) > Release : 1 Build Date: Wed 25 Jan 2012 00:41:41 EET ^^^^ -- Tomasz Pala From gotar at polanet.pl Sun Jan 29 23:17:38 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Sun, 29 Jan 2012 23:17:38 +0100 Subject: flaws in xinitrc-ng In-Reply-To: <4F255E99.1030805@pld-linux.org> References: <4F255E99.1030805@pld-linux.org> Message-ID: <20120129221738.GB3218@polanet.pl> On Sun, Jan 29, 2012 at 16:58:33 +0200, Elan Ruusam?e wrote: > 78 # Run all system xinitrc shell scripts. > 79 for i in /etc/X11/xinit/xinitrc.d/* ; do > 80 if [ -x "$i" ]; then > 81 . "$i" > 82 fi > 83 done > > this code has several flaws: > > 1) what if script sourced writes "exit 1"? It does what author of such script wanted - like preventing starting up (e.g. temporary lockdown or sth). > * for third, the scripts must be written in /bin/sh compatible way! (no > .csh, no .pl) Yes, as it's primary function is to set environment for running sh. > for first problem, make all -x scripts executed, not sourced? If you want to execute some code, just create #!sh script with proper commands and source it. That's the same rule we follow for many other scripts using sth.d for config inclusion (e.g. login shell startup). -- Tomasz Pala From glen at pld-linux.org Mon Jan 30 06:28:24 2012 From: glen at pld-linux.org (=?UTF-8?B?RWxhbiBSdXVzYW3DpGU=?=) Date: Mon, 30 Jan 2012 07:28:24 +0200 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: <201201292235.03999.arekm@maven.pl> References: <201201292235.03999.arekm@maven.pl> Message-ID: <4F262A78.90109@pld-linux.org> On 01/29/2012 11:35 PM, Arkadiusz Mi?kiewicz wrote: > On Sunday 29 of January 2012, glen wrote: >> Author: glen Date: Sun Jan 29 21:09:23 2012 GMT >> Module: packages Tag: HEAD >> ---- Log message: >> - do not use exit in xinitrc, use return instead >> >> ---- Files affected: >> packages/synergy: >> synergy-client.init (1.4 -> 1.5) >> >> ---- Diffs: >> >> ================================================================ >> Index: packages/synergy/synergy-client.init >> diff -u packages/synergy/synergy-client.init:1.4 >> packages/synergy/synergy-client.init:1.5 --- >> packages/synergy/synergy-client.init:1.4 Mon Jan 23 21:16:14 2012 +++ >> packages/synergy/synergy-client.init Sun Jan 29 22:09:18 2012 >> @@ -1,7 +1,20 @@ >> #!/bin/sh >> >> -# Source function library >> -. /etc/rc.d/init.d/functions >> +# is_yes taken from rc-scripts >> +is_yes() >> +{ >> + # Check value >> + case "$1" in >> + yes|Yes|YES|true|True|TRUE|on|On|ON|Y|y|1) >> + # true returns zero >> + return 0 >> + ;; >> + *) >> + # false returns one >> + return 1 >> + ;; >> + esac >> +} > What's the point of this? those scripts are sourced in same context, the less they load and clobber globals the better -- glen From glen at pld-linux.org Mon Jan 30 06:34:48 2012 From: glen at pld-linux.org (=?ISO-8859-2?Q?Elan_Ruusam=E4e?=) Date: Mon, 30 Jan 2012 07:34:48 +0200 Subject: flaws in xinitrc-ng In-Reply-To: <20120129221738.GB3218@polanet.pl> References: <4F255E99.1030805@pld-linux.org> <20120129221738.GB3218@polanet.pl> Message-ID: <4F262BF8.4050902@pld-linux.org> On 01/30/2012 12:17 AM, Tomasz Pala wrote: >> > for first problem, make all -x scripts executed, not sourced? > If you want to execute some code, just create #!sh script with proper > commands and source it. That's the same rule we follow for many other > scripts using sth.d for config inclusion (e.g. login shell startup). you mean this? if [ -x "$i" ]; then "$i" elif [ -f "$i" ]; then . "$i" fi -- glen From marcin.rybak at gmail.com Mon Jan 30 06:37:39 2012 From: marcin.rybak at gmail.com (Marcin Rybak) Date: Mon, 30 Jan 2012 06:37:39 +0100 Subject: kernel for PLD AC Message-ID: Hi, does anybody have kernel for PLD AC newer than 2.6.27.57-1? Of course I mean stable and buildable for i686. Thanks in advance for .spec, source rpm, builded i686 or link to CVS revision which works at AC (the AC-Branch points to 2.6.16, but in ac-updates 2.6.27 is avaliable) Thanks for help (asap :)). Best regards, --- Marcin Rybak http://marcinrybak.com From glen at pld-linux.org Mon Jan 30 07:59:47 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Mon, 30 Jan 2012 08:59:47 +0200 Subject: kernel for PLD AC In-Reply-To: References: Message-ID: <4F263FE3.8030804@pld-linux.org> On 30.01.2012 07:37, Marcin Rybak wrote: > Hi, > > does anybody have kernel for PLD AC newer than 2.6.27.57-1? Of course I > mean stable and buildable for i686. Thanks in advance for .spec, source > rpm, builded i686 or link to CVS revision which works at AC (the AC-Branch > points to 2.6.16, but in ac-updates 2.6.27 is avaliable) you can pretty well use th kernels too, i.e already built binary rpm's if th-main, th-ready, th-test does not fit, you can use older kernels from th-archive ftp://ftp1.pld-linux.org/dists/th/.archive/PLD/i686/RPMS/ dir contains poldek indexes (poldek -s URL) it may complain about some deps, but those you can solve with ac-ready + ac-updates i in fact installed kernel-3.0.18-1.x86_64 quite recently on ac-i686 host i have some kernels built on ac long time ago: glen at carme-pld ac/i686 $ l kernel-2* -v -rw-r--r-- 1 glen users 22M 26. m?rts 2009 kernel-2.6.28.9-1.i686.rpm -rw-r--r-- 1 glen users 29M 25. aug 2010 kernel-2.6.34.5-1.i686.rpm http://carme.pld-linux.org/~glen/ac/i686/ dir contains poldek indexes too -- glen From marcin.rybak at gmail.com Mon Jan 30 08:52:29 2012 From: marcin.rybak at gmail.com (Marcin Rybak) Date: Mon, 30 Jan 2012 08:52:29 +0100 Subject: kernel for PLD AC In-Reply-To: <4F263FE3.8030804@pld-linux.org> References: <4F263FE3.8030804@pld-linux.org> Message-ID: 2012/1/30 Elan Ruusam?e > On 30.01.2012 07:37, Marcin Rybak wrote: > >> Hi, >> >> does anybody have kernel for PLD AC newer than 2.6.27.57-1? Of course I >> mean stable and buildable for i686. Thanks in advance for .spec, source >> rpm, builded i686 or link to CVS revision which works at AC (the AC-Branch >> points to 2.6.16, but in ac-updates 2.6.27 is avaliable) >> > you can pretty well use th kernels too, i.e already built binary rpm's > if th-main, th-ready, th-test does not fit, you can use older kernels from > th-archive > > it may complain about some deps, but those you can solve with ac-ready + > ac-updates > i in fact installed kernel-3.0.18-1.x86_64 quite recently on ac-i686 host > Thanks for answer, but 3.0.18 is not buildable at AC at all: error: Failed build dependencies: binutils >= 3:2.18 is needed by kernel-3.0.18-1.src xz >= 1:4.999.7 is needed by kernel-3.0.18-1.src hostname is needed by kernel-3.0.18-1.src module-init-tools >= 3.16 is needed by kernel-3.0.18-1.src rpm-build >= 4.5-24 is needed by kernel-3.0.18-1.src I'll try to use allready builded version at th. Case is still open - maybe - someone has .spec for buildable at AC machine? :) best regards, --- Marcin Rybak http://marcinrybak.com From glen at pld-linux.org Mon Jan 30 09:26:09 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Mon, 30 Jan 2012 10:26:09 +0200 Subject: kernel for PLD AC In-Reply-To: References: <4F263FE3.8030804@pld-linux.org> Message-ID: <4F265421.4050601@pld-linux.org> On 30.01.2012 09:52, Marcin Rybak wrote: > Thanks for answer, but 3.0.18 is not buildable at AC at all: > error: Failed build dependencies: i didn't say BUILDING, i said INSTALLING :) -- glen From marcin.rybak at gmail.com Mon Jan 30 09:57:52 2012 From: marcin.rybak at gmail.com (Marcin Rybak) Date: Mon, 30 Jan 2012 09:57:52 +0100 Subject: packages: lighttpd/lighttpd-mime.types.sh, lighttpd/lighttpd.spec - add cha... In-Reply-To: References: Message-ID: 2012/1/22 glen > Author: glen Date: Sun Jan 22 20:52:57 2012 GMT > Module: packages Tag: HEAD > ---- Log message: > - add charset to text content-types; default as utf8 > why this doesn't build now? http://buildlogs.pld-linux.org/index.php?dist=th&arch=i686&ok=0&name=lighttpd&id=70d921f1-f9bb-4d9f-a170-b0572d326856&action=tail --without tests works and builds --- Marcin Rybak http://marcinrybak.com From glen at pld-linux.org Mon Jan 30 12:46:14 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Mon, 30 Jan 2012 13:46:14 +0200 Subject: packages: lighttpd/lighttpd-mime.types.sh, lighttpd/lighttpd.spec - add cha... In-Reply-To: References: Message-ID: <4F268306.10801@pld-linux.org> On 30.01.2012 10:57, Marcin Rybak wrote: > 2012/1/22 glen > >> Author: glen Date: Sun Jan 22 20:52:57 2012 GMT >> Module: packages Tag: HEAD >> ---- Log message: >> - add charset to text content-types; default as utf8 >> > why this doesn't build now? > > http://buildlogs.pld-linux.org/index.php?dist=th&arch=i686&ok=0&name=lighttpd&id=70d921f1-f9bb-4d9f-a170-b0572d326856&action=tail > > --without tests works and builds does not seem to be related, as the builds randomly fail/succeed http://src.th.pld-linux.org/queue.html#82917 http://src.th.pld-linux.org/queue.html#82919 -- glen From marcin.rybak at gmail.com Mon Jan 30 13:23:57 2012 From: marcin.rybak at gmail.com (Marcin Rybak) Date: Mon, 30 Jan 2012 13:23:57 +0100 Subject: packages: lighttpd/lighttpd-mime.types.sh, lighttpd/lighttpd.spec - add cha... In-Reply-To: <4F268306.10801@pld-linux.org> References: <4F268306.10801@pld-linux.org> Message-ID: 2012/1/30 Elan Ruusam?e > > On 30.01.2012 10:57, Marcin Rybak wrote: > >> 2012/1/22 glen >> >> Author: glen Date: Sun Jan 22 20:52:57 2012 GMT >>> Module: packages Tag: HEAD >>> ---- Log message: >>> - add charset to text content-types; default as utf8 >>> >>> why this doesn't build now? >> >> http://buildlogs.pld-linux.**org/index.php?dist=th&arch=** >> i686&ok=0&name=lighttpd&id=**70d921f1-f9bb-4d9f-a170-** >> b0572d326856&action=tail >> >> --without tests works and builds >> > > does not seem to be related, as the builds randomly fail/succeed > > http://src.th.pld-linux.org/**queue.html#82917 > http://src.th.pld-linux.org/**queue.html#82919 > > OK, seems clear, Glen can you send rel 4 to AC updates, this bug hits mainly AC? Best regards, --- Marcin Rybak http://marcinrybak.com From gotar at polanet.pl Mon Jan 30 15:43:10 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Mon, 30 Jan 2012 15:43:10 +0100 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: <4F262A78.90109@pld-linux.org> References: <201201292235.03999.arekm@maven.pl> <4F262A78.90109@pld-linux.org> Message-ID: <20120130144310.GB18283@polanet.pl> On Mon, Jan 30, 2012 at 07:28:24 +0200, Elan Ruusam?e wrote: >>> +# is_yes taken from rc-scripts >>> +is_yes() >>> +{ >>> + # Check value >>> + case "$1" in >>> + yes|Yes|YES|true|True|TRUE|on|On|ON|Y|y|1) >>> + # true returns zero >>> + return 0 >>> + ;; >>> + *) >>> + # false returns one >>> + return 1 >>> + ;; >>> + esac >>> +} >> What's the point of this? > those scripts are sourced in same context, the less they load and > clobber globals the better If they are, then is_yes is already defined and you shall not redefine it. -- Tomasz Pala From gotar at polanet.pl Mon Jan 30 15:48:29 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Mon, 30 Jan 2012 15:48:29 +0100 Subject: flaws in xinitrc-ng In-Reply-To: <4F262BF8.4050902@pld-linux.org> References: <4F255E99.1030805@pld-linux.org> <20120129221738.GB3218@polanet.pl> <4F262BF8.4050902@pld-linux.org> Message-ID: <20120130144829.GC18283@polanet.pl> On Mon, Jan 30, 2012 at 07:34:48 +0200, Elan Ruusam?e wrote: >>> > for first problem, make all -x scripts executed, not sourced? >> If you want to execute some code, just create #!sh script with proper >> commands and source it. That's the same rule we follow for many other >> scripts using sth.d for config inclusion (e.g. login shell startup). > > you mean this? > > if [ -x "$i" ]; then > "$i" > elif [ -f "$i" ]; then > . "$i" No: vi some_script_executing_code ( any shell commands that might exit ) whatever_in_perl.pl :x . some_script_executing_code -- Tomasz Pala From glen at pld-linux.org Mon Jan 30 16:55:19 2012 From: glen at pld-linux.org (=?ISO-8859-2?Q?Elan_Ruusam=E4e?=) Date: Mon, 30 Jan 2012 17:55:19 +0200 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: <20120130144310.GB18283@polanet.pl> References: <201201292235.03999.arekm@maven.pl> <4F262A78.90109@pld-linux.org> <20120130144310.GB18283@polanet.pl> Message-ID: <4F26BD67.8050504@pld-linux.org> On 30.01.2012 16:43, Tomasz Pala wrote: > On Mon, Jan 30, 2012 at 07:28:24 +0200, Elan Ruusam?e wrote: > >>> >> those scripts are sourced in same context, the less they load and >> clobber globals the better > If they are, then is_yes is already defined and you shall not redefine > it. > no it's not. it can happen if previous script loaded rc-script functions, but you already know depending on that is bullshit xinitrc-ng DOES NOT load rc-script functions: $ rpm -q xinitrc-ng --requires | grep rc-scripts -c 0 $ rpm -q xinitrc-ng -l|xargs grep rc-scripts | wc -l 0 EOF ps: you don't have to each list post if you have nothing to add -- glen From gotar at polanet.pl Mon Jan 30 17:03:33 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Mon, 30 Jan 2012 17:03:33 +0100 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: <4F26BD67.8050504@pld-linux.org> References: <201201292235.03999.arekm@maven.pl> <4F262A78.90109@pld-linux.org> <20120130144310.GB18283@polanet.pl> <4F26BD67.8050504@pld-linux.org> Message-ID: <20120130160332.GE18283@polanet.pl> On Mon, Jan 30, 2012 at 17:55:19 +0200, Elan Ruusam?e wrote: >>> those scripts are sourced in same context, the less they load and >>> clobber globals the better >> If they are, then is_yes is already defined and you shall not redefine >> it. > > no it's not. Then do not define is_yes in different place - keep sourcing functions. > it can happen if previous script loaded rc-script functions, > but you already know depending on that is bullshit Then your change is bullshit. > EOF > > ps: you don't have to each list post if you have nothing to add It will be EOT when you give rational reason for this commit or revert it. I can't see any (unless this code is called 50 times in a row?); what next, static builds for some speed gain? -- Tomasz Pala From glen at pld-linux.org Mon Jan 30 17:53:24 2012 From: glen at pld-linux.org (=?ISO-8859-2?Q?Elan_Ruusam=E4e?=) Date: Mon, 30 Jan 2012 18:53:24 +0200 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: <20120130160332.GE18283@polanet.pl> References: <201201292235.03999.arekm@maven.pl> <4F262A78.90109@pld-linux.org> <20120130144310.GB18283@polanet.pl> <4F26BD67.8050504@pld-linux.org> <20120130160332.GE18283@polanet.pl> Message-ID: <4F26CB04.6000508@pld-linux.org> On 30.01.2012 18:03, Tomasz Pala wrote: >> > it can happen if previous script loaded rc-script functions, >> > but you already know depending on that is bullshit > Then your change is bullshit. > what change? you sure your're speaking of the same thing? you insist putting to /etc/X11/xinit/xinitrc.d/foo.sh back a line loading script from package which is not in dependency of any mentioned packages? -- glen From gotar at polanet.pl Mon Jan 30 18:08:06 2012 From: gotar at polanet.pl (Tomasz Pala) Date: Mon, 30 Jan 2012 18:08:06 +0100 Subject: packages: synergy/synergy-client.init - do not use exit in xinitrc, use ret... In-Reply-To: <4F26CB04.6000508@pld-linux.org> References: <201201292235.03999.arekm@maven.pl> <4F262A78.90109@pld-linux.org> <20120130144310.GB18283@polanet.pl> <4F26BD67.8050504@pld-linux.org> <20120130160332.GE18283@polanet.pl> <4F26CB04.6000508@pld-linux.org> Message-ID: <20120130170806.GA2938@polanet.pl> On Mon, Jan 30, 2012 at 18:53:24 +0200, Elan Ruusam?e wrote: >>> > it can happen if previous script loaded rc-script functions, >>> > but you already know depending on that is bullshit >> Then your change is bullshit. >> > what change? you sure your're speaking of the same thing? This one: http://cvs.pld-linux.org/cgi-bin/cvsweb/packages/synergy/synergy-client.init?r1=1.4&r2=1.5 > you insist putting to /etc/X11/xinit/xinitrc.d/foo.sh back a line > loading script from package which is not in dependency of any mentioned > packages? We are talking about /etc/rc.d/init.d/functions from rc-scripts, right? Yes, such assumption is true - we can rely on this file and take it for granted. We do not support rc-scripts-less systems AFAIK, even systemd-driven in future (if net-scripts or sth separates) must ship functions file. Changing 'exec synergyc --daemon' to 'synergyc --daemon [...] &' seems absolutely wrong too, especially when hidden in commit log: "- do not use exit in xinitrc, use return instead" -- Tomasz Pala From marcin.rybak at gmail.com Mon Jan 30 21:06:20 2012 From: marcin.rybak at gmail.com (Marcin Rybak) Date: Mon, 30 Jan 2012 21:06:20 +0100 Subject: kernel for PLD AC In-Reply-To: <4F265421.4050601@pld-linux.org> References: <4F263FE3.8030804@pld-linux.org> <4F265421.4050601@pld-linux.org> Message-ID: 2012/1/30 Elan Ruusam?e > On 30.01.2012 09:52, Marcin Rybak wrote: > >> Thanks for answer, but 3.0.18 is not buildable at AC at all: >> error: Failed build dependencies: >> > i didn't say BUILDING, i said INSTALLING :) > > not exacly works, as expected :) kernel panic: http://i.imgur.com/frgK2.jpg geninitrd info: http://pastebin.com/39Q9wpQX --- Marcin Rybak http://marcinrybak.com From zbyniu at geocarbon.pl Mon Jan 30 21:32:17 2012 From: zbyniu at geocarbon.pl (Zbyniu Krzystolik) Date: Mon, 30 Jan 2012 21:32:17 +0100 Subject: kernel for PLD AC In-Reply-To: References: <4F263FE3.8030804@pld-linux.org> <4F265421.4050601@pld-linux.org> Message-ID: <20120130203217.GG29310@destrukcja.pl> Marcin Rybak wrote: > 2012/1/30 Elan Ruusam?e > > > On 30.01.2012 09:52, Marcin Rybak wrote: > > > >> Thanks for answer, but 3.0.18 is not buildable at AC at all: > >> error: Failed build dependencies: > >> > > i didn't say BUILDING, i said INSTALLING :) > > > > not exacly works, as expected :) > kernel panic: > http://i.imgur.com/frgK2.jpg Such new kernel in AnCient system? A little naive. AFAIR 2.6.25 was last working in Ac with md. Ac is dead, random upgrades doesn't change that. Kill zombie! Zbyniu -- %% Absolutely nothing we trust %% From marcin.rybak at gmail.com Mon Jan 30 21:54:11 2012 From: marcin.rybak at gmail.com (Marcin Rybak) Date: Mon, 30 Jan 2012 21:54:11 +0100 Subject: kernel for PLD AC In-Reply-To: <20120130203217.GG29310@destrukcja.pl> References: <4F263FE3.8030804@pld-linux.org> <4F265421.4050601@pld-linux.org> <20120130203217.GG29310@destrukcja.pl> Message-ID: 2012/1/30 Zbyniu Krzystolik > Marcin Rybak wrote: > > 2012/1/30 Elan Ruusam?e > > > > > On 30.01.2012 09:52, Marcin Rybak wrote: > > > > > >> Thanks for answer, but 3.0.18 is not buildable at AC at all: > > >> error: Failed build dependencies: > > >> > > > i didn't say BUILDING, i said INSTALLING :) > > > > > > not exacly works, as expected :) > > kernel panic: > > http://i.imgur.com/frgK2.jpg > > Such new kernel in AnCient system? A little naive. AFAIR 2.6.25 was > last working in Ac with md. > Ac is dead, random upgrades doesn't change that. Kill zombie! take a look at carme-ac-i686 :), originaly 2.6.27 works I'm going to kill PLD at this machine, but now - I need newer kernel :) --- Marcin Rybak http://marcinrybak.com From zbyniu at geocarbon.pl Mon Jan 30 21:59:14 2012 From: zbyniu at geocarbon.pl (Zbyniu Krzystolik) Date: Mon, 30 Jan 2012 21:59:14 +0100 Subject: kernel for PLD AC In-Reply-To: References: <4F263FE3.8030804@pld-linux.org> <4F265421.4050601@pld-linux.org> <20120130203217.GG29310@destrukcja.pl> Message-ID: <20120130205914.GH29310@destrukcja.pl> Marcin Rybak wrote: > 2012/1/30 Zbyniu Krzystolik > > > Marcin Rybak wrote: > > > 2012/1/30 Elan Ruusam?e > > > > > > > On 30.01.2012 09:52, Marcin Rybak wrote: > > > > > > > >> Thanks for answer, but 3.0.18 is not buildable at AC at all: > > > >> error: Failed build dependencies: > > > >> > > > > i didn't say BUILDING, i said INSTALLING :) > > > > > > > > not exacly works, as expected :) > > > kernel panic: > > > http://i.imgur.com/frgK2.jpg > > > > Such new kernel in AnCient system? A little naive. AFAIR 2.6.25 was > > last working in Ac with md. > > Ac is dead, random upgrades doesn't change that. Kill zombie! > > take a look at carme-ac-i686 :), originaly 2.6.27 works It's vserver, mdadm is outside and it isn't older than carbon. > I'm going to kill PLD at this machine, but now - I need newer kernel :) So do the same - put it to chroot/vserver. Zbyniu -- %% Absolutely nothing we trust %% From glen at pld-linux.org Tue Jan 31 10:31:49 2012 From: glen at pld-linux.org (=?ISO-8859-1?Q?Elan_Ruusam=E4e?=) Date: Tue, 31 Jan 2012 11:31:49 +0200 Subject: kernel for PLD AC In-Reply-To: References: <4F263FE3.8030804@pld-linux.org> <4F265421.4050601@pld-linux.org> Message-ID: <4F27B505.5040403@pld-linux.org> On 30.01.2012 22:06, Marcin Rybak wrote: >> > not exacly works, as expected:) > kernel panic: > http://i.imgur.com/frgK2.jpg it's recent available busybox? but try < 3.0 kernels from th-archive.... -- glen