• 6 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle






  • I went into /audit.log you asked, I’m gonna be honest as a total linux newbie I have no idea what im looking at . I don’t really know what’s supposed to be an error and what’s irrelevent. This is the only thing that stick out to me

    type=SERVICE_START msg=audit(1708923571.909:69): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-userdbd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'^]UID="root" AUID="unset"


  • ok here’s the output

    root@localhost-live:/home/adelie# ls -lZ
    total 36
    -rw-r--r--. 1 adelie adelie unconfined_u:object_r:unlabeled_t:s0    0 Feb 27 11:11 confirm.txt
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 25 21:03 Desktop
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 19:32 Documents
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 10:59 Downloads
    drwxr-xr-x. 5 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 26 14:15 Essentials
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 10:59 Music
    drwxr-xr-x. 3 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Pictures
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Public
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Templates
    drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Videos
    
    




  • I’ll do that but just to be clear this is my partition table

    adelie@localhost-live:~$ lsblk -f
    NAME        FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
    sda                                                                                 
    └─sda1      ext4   1.0          f56df020-2420-4b0c-af4d-2c4c6a56a0b0  718.4G    16% /new_home
    zram0                                                                               [SWAP]
    nvme0n1                                                                             
    ├─nvme0n1p1 vfat   FAT32        02E9-123A                             581.4M     3% /boot/efi
    ├─nvme0n1p2 ext4   1.0          ed92de40-2403-4365-9b5c-eb10d519757c  719.6M    19% /boot
    └─nvme0n1p3 btrfs        fedora d5877671-6a39-4d96-9a2a-514b6007a59b  332.4G    28% /home
                                                                                        /
    



  • So I ran all three commands including the one /u/Max_P gave. I then changed the fstab and rebooted. I still couldn’t login after that.

    I then tried to login with TTY. it gave me the same error as in the post. I ran the three commands again and rebooted. still nothing

    I logged in with my root account and ran the three commands again, rebooted and still couldn’t login. I then fixed the fstab and now I’m back here again.

    just to be clear i ran chmod 700 not 755.

    Anything I should run in order to check my system? I must’ve done something wrong. Maybe it has to do with btrfs?









  • Old drive with current home directory = Drive A

    New drive I wish to use a home directory = Drive B, I gave it an extra file named confirm.txt

    I did have a root user account, I just didn’t know how to boot into it

    The first time around I forgot to copy my old home folder into my new home folder, but now I know that wasn’t the issue.

    After a bit of fiddling I decided to reinstall fedora.

    I tried to separate my / and /home from the fedora installer; for some reason fedora wouldn’t let me. Any time I tried to set my /home on my 1TB drive fedora would place my / into said drive. Just to clarify I want my / and everything in it to stay in my 500GB nvme and my /home to be in my 1TB ssd.

    I just cut my loses and let fedora do it’s usual install in Drive A. Drive B was left untouched.

    For the new install I decided to do some thing different

    In / I made two new partitions /new_home and /old_home

    I went into fstab and made both drives mount; Drive A mounted into /home and Drive B into /new_home

    I rebooted; Logged in as normal and Drive B successfully mounted

    From here I reversed it, Drive A into /old_home and Drive B into /home

    I rebooted; I entered into the KDE Login screen as usual. I typed my password correctly but after a short animation I was placed back into the login screen.

    I logged in as root and checked if everything mounted correctly. It did. From / my /home would place me into Drive B the one with confirm.txt. And Drive A was in /old_home

    So now I’m confused. Everything mounted properly but I still can’t login with my account. I’m assuming this might be a KDE problem but I’d like your opinion.