Home > Gentoo Error > Gentoo Error Setting Owner Of /var/log/portage/elog/summary.log

Gentoo Error Setting Owner Of /var/log/portage/elog/summary.log

Logrotate-script is the same: > > > > /var/log/portage/elog/summary.log { > >    su portage portage > >    missingok > >    nocreate > >    delaycompress } > > I'm pretty sure I did not touch itfor years so I'm surprised logrotate is suddenly complaining(it has been updated recently, that might be reason).Anyway, how should those permissions look like to Logrotate-script is the same: > > > > /var/log/portage/elog/summary.log { > > su portage portage > > missingok > > nocreate > > delaycompress } > > Logrotate-script is the same: /var/log/portage/elog/summary.log { su portage portage missingok nocreate delaycompress } So I suppose either there is something wrong with "A", or logrotate script must be modified (although it http://xhpcreations.com/gentoo-error/gentoo-cups.html

Reload to refresh your session. Date: Sun, 28 Aug 2011 18:45:51 Message-Id: [email protected] In Reply to: Re: [gentoo-user] logrotate: /var/log/portage/elog "insecure permissions"? Running portage-2.2.0_alpha112 on > both. > > - Bryan > > I always use the -a option. The latest portage ebuilds include an updated configfile.--Neil BothwickThere's no such thing as a free lunch___Steve Ballmer, choking on a linuxburger Mick 2011-08-07 00:30:02 UTC PermalinkRaw Message Post by Neil BothwickPost https://forums.gentoo.org/viewtopic-t-887982.html

Logrotate-script is the same: > > /var/log/portage/elog/summary.log { >    su portage portage >    missingok >    nocreate >    delaycompress } > > So I suppose either there is implementationdev-java / wsdl4j : Web Services Description Language for Java Toolkit (WSDL4J)dev-java / xml-commons-external : Externally-defined set of standard interfaces, namely DOM, SAX, and JAXPdev-java / xml-commons-resolver : An XML Entity So at least, it's possible to chgrp /var/log/portage and have the ownership stick. - Bryan tanstaafl at libertytrek Jun26,2012,11:43AM Post #13 of 13 (1413 views) Permalink Re: Proper permissions for /var/log/portage/elog/summary.log? [In reply

It seems to me, they should be the same for everyone. I have not added my regular user > to the portage group. I have no memory of messing with the permissions either. Login | Register For Free | Help Search this list this category for: (Advanced) Mailing List Archive: Gentoo: User Proper permissions for /var/log/portage/elog/summary.log?

I have no memory of messing with the permissions >> either. >> >> I think that if you use a regular user to emerge some things, it gets >> set to If everything looks good, I can hit the "y" key and let it go. Notes System Administrator linux, servers, www, network ... my site Change/var/log/portage/elog/summary.log {su portage portage...}Disclaimer: I've not really tried this (yet) but I think I'm able toread changelogs and man-pages. ;-)Yes that fixes it.

it still complains here!error: error setting owner of /var/log/portage/elog/summary.log-20110801.gz:Operation not permittedThis is my /etc/logrotate.d/elog-save-summary:===================================/var/log/portage/elog/summary.log {su portage portagemissingoknocreatedelaycompress}===================================# ls -la /var/log/portage/elog/summary.log-rw-rw-r-- 1 root portage 4326 Aug 6 09:44 /var/log/portage/elog/summary.logCan you see anything Hint: EMERGE_DEFAULT_OPTS="--quiet-build=n" mr.jarry at gmail Jun25,2012,11:19AM Post #9 of 13 (1417 views) Permalink Re: Proper permissions for /var/log/portage/elog/summary.log? [In reply to] On 24-Jun-12 20:27, Dale wrote: >> I have just checked my machines Miss the compile output? Already have an account?

Monday, October 31, 2011 error: error setting owner of /var/log/portage/elog/summary.log-.gz: Operation not permitted Sometimes on my gentoo servers I get sut errors via cron: error: error setting owner of /var/log/portage/elog/summary.log-20110809.gz: Operation But back to my question: on all > > > boxes with "A" access rights I can not rotage portage logs. > > > All I get is mail from my It may be that this is only set > once or that it could be modified if you run as root then later on run > as a user. Odd indeed.

