Package: rpm-common
Version: 4.8.1-6+squeeze1
Severity: minor

In line 158 of the file /usr/lib/rpm/macros, the rpm database path is defined 
as:

    %_dbpath %(echo $HOME/.rpmdb)

Is it really OK? It seems that (judging from where the macro file is stored) 
this dbpath is a
system-wide setting, whereas $HOME/.rpmdb looks like a per-user value?

I think it is better to assign it to the standard /var/lib/rpm, and then if 
some user wants its
own db, create their own $HOME/.rpmmacros and define dbpath be whatever they 
like. 

(I used rpm on debian because I used febootstrap.)

Thanks.


-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_HK.UTF-8, LC_CTYPE=en_HK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to