Changes vs changes-ro behavior

Non release banter
tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Changes vs changes-ro behavior

Post#1 by tome » 04 Sep 2015, 16:44

1. I use changes= cheatcode and I have installed ca-certificates, Porteus boots up normally, but
2. If I add changes-ro next to changes= cheatcode I can see at boot something like this: "Clearing symlinks in /etc/ssl/certs"
Why?
You have mind and feelings. Be wise and clever.

KnallKopf
Samurai
Samurai
Posts: 134
Joined: 18 Sep 2012, 20:56
Distribution: Porteus 64bit KDE4
Location: Absurdistan

Re: Changes vs changes-ro behavior

Post#2 by KnallKopf » 04 Sep 2015, 19:45

I am not shure but, i thing the reason is:

/etc/rc.d/rc.S
line 21

Code: Select all

egrep -qv 'changes$|/00.*.xzm' /mnt/live/tmp/modules && sh /opt/porteus-scripts/xorg/update-cache rc.S 2>/dev/null &
/opt/porteus-scripts/xorg/update-cache
line 55

Code: Select all

[ -e $CACHES/certs ] && update-ca-certificates --fresh &


i have a question too:
when i have istalled: ca-certificates-20150426-noarch-1_slack14.1
and update.
i get following error:

Code: Select all

root@porteus:~# update-ca-certificates
Updating certificates in /etc/ssl/certs...
32 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
/usr/sbin/update-ca-certificates: line 199: Not a directory: --test: command not found
E: Not a directory: --test exited with code 127.
/usr/sbin/update-ca-certificates: line 199: Usage: run-parts <directory>: command not found
E: Usage: run-parts <directory> exited with code 127.
done.
Is this normal ?

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Changes vs changes-ro behavior

Post#3 by tome » 05 Sep 2015, 20:16

I have the same error for ca-certificates-20150426-noarch-1_slack14.1.txz, for ca-certificates-20130906-noarch-1.txz my output is clear. To solve this you can remove

Code: Select all

/etc/ca-certificates/update.d
and/or rename /etc/ca-certificates.conf to /etc/ca-certificates.conf.old and /etc/ca-certificates.conf.new to /etc/ca-certificates.conf
You have mind and feelings. Be wise and clever.

Post Reply