Mailinglist Archive: opensuse-support (159 mails)

< Previous Next >
Re: [opensuse-support] Re: [opensuse-factory] mlocate
Hello,

Am Samstag, 9. Juni 2018, 15:43:08 CEST schrieb Patrick Shanahan:
* ellanios82 <ellanios82@xxxxxxxxx> [06-09-18 09:13]:

# updatedb
updatedb: can not open a temporary file for
`/var/lib/mlocate/mlocate.db'

- what to try next please?

what about apparmor,
cat /etc/apparmor.d/usr.bin.updatedb

This profile is quite new, so it might indeed be incomplete.

Please switch it to complain (learning) mode and try again:
aa-complain /etc/apparmor.d/usr.bin.updatedb
This will allow everything, and log what would be denied.

If updatedb works now, the AppArmor profile needs an update. In this
case, please
grep updatedb /var/log/audit/audit.log
and either paste the result here [1], or open a bugreport and attach it.

You can also update the profile yourself using
aa-logprof
(but again, please open a bugreport to get it fixed for everybody)

Oh, and don't forget to switch the profile back to enforce mode
afterwards:
aa-enforce /etc/apparmor.d/usr.bin.updatedb


Regards,

Christian Boltz

[1] use paste.opensuse.org if it's too big
--
Ich habe es satt, gegen die YaSTs [Linuxconfs, ...] dieser Welt zu
kämpfen, die schlauer sein wollen als ich. Ich will keine
"Bootgrafiken", die die bösen, hässlichen Startmeldungen verdecken.
Und ich will keinen Installer, der mir Partitionierungs"vorschläge"
macht ("Nackenschläge" wäre zutreffender). [Ratti in suse-linux]



--
To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups