- Edited
Hey I get this weird error pls help
https://files.catbox.moe/mpcxbq.jpg
https://files.catbox.moe/mpcxbq.jpg
I think it might be bad mirrors or somethingfungal_net wrotecan't tell, you know the drill, you've been around long. Do you have tty12?
Switch to tty12 or from chroot edit /etc/66/init.conf verbosity=4 reboot, go to tty12 and show /run/66/log/0/current.log
ln -sf /usr/share/zoneinfo/Zone/SubZone /etc/localtime
This is work but this is not correct.So i typed rm -rf /etc/localtime
and then mkdir /etc/localtime
that solved prob
This is correct. I encourage you to apply the jean-michel solution. Remove your /etc/locatime directory then create the symlink as jean-michel said.So, remove your /etc/localtime and next
ln -sf /usr/share/zoneinfo/Zone/SubZone /etc/localtime
# 66-env -L boot@ system
# 66-env -V boot@ system
# ls -al /etc |grep localtime
# 66-inresolve -t boot local-time
paradis# 66-env -L boot@ system
66-env: info: contents of file: /etc/66/conf/boot@ system/2.2.1/boot@ system
# Copyright (c) 2015-2020 Eric Vidal <eric@ obarun.org>
# All rights reserved.
#
# This file is part of Obarun. It is subject to the license terms in
# the LICENSE file found in the top-level directory of this
# distribution.
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
#
# System configuration file for a boot process running s6/s6-rc
# supervision suite and handled by 66 suite program.
#
# Do not use quotes or double-quotes on this file
#
# The '!' is used to not export the variable on the environment.
# If you want to keep it, remove the exclamation mark '!'.
#
# ========================== WARNING ====================================
#
# Do not forget to enable again the boot@ module after editing
# this file to apply your changes at the next reboot e.g:
# 66-enable -F -t boot boot@ system
#
# ======================= Global Settings ===============================
# # Set your HOSTNAME.
HOSTNAME=!paradis
# # Set your timezone, available timezones can be found at /usr/share/zoneinfo.
TZ=GMT/
# # Set the number of tty(s) to start.
# # 0 means no tty. Maximum is 11.
TTY=!2
# # Console keymap to load, see loadkeys(8).
KEYMAP=!uk
# # Console font to load, see setfont(8).
FONT=!lat9w-16
# # Console map to load, see setfont(8).
# FONT_MAP=
# # Console unimap to load, see setfont(8).
# FONT_UNIMAP=
# ========================== Devices ====================================
# # Mount devices from FSTAB file [yes|no].
FSTAB=!yes
# # Active swap [yes|no].
SWAP=!no
# # Active lvm devices [yes|no].
LVM=!no
# # Active dmraid devices [yes|no].
DMRAID=!no
# # Active btrfs devices [yes|no].
BTRFS=!no
# # Mount zfs devices [yes|no].
ZFS=!no
# # Zpool Import method [scan|zpoolcache]
# # It has no effects if ZFS is set to no or commented.
ZFS_IMPORT=!scan
# =======================================================================
# =================== Advanced user configuration =======================
#
# If you don't know what the following variables do, you
# don't need to change them. The machine will still boot
# with the default values
#
# =======================================================================
# ====================== System configuration ===========================
# # Setup the console
# # If set to no, KEYMAP,FONT,FONT_MAP,FONT_UNIMAP has no effects
SETUPCONSOLE=!yes
# # Set RTC [UTC|localtime].
HARDWARECLOCK=UTC
# # Use udev [yes|no]
# # If set to no the following variables has no effects or set to no:
# # SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB, DMRAID,
# # BTRFS, LVM
UDEV=!yes
# # Kernel configuration with sysctl [yes|no].
SYSCTL=!yes
# # Force a check of filesystem partition [yes|no].
FORCECHCK=!no
# # Use rc.local script [yes|no].
LOCAL=!no
# # Boot inside a container [yes|no].
# # If set to yes the following variables have no effect or are set to no:
# # HARDWARECLOCK, SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB
# # SWAP, LVM, DMRAID, BTRFS, ZFS, UDEV, SYSCTL, FORCECHCK, CGROUPS
# # MODULE_SYSTEM, RANDOMSEED, MNT_NETFS
CONTAINER=!no
# # Apply tmpfiles.d configuration file [yes|no].
TMPFILE=!yes
# # Load kernel modules [yes|no].
MODULE_KERNEL=!yes
# # Load modules from modules.d files
MODULE_SYSTEM=!yes
# # Populate ramdom seed
RANDOMSEED=!yes
# ========================== Security ===================================
# # Active encrypted devices [yes|no].
CRYPTTAB=!no
# # Firewall program to use [iptables|ip6tables|nftables|ebtables|arptables]
# # Comment to not use any firewall at all.
# FIREWALL=
# ========================== Pseudo filesystem ==========================
# # Mount cgroups [yes|no].
CGROUPS=!yes
# # Mount /proc directory [yes|no].
MNT_PROC=!yes
# # Mount /sys directory [yes|no].
MNT_SYS=!yes
# # Mount /dev directory [yes|no].
MNT_DEV=!yes
# # Mount /run directory [yes|no].
MNT_RUN=!yes
# # Mount /tmp directory [yes|no].
MNT_TMP=!yes
# # Mount /dev/pts directory [yes|no].
# # Only valuable if MNT_DEV is set to yes.
MNT_PTS=!yes
# # Mount /dev/shm directory [yes|no].
# # Only valuable if MNT_DEV is set to yes.
MNT_SHM=!yes
# # Mount no-network filesystem [yes|no].
# # Fstype mounted is: nosysfs,nonfs,nonfs4,nosmbfs,nocifs
MNT_NETFS=!yes
# # Create and mount /sys/firmware/efi/efivars, /sys/fs/fuse/connections,
# # /sys/kernel/{config,debug,security} and /sys/kernel/debug/tracing
# # if exist at /proc/filesystems
POPULATE_SYS=!yes
# # Create and mount /dev/{hugepages,mqueue}
# # if exist at /proc/filesystems
POPULATE_DEV=!yes
# # Create /run/{lvm,user,lock,utmp} directories
POPULATE_RUN=!yes
# # Create /tmp/{.X11-unix,.ICE-unix} files
POPULATE_TMP=!yes
paradis# 66-env -V boot@ system
/etc/66/conf/boot@ system/2.2.1 current
paradis# ls -al /etc |grep localtime
drwxr-xr-x 2 root root 4096 Dec 8 11:27 localtime
it shows 11:26 but its 12:08pm here in UKparadis# 66-inresolve -t boot local-time
Name : local-time
Description : Set localtime
Version : 2.2.1
Logger : None
Logreal : None
Logassoc : None
Dstlog : None
Deps : mount-rw
Optsdeps : None
Extdeps : None
Contents : None
Src : /usr/lib/66/service/boot@ system/service/local/local-time
Srconf : /etc/66/conf/boot@ system/2.2.1/local-time
Live : /run/66/
Runat : /run/66/tree/0/boot/servicedirs/local-time
Tree : /var/lib/66/system/boot
Treename : boot
State : /run/66/state/0/boot
Exec_run :
if { 66-yeller -cdp local-time -1 /dev/console starts... }
if -nt {
execl-envfile ${conf_file}
s6-ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime
}
66-yeller -fcdp local-time -1 /dev/console crashed!
Real_exec_run :
fdmove -c 2 1
execl-envfile /etc/66/conf/boot@ system/2.2.1/local-time/version
if { 66-yeller -cdp local-time -1 /dev/console starts... }
if -nt {
execl-envfile ${conf_file}
s6-ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime
}
66-yeller -fcdp local-time -1 /dev/console crashed!
Exec_finish : None
Real_exec_finish : None
Type : 3
Ndeps : 1
Noptsdeps : 0
Nextdeps : 0
Ncontents : 0
Down : 0
Disen : 1
-rw-r--r-- 10 root root 114 Oct 25 16:43 /usr/share/zoneinfo/GMT0
-rw-r--r-- 10 root root 114 Oct 25 16:43 /usr/share/zoneinfo/GMT-0
-rw-r--r-- 10 root root 114 Oct 25 16:43 /usr/share/zoneinfo/GMT+0
-rw-r--r-- 10 root root 114 Oct 25 16:43 /usr/share/zoneinfo/GMT
-rw-r--r-- 7 root root 3.6K Oct 25 16:43 /usr/share/zoneinfo/GB-Eire
-rw-r--r-- 7 root root 3.6K Oct 25 16:43 /usr/share/zoneinfo/GB
-rw-r--r-- 8 root root 114 Oct 25 16:43 /usr/share/zoneinfo/UTC
-rw-r--r-- 7 root root 3.6K Oct 25 16:43 /usr/share/zoneinfo/Europe/London
# rm -rf /etc/localtime
# s6-ln -sf /usr/share/zoneinfo/GMT /etc/locatime
check it
% ls -la /etc/localtime
lrwxrwxrwx 1 obarun users 23 Dec 9 09:55 /etc/localtime -> /usr/share/zoneinfo/GMT
the first letter of the line should be 'l' and not 'd'% mkdir /tmp/dir
% touch /tmp/file
% sudo chown -R root:root /tmp/dir
% ln -sf /tmp/dir /tmp/sym
% ln -sf /tmp/file /tmp/sym
ln: failed to create symbolic link '/tmp/sym/file': Permission denied
Powered by Obarun