Opened 9 years ago

Closed 8 years ago

#3285 closed defect (notsugar)

no system logger running

Reported by: sascha_silbe Owned by: m_anish
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Dextrose Version:
Severity: Blocker Keywords: dx3
Cc: alsroot Distribution/OS: Dextrose
Bug Status: Assigned

Description

On an XO-1 running dx3g091 on an SD card, there's no /var/log/messages and ps shows that no system logger is running.

This makes it impossible to diagnose some bugs occurring in the field (like issues with 3G modems).

Change History (5)

comment:1 Changed 9 years ago by sascha_silbe

I forgot to mention that even chkconfig --list didn't show any trace of a logger either and searching PATH for *log* doesn't yield anything, so we seem to be missing a system logger package. I'm puzzled how that can happen; are we explicitly removing it during build or did the build fail without aborting completely?

comment:2 Changed 9 years ago by m_anish

These are the packages being removed while making the build. Does this info help?

at,
dos2unix,
dump,
finger,
ftp,
khmeros-base-fonts,
krb5-workstation,
mailx,
mlocate,
nafees-web-naskh-fonts,
nss_ldap,
quota,
pam_ccreds,
pam_passwdqc,
pam_smb,
readahead,
rdist,
rmt,
rsh,
talk,
tcp_wrappers,
tree,
smartmontools,
sos,
stunnel,
symlinks,
xfsprogs,
yp-tools,
ypbind,
ds-backup-client,

comment:3 follow-up: Changed 9 years ago by sascha_silbe

  • Bug Status changed from New to Assigned
  • Cc alsroot added

Figured this out with Anish on IRC. We replaced ds-backup-client by sugar-client (starting with dx3g053). ds-backup-client depended on cronie, which in turn pulled in rsyslog. Apparently no other package depends on either of those, so they got dropped by yum.

As sugar-client needs cron, too, it should depend on it. Additionally we'll add rsyslog explicitly, as it's an important system package regardless of whether sugar-client / cron needs it or not.

comment:4 in reply to: ↑ 3 Changed 9 years ago by alsroot

Replying to sascha_silbe:

As sugar-client needs cron, too, it should depend on it. Additionally we'll add rsyslog explicitly, as it's an important system package regardless of whether sugar-client / cron needs it or not.

sugar-client itself doesn't require cron (it handles all background operation on its own from DBus service). But dextrose doesn't use this functionality and call sugar-client directly from cron. So, cron dependency needs to be added on dextrose level, not on sugar-client.

comment:5 Changed 8 years ago by dnarvaez

  • Resolution set to notsugar
  • Status changed from new to closed

Dextrose is not tracked here anymore.

Note: See TracTickets for help on using tickets.