GithubHelp home page GithubHelp logo

Seg fault about mkinitcpio-ykfde HOT 6 CLOSED

eworm-de avatar eworm-de commented on June 8, 2024
Seg fault

from mkinitcpio-ykfde.

Comments (6)

dschaper avatar dschaper commented on June 8, 2024

I've got the stack traces of the faults:

 Process 8855 (ykfde) of user 0 dumped core.

                                                   Stack trace of thread 8855:
                                                   #0  0x00005615d4c06b6b n/a (ykfde)
                                                   #1  0x00007f0396ce8f4a __libc_start_main (libc.so.6)
                                                   #2  0x00005615d4c0714a n/a (ykfde)

                                                   Stack trace of thread 8856:
                                                   #0  0x00007f0396db3f2b __poll (libc.so.6)
                                                   #1  0x00007f0396ab7d31 n/a (libusb-1.0.so.0)
                                                   #2  0x00007f039688f08a start_thread (libpthread.so.0)
                                                   #3  0x00007f0396dbe42f __clone (libc.so.6)

from mkinitcpio-ykfde.

eworm-de avatar eworm-de commented on June 8, 2024

Please give some more information. What does the configuration look like? What command line options for ykfde are used?

from mkinitcpio-ykfde.

dschaper avatar dschaper commented on June 8, 2024

I'll update in a couple of days, I'm rebuilding everything again to make sure that I'm not causing a seqfault due to a misconfiguration on my end. If I'm still getting it I'll post up the config and the command invocation. I'm switching to the lts kernel for zfs support and will see if that kernel has the same situation.

Thanks for the quick reply!

from mkinitcpio-ykfde.

dschaper avatar dschaper commented on June 8, 2024
[13096]: pam_unix(sudo:session): session opened for user root by dschaper(uid=0)
[13102]: segfault at 0 ip 0000558f030f4b6b sp 00007ffcdbcd59c0 error 4 in ykfde[558f030f3000+3000]
Started Process Core Dump (PID 13120/UID 0).
[13096]: pam_unix(sudo:session): session closed for user root
[13122]: Process 13102 (ykfde) of user 0 dumped core.

      Stack trace of thread 13102:
      #0  0x0000558f030f4b6b n/a (ykfde)
      #1  0x00007efd0ed60f4a __libc_start_main (libc.so.6)
      #2  0x0000558f030f514a n/a (ykfde)

     Stack trace of thread 13103:
      #0  0x00007efd0ee2b91b __poll (libc.so.6)
      #1  0x00007efd0eb2fd31 n/a (libusb-1.0.so.0)
      #2  0x00007efd0e90708c start_thread (libpthread.so.0)
      #3  0x00007efd0ee35e1f __clone (libc.so.6)

ykfde.conf


[general]
# Specify what Yubikey slot to use for full disk encryption.
# This is just the system default, you can configure one or more
# Yubikeys below.
# The specified slot has to be configured for HMAC-SHA1.
yk slot = 2

# This is the LUKS device. Make sure you use the name, not
# block device, e.g. it has to match first column of
# /etc/crypttab.initramfs.
device name = cryptboot

# Do we use second factor? This setting controls wheter or not
# support is added to initramfs.
second factor = no

# For every Yubikey in use add a section here.
# * 'yk slot' is optional and only required for keys differing
#   from system default.
# * 'luks slot' is required to make sure one Yukikey is associated
#   with exactly one LUKS slot!
[6644971]
#yk slot = 1
luks slot = 6

Command invocation:

sudo ykfde

from mkinitcpio-ykfde.

dschaper avatar dschaper commented on June 8, 2024

Invoking without sudo errors with an unable to open /etc/ykfde.d/ for writing the challenge.

from mkinitcpio-ykfde.

dschaper avatar dschaper commented on June 8, 2024

I think it may have been traced down to a bad LANG environment. Not sure, just nuked the root zpool and loaded a fresh on and it seems to be working just fine. Need to try out all the features, and see how it works. Closing this out.

from mkinitcpio-ykfde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.