Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Issue 508018: Run dbus-uuidgen on system startup (again). (Closed)

Created:
11 years ago by Yusuke Sato
Modified:
9 years, 7 months ago
Reviewers:
tedbo
CC:
chromium-os-reviews_googlegroups.com, satorux1, DaveMoore
Visibility:
Public.

Description

Run dbus-uuidgen on system startup (again). A few weeks ago, dbus-uuidgen command was removed from the platform/init/dbus.conf script, but after the "upgrade-everything-to-Karmic" change, I think generating the uuid has become mandatorty again. Without the uuid file (/var/lib/dbus/machine-id), ibus-daemon which uses D-Bus as its IPC channel does not work at all. I'm not sure but possibly the same is true for dbus-daemon? chronos@localhost:/home/chronos$ ibus-daemon process 2254: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory See the manual page for dbus-uuidgen to correct this issue. BUG=1127 TEST=On xterm, run /usr/bin/ibus-setup and verify the command does not show an error like "ibus-daemon is not working."

Patch Set 1 #

Total comments: 2

Patch Set 2 : ln -s /var/cache #

Patch Set 3 : remove stale comments #

Total comments: 3

Patch Set 4 : change directory link to file link #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/platform/init/dbus.conf View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/scripts/customize_rootfs.sh View 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yusuke Sato
Ted, (cc: Dave) This is 3-lines patch for startup scripts. Can you please review this?
11 years ago (2009-12-22 06:45:52 UTC) #1
Yusuke Sato
ping?
10 years, 11 months ago (2010-01-04 12:54:26 UTC) #2
tedbo
I'd like to avoid adding new bind mounts when possible. In this case, I would ...
10 years, 11 months ago (2010-01-04 21:24:23 UTC) #3
Yusuke Sato
Thanks for the suggestion. I've updated my change following your suggestion #2. Please take another ...
10 years, 11 months ago (2010-01-05 06:26:27 UTC) #4
tedbo
LGTM Thanks.
10 years, 11 months ago (2010-01-06 06:28:31 UTC) #5
tedbo
LGTM I forgot to reply to your comment. I do prefer the file-only symlink if ...
10 years, 11 months ago (2010-01-06 07:10:16 UTC) #6
Yusuke Sato
http://codereview.chromium.org/508018/diff/5002/3003 File src/scripts/customize_rootfs.sh (right): http://codereview.chromium.org/508018/diff/5002/3003#newcode243 src/scripts/customize_rootfs.sh:243: sudo ln -s /var/cache "${ROOT_FS_DIR}/var/lib/dbus" I tried file link ...
10 years, 11 months ago (2010-01-07 03:57:04 UTC) #7
tedbo
10 years, 11 months ago (2010-01-07 05:47:30 UTC) #8
LGTM

Thanks!

Powered by Google App Engine
This is Rietveld 408576698