Tiny Core Base > piCore Test Releases

piCore-12.0beta1

<< < (5/8) > >>

Juanito:
From the contents of util-linux-python.tcz.list, it looks like it should be python3.8?

polikuo:

--- Quote from: Juanito on October 04, 2020, 12:40:51 PM ---From the contents of util-linux-python.tcz.list, it looks like it should be python3.8?

--- End quote ---


--- Code: ---tc@box:~$ find /tmp/tcloop/util-linux-python -not -type d -exec file {} +
/tmp/tcloop/util-linux-python/usr/local/lib/python3.8/site-packages/libmount/__init__.py:                               Python script, ASCII text executable
/tmp/tcloop/util-linux-python/usr/local/lib/python3.8/site-packages/libmount/__pycache__/__init__.cpython-38.opt-1.pyc: python 3.8 byte-compiled
/tmp/tcloop/util-linux-python/usr/local/lib/python3.8/site-packages/libmount/__pycache__/__init__.cpython-38.pyc:       python 3.8 byte-compiled
/tmp/tcloop/util-linux-python/usr/local/lib/python3.8/site-packages/libmount/pylibmount.la:                             libtool library file, ASCII text
/tmp/tcloop/util-linux-python/usr/local/lib/python3.8/site-packages/libmount/pylibmount.so:                             ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, stripped

--- End code ---

Yep, you're right.  :)

Furthermore, pylibmount.so depends on libmount.so.1
So the dep file should look like

--- Code: ---python3.8.tcz
util-linux.tcz

--- End code ---

Juanito:
dep file adjusted - thanks for reporting this.

mortegai:
Missing applet busybox groups used in openssh.tcz extension.

Juanito:
I see that the openssh init.d script calls busybox groups, which is no longer present in piCore, but is it actually needed - openssh works for me without that command being present?

In piCore:
--- Code: ---$ cat /tmp/tcloop/openssh/usr/local/etc/init.d/openssh
#!/bin/sh
# openssh sshd start script
[ $(id -u) = 0 ] || { echo "must be root" ; exit 1; }

start(){

        busybox groups sshd >/dev/null 2>&1
        [ $? -ne 0 ] && busybox addgroup -g 33 sshd
   busybox id sshd >/dev/null 2>&1
   [ $? -ne 0 ] && busybox adduser -D -H -G sshd -u 33 -s /dev/null sshd

   [ -d /var/empty ] || mkdir /var/empty

   [ -f /usr/local/etc/ssh ] || mkdir -p /usr/local/etc/ssh

   [ -f /usr/local/etc/ssh/sshd_config ] || cp /usr/local/etc/ssh/sshd_config.example /usr/local/etc/ssh/sshd_config

--- End code ---

..whereas in x86:
--- Code: ---$ cat /tmp/tcloop/openssh/usr/local/etc/init.d/openssh
#!/bin/sh
# openssh sshd start script
[ $(id -u) = 0 ] || { echo "must be root" ; exit 1; }

start(){
   [ -f /usr/local/etc/ssh/sshd_config ] || { echo "config file /usr/local/etc/ssh/sshd_config not found"; exit 1; }
--- End code ---

There shouldn't be a need for any groups apart from root and staff?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version