Hi Eli,
> > atop: '/var/log/atop/dummy_after' modification time mismatch
> > (expected 2019-02-06 20:40:14)
> > atop: '/var/log/atop/dummy_before' modification time mismatch
> > (expected 2019-02-06
Dear Eli,
Thank you! Question regarding status of the bug has been filed!
Yours sincerely,
Xianwen
On 09/09/2019 00.47, Eli Schwartz via arch-general wrote:
On 9/8/19 6:27 PM, Xianwen Chen (陈贤文) via arch-general wrote:
For example,
$ sudo pacrepairfile --uid --gid --mode --mtime
On 9/8/19 6:27 PM, Xianwen Chen (陈贤文) via arch-general wrote:
> For example,
>
> $ sudo pacrepairfile --uid --gid --mode --mtime
> /usr/lib/tmpfiles.d/colord.conf
>
> outputs
>
> /usr/lib/tmpfiles.d/colord.conf: set uid to 0
> /usr/lib/tmpfiles.d/colord.conf: set gid to 0
> warning:
Dear Eli,
Thank you.
I wrote a regulation expression, which extracts file name and path from
the output of paccheck:
$ sudo paccheck --file-properties --quiet | grep -Po "(?<=\').*(?=\')" |
sudo pacrepairfile --uid --gid --mode --mtime
However, somehow pacrepairfile was not working.
For
On 9/8/19 4:40 PM, Xianwen Chen (陈贤文) via arch-general wrote:
> Dear Eli,
>
> Thank you!
>
> Is there a way to ask paccheck to list only files that need to be fixed?
>
> For example, if I run
>
> sudo paccheck --file-properties --quiet
>
> I get list of files with package information and
Dear Eli,
Thank you!
Is there a way to ask paccheck to list only files that need to be fixed?
For example, if I run
sudo paccheck --file-properties --quiet
I get list of files with package information and error information, such as
screen: '/usr/lib/tmpfiles.d/screen.conf'
Dear Ralph,
Great! Thank you very much for the tips!
Yours sincerely,
Xianwen
On 08/09/2019 15.11, Ralph Corderoy wrote:
Dear Xianwen,
there are quite many files on my system that had wrong permissions or
GID's.
Perhaps there's been an errant recursive chmod or chgrp in the past by
root.
On 9/8/19 7:59 AM, Ralph Corderoy wrote:
> $ sudo -i paccheck --file-properties atop
> atop: '/var/log/atop/dummy_after' permission mismatch (expected 644)
> atop: '/var/log/atop/dummy_after' modification time mismatch
> (expected 2019-02-06
Dear Xianwen,
> there are quite many files on my system that had wrong permissions or
> GID's.
Perhaps there's been an errant recursive chmod or chgrp in the past by
root.
> Is there a way to automatically correct all the permissions and GID's?
Others like Eli might know an mtree-specific way,
Dear Ralph and Eli,
Thank you.
As Ralph suspected, there are quite many files on my system that had
wrong permissions or GID's.
Is there a way to automatically correct all the permissions and GID's?
Yours sincerely,
Xianwen
On 08/09/2019 11.28, Eli Schwartz via arch-general wrote:
On
Hi Eli,
> > warning: atop: /var/log/atop/dummy_after (Permissions mismatch)
> ...
> > Not every error means the file on disk must be changed, perhaps it's
> > a packaging problem
>
> pacman -S pacutils && paccheck --file-properties
Thanks.
$ sudo -i paccheck --file-properties atop
On 9/8/19 5:20 AM, Ralph Corderoy wrote:
> Dear Xianwen,
>
>> After searching on-line, it seemed that similar problems were reported
>> by other users of systemd. The fix is to set owner of / as root.root.
>> I tried the solution and it worked!
>
> I'm glad you fixed it. / not being root:root
Dear Xianwen,
> After searching on-line, it seemed that similar problems were reported
> by other users of systemd. The fix is to set owner of / as root.root.
> I tried the solution and it worked!
I'm glad you fixed it. / not being root:root is strange. You may wish
to
sudo -i pacman
Dear Ralph,
Thank you very much for the lecture!
It seems that the issue may be permissions.
$ sudo /usr/bin/systemd-tmpfiles --create /run/tmpfiles.d/kmod.conf
Arch returns:
Detected unsafe path transition / → /dev during canonicalization of
/dev.
Detected unsafe path
Dear Xianwen,
> :: Running post-transaction hooks...
...
> (5/9) Creating temporary files...
> error: command failed to execute correctly
> (6/9) Reloading device manager configuration...
Here's the path I trod to investigate this.
$ cd /usr/share/libalpm/hooks
$ grep 'Creating
15 matches
Mail list logo