rpm 4.16: bind

Elan Ruusamäe glen at pld-linux.org
Fri Feb 19 08:23:42 CET 2021


looks like this is major breakage in packaging.

you can not package symlinks with absolute paths to inaccessible paths 
anymore?

so, absolute symlinks not permitted, must use relative symlinks when 
packaging?

bind.spec @ ed2fd6d (master)

```


RPM build errors:
     line 130: It's not recommended to have unversioned Obsoletes: 
Obsoletes:    caching-nameserver
     Explicit %attr() mode not applicable to symlink: 
/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/etc/named.conf
     Explicit %attr() mode not applicable to symlink: 
/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/etc/bind.keys
     Explicit %attr() mode not applicable to symlink: 
/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/usr/sbin/named-compilezone
     Explicit %attr() mode not applicable to symlink: 
/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/usr/sbin/tsig-keygen
     Explicit %attr() mode not applicable to symlink: 
/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/var/log/named
     Explicit %attr() mode not applicable to symlink: 
/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/var/log/named.stats
     absolute symlink: /etc/bind.keys -> /var/lib/named/etc/bind.keys
     absolute symlink: /etc/named.conf -> /var/lib/named/etc/named.conf
     absolute symlink: /var/log/named -> /var/lib/named/named.log
     absolute symlink: /var/log/named.stats -> /var/lib/named/named.stats
     Recognition of file 
"/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/etc/bind.keys" 
failed: mode 120777 broken symbolic link to /var/lib/named/etc/bind.keys 
(Permission denied)
     Recognition of file 
"/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/etc/named.conf" 
failed: mode 120777 broken symbolic link to 
/var/lib/named/etc/named.conf (Permission denied)
     Recognition of file 
"/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/var/log/named" 
failed: mode 120777 broken symbolic link to /var/lib/named/named.log 
(Permission denied)
     Recognition of file 
"/home/users/glen/tmp/bind-9.16.12-x86_64-root-glen/var/log/named.stats" 
failed: mode 120777 broken symbolic link to /var/lib/named/named.stats 
(Permission denied)

```



More information about the pld-devel-en mailing list