Miss the compile output? this content If you always run emerge as root, then you get root:root. Changeyour config to look like this:/var/log/portage/elog/summary.log {su portage portage...}Disclaimer: I've not really tried this (yet) but I think I'm able toread changelogs and man-pages. ;-)[1] https://bugzilla.redhat.com/show_bug.cgi?id=680799Regards,Florian Philipp Neil Bothwick 2011-08-05 22:20:01 Odd indeed. > > I thought perhaps some user flag in FEATURES would do this, but the > only difference between the two is buildpkg vs.

Without this option it is not possible (or I don't know how) to rotate files like the elog logfiles under Gentoo. Also, when /usr/lib/portage/pym/portage/elog/mod_save.py is invoked, it copies the gid down to /var/log/portage/elog from /var/log/portage, so mystery mostly solved... lamp (1) postgresql (1) programming (2) proxy (1) python (4) raid (2) rsync (1) samba (1) security (5) sms (1) sqlite (1) squid proxy (3) ssh (3) ssl (3) sudo (1) weblink I thought perhaps some user flag in FEATURES would do this, but the only difference between the two is buildpkg vs.

So, from my point of view, the answer is no. Miss the compile output? The name "Gentoo" and the "g" logo are trademarks of the Gentoo Foundation, Inc.Many thanks to the people behind the tech powering Gentoo Browse.·Gentoo·PostgreSQL·Apache·FastCGI·XSLT·jQuery·Boost·Bootstrap·Project2·Site searchSearches package names, descriptions and bug summaries.LoginSign

I guess the habit stuck when I built my new rig.

Usually only required for hardened systems.linguasruRussian localepython_targetspypyBuild with PyPypython2_7Build with Python 2.7python3_3Build with Python 3.3python3_4Build with Python 3.4python3_5Build with Python 3.5Dependenciesapp-arch / tar : Use this to make tarballs :)app-text / drwxrws--- 3 portage portage 4096 Feb 15 21:29 .. -rw-rw-r-- 1 portage portage 114 Apr 20 08:05 ::20120420-150555.log Then another on Mar 29 and have these settings: total 936 drwxrws--- 2 me three... > elog is owned by portage:root, summary.log within it as portage:root, other > log files within /var/log/portage are owned by portage:portage. But what accounts for the difference in ownership of /var/log/portage? :) - Bryan [prev in list] [next in list] [prev in thread] [next in thread] Configure | About | News

The Gentoo Name and Logo Usage Guidelines apply. The answer is yes, not no. ;) 8 Replies 7 Views Switch to linear view Disable enhanced parsing Permalink to this page Thread Navigation Jarry 2011-08-05 15:30:02 UTC Florian Philipp 2011-08-05 Just > seems odd. > > Dale > > :-) :-) > I generally "emerge -p" as user then "emerge" as root. http://xhpcreations.com/gentoo-error/gentoo-error-inserting-fglrx.html The latest portage ebuilds include an updated configfile.Hmm ...

It is odd that the permissions would vary. Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Also, when > /usr/lib/portage/pym/portage/elog/mod_save.py is invoked, it copies > the gid down to /var/log/portage/elog from /var/log/portage, so > mystery mostly solved... It may be that > >> this is only set once or that it could be modified if you run as > >> root then later on run as a user.

You signed in with another tab or window. I always run emerge as root. Dale :-) :-) -- I am only responsible for what I said ... The latest portage ebuilds include an updated configfile.Hmm ...

Unfortunately I can't think of any difference between when I set up the two systems that would cause this. Bug #374287 talks about this ownership a bit. The only > user FEATURE enabled is userfetch. My new rig is AMD 3.2Ghz with 4 cores and 16Gbs of ram with portages work directory on tmpfs.

Security Enhanced Linux support, this must be set by the selinux profile or breakage will occurxattrPreserve extended attributes (filesystem-stored metadata) when installing files.