Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564632 - sys-apps/util-linux-2.26.2: logger does not support any facility
Summary: sys-apps/util-linux-2.26.2: logger does not support any facility
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-01 15:44 UTC by globus
Modified: 2015-11-01 20:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info util-linux (util-linux.info,5.16 KB, application/x-info)
2015-11-01 15:44 UTC, globus
Details
emerge --info metalog (metalog.info,4.94 KB, application/x-info)
2015-11-01 15:46 UTC, globus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description globus 2015-11-01 15:44:55 UTC
Created attachment 415874 [details]
emerge --info util-linux

Hello,
sorry my bad English.

/usr/bin/logger does not support any facility, only unknown "default".

root# logger -p [daemon|kern|user|etc] "msg"
logger: unknown priority name: [daemon|kern|user|etc]
root# logger "msg" -> successfully in /var/log/every*/current

myuser# same as above

That is, a simple user can write in syslog.

#ls -l `which logger`
-rwxr-xr-x 1 root root 30612 nov 1 19:08 /usr/sbin/logger
Comment 1 globus 2015-11-01 15:46:30 UTC
Created attachment 415876 [details]
emerge --info metalog
Comment 2 Tomáš Mózes 2015-11-01 20:04:24 UTC
According to the man page:

-p, --priority priority
  Enter the message into the log with the specified priority.  The priority  may be  specified  numerically  or  as  a  facility.level  pair.   For example, -p local3.info logs the message as informational in  the  local3  facility.   The default is user.notice.