Categories
Linux Mastering Development

qemu: uncaught target signal 11 (Segmentation fault) – core dumped

I have problems with chroot. I have a host machine which is amd64 and I want to work using qemu on aarch64 and I tried using this script: #!/bin/bash echo ">>>" echo ">>> Configuring ARMv7-A environment" echo ">>>" echo $PWD echo ‘:arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/local/bin/qemu-arm:’ > /proc/sys/fs/binfmt_misc/register echo ">>> mounting filesystems" mount -t proc proc $PWD/proc || echo […]

Categories
Apple User Help

External WD Drive showing read only

I have WD External SSD Drive and macOS Catalina. The drive is formatted in ExFAT Initially, I used my external drive 2-3 times and it was working fine. Suddenly today I am not able to write anything in my Drive as its showing Read-Only. output from mount /dev/disk2s2 on /Volumes/MUKESH (exfat, local, nodev, nosuid, read-only, […]

Categories
Linux Mastering Development

CentOS 8, is not auto mounting my AFPS partition

I have a USB External SSD with 4 disk partitions. The file system of partitions are AFPS ExFAT EXT4 NTFS I’m using kernel version [joseluisbz@centos ~]$ uname -r 4.18.0-193.6.3.el8_2.x86_64 [joseluisbz@centos ~]$ checking ls -al /dev/sd*… [joseluisbz@centos ~]$ ls -al /dev/sda* brw-rw—-. 1 root disk 8, 0 Jul 3 23:46 /dev/sda brw-rw—-. 1 root disk 8, […]

Categories
Linux Mastering Development

Systemd Journal fails to open /run/log/journal file

I was playing with BPF tools today and ran the command sudo opensnoop-bpfcc -x -U and noticed many traces like this: 0 403 systemd-journal -1 2 /run/log/journal/5c01742aed6d4d58bed5f1671e612657/system.journal … and then I ran: $ ls -al /run/log/journal/ total 0 drwxr-sr-x+ 2 root systemd-journal 40 Jun 28 15:06 . drwxr-xr-x 3 root root 60 Jun 28 15:06 […]

Categories
Apple User Help

How can i automount a network share on Macos Catalina?

I want to connect to a network share and i want the connection to remain after logout. I tried echo "/- auto_smb -nosuid,noowners,nofail /- auto_afp -nobrowse,nosuid" >> /etc/auto_master > /etc/auto_smb echo "/System/Volumes/Data/mount/Test2 -fstype=smbfs,soft,noowners,nosuid,rw ://$username:$password@server/share" >> /etc/auto_smb automount -cv My username and password will have special characters and i tried to escape them and to replace […]

Categories
Linux Mastering Development Ubuntu

Is the `size` parameter for tmpfs in fstab not working?

I am confused about whether my /tmp using tmpfs is respecting the size parameter that I gave to it in /etc/fstab: My fstab entries now read: root_pool/var/tmp /tmp /var/tmp zfs rw,nodev,nosuid 0 0 tmpfs /tmp tmpfs rw,nodev,nosuid,noexec,nr_inodes=5k,size=2G,mode=1777 0 0 tmpfs /dev/shm tmpfs defaults,nodev,nosuid,nr_inodes=5k,mode=700,size=4G 0 0 But according to du, it is using half of my […]

Categories
Apple User Help

Mounting problems with autofs and executable maps

I wanted to replace my already existing and working autofs mount to my NAS with a script variant, which additionally wakes up the server via WoL if necessary and requests the password via keychain. According to Apple’s Autofs whitepaper this should be possible via executable maps. The previous working static file /etc/auto_nas looks like this: […]

Categories
Linux Mastering Development Ubuntu

Partition – no write access

I have a interntal fat32 partition, shared with windows. In Ubuntu I don’t have write access. The fstab file looks like this: /dev/disk/by-label/SHAREDI /media/SHAREDI auto, users,nosuid,nodev,nofail,x-gvfs-show 0 0 When I open up the partition in Nautilus its owner is “root”. Any ideas? I’ve spent quite a lot of time reading the fstab options and can’t […]

Categories
User Help

What is the ideal VMWare Workstation configuration for local storage and internet connectivity?

IS there a general ‘high performance’ storage and networking configuration for running Linux VMs on VMWare workstation on Windows ? I have a very high performance laptop (with SSDs, 6 cores, and 32GB of ram and no other processes of significance running) Ive found that mounting shared folders is quite slow – to the point […]

Categories
Linux Mastering Development

Apache failed to start with PrivateTmp=true after I changed the /tmp folder

Apache service cannot start and I know the reason but not sure how to fix it: Apache error: apache2.service – The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Tue 2020-06-02 15:32:34 UTC; 3s ago Process: 1918 ExecStop=/usr/sbin/apachectl stop (code=exited, status=226/NAMESPACE) Process: 2028 ExecStart=/usr/sbin/apachectl start […]