/var/log/* permissions - Debian

This is a discussion on /var/log/* permissions - Debian ; Hi, I did an install with a daily image, suite=etch. It went pretty good, but in the end there are several differences in the /var/log/* permissions compared to an older Etch system. For example, /var/log/messages used to be root:adm 640, ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: /var/log/* permissions

  1. /var/log/* permissions

    Hi,

    I did an install with a daily image, suite=etch. It went pretty good,
    but in the end there are several differences in the /var/log/*
    permissions compared to an older Etch system. For example,
    /var/log/messages used to be root:adm 640, now it's root:root 644.
    Where does this change originate from?
    --
    Thanks,
    Feri.


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: /var/log/* permissions

    Op 15-04-2008 om 11:57 schreef Ferenc Wagner:
    > I did an install with a daily image, suite=etch. It went pretty good,
    > but in the end there are several differences in the /var/log/*
    > permissions compared to an older Etch system. For example,
    > /var/log/messages used to be root:adm 640, now it's root:root 644.
    > Where does this change originate from?


    My guess was the d-i package 'rootskel'.
    Checking the facts learnt that it must be somethingelse.
    I could find var/log/messages under debian-installer/packages/rootskel/src/
    but nothing with 'root:adm 640' or 'root:root 644'

    When the originate of the file permission is pointed out,
    I do like to know what the future file permission of /var/log/messages
    will be and especially WHY.


    Cheers
    Geert Stappers
    used to have root:adm 640 for /var/log/messages


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Re: /var/log/* permissions

    On Tuesday 15 April 2008, Ferenc Wagner wrote:
    > I did an install with a daily image, suite=etch. It went pretty good,
    > but in the end there are several differences in the /var/log/*
    > permissions compared to an older Etch system. For example,
    > /var/log/messages used to be root:adm 640, now it's root:root 644.
    > Where does this change originate from?


    AFAICT this is not a change, but a bug in the Etch version of sysklogd that
    has already been fixed for sid/lenny.

    The problem only exists for the very first messages file created after a new
    installation. Files created later after log rotation should have the
    correct permissions.

    Cause is that the postinst script for the Etch version only created a few
    specific log files while the sid/lenny version will create all of them.

    This is definitely not an issue in the installer and also not related to
    which version of the installer is used.

    Cheers,
    FJP

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBIBldegm/Kwh6ICoQRAv57AJ9d3xlbRmEnncrb1ucmF05YeYTaiACfSJ/z
    Ht39d6WHkRLsqVYd7uuJMVI=
    =I5PF
    -----END PGP SIGNATURE-----


  4. Re: /var/log/* permissions

    Geert Stappers wrote:
    > My guess was the d-i package 'rootskel'.
    > Checking the facts learnt that it must be somethingelse.
    > I could find var/log/messages under debian-installer/packages/rootskel/src/
    > but nothing with 'root:adm 640' or 'root:root 644'


    rootskel has absolutely nothing to do with /target. HTH.

    --
    see shy jo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFIBlqud8HHehbQuO8RAv77AKC33N9BrWidJUHu3dD/dFwspq71QwCePVFc
    kY72avKnafys2hgRj5h09hs=
    =qUdj
    -----END PGP SIGNATURE-----


  5. Re: /var/log/* permissions

    Frans Pop writes:

    > On Tuesday 15 April 2008, Ferenc Wagner wrote:
    >> I did an install with a daily image, suite=etch. It went pretty good,
    >> but in the end there are several differences in the /var/log/*
    >> permissions compared to an older Etch system. For example,
    >> /var/log/messages used to be root:adm 640, now it's root:root 644.
    >> Where does this change originate from?

    >
    > AFAICT this is not a change, but a bug in the Etch version of sysklogd that
    > has already been fixed for sid/lenny.


    How does the sid/lenny sysklogd come into the picture when installing
    with suite=etch?
    --
    Thanks,
    Feri.


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  6. Re: /var/log/* permissions

    On Wednesday 16 April 2008, Ferenc Wagner wrote:
    > Frans Pop writes:
    > > On Tuesday 15 April 2008, Ferenc Wagner wrote:
    > >> I did an install with a daily image, suite=etch. It went pretty good,
    > >> but in the end there are several differences in the /var/log/*
    > >> permissions compared to an older Etch system. For example,
    > >> /var/log/messages used to be root:adm 640, now it's root:root 644.
    > >> Where does this change originate from?

    > >
    > > AFAICT this is not a change, but a bug in the Etch version of sysklogd
    > > that has already been fixed for sid/lenny.

    >
    > How does the sid/lenny sysklogd come into the picture when installing
    > with suite=etch?


    It does not. That's why you still see the bug when you use the Lenny
    installer to install Etch.

    But you'll _also_ see the bug if you use the Etch installer, so the
    statement in your original message that there was a difference or a change
    in the way Etch was installed was incorrect.
    There almost certainly will be differences, but this is not one of them.

    Cheers,
    FJP

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBIBmMpgm/Kwh6ICoQRAiAaAJ0UC/lsTlfFBXVzXjQiUqYVhSCB3wCfQViN
    46ngBfMfcMHxc8Hd6rt8J2k=
    =SmRL
    -----END PGP SIGNATURE-----


  7. Re: /var/log/* permissions

    > On Wednesday 16 April 2008, Ferenc Wagner wrote:
    >> Frans Pop writes:
    >>> On Tuesday 15 April 2008, Ferenc Wagner wrote:
    >>>> I did an install with a daily image, suite=etch. It went pretty good,
    >>>> but in the end there are several differences in the /var/log/*
    >>>> permissions compared to an older Etch system. For example,
    >>>> /var/log/messages used to be root:adm 640, now it's root:root 644.
    >>>> Where does this change originate from?
    >>>
    >>> AFAICT this is not a change, but a bug in the Etch version of sysklogd
    >>> that has already been fixed for sid/lenny.

    >>
    >> How does the sid/lenny sysklogd come into the picture when installing
    >> with suite=etch?

    >
    > It does not. That's why you still see the bug when you use the Lenny
    > installer to install Etch.
    >
    > But you'll _also_ see the bug if you use the Etch installer, so the
    > statement in your original message that there was a difference or a change
    > in the way Etch was installed was incorrect.
    > There almost certainly will be differences, but this is not one of them.


    You are perfectly right. Sorry for the noise.
    --
    Thanks,
    Feri.


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread