Quantcast

yocto dizzy. how to make /var/log permanent ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

yocto dizzy. how to make /var/log permanent ?

kris duff
Hello,

I am using yocto dizzy with the gumstix layer.

I have customized the gumstix-console-image for my needs.

I have seen that the directory /var/log is a link to /var/volatile

How can I change that ?  I want to keep my logs

Thank you very much !

Kris

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: yocto dizzy. how to make /var/log permanent ?

Akram Hameed
Hi Kris,

I personally just reconfigure my syslogger to point someplace else, but if you want to actually create /var/log on permanent storage, there's different things to do depending on if you use sysvinit or systemd unfortunately. Yocto has a few little magicks regarding volatile directories, but you might take a look at this if you use systemd: https://github.com/gumstix/yocto-manifest/issues/62

For me, on sysvinit, I tweaked the initscripts package. Systemd the above link might help you out.

Cheers,

Akram

On Sat, Dec 10, 2016 at 8:29 AM, kris duff <[hidden email]> wrote:
Hello,

I am using yocto dizzy with the gumstix layer.

I have customized the gumstix-console-image for my needs.

I have seen that the directory /var/log is a link to /var/volatile

How can I change that ?  I want to keep my logs

Thank you very much !

Kris

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: yocto dizzy. how to make /var/log permanent ?

kris duff
Hi Akram,

Thank you a lot for your answer, I also think that the best way to do it is to place it somewhere else.

Thank you for the links!

Kris


On Sunday, December 11, 2016 9:39 PM, Akram Hameed <[hidden email]> wrote:


Hi Kris,

I personally just reconfigure my syslogger to point someplace else, but if you want to actually create /var/log on permanent storage, there's different things to do depending on if you use sysvinit or systemd unfortunately. Yocto has a few little magicks regarding volatile directories, but you might take a look at this if you use systemd: https://github.com/gumstix/yocto-manifest/issues/62

For me, on sysvinit, I tweaked the initscripts package. Systemd the above link might help you out.

Cheers,

Akram

On Sat, Dec 10, 2016 at 8:29 AM, kris duff <[hidden email]> wrote:
Hello,

I am using yocto dizzy with the gumstix layer.

I have customized the gumstix-console-image for my needs.

I have seen that the directory /var/log is a link to /var/volatile

How can I change that ?  I want to keep my logs

Thank you very much !

Kris

------------------------------ ------------------------------ ------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
______________________________ _________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/ lists/listinfo/gumstix-users





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Loading...