Re: [Bulk] Re: random.seed and read only root

2014-09-16 Thread Kevin Chadwick
On Mon, 15 Sep 2014 21:22:55 -0700
Philip Guenther wrote:

  So I guess I am either missing something or should just wait for an
  actual release or two to see what's planned for ro root.  
 
 Doesn't read-only root require additional hacks already to make device
 ownership work?  You're kludging the system already; just add another
 line to the kludge for this...

True (mfs /dev) and makes sense all things considered.

Thanks, Kc



Re: random.seed and read only root

2014-09-15 Thread Philip Guenther
On Thu, Sep 11, 2014 at 1:41 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote:
 previously on this list Kevin Chadwick contributed:

 After noticing random.seed change failure messages on shutdown. I have
 been modding /etc/rc?

 --- etc/rc  Fri Aug  8 07:05:50 2014
 +++ etc/rc.new  Mon Aug 18 19:04:49 2014
 @@ -267,6 +267,7 @@
  _rc_parse_conf

  if [ X$1 = Xshutdown ]; then
 +   /sbin/mount -uw /
 if echo 2/dev/null /var/db/host.random || \
 echo 2/dev/null /etc/random.seed; then
 random_seed


 So I guess I am either missing something or should just wait for an
 actual release or two to see what's planned for ro root.

Doesn't read-only root require additional hacks already to make device
ownership work?  You're kludging the system already; just add another
line to the kludge for this...


Philip Guenther



Re: random.seed and read only root

2014-09-11 Thread Kevin Chadwick
previously on this list Kevin Chadwick contributed:

 After noticing random.seed change failure messages on shutdown. I have
 been modding /etc/rc?
 
 --- etc/rc  Fri Aug  8 07:05:50 2014
 +++ etc/rc.new  Mon Aug 18 19:04:49 2014
 @@ -267,6 +267,7 @@
  _rc_parse_conf
  
  if [ X$1 = Xshutdown ]; then
 +   /sbin/mount -uw /
 if echo 2/dev/null /var/db/host.random || \
 echo 2/dev/null /etc/random.seed; then
 random_seed


So I guess I am either missing something or should just wait for an
actual release or two to see what's planned for ro root.

In case it is of any use to anyone. I've added this one liner to an
existing boot script of mine so I don't need to remember to
edit /etc/rc.

printf /X\shutdown\\n+1\ni\n\t\/sbin\/mount -uw \/\n.\nw\nq\n
| /bin/ed /etc/rc

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)

In Other Words - Don't design like polkit or systemd
___



random.seed and read only root

2014-08-18 Thread Kevin Chadwick
After noticing random.seed change failure messages on shutdown. I have
been modding /etc/rc?

--- etc/rc  Fri Aug  8 07:05:50 2014
+++ etc/rc.new  Mon Aug 18 19:04:49 2014
@@ -267,6 +267,7 @@
 _rc_parse_conf
 
 if [ X$1 = Xshutdown ]; then
+   /sbin/mount -uw /
if echo 2/dev/null /var/db/host.random || \
echo 2/dev/null /etc/random.seed; then
random_seed

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)

In Other Words - Don't design like polkit or systemd

___