1Password_r0000X.log files in my home directory

jessesanford
jessesanford
Community Member
$ ls -als 1Password_r00000.log 
4 -rw------- 1 xxxx xxxx 306 Sep 23 17:54 1Password_r00000.log

$ cat 1Password_r00000.log 
INFO  2021-09-23T12:23:45.996 main(ThreadId(1)) [1P:foundation/op-linux/src/bin/keyring_helper.rs:144] initalizing keyring helper
ERROR 2021-09-23T12:23:46.087 main(ThreadId(1)) [1P:foundation/op-binary-support/src/linux.rs:71] system library directory is modifiable by unprivileged processes: /usr/lib64/

$ 1password --version
8.2.2-57.BETA

$ uname -a                   
Linux ubuntu 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a              
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:    18.04
Codename:   bionic

$ ls -als /usr/lib64
ls: cannot access '/usr/lib64': No such file or directory

So why is it complaining about /usr/lib64 when it doesn't exist?


1Password Version: 8.2.2-57.BETA
Extension Version: Not Provided
OS Version: Ubuntu 18.04

Comments

  • Oh, looks like we made a mistake in one of our security audits. I'll get a bug filed and we will fix it ASAP.

    Your title mentions log files in your home directory, but I don't see it in the output. Can you confirm that 1Password is writing logs to $HOME?

  • jessesanford
    jessesanford
    Community Member

    YEP:

    $ ls ~/1Password_r*       
    /home/xxxx/1Password_r00000.log  /home/xxxx/1Password_r00001.log  /home/xxxx/1Password_r00002.log  /home/xxxx/1Password_r00003.log  /home/xxxx/1Password_rCURRENT.log
    
  • psschwei
    psschwei
    Community Member

    I'm also seeing logs in my home directory (on version 8.2.2-72.BETA)

  • Thank you for the confirmation on this, @jessesanford and @psschwei. We appreciate your letting us know!

  • lieverse
    lieverse
    Community Member

    Seeing the same here. The log files in the home directory seem to be generated by the the KeyringHelper that is child of 1password itself. The KeyringHelper instance linked to the BrowserSupport is using the log directory in .config/1Password/logs/BrowserSupport/KeyringHelper:

    $ sudo fuser ~/1Password_rCURRENT.log ~/.config/1Password/logs/BrowserSupport/KeyringHelper/1Password_rCURRENT.log 
    /home/user/1Password_rCURRENT.log: 32063
    /home/user/.config/1Password/logs/BrowserSupport/KeyringHelper/1Password_rCURRENT.log: 32048
    
    $ ps f -o pid,ppid,cmd 32063 32048 32014 21020
      PID  PPID CMD
    32014 31744 /opt/1Password/1Password-BrowserSupport /home/user/.mozilla/native-messaging-hosts/com.1password.1password.json {d634138d-c276-4fc8-924b-40a0ea21d284}
    32048 32014  \_ /opt/1Password/1Password-KeyringHelper
    21020  9493 /opt/1Password/1password
    32063 21020  \_ /opt/1Password/1Password-KeyringHelper
    

    Timestamps of the log files in the home dir match with those in the .config/1Password/logs/BrowserSupport/KeyringHelper dir, although there are few more files in the latter in between the times of the files in the home dir.

    Paul

  • Hey, y'all. This problem is tricky to reproduce, but we think it is resolved in 8.2.2-80. Please try it and let us know how it goes for you.

  • psschwei
    psschwei
    Community Member

    It appears to have resolved for me ... I updated to 8.2.2-80 yesterday at 19:59, and the last log file I see in my home directory is from yesterday morning at 08:19 (I've rebooted twice since upgrading 1password).

    Assuming I can delete the logs files in my home directory?

    Thanks for the quick fix!

  • @psschwei Deleting those files should be safe. You only really need them when you may want to read them for diagnostics or send diagnostic reports to us.

This discussion has been closed.