kubernetes – Heketi – adding device with existing data

I have an OKD cluster with GlusterFS as a storage class and Heketi as a frontend. Everything works fine till destroy of the Heketi database. How I can’t make any changes to the storage, I can’t add new persistent volume or remove existing ones. GlusterFS still works fine serving existing persistent volumes to pods.

I tried to recreate Heketi database with loading topology file but I think that Heketi is trying to create physical volume on LVM on device that already contains LVM with working GlusterFS. When I try to load topology I see following line in Heketi logs:

(kubeexec) DEBUG 2021/01/23 17:04:39 heketi/pkg/remoteexec/log/commandlog.go:34:log.(*CommandLogger).Before: Will run command (/usr/sbin/lvm pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/sdb') on (pod:glusterfs-storage-vdm96 c:glusterfs ns:glusterfs (from host:okd-admdev-compute1 selector:glusterfs-node))

Heketi client hanging on adding device to cluster and then got a timeout.

(root@heketi-storage-12-wn652 tmp)# heketi-cli topology load --json=topo.json 
Creating cluster ... ID: 6a65d3bce35760e5075db0cae6ed8e7e
    Allowing file volumes on cluster.
    Allowing block volumes on cluster.
    Creating node okd-admdev-compute1 ... ID: 7da6b2b1e4f9a723cfd769618ef36a51
        Adding device /dev/sdb ... Unable to add device: Initializing device /dev/sdb failed (failed to check device contents): timeout
    Creating node okd-admdev-compute2 ... ID: e63f5366838492219a8f929ee4cc67a7
        Adding device /dev/sdb ...

How to recreate Heketi database without reinitializing devices and reuse devices with existing data?

encryption – Clean LineageOS 17.1 install and empty device – can’t work out how to mount data partition in TWRP?

I’m installing LineageOS 17.1 on my new phone. It works fine, but I can’t get to data in TWRP.

As usual, to install, I wipe everything, drop into TWRP, format (not just wipe) data, wipe cache/davlik/system, and flash the LineageOS installer file. When the system starts first time, it gives a message “encrypting data”, which doesn’t have a “skip” option.

When I drop back into TWRP it asks for a decryption password to access data, but I don’t have one because I haven’t entered one in the first place.

How do I get LOS to not encrypt data, or alternatively, what decryption password should I use in TWRP?

Note: this isn’t a duplicate question. Other questions about decrypting data involve corrupt data or system issues that prevent data being accessed because of encryption, or trying to recover files from data. In my case, it’s a clean install with no prior data content, but I can’t figure how to access data in TWRP because it seem to encrypt it automatically but there’s no hint what key to enter in TWRP.

Just found out, spouse has been managing my device for more than a year, help

Just caught on to my spouses secret idenity, has been using work emails to implement mdm on all personal devices, yet i give subtle hints that ive known whats been going on , just didnt wanna face the harsh reality that she has been doing this to me all along, any advice would be appreciate it as i am barely startting to learn prefetch and higher forms of authentications that she has hidden in her iphone.

windows – Can a driver(malware) hide it self from device manager?

For security reasons i have this question in mind .
Am not a security professional ,so i want to ask :

Let’s suppose my computer’s firmware is hacked:

If i disable the wifi driver on windows ,
can a kind of virus (hidden driver software :don’t appear in device manager), or the firmware (if infected) use the wireless device to connect to internet without overriding the old driver ?
And can it hide it self from device manager ? .

(Using a virtual machine to mitigate the risk.)

connection – how to connect to a bluetooth device that requires an android app?

I recently bought a bluetooth mask with an led screen via wish you can install an app on your smartphone to connect to it to change what appears on the screen. I would like to connect to it through my windows 10 laptop, so I can control it more dynamically than the app allows for. But it doesn’t want to connect. Even with my android phone, it will not directly connect, when I try to connect to the mask it gives an error: “app needed to connect to device” (on android) “try connecting your device again” (windows 10). is there any way I can get around this or should I just give up?

certificates – Intermediate CA authenticity in an embedded device

My company are using an offline embedded device, that must encrypt connections to its client (a PC connected with USB).
We have chosen to use TLS with both PC and device authentification to encrypt message, and use certificates to secure the system.
So the device needs to send CSR and receives its certificates to authentificate and secure connection.
Also, It needs to store the root certificate of my company.
These certificates will not be downloaded directly from internet, the client PC will act as proxy and relay them to the device.
My question is how I can validate that the intermediate CA is authentic (that was created only by my company).

My guess was to use the Organisation or Common Name of the CA that can be identified with the company name.
And use the CA certificates chain to validate that the CA is not self-signed.

But could it be possible to create a CA cert with a valid chain certs and with the same name as my company in Organisation or CN field?
For exemple an intermediate CA cert that have the same common name but different parent authorities (Verisign, Let’s Encrypt…)
Are there other ways to authentificate intermediate CA?

Thank you for reading this message, and for your answers.

backup – The media family on device incorrectly formed for read only file group restore

Yes the databases (source and destination) are the same version. I have checked 3 times. Both are “Microsoft SQL Server 2019 (RTM-CU8-GDR) (KB4583459) – 15.0.4083.2 (X64)”

The database itself restores ok without error. Only when I try the read-only file group restore does it give the error. I have redone the back up and attempted the restore again just in case I had something wrong with the backup.

I have done the numerous times with ss 2016 and even when upgrading from ss2016 to ss2019. But now I am testing the restores it just looks broken to me. Almost like this is a bug

privacy – How can you detect AI running on a device?

As machine learning and AI become more accessible, and more resource-efficient, using AI models to make predictions locally on device hardware (“on-device inference”) is becoming a more commonplace reality. Eventually, developments in low-power TPUs will move this computation onto specialized hardware (e.g. Pixel Neural Core), but for now this is done using a CPU or GPU.

From a privacy perspective, this creates the concerning reality that it’s no longer a simple matter of detecting large amounts of data (e.g. a recording) leaving a device for remote analysis, to identify spying. With on-device inference, local sensor data can be scraped in an analysis-resistant manner. A simple example would be detecting specific words or phrases being uttered in proximity to the device, using its microphone, and then sending those off to a remote service.

Is there existing research into how to detect processes which are performing on-device inference?

delete – Device or resource busy when deleting Youtube folder from /data/app

I am trying to delete my /data/app/com.google.android.youtube-DVUYe6iX9r5J1nYk8PlC2w== folder to fix the bug described here; however, I keep getting a “Device or resource busy” message. I tried using this command

adb pull /data/adb/service.d/vanced.sh > %UserProfile%Desktopvanced.sh

and also Total Commander file manager but received the same error. How can I delete the folder?

untagged – OG Pixel , I can only get to stock bootloader. device is not booting. How can I resurrect the device?

just checking if my device is permanently bricked or there is a chance to resurrect it? I can only get to bootloader.

device is stock
I cannot get to recovery mode (stuck on google logo)
I cannot boot to OS (also stuck on google logo)

the only I can get is boot loader.

fastboot oem unlock get this error

FAILED (remote: 'oem unlock is not allowed')
fastboot: error: Command failed

adb devices does not show my device.

using https://flash.android.com/ it says device not supported (only pixel 2 and up)

any chance to revive this ??

also tried dePixel8, but no luck

adb push dePixel8 /data/local/tmp
adb: error: failed to get feature set: no devices/emulators found

thank you

fastboot flash recovery C:ITtwrp-3.5.0_9-0-sailfish.img
Sending 'recovery' (26477 KB)                      OKAY (  0.760s)
Writing 'recovery'                                 (bootloader) Command is not supported.
(bootloader) Please unlock device to enable this command.
FAILED (remote: '')
fastboot: error: Command failed