Thanks - I repeated your recipe step by step, and, sure enough, running aideinit -f did not cause a segfault.
But after running for over an hour and a half, with zero bytes written to aide.db.new, it was clearly not going anywhere, so I killed it.
Joe
On Sun, Jul 25, 2021 at 11:40 AM Konstantin Kalmykov < <email address hidden>> wrote:
> I can tell what I did to mitigate this bug, and It’s worked for me (do > it as power user or root): > > 1. Completely purge installed AIDE: > > apt purge aide aide-common > rm -rf /var/log/aide > > 2. Install AIDE back again: > > apt update > apt install aide-common aide-dynamic > > 3. Then rebuild config: > > update-aide.conf > cp -v /var/lib/aide/aide.conf.autogenerated /etc/aide/aide.conf > > 4. Run init script: > > aideinit -f > > Then for me it was no errors, and AIDE running well. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1920649 > > Title: > ubuntu 20.04 LTS - aide crashes on initialization > > Status in aide package in Ubuntu: > Confirmed > > Bug description: > root@flynn:~# aideinit > Running aide --init... > Segmentation fault (core dumped) > AIDE --init return code 139 > > > [Sat Mar 20 18:21:48 2021] aide[6409]: segfault at 0 ip 00007f903f98714b > sp 00007ffefb573de8 error 4 in libc-2.31.so[7f903f88c000+178000] > [Sat Mar 20 18:21:48 2021] Code: 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 > 00 00 f3 0f 1e fa 48 8b 05 25 ad 0c 00 48 83 ff 10 74 47 48 83 ff 1a 74 49 > 48 8b 40 60 <48> 8b 10 48 85 d2 75 12 eb 1b 0f 1f 00 48 8b 50 10 48 83 c0 > 10 48 > > root@flynn:~# uname -a > Linux flynn 5.8.0-45-generic #51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 > UTC 2021 x86_64 x86_64 x86_64 GNU/Linux > root@flynn:~# > > root@flynn:~# cat /etc/os-release > NAME="Ubuntu" > VERSION="20.04.2 LTS (Focal Fossa)" > ID=ubuntu > ID_LIKE=debian > PRETTY_NAME="Ubuntu 20.04.2 LTS" > VERSION_ID="20.04" > HOME_URL="https://www.ubuntu.com/" > SUPPORT_URL="https://help.ubuntu.com/" > BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" > PRIVACY_POLICY_URL=" > https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" > VERSION_CODENAME=focal > UBUNTU_CODENAME=focal > > ProblemType: Bug > DistroRelease: Ubuntu 20.04 > Package: aide 0.16.1-1build2 > ProcVersionSignature: Ubuntu 5.8.0-45.51~20.04.1-generic 5.8.18 > Uname: Linux 5.8.0-45-generic x86_64 > ApportVersion: 2.20.11-0ubuntu27.16 > Architecture: amd64 > CasperMD5CheckResult: skip > Date: Sat Mar 20 18:45:43 2021 > InstallationDate: Installed on 2021-03-20 (0 days ago) > InstallationMedia: Ubuntu-MATE 20.04.2.0 LTS "Focal Fossa" - Release > amd64 (20210209.1) > ProcEnviron: > TERM=xterm-256color > PATH=(custom, no user) > XDG_RUNTIME_DIR=<set> > LANG=en_US.UTF-8 > SHELL=/bin/bash > SourcePackage: aide > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/aide/+bug/1920649/+subscriptions > >
Thanks - I repeated your recipe step by step, and, sure enough,
running aideinit -f did not cause a segfault.
But after running for over an hour and a half, with zero bytes written to
aide.db.new, it was clearly not going anywhere, so I killed it.
Joe
On Sun, Jul 25, 2021 at 11:40 AM Konstantin Kalmykov <
<email address hidden>> wrote:
> I can tell what I did to mitigate this bug, and It’s worked for me (do aide/aide. conf.autogenera ted /etc/aide/aide.conf /bugs.launchpad .net/bugs/ 1920649 31.so[7f903f88c 000+178000] /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL=" /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= focal CODENAME= focal ature: Ubuntu 5.8.0-45. 51~20.04. 1-generic 5.8.18 0ubuntu27. 16 esult: skip DIR=<set> /bugs.launchpad .net/ubuntu/ +source/ aide/+bug/ 1920649/ +subscriptions
> it as power user or root):
>
> 1. Completely purge installed AIDE:
>
> apt purge aide aide-common
> rm -rf /var/log/aide
>
> 2. Install AIDE back again:
>
> apt update
> apt install aide-common aide-dynamic
>
> 3. Then rebuild config:
>
> update-aide.conf
> cp -v /var/lib/
>
> 4. Run init script:
>
> aideinit -f
>
> Then for me it was no errors, and AIDE running well.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> ubuntu 20.04 LTS - aide crashes on initialization
>
> Status in aide package in Ubuntu:
> Confirmed
>
> Bug description:
> root@flynn:~# aideinit
> Running aide --init...
> Segmentation fault (core dumped)
> AIDE --init return code 139
>
>
> [Sat Mar 20 18:21:48 2021] aide[6409]: segfault at 0 ip 00007f903f98714b
> sp 00007ffefb573de8 error 4 in libc-2.
> [Sat Mar 20 18:21:48 2021] Code: 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00
> 00 00 f3 0f 1e fa 48 8b 05 25 ad 0c 00 48 83 ff 10 74 47 48 83 ff 1a 74 49
> 48 8b 40 60 <48> 8b 10 48 85 d2 75 12 eb 1b 0f 1f 00 48 8b 50 10 48 83 c0
> 10 48
>
> root@flynn:~# uname -a
> Linux flynn 5.8.0-45-generic #51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31
> UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> root@flynn:~#
>
> root@flynn:~# cat /etc/os-release
> NAME="Ubuntu"
> VERSION="20.04.2 LTS (Focal Fossa)"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 20.04.2 LTS"
> VERSION_ID="20.04"
> HOME_URL="https:/
> SUPPORT_URL="https:/
> BUG_REPORT_URL="https:/
> PRIVACY_
> https:/
> VERSION_
> UBUNTU_
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: aide 0.16.1-1build2
> ProcVersionSign
> Uname: Linux 5.8.0-45-generic x86_64
> ApportVersion: 2.20.11-
> Architecture: amd64
> CasperMD5CheckR
> Date: Sat Mar 20 18:45:43 2021
> InstallationDate: Installed on 2021-03-20 (0 days ago)
> InstallationMedia: Ubuntu-MATE 20.04.2.0 LTS "Focal Fossa" - Release
> amd64 (20210209.1)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: aide
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https:/
>
>