laurent85v / archuseriso

A set of bash script programs to create bootable Arch Linux images and to create bootable USB flash drives with a desktop environment.
GNU General Public License v3.0
223 stars 30 forks source link

Permission issues #10

Closed omeringen closed 3 years ago

omeringen commented 4 years ago

Hi, I am not sure if this is related to mkiso changes lately or not. Unfortunately i removed old ISO files, so i am not able to compare. Gonna check my old backups created with old builds and post results probably tomorrow.

I have made two persist USB build(ext4 and f2fs), same results. Used manual installation progress and aui-kde-linux_5_8_9-0916-x64

No extra packages are installed, just created USB from stratch and reproduce these :

  1. I realized that i wasn't able to set a time zone. Everytime, first try is resulting with a permission error even with sudo. second try is successful and then some time later it becomes to UTC +0 again. Plus, changing zone on KDE system settings menu results similar error. I find only one post related to this but it's old: https://bbs.archlinux.org/viewtopic.php?pid=1699598#p1699598
live@archiso ~ % timedatectl set-timezone Europe/Istanbul 
Failed to set time zone: Access denied
1 live@archiso ~ % timedatectl
               Local time: Fri 2020-09-18 02:27:39 +03 
           Universal time: Thu 2020-09-17 23:27:39 UTC 
                 RTC time: Thu 2020-09-17 23:27:39     
                Time zone: Europe/Istanbul (+03, +0300)
System clock synchronized: yes                         
              NTP service: active                      
          RTC in local TZ: no                          
live@archiso ~ % timedatectl
               Local time: Fri 2020-09-18 02:28:04 +03 
           Universal time: Thu 2020-09-17 23:28:04 UTC 
                 RTC time: Thu 2020-09-17 23:28:04     
                Time zone: Europe/Istanbul (+03, +0300)
System clock synchronized: yes                         
              NTP service: active                      
          RTC in local TZ: no                          
live@archiso ~ % timedatectl
               Local time: Thu 2020-09-17 23:28:39 UTC
           Universal time: Thu 2020-09-17 23:28:39 UTC
                 RTC time: Thu 2020-09-17 23:28:39    
                Time zone: UTC (UTC, +0000)           
System clock synchronized: yes                        
              NTP service: active                     
          RTC in local TZ: no                         
live@archiso ~ % 
  1. I see lots of "directory permissions differ" warning messages. You'll see a lot more warning messages when installing another packages.
live@archiso ~ % sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra                1658.4 KiB   111 KiB/s 00:15 [##################] 100%
 community               5.2 MiB  66.0 KiB/s 01:20 [##################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (9) dconf-0.38.0-1  gobject-introspection-runtime-1.66.0-1
             gpm-1.20.7.r38.ge82d1a6-2  gsettings-desktop-schemas-3.38.0-1
             json-glib-1.6.0-1  perl-html-parser-3.74-1  vim-8.2.1704-1
             vim-runtime-8.2.1704-1  zeromq-4.3.3-2

Total Download Size:   10.06 MiB
Total Installed Size:  44.82 MiB
Net Upgrade Size:       0.46 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 gpm-1.20.7.r38.g...   140.4 KiB  59.8 KiB/s 00:02 [##################] 100%
 dconf-0.38.0-1-x...   100.4 KiB   174 KiB/s 00:01 [##################] 100%
 gobject-introspe...   219.6 KiB  47.8 KiB/s 00:05 [##################] 100%
 gsettings-deskto...   653.4 KiB  49.8 KiB/s 00:13 [##################] 100%
 json-glib-1.6.0-...   209.8 KiB  47.9 KiB/s 00:04 [##################] 100%
 perl-html-parser...    81.3 KiB  54.9 KiB/s 00:01 [##################] 100%
 vim-runtime-8.2....     6.3 MiB  55.6 KiB/s 01:57 [##################] 100%
 vim-8.2.1704-1-x...  1750.1 KiB  97.1 KiB/s 00:18 [##################] 100%
 zeromq-4.3.3-2-x...   653.4 KiB  61.0 KiB/s 00:11 [##################] 100%
(9/9) checking keys in keyring                     [##################] 100%
(9/9) checking package integrity                   [##################] 100%
(9/9) loading package files                        [##################] 100%
(9/9) checking for file conflicts                  [##################] 100%
(9/9) checking available disk space                [##################] 100%
:: Processing package changes...
(1/9) upgrading dconf                              [##################] 100%
warning: directory permissions differ on /etc/
filesystem: 555  package: 755
(2/9) upgrading gobject-introspection-runtime      [##################] 100%
(3/9) upgrading gpm                                [##################] 100%
warning: directory permissions differ on /etc/
filesystem: 555  package: 755
(4/9) upgrading gsettings-desktop-schemas          [##################] 100%
(5/9) upgrading json-glib                          [##################] 100%
(6/9) upgrading perl-html-parser                   [##################] 100%
(7/9) upgrading vim-runtime                        [##################] 100%
warning: directory permissions differ on /etc/
filesystem: 555  package: 755
(8/9) upgrading vim                                [##################] 100%
(9/9) upgrading zeromq                             [##################] 100%
:: Running post-transaction hooks...
(1/8) Reloading system manager configuration...
(2/8) Arming ConditionNeedsUpdate...
(3/8) Warn about old perl modules
(4/8) Updating GIO module cache...
(5/8) Compiling GSettings XML schema files...
(6/8) Updating icon theme caches...
(7/8) Updating the info directory file...
(8/8) Updating the desktop file MIME type cache...
live@archiso ~ % 
laurent85v commented 4 years ago

Fix released https://github.com/laurent85v/archuseriso/commit/0663a0d28126f12d70ec3fdcd0c3557fdad3af31

Update to version 0.5.2.1

omeringen commented 4 years ago

Fix released 0663a0d

Update to version 0.5.2.1

Checked new build aui-kde-linux_5_8_9-0918-x64, same. bTw, i changed time zone via "locale ln -sf /usr/share/zoneinfo/Region/City /etc/localtime "

http://codepad.org/sXClcnCB http://codepad.org/sIxKmnoq

laurent85v commented 4 years ago

Sorry the build server was not up to date, rebuilding now.

omeringen commented 3 years ago

Sorry the build server was not up to date, rebuilding now.

Thanks. works flawlessly