Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Techlive Zheng
2012/3/17 Tom Gundersen : > On Fri, Mar 16, 2012 at 6:17 PM, Leonid Isaev wrote: >> On Fri, 16 Mar 2012 16:23:03 +0800 >> I don't think checking ownership of files in /etc/ makes much sense, as these >> files are supposed to be added by user/daemons. For example, a lot of files >> under /etc/cups

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Tom Gundersen
On Fri, Mar 16, 2012 at 6:17 PM, Leonid Isaev wrote: > On Fri, 16 Mar 2012 16:23:03 +0800 > I don't think checking ownership of files in /etc/ makes much sense, as these > files are supposed to be added by user/daemons. For example, a lot of files > under /etc/cups are not owned by cups... +100 t

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Leonid Isaev
On Fri, 16 Mar 2012 16:23:03 +0800 郑文辉(Techlive Zheng) wrote: > I ran the script below to see the files which owned by no package. > > export LC_ALL=C > for dir in bin etc lib usr var sbin;do > find /$dir -type f -exec pacman -Qo {} \; 2>$dir 1>/dev/null > done > > I got

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Tom Gundersen
2012/3/16 郑文辉(Techlive Zheng) : > 2012/3/16 Tom Gundersen : >> 2012/3/16 郑文辉(Techlive Zheng) : >>>    error: No package owns /etc/localtime >> >> This is needed in order for different programs to know what timezone >> you are in. It should be a symlink maintained by initscripts, but it >> is set at

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Techlive Zheng
2012/3/16 Tom Gundersen : > 2012/3/16 郑文辉(Techlive Zheng) : >>error: No package owns /etc/localtime > > This is needed in order for different programs to know what timezone > you are in. It should be a symlink maintained by initscripts, but it > is set at runtime so not part of the package. > >

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Techlive Zheng
2012/3/16 Ionut Biru : > On 03/16/2012 10:23 AM, 郑文辉(Techlive Zheng) wrote: > >>     error: No package owns /etc/ssl/certs/ca-certificates.crt > > this file is generated by ca-certificates at installation. You don't > want to delete this file since all packages relaying will have a broken > ssl ver

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Ionut Biru
On 03/16/2012 10:23 AM, 郑文辉(Techlive Zheng) wrote: > error: No package owns /etc/ssl/certs/ca-certificates.crt this file is generated by ca-certificates at installation. You don't want to delete this file since all packages relaying will have a broken ssl verification. -- Ionuț signatur

Re: [arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Tom Gundersen
2012/3/16 郑文辉(Techlive Zheng) : >    error: No package owns /etc/localtime This is needed in order for different programs to know what timezone you are in. It should be a symlink maintained by initscripts, but it is set at runtime so not part of the package. -t

[arch-general] A Couple of Questions about files under etc which owned by no package

2012-03-16 Thread Techlive Zheng
I ran the script below to see the files which owned by no package. export LC_ALL=C for dir in bin etc lib usr var sbin;do find /$dir -type f -exec pacman -Qo {} \; 2>$dir 1>/dev/null done I got the following. error: No package owns /etc/crontab error: No package o