-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi Lucas,
Am Di den 11. Mär 2014 um 16:08 schrieb Lucas Nussbaum:
> > > > The package creates files in / root directory namely /.cache. Please
> > > > never write such files to /.
> > >
> > > Strange.
> > >
> > > the relevant code in hcih is:
> > > HOME=ENV['HOME']
> > > CACHEDIR = "#{HOME}/.cache/how-can-i-help"
> > >
> > > Do you have HOME set to an empty string?
> >
> > No I don't. But I had such caches in / so I believe that maybe in cron
> > apt commands $HOME might not be set or something similar.
>
> When you write 'cron apt commands', do you mean just calling apt-get
> update in a cron script, or something else?
I don't know. It was just a guess. It's the only think that I could
think of if #{HOME} means to use the variable HOME and ENV is a link to
the environment. And yes, the nightly cron job that updates apt.
But it could also be that there is a hidden place in the code too where
you don't use the variable.
Sorry, that I do not know what exactly was leading to this. And as I
already deleted the .cache in / I cannot see anymore when it was
created. But I will have surely an eye on it.
Couldn't you crosscheck in the script if $HOME is proper set and issue a
log error in case it is not and stop further proceeding?
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBCgAGBQJTHynVAAoJEKZ8CrGAGfasKr4L/2t4tQDj2LaIopnCh7ONNb/c
L0A5GfAOCX97ts7RVCQxXB0wdfm6KpRizjxcy0O7zt/Tf0qApWNRyiMQ5f+hiULH
xiKZnBzEBtF4PzHn3az/Q1M1XA36AAGM0SEv5SkHsk/CUGqVnHuAKBgw/1tlBGae
QPPgVV3V6n6zI0OAZpsEfXl76aLn4/i/HlgIUV47R7w/5lKODOQJtGHPXF6gBsez
Y7mKGhFJVnJzrKrzdxqNdQvBDFdm4WoInjROb2yck9yzh+lyACzNLWSbJOQIjUIm
3YC7bNFi0wWhKa3YX4XGIjfQuQLBwkwhIw/ZB9VaNMCLCK8RfTvOHarIhlNxmoaQ
kzuttAnPpuO3MQ71Qd4hIOBBugSPGsOmQb5gWc1puSHSEV/fwzrm96Po2i6//2K0
s5OnapBqeVBKzgc3i8K/XuD//shMdAeR0TwS605gOLyt/YKT0MChMeqcPY/8UYkA
8rEnk11donJ1QQJmcZiMMkZRveb815iuIAxOB0jGsA==
=y8kU
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]