fs2ram keep_file_content doesn't keep all files
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Raspbian |
Undecided
|
Unassigned | ||
| | fs2ram (Debian) |
Fix Released
|
Unknown
|
||
Bug Description
This is my config:
* fs2ram installed from repo, version 0.3.10
* /etc/fs2ram/
#<file system> <mount point> <script> <script option> <type> <options>
none /var/log keep_file_content - tmpfs
none /var/run keep_folder_
none /run/lock - - tmpfs
none /var/tmp - - tmpfs
none /tmp - - tmpfs
none /var/lib/puppet keep_file_content - tmpfs
What I expect:
* Any file in /var/log to remain after boot
What happens:
* I create a file in /var/log as root, readable by all.
* I reboot
* Logfiles seems to remain, but my new file is gone
This works on my workstation and laptop, both ubuntu 12.10 with fs2ram version 0.3.12.
| julenissen (dev-falk-petersen) wrote : | #1 |
| julenissen (dev-falk-petersen) wrote : | #2 |
Works as it should when I install http://
| peter green (plugwash) wrote : | #3 |
The raspbian package is the same as the package in debian wheezy. I'd suggest trying to reproduce this on a debian wheezy armel system if possible (the foundation make a wheezy armel image for the Pi available) and if it is reproducable report it to debian.
| Sriram (rsriram22) wrote : | #4 |
Tried getting the 0.3.12 version of the fs2ram and it still does not work. i have apache2 folder created under /var/log/ and that folder is not getting restored/preserved upon reboot..
| Sriram (rsriram22) wrote : | #5 |
update: it does not create (backup) the dirs not beloging to the user under which the fs2ram tool is running. for eg., if i run as root, following folders are not preserved under /var/log:
drwxr-x--- 2 root adm 4096 Apr 6 06:25 apache2
drwxr-s--- 2 Debian-exim adm 4096 Apr 12 06:25 exim4
drwxr-s--- 2 mysql adm 4096 Sep 10 2012 mysql
drwxr-x--- 3 root adm 4096 Apr 6 06:25 samba
| Diederik (didi-debian) wrote : | #6 |
What's the status of this bug?
What I read in the upstream bug report was that 'keep_file_content' was not available in 0.3.10, but only on 0.3.12.
Sriram: have you reported that bug upstream and/or in Debian? If so, do you have a bug number.
Furthermore the apache2 and samba dirs are owned by root, which seems to contradict your last post.
And can you also provide your configuration file(s)?
btw: it's odd to see it in raspbian as it apparently hasn't been available on any Debian stable release and is now only available on sid...
| Changed in raspbian: | |
| status: | New → Incomplete |
| Changed in fs2ram (Debian): | |
| status: | Unknown → New |
| Changed in fs2ram (Debian): | |
| status: | New → Fix Released |
| Diederik (didi-debian) wrote : | #7 |
The fs2ram package has now also been removed from unstable.
Furthermore the reporter hasn't responded for 9 months, so I'd say that this bug can be closed.


Seems this file /lib/fs2ram/ unmount- scripts/ common. sh is missing in raspbian package.