Coder Social home page Coder Social logo

transientlog's Introduction

A transient /var/log for Raspberry Pi

This project was abandoned

My Raspberry Pi has been broken last year. I can not maintain this software anymore. Please use log2ram.

Thank you.

abstract

Write the log on memory, not on disk. For Raspberry Pi or other SD card linux. I test on raspbian.

This code from A transient /var/log : Debian Administration.

Thanks for Matteo Cortese.

Install

git clone [email protected]:senju/transientlog.git
cd transientlog
sudo ./install.sh

And reboot.

transientlog's People

Contributors

ymettier avatar

Stargazers

Martin Hanes avatar Roland Stühmer avatar Maxime BORGES avatar  avatar Nicolas Humbert avatar

Watchers

hi5ato avatar Martin Hanes avatar

Forkers

geromueller

transientlog's Issues

Some services will not start correctly with transientlog (bind9, isc-dhcp-server...)

Hello,

Some services start too early (bind9, isc-dhcp-server...)
They should wait that transientlog is up and running.

I added some files like this (for bind9 for example) :

$ cat /etc/systemd/system/bind9.service.d/transientlog_dependancy.conf 
[Unit]
Wants=var-log.mount var-permanentlog.mount transientlog.service

(I disabled, reenabled bind9 of course, to reconfigure the service with those new dependencies)

However, my services (bind9, isc-dhcp-server...) are still broken at boot time : they start too early.
When they start too early, they use /var/log before it is remounted. When transientlog remounted the directory, my services will not find their files and will hang or fail.

  • Short fix : restart the services manually, after every reboot.
  • Long term fix : no idea...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.