[Bug 799529] New: VNSTATD -u value is invalid during debugging
https://bugzilla.novell.com/show_bug.cgi?id=799529 https://bugzilla.novell.com/show_bug.cgi?id=799529#c0 Summary: VNSTATD -u value is invalid during debugging Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bombshell@bombshellz.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 Kernel: (vanilla) 3.2.30-grsec-2.10 (with grsecurity patch) While attempting to debug vnstatd by modifying /etc/init.d/vnstatd by replacing execution line with "/usr/sbin/vnstatd -D -u vnstat -p "$VNSTATD_PIDFILE" &> /tmp/vnstatd.debug & disown". For unknown reason vnstatd exits with: arg 1: "-D" arg 2: "-u" Used user name: /var/run/vnstat.pid arg 4: "-p" Used pid file: /var/run/vnstatd.pid vnStat daemon 1.10 by Teemu Toivola <tst at iki dot fi> -d, --daemon fork process to background -n, --nodaemon stay in foreground attached to the terminal -s, --sync sync interface counters on first update -D, --debug show additional debug and disable daemon -?, --help show this help -v, --version show version -p, --pidfile select used pid file -u, --user switch to specified username --config select used config file See also "man vnstatd". Reproducible: Always Steps to Reproduce: 1. modify /etc/init.d/vnstatd, replace "$VNSTATD_BIN" -d -p "$VNSTATD_PID" -u "$VNSTATD_USER" with /usr/sbin/vnstatd -D -u vnstat -p "$VNSTATD_PIDFILE" &> /tmp/vnstatd.debug & disown 2. systemctl start vnstatd.service 3. cat /tmp/vnstatd.debug Actual Results: Config file: /etc/vnstat.conf c: Interface "eth0" -> "Interface": "eth0" c: DatabaseDir "/var/lib/vnstat" -> "DatabaseDir": "/var/lib/vnstat" c: Locale "-" -> "Locale": "-" i: MonthRotate 1 -> "MonthRotate": 1 c: DayFormat "%x" -> "DayFormat": "%x" c: MonthFormat "%b '%y" -> "MonthFormat": "%b '%y" c: TopFormat "%x" -> "TopFormat": "%x" c: RXCharacter "%" -> "RXCharacter": "%" c: TXCharacter ":" -> "TXCharacter": ":" c: RXHourCharacter "r" -> "RXHourCharacter": "r" c: TXHourCharacter "t" -> "TXHourCharacter": "t" i: UnitMode 0 -> "UnitMode": 0 i: OutputStyle 3 -> "OutputStyle": 3 i: RateUnit 1 -> "RateUnit": 1 i: MaxBandwidth 100 -> "MaxBandwidth": 100 i: Sampletime 5 -> "Sampletime": 5 i: QueryMode 0 -> "QueryMode": 0 i: CheckDiskSpace 1 -> "CheckDiskSpace": 1 i: UseFileLocking 1 -> "UseFileLocking": 1 i: BootVariation 15 -> "BootVariation": 15 i: TrafficlessDays 1 -> "TrafficlessDays": 1 i: UpdateInterval 30 -> "UpdateInterval": 30 i: PollInterval 5 -> "PollInterval": 5 i: SaveInterval 5 -> "SaveInterval": 5 i: OfflineSaveInterval 30 -> "OfflineSaveInterval": 30 i: SaveOnStatusChange 1 -> "SaveOnStatusChange": 1 i: UseLogging 2 -> "UseLogging": 2 c: LogFile "/var/log/vnstat.log" -> "LogFile": "/var/log/vnstat.log" c: PidFile "/var/run/vnstat.pid" -> "PidFile": "/var/run/vnstat.pid" c: HeaderFormat "%x %H:%M" -> "HeaderFormat": "%x %H:%M" i: HourlyRate 1 -> "HourlyRate": 1 i: SummaryRate 1 -> "SummaryRate": 1 i: SummaryLayout 1 -> "SummaryLayout": 1 i: TransparentBg 0 -> "TransparentBg": 0 c: CBackground "FFFFFF" -> "CBackground": "FFFFFF" c: CEdge "AEAEAE" -> "CEdge": "AEAEAE" c: CHeader "606060" -> "CHeader": "606060" c: CHeaderTitle "FFFFFF" -> "CHeaderTitle": "FFFFFF" c: CHeaderDate "FFFFFF" -> "CHeaderDate": "FFFFFF" c: CText "000000" -> "CText": "000000" c: CLine "B0B0B0" -> "CLine": "B0B0B0" c: CLineL "-" -> "CLineL": "-" c: CRx "92CF00" -> "CRx": "92CF00" c: CTx "606060" -> "CTx": "606060" c: CRxD "-" -> "CRxD": "-" c: CTxD "-" -> "CTxD": "-" ibw list is empty. arg 1: "-D" arg 2: "-u" Used user name: /var/run/vnstat.pid arg 4: "-p" Used pid file: /var/run/vnstatd.pid vnStat daemon 1.10 by Teemu Toivola <tst at iki dot fi> -d, --daemon fork process to background -n, --nodaemon stay in foreground attached to the terminal -s, --sync sync interface counters on first update -D, --debug show additional debug and disable daemon -?, --help show this help -v, --version show version -p, --pidfile select used pid file -u, --user switch to specified username --config select used config file See also "man vnstatd". Expected Results: Continue running to debug the issue I do have /proc restrictions in place, however I did whitelist GID 1001 full access to /proc. User 'vnstat' primary GID is 1001, however for whatever reason 'eth0' is not being detected. So in the process of trying to debug further, I encountered this problem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799529 https://bugzilla.novell.com/show_bug.cgi?id=799529#c Du Weihua <whdu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |whdu@suse.com AssignedTo|bnc-team-screening@forge.pr |coolo@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799529 https://bugzilla.novell.com/show_bug.cgi?id=799529#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Network |Security AssignedTo|coolo@suse.com |security-team@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799529 https://bugzilla.novell.com/show_bug.cgi?id=799529#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nix@opensuse.org AssignedTo|security-team@suse.de |highwaystar.ru@gmail.com --- Comment #1 from Marcus Meissner <meissner@suse.com> 2013-03-22 15:49:40 UTC --- not sure where you got this package from. I assume server:monitoring vnstat, so assigning there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com