[solved] systemd-journal and shadow.pacnew updates

After a recent install and update I have come across the same issue described here where the user was recommended to ignore and erase some .pacnew files. My update generated the following:
/etc/dhcpcd.conf.pacnew
/etc/group.pacnew
/etc/passwd.pacnew
/etc/shadow.pacnew
/etc/gshadow.pacnew
The first, dhcpcd, seemed sensible enough and I incorporated the changes. The latter four all share the following characteristics:
1. Removed mentions of systemd-journal-remote and systemd-journal-upload. I'm not sure why so I left those records in place.
2. Changed a few permissions here or there, which i incorporated into /etc/group and /etc/password.
3. Changed the default shell for a few users; these changes I incorporated.
I was unable to open /etc/shadow or /etc/gshadow in write mode so I've left these files. Perhaps that's fine because the thread mentioned above says so. However, there's no explanation of why or where this information was obtained (or ordained!)
Is it fine to leave these two files? Why have syssystemd-journal-remote and systemd-journal-upload been omitted?
Last edited by Deau (2014-08-29 06:54:18)

The steps you took look quite sane to me.
These groups are not in the defaults provided by filesystem (e.g. I don't have them). see the edit
Apparently systemd creates system groups and users on it's own, see 'man systemd-sysusers'. Do you know / can figure out why these groups are created in the first place ? not important in this case, see the edit as well
FYI e.g.: https://bugs.archlinux.org/task/41717
The filesystem package provides those files as defaults (group, passwd, shadow, gshadow amongst otheres). However there are some packages that actually add additional groups they need (like ntp e.g.). The filesystem package cannot know about these. Therefor it's likely to have more groups in your local installation than in the .pacnew files you get.
The same applies for manually created users and groups of course.
If needed see the man pages for explanations of the respective files (e.g. 'man group').
Edit: Ok, I see that after an update I have them as well, so these are apparently new systemd groups and users. I think the rest I said above is still valid, so leaving those in place was the right thing to do.
Last edited by rebootl (2014-08-28 20:46:43)

Similar Messages

  • [SOLVED] xmodmap hangs and crashes after update

    UPDATE: See pabloc's post for a solution. keyboard plugin of gnome-settings-daemon was overriding Xmodmap bindings.
    After a pacman -Syu today, ~/.Xmodmap is no longer being loaded on login. Running `xmodmap ~/.Xmodmap` in a terminal window causes the entire DE (Cinnamon) to freeze, and it fixes itself after a minute or so (terminal window closes).
    Here is my ~/.xinitrc
    #!/bin/sh
    if [ -f $HOME/.Xmodmap ]; then
        /usr/bin/xmodmap $HOME/.Xmodmap
    fi
    exec gnome-session-cinnamon
    I haven't modified ~/.Xmodmap recently, and it was working fine prior to the update. The only modifications are swapping of the PgUp/PgDn keys with Home/End because ThinkPads have them in a weird spot.
    Here are my pacman.log entries from today:
    [2012-10-31 14:09] Running 'pacman -Sy'
    [2012-10-31 14:09] synchronizing package lists
    [2012-10-31 14:10] Running 'pacman -S -u'
    [2012-10-31 14:10] starting full system upgrade
    [2012-10-31 14:25] removed python-mechanize (0.2.5-2)
    [2012-10-31 14:25] removed python-imaging (1.1.7-4)
    [2012-10-31 14:25] removed libwebkit3 (1.8.3-1)
    [2012-10-31 14:25] removed libwebkit (1.8.3-1)
    [2012-10-31 14:25] upgraded glib2 (2.32.4-1 -> 2.34.1-1)
    [2012-10-31 14:25] upgraded at-spi2-core (2.4.2-1 -> 2.6.1-1)
    [2012-10-31 14:25] upgraded atk (2.4.0-1 -> 2.6.0-1)
    [2012-10-31 14:25] upgraded dconf (0.12.1-2 -> 0.14.0-1)
    [2012-10-31 14:25] upgraded at-spi2-atk (2.4.0-1 -> 2.6.1-1)
    [2012-10-31 14:25] upgraded linux-api-headers (3.5.5-1 -> 3.6.3-1)
    [2012-10-31 14:25] upgraded tzdata (2012f-1 -> 2012h-1)
    [2012-10-31 14:25] Generating locales...
    [2012-10-31 14:25]   en_CA.UTF-8... done
    [2012-10-31 14:25] Generation complete.
    [2012-10-31 14:25] upgraded glibc (2.16.0-4 -> 2.16.0-5)
    [2012-10-31 14:25] upgraded binutils (2.22-10 -> 2.23-1)
    [2012-10-31 14:25] upgraded bison (2.6.2-1 -> 2.6.4-1)
    [2012-10-31 14:25] upgraded libpng (1.5.12-1 -> 1.5.13-1)
    [2012-10-31 14:25] upgraded cairo (1.12.2-3 -> 1.12.6-2)
    [2012-10-31 14:25] upgraded python2-cssutils (0.9.9-2 -> 0.9.9-3)
    [2012-10-31 14:25] upgraded python2-cherrypy (3.2.2-1 -> 3.2.2-2)
    [2012-10-31 14:25] installed python2-mechanize (0.2.5-3)
    [2012-10-31 14:25] upgraded pam (1.1.5-4 -> 1.1.6-1)
    [2012-10-31 14:25] upgraded coreutils (8.19-1 -> 8.20-1)
    [2012-10-31 14:25] upgraded perl (5.16.1-1 -> 5.16.1-2)
    [2012-10-31 14:25] upgraded imagemagick (6.7.9.8-2 -> 6.8.0.3-1)
    [2012-10-31 14:25] upgraded gcc-libs (4.7.2-1 -> 4.7.2-2)
    [2012-10-31 14:25] upgraded poppler (0.20.3-1 -> 0.20.5-1)
    [2012-10-31 14:25] upgraded poppler-qt (0.20.3-1 -> 0.20.5-1)
    [2012-10-31 14:25] upgraded python2-lxml (2.3.5-1 -> 3.0.1-1)
    [2012-10-31 14:25] installed python2-imaging (1.1.7-5)
    [2012-10-31 14:25] upgraded sip (4.13.3-2 -> 4.14-2)
    [2012-10-31 14:25] upgraded python2-sip (4.13.3-2 -> 4.14-2)
    [2012-10-31 14:25] upgraded python-dbus-common (1.1.1-1 -> 1.1.1-2)
    [2012-10-31 14:25] upgraded python2-dbus (1.1.1-1 -> 1.1.1-2)
    [2012-10-31 14:25] upgraded pyqt-common (4.9.4-2 -> 4.9.5-3)
    [2012-10-31 14:25] upgraded python2-pyqt (4.9.4-2 -> 4.9.5-3)
    [2012-10-31 14:25] upgraded python2-psutil (0.6.1-1 -> 0.6.1-2)
    [2012-10-31 14:25] installed python2-cssselect (0.7.1-2)
    [2012-10-31 14:25] upgraded calibre (0.9.2-1 -> 0.9.4-2)
    [2012-10-31 14:25] Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not works as expected
    [2012-10-31 14:26] upgraded cantarell-fonts (0.0.10-1 -> 0.0.10.1-1)
    [2012-10-31 14:26] installed harfbuzz (0.9.5-1)
    [2012-10-31 14:26] upgraded pango (1.30.1-1 -> 1.32.1-1)
    [2012-10-31 14:26] upgraded kmod (10-1 -> 10-2)
    [2012-10-31 14:26] upgraded hwids (20120922-1 -> 20121022-1)
    [2012-10-31 14:26] upgraded util-linux (2.22-7 -> 2.22.1-2)
    [2012-10-31 14:26] ==> journald now writes to /var/log/journal by default. This can be
    [2012-10-31 14:26]     controlled with the Storage setting in /etc/systemd/journald.conf
    [2012-10-31 14:26] upgraded systemd (194-3 -> 195-2)
    [2012-10-31 14:26] upgraded polkit (0.105-1 -> 0.107-4)
    [2012-10-31 14:26] upgraded colord (0.1.21-2 -> 0.1.24-1)
    [2012-10-31 14:26] upgraded gtk3 (3.4.4-1 -> 3.6.1-1)
    [2012-10-31 14:26] installed gstreamer (1.0.2-1)
    [2012-10-31 14:26] installed gst-plugins-base-libs (1.0.2-1)
    [2012-10-31 14:26] installed chromaprint (0.7-1)
    [2012-10-31 14:26] installed mpg123 (1.14.4-1)
    [2012-10-31 14:26] installed celt (0.11.1-4)
    [2012-10-31 14:26] installed spandsp (0.0.6pre21-1)
    [2012-10-31 14:26] installed gst-plugins-bad (1.0.2-1)
    [2012-10-31 14:26] installed gst-plugins-base (1.0.2-1)
    [2012-10-31 14:26] upgraded gsettings-desktop-schemas (3.4.2-1 -> 3.6.0-1)
    [2012-10-31 14:26] upgraded libtasn1 (2.14-1 -> 3.0-1)
    [2012-10-31 14:26] upgraded gnutls (3.1.3-1 -> 3.1.3-2)
    [2012-10-31 14:26] upgraded glib-networking (2.32.3-1 -> 2.34.0-1)
    [2012-10-31 14:26] upgraded libsoup (2.38.1-1 -> 2.40.1-1)
    [2012-10-31 14:26] upgraded gdk-pixbuf2 (2.26.3-1 -> 2.26.4-1)
    [2012-10-31 14:26] installed gst-plugins-good (1.0.2-1)
    [2012-10-31 14:26] upgraded json-glib (0.14.2-1 -> 0.15.2-1)
    [2012-10-31 14:26] upgraded clutter (1.10.6-1 -> 1.12.2-1)
    [2012-10-31 14:26] upgraded clutter-gst (1.6.0-1 -> 1.9.92-1)
    [2012-10-31 14:26] upgraded clutter-gtk (1.2.0-1 -> 1.4.0-1)
    [2012-10-31 14:26] upgraded tdb (1.2.9-2 -> 1.2.10-1)
    [2012-10-31 14:26] upgraded libcanberra (0.28-5 -> 0.30-1)
    [2012-10-31 14:26] upgraded libgee (0.6.5-1 -> 0.6.6-1)
    [2012-10-31 14:26] upgraded gnome-video-effects (0.4.0-1 -> 0.4.0-2)
    [2012-10-31 14:26] upgraded libcroco (0.6.5-1 -> 0.6.8-1)
    [2012-10-31 14:26] upgraded librsvg (2.36.3-1 -> 2.36.4-1)
    [2012-10-31 14:26] upgraded gnome-desktop (1:3.4.2-1 -> 1:3.6.1-1)
    [2012-10-31 14:26] upgraded cheese (3.4.2-1 -> 3.6.1-1)
    [2012-10-31 14:26] upgraded libwbclient (3.6.8-1 -> 3.6.9-1)
    [2012-10-31 14:26] upgraded cifs-utils (5.6-2 -> 5.7-1)
    [2012-10-31 14:26] upgraded device-mapper (2.02.97-1 -> 2.02.98-1)
    [2012-10-31 14:26] upgraded cryptsetup (1.5.0-2 -> 1.5.1-1)
    [2012-10-31 14:26] upgraded cups-pk-helper (0.2.2-1 -> 0.2.4-1)
    [2012-10-31 14:26] upgraded python2-xdg (0.23-1 -> 0.23-2)
    [2012-10-31 14:26] upgraded libtorrent-rasterbar (1:0.16.3-1 -> 1:0.16.5-1)
    [2012-10-31 14:26] upgraded python2-crypto (2.6-2 -> 2.6-3)
    [2012-10-31 14:26] upgraded python2-zope-interface (3.8.0-1 -> 4.0.1-1)
    [2012-10-31 14:26] upgraded twisted (12.2.0-1 -> 12.2.0-2)
    [2012-10-31 14:26] upgraded python2-pyopenssl (0.13-1 -> 0.13-2)
    [2012-10-31 14:26] upgraded xdg-utils (1.1.0-2.20120520 -> 1.1.0.git20121008-1)
    [2012-10-31 14:26] upgraded python2-chardet (2.0.1-5 -> 2.0.1-6)
    [2012-10-31 14:26] upgraded python2-distribute (0.6.28-1 -> 0.6.29-1)
    [2012-10-31 14:26] upgraded deluge (1.3.5-1 -> 1.3.5-3)
    [2012-10-31 14:26] upgraded e2fsprogs (1.42.5-1 -> 1.42.6-1)
    [2012-10-31 14:26] upgraded libgnome-keyring (3.4.1-1 -> 3.6.0-1)
    [2012-10-31 14:26] upgraded libsoup-gnome (2.38.1-1 -> 2.40.1-1)
    [2012-10-31 14:26] installed webkitgtk3 (1.10.1-1)
    [2012-10-31 14:26] upgraded nspr (4.9.2-1 -> 4.9.3-1)
    [2012-10-31 14:26] upgraded nss (3.13.6-1 -> 3.14-1)
    [2012-10-31 14:26] upgraded gobject-introspection (1.32.1-2 -> 1.34.1.1-1)
    [2012-10-31 14:26] upgraded gcr (3.4.1-1 -> 3.6.1-1)
    [2012-10-31 14:26] upgraded epiphany (3.4.3-1 -> 3.6.1-1)
    [2012-10-31 14:26] upgraded ethtool (1:3.5-1 -> 1:3.6-1)
    [2012-10-31 14:26] upgraded poppler-glib (0.20.3-1 -> 0.20.5-1)
    [2012-10-31 14:27] upgraded gnome-icon-theme-symbolic (3.4.0-1 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded gnome-icon-theme (3.4.0-1 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded evince (3.4.0-1 -> 3.6.1-1)
    [2012-10-31 14:27] upgraded rest (0.7.12-1 -> 0.7.90-1)
    [2012-10-31 14:27] installed libsecret (0.10-1)
    [2012-10-31 14:27] upgraded gnome-online-accounts (3.4.2-1 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded libgweather (3.4.1-1 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded libgdata (0.12.0-1 -> 0.13.2-1)
    [2012-10-31 14:27] upgraded evolution-data-server (3.4.4-1 -> 3.6.1-1)
    [2012-10-31 14:27] upgraded libnice (0.1.2-1 -> 0.1.3-1)
    [2012-10-31 14:27] upgraded farstream (0.1.2-1 -> 0.2.1-1)
    [2012-10-31 14:27] upgraded file-roller (3.4.2-1 -> 3.6.1.1-1)
    [2012-10-31 14:27] installed nss-myhostname (0.3-3)
    [2012-10-31 14:27] warning: /etc/shadow installed as /etc/shadow.pacnew
    [2012-10-31 14:27] upgraded filesystem (2012.10-1 -> 2012.10-2)
    [2012-10-31 14:27] upgraded firefox (16.0.1-1 -> 16.0.2-1)
    [2012-10-31 14:27] upgraded telepathy-glib (0.18.2-1 -> 0.20.0-1)
    [2012-10-31 14:27] installed libzeitgeist (0.3.18-3)
    [2012-10-31 14:27] upgraded folks (0.6.9-2 -> 0.8.0-1)
    [2012-10-31 14:27] upgraded gcc (4.7.2-1 -> 4.7.2-2)
    [2012-10-31 14:27] upgraded gconf (3.2.5-2 -> 3.2.5-3)
    [2012-10-31 14:27] upgraded gegl (0.2.0-4 -> 0.2.0-5)
    [2012-10-31 14:27] upgraded git (1.7.12.3-1 -> 1.8.0-1)
    [2012-10-31 14:27] upgraded gjs (1.32.0-2 -> 1.34.0-1)
    [2012-10-31 14:27] upgraded glibmm (2.32.1-1 -> 2.34.0-1)
    [2012-10-31 14:27] upgraded gnome-backgrounds (3.4.2-1 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded udisks2 (1.94.0-2 -> 2.0.0-1)
    [2012-10-31 14:27] upgraded gvfs (1.12.3-3 -> 1.14.0-1)
    [2012-10-31 14:27] upgraded obex-data-server (0.4.6-2 -> 0.4.6-3)
    [2012-10-31 14:27] upgraded gvfs-obexftp (1.12.3-3 -> 1.14.0-1)
    [2012-10-31 14:27] upgraded gnome-bluetooth (3.4.2-1 -> 3.6.0-2)
    [2012-10-31 14:27] upgraded gnome-common (3.4.0.1-2 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded pygobject-devel (3.2.2-1 -> 3.4.1.1-1)
    [2012-10-31 14:27] upgraded python2-gobject (3.2.2-1 -> 3.4.1.1-1)
    [2012-10-31 14:27] upgraded gnome-menus (3.4.2-1 -> 3.6.0-1)
    [2012-10-31 14:27] upgraded libcanberra-pulse (0.28-5 -> 0.30-1)
    [2012-10-31 14:27] installed ibus (1.4.99.20121006-1)
    [2012-10-31 14:27] upgraded gnome-settings-daemon (3.4.2-1 -> 3.6.1-2)
    [2012-10-31 14:27] installed iptables (1.4.16.2-1)
    [2012-10-31 14:27] upgraded iproute2 (3.5.1-1 -> 3.6.0-2)
    [2012-10-31 14:27] upgraded wpa_supplicant (1.0-1 -> 1.0-2)
    [2012-10-31 14:27] upgraded ppp (2.4.5-4 -> 2.4.5-5)
    [2012-10-31 14:27] installed net-tools (1.60.20120804git-2)
    [2012-10-31 14:27] installed dhclient (4.2.4.1-3)
    [2012-10-31 14:27] upgraded networkmanager (0.9.6.0-2 -> 0.9.6.4-1)
    [2012-10-31 14:27] upgraded network-manager-applet (0.9.6.2-1 -> 0.9.6.4-1)
    [2012-10-31 14:27] installed libpwquality (1.2.0-1)
    [2012-10-31 14:27] warning: directory permissions differ on usr/share/polkit-1/rules.d/
    filesystem: 700  package: 755
    [2012-10-31 14:27] upgraded gnome-control-center (3.4.2-1 -> 3.6.2-1)
    [2012-10-31 14:27] upgraded gnome-keyring (3.4.1-3 -> 3.6.1-1)
    [2012-10-31 14:28] upgraded gnome-panel (3.4.2.1-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded libxklavier (5.2.1-2 -> 5.3-1)
    [2012-10-31 14:28] upgraded libgnomekbd (3.4.0.2-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded gnome-screensaver (3.4.4-1 -> 3.6.1-1)
    [2012-10-31 14:28] upgraded gnome-session (3.4.2-3 -> 3.6.1-1)
    [2012-10-31 14:28] upgraded zenity (3.4.0-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded mutter (3.4.1-2 -> 3.6.1-2)
    [2012-10-31 14:28] upgraded libtracker-sparql (0.14.2-1 -> 0.14.3-1)
    [2012-10-31 14:28] upgraded nautilus (3.4.2-1 -> 3.6.2-1)
    [2012-10-31 14:28] upgraded telepathy-logger (0.4.0-1 -> 0.6.0-1)
    [2012-10-31 14:28] upgraded telepathy-mission-control (5.12.1-1 -> 5.14.0-1)
    [2012-10-31 14:28] upgraded gnome-shell (3.4.2-1 -> 3.6.1-2)
    [2012-10-31 14:28] upgraded gtkmm3 (3.4.1-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded gnome-system-monitor (3.4.1-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded vte-common (0.32.2-1 -> 0.34.1-1)
    [2012-10-31 14:28] upgraded vte3 (0.32.2-1 -> 0.34.1-1)
    [2012-10-31 14:28] upgraded gnome-terminal (3.4.1.1-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded gnome-themes-standard (3.4.2-1 -> 3.6.1-1)
    [2012-10-31 14:28] upgraded yelp-xsl (3.4.2-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded yelp (3.4.2-1 -> 3.6.1-1)
    [2012-10-31 14:28] upgraded gnome-user-docs (3.4.2-1 -> 3.6.0-1)
    [2012-10-31 14:28] upgraded gpm (1.20.6-10 -> 1.20.7-1)
    [2012-10-31 14:28] upgraded smbclient (3.6.8-1 -> 3.6.9-1)
    [2012-10-31 14:28] upgraded gvfs-smb (1.12.3-3 -> 1.14.0-1)
    [2012-10-31 14:28] upgraded ilmbase (1.0.2-1 -> 1.0.3-1)
    [2012-10-31 14:28] upgraded inkscape (0.48.3.1-5 -> 0.48.3.1-7)
    [2012-10-31 14:28] upgraded iputils (20101006-7 -> 20121011-1)
    [2012-10-31 14:28] upgraded jre7-openjdk-headless (7.u7_2.3.2-2 -> 7.u9_2.3.3-1)
    [2012-10-31 14:28] upgraded jre7-openjdk (7.u7_2.3.2-2 -> 7.u9_2.3.3-1)
    [2012-10-31 14:28] upgraded jdk7-openjdk (7.u7_2.3.2-2 -> 7.u9_2.3.3-1)
    [2012-10-31 14:28] upgraded openexr (1.7.1-1 -> 1.7.1-2)
    [2012-10-31 14:28] upgraded phonon (1:4.6.0-2 -> 1:4.6.0-3)
    [2012-10-31 14:28] upgraded kdelibs (4.9.2-2 -> 4.9.2-3)
    [2012-10-31 14:28] upgraded ldns (1.6.13-1 -> 1.6.14-1)
    [2012-10-31 14:28] upgraded lib32-atk (2.4.0-1 -> 2.6.0-1)
    [2012-10-31 14:28] upgraded lib32-glibc (2.16.0-4 -> 2.16.0-5)
    [2012-10-31 14:28] upgraded lib32-util-linux (2.22-1 -> 2.22.1-1)
    [2012-10-31 14:28] upgraded lib32-e2fsprogs (1.42.4-1 -> 1.42.6-1)
    [2012-10-31 14:28] upgraded lib32-gcc-libs (4.7.2-1 -> 4.7.2-2)
    [2012-10-31 14:28] upgraded lib32-libpng (1.5.12-1 -> 1.5.13-1)
    [2012-10-31 14:28] upgraded libpurple (2.10.6-1 -> 2.10.6-2)
    [2012-10-31 14:29] upgraded libreoffice-en-US (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-common (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-base (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-calc (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-draw (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-gnome (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-impress (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-kde4 (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-math (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded postgresql-libs (9.2.1-1 -> 9.2.1-2)
    [2012-10-31 14:29] upgraded libreoffice-postgresql-connector (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-sdk (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-sdk-doc (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] upgraded libreoffice-writer (3.6.2-2 -> 3.6.2-3)
    [2012-10-31 14:29] installed webkitgtk2 (1.10.1-1)
    [2012-10-31 14:29] upgraded mkinitcpio (0.10-1 -> 0.11.0-1)
    [2012-10-31 14:30] >>> Updating module dependencies. Please wait ...
    [2012-10-31 14:30] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
    [2012-10-31 14:30] ==> Building image from preset: 'default'
    [2012-10-31 14:30]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-10-31 14:30] ==> Starting build: 3.6.4-1-ARCH
    [2012-10-31 14:30]   -> Running build hook: [base]
    [2012-10-31 14:30]   -> Running build hook: [udev]
    [2012-10-31 14:30]   -> Running build hook: [autodetect]
    [2012-10-31 14:30]   -> Running build hook: [pata]
    [2012-10-31 14:30]   -> Running build hook: [scsi]
    [2012-10-31 14:30]   -> Running build hook: [sata]
    [2012-10-31 14:30]   -> Running build hook: [filesystems]
    [2012-10-31 14:30]   -> Running build hook: [usbinput]
    [2012-10-31 14:30]   -> Running build hook: [fsck]
    [2012-10-31 14:30] ==> Generating module dependencies
    [2012-10-31 14:30] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-10-31 14:30] ==> Image generation successful
    [2012-10-31 14:30] ==> Building image from preset: 'fallback'
    [2012-10-31 14:30]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-10-31 14:30] ==> Starting build: 3.6.4-1-ARCH
    [2012-10-31 14:30]   -> Running build hook: [base]
    [2012-10-31 14:30]   -> Running build hook: [udev]
    [2012-10-31 14:30]   -> Running build hook: [pata]
    [2012-10-31 14:30]   -> Running build hook: [scsi]
    [2012-10-31 14:30]   -> Running build hook: [sata]
    [2012-10-31 14:30]   -> Running build hook: [filesystems]
    [2012-10-31 14:30]   -> Running build hook: [usbinput]
    [2012-10-31 14:30]   -> Running build hook: [fsck]
    [2012-10-31 14:30] ==> Generating module dependencies
    [2012-10-31 14:30] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-10-31 14:30] ==> Image generation successful
    [2012-10-31 14:30] upgraded linux (3.5.6-1 -> 3.6.4-1)
    [2012-10-31 14:30] upgraded linux-headers (3.5.6-1 -> 3.6.4-1)
    [2012-10-31 14:30] upgraded lvm2 (2.02.97-1 -> 2.02.98-1)
    [2012-10-31 14:30] upgraded man-pages (3.42-1 -> 3.43-1)
    [2012-10-31 14:30] upgraded mdadm (3.2.5-2 -> 3.2.6-1)
    [2012-10-31 14:30] upgraded metacity (2.34.8-1 -> 2.34.13-1)
    [2012-10-31 14:30] upgraded net-snmp (5.7.1-4 -> 5.7.2-1)
    [2012-10-31 14:30] upgraded netcfg (2.8.11-1 -> 3.0-1)
    [2012-10-31 14:30] upgraded openssh (6.1p1-2 -> 6.1p1-3)
    [2012-10-31 14:30] upgraded pidgin (2.10.6-1 -> 2.10.6-2)
    [2012-10-31 14:30] upgraded pygobject2-devel (2.28.6-6 -> 2.28.6-8)
    [2012-10-31 14:30] upgraded python2-gobject2 (2.28.6-6 -> 2.28.6-8)
    [2012-10-31 14:30] upgraded slim (1.3.4-3 -> 1.3.4-4)
    [2012-10-31 14:30] upgraded slim-themes (1.2.3-5 -> 1.2.3-6)
    [2012-10-31 14:30] ==> syslog-ng now reads from /run/systemd/journal/syslog in the
    [2012-10-31 14:30]     default config. If you still use sysvinit/initscripts, this
    [2012-10-31 14:30]     must be /dev/log in /etc/syslog-ng/syslog-ng.conf
    [2012-10-31 14:30] upgraded syslog-ng (3.3.6-1 -> 3.3.6-3)
    [2012-10-31 14:31] >>> texlive: updating the filename database...
    [2012-10-31 14:31] mktexlsr: Updating /etc/texmf/ls-R...
    [2012-10-31 14:31] mktexlsr: Updating /usr/share/texmf/ls-R...
    [2012-10-31 14:31] mktexlsr: Updating /usr/share/texmf-dist/ls-R...
    [2012-10-31 14:31] mktexlsr: Updating /var/lib/texmf/ls-R...
    [2012-10-31 14:31] mktexlsr: Done.
    [2012-10-31 14:31] recreating all formats... done.
    [2012-10-31 14:31]  (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
    [2012-10-31 14:31] upgraded texlive-bin (2012.0-4 -> 2012.0-5)
    [2012-10-31 14:31] Updating font cache... Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not works as expected
    [2012-10-31 14:31] done.
    [2012-10-31 14:31] upgraded ttf-liberation (2.00.0-1 -> 2.00.1-1)
    [2012-10-31 14:32] In order to use the new version, reload all virtualbox modules manually.
    [2012-10-31 14:32] upgraded virtualbox-host-modules (4.2.0-5 -> 4.2.4-2)
    [2012-10-31 14:32]
    [2012-10-31 14:32] Creating symlink /var/lib/dkms/vboxhost/4.2.4/source ->
    [2012-10-31 14:32]                  /usr/src/vboxhost-4.2.4
    [2012-10-31 14:32]
    [2012-10-31 14:32] DKMS: add completed.
    [2012-10-31 14:32] ==> To build and install your modules run dkms install vboxhost/4.2.4
    [2012-10-31 14:32] ==> To do this automatically at startup you can add dkms in your DAEMONS
    [2012-10-31 14:32] upgraded virtualbox-host-source (4.2.0-3 -> 4.2.4-1)
    [2012-10-31 14:32] upgraded virtualbox (4.2.0-3 -> 4.2.4-1)
    [2012-10-31 14:32] upgraded vlc (2.0.3-4 -> 2.0.4-2)
    [2012-10-31 14:32] upgraded wget (1.14-1 -> 1.14-2)
    [2012-10-31 14:32] upgraded xf86-input-evdev (2.7.3-1 -> 2.7.3-2)
    [2012-10-31 14:32] upgraded xf86-input-synaptics (1.6.2-1 -> 1.6.2-2)
    [2012-10-31 14:32] upgraded xf86-video-intel (2.20.9-1 -> 2.20.12-1)
    [2012-10-31 14:32] upgraded xorg-server-common (1.12.4-1 -> 1.13.0-3)
    [2012-10-31 14:32] upgraded xorg-server (1.12.4-1 -> 1.13.0-3)
    [2012-10-31 14:32] upgraded xorg-xinit (1.3.2-1 -> 1.3.2-3)
    [2012-10-31 14:38] Running 'pacman -S baobab'
    [2012-10-31 14:38] installed baobab (3.6.2-1)
    [2012-10-31 17:08] Running 'pacman -S syslinux'
    [2012-10-31 17:10] Running 'pacman -S syslinux'
    [2012-10-31 17:11] ==> If you want to use syslinux as your bootloader
    [2012-10-31 17:11] ==> edit /boot/syslinux/syslinux.cfg and run
    [2012-10-31 17:11] ==>   # /usr/sbin/syslinux-install_update -i -a -m
    [2012-10-31 17:11] ==> to install it.
    [2012-10-31 17:11] installed syslinux (4.06-1)
    [2012-10-31 17:30] Running 'pacman -Syyu gnome-settings-daemon'
    [2012-10-31 17:30] synchronizing package lists
    [2012-10-31 17:30] starting full system upgrade
    [2012-10-31 17:30] upgraded gnome-settings-daemon (3.6.1-2 -> 3.6.1-2)
    [2012-10-31 17:30] Running 'pacman -Syu'
    [2012-10-31 17:30] synchronizing package lists
    [2012-10-31 17:30] starting full system upgrade
    [2012-10-31 17:39] Running 'pacman -Sy'
    [2012-10-31 17:39] synchronizing package lists
    [2012-10-31 17:39] starting full system upgrade
    [2012-10-31 17:39] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.yAV/downgrade-3.2-1-any.pkg.tar.xz'
    [2012-10-31 17:39] upgraded downgrade (3.1-1 -> 3.2-1)
    [2012-10-31 17:40] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.P2k/dropbox-1.4.20-1-x86_64.pkg.tar.xz'
    [2012-10-31 17:40] upgraded dropbox (1.4.17-1 -> 1.4.20-1)
    [2012-10-31 17:41] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.C5t/package-query-1.1-2-x86_64.pkg.tar.xz'
    [2012-10-31 17:41] upgraded package-query (1.0.1-1 -> 1.1-2)
    [2012-10-31 17:42] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.i8t/teamviewer-7.0.9377-1-x86_64.pkg.tar.xz'
    [2012-10-31 17:42] upgraded teamviewer (7.0.9360-1 -> 7.0.9377-1)
    [2012-10-31 17:42] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.21N/yaourt-1.2.1-1-any.pkg.tar.xz'
    [2012-10-31 17:42] upgraded yaourt (1.1-1 -> 1.2.1-1)
    [2012-10-31 17:44] Running 'pacman -U /tmp/yaourt-tmp-daniel/PKGDEST.nxI/cinnamon-git-20121031-1-x86_64.pkg.tar.xz'
    [2012-10-31 17:44] upgraded cinnamon-git (20121015-1 -> 20121031-1)
    Last edited by dtomasiewicz (2012-11-20 20:11:06)

    I've done a bit more playing around with this. It seems running xmodmap ~/.Xmodmap does work, it's just very slow and CPU-hungry. Reducing my .Xmodmap file to include only the overrides (4 of them) allows it to complete in about a second.
    However, it's still not being loaded on login, despite being in .xinitrc. In order to get my keybinds to work in a program, I need to open a terminal, run xmodmap manually, then execute whatever program I want them to work in.
    I tried downgrading xf86-input-evdev but my keyboard no longer worked on boot, once the display manager appeared (and I couldn't switch TTYs with Ctrl+Shift+F*).
    Last edited by dtomasiewicz (2012-11-02 16:43:21)

  • [Solved] Systemd journal in conjunction with syslog-ng?

    The wiki has this item:
    https://wiki.archlinux.org/index.php/Sy … log_daemon
    I'm just wondering what that is all about. Is that for causing systemd to be the source of syslog log entries rather than syslog?
    I don't really see the point of this, and don't want to be double-logging everything. I'm happy with the systemd journal (for now). Should I just shut down syslog-ng? I assume the command is "systemctl disable syslog-ng.service"?
    Last edited by PaulBx1 (2012-08-30 07:14:39)

    Did you make sure syslog does not show up in your rc.conf "daemons" array? That was what was screwing me up. You can tell if syslog is still operating by doing a "systemctl list-units".
    This is my conf file:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See journald.conf(5) for details
    [Journal]
    #Compress=yes
    #RateLimitInterval=10s
    #RateLimitBurst=200
    #SystemMaxUse=
    #SystemKeepFree=
    #SystemMaxFileSize=
    #SystemMinFileSize=
    #RuntimeMaxUse=
    #RuntimeKeepFree=
    #RuntimeMaxFileSize=
    #RuntimeMinFileSize=
    #ForwardToSyslog=yes
    #ForwardToKMsg=no
    #ForwardToConsole=no
    #ImportKernel=no
    #TTYPath=/dev/console
    #MaxLevelStore=debug
    #MaxLevelSyslog=debug
    #MaxLevelKMsg=notice
    #MaxLevelConsole=info
    #Storage=auto
    Last edited by PaulBx1 (2012-08-30 20:35:16)

  • [SOLVED] Systemd journal not preserved through reboot

    It appears that my journal in /var/log/journal is being flushed just before reboot. Every time I view the journal with the --all flag, the furthest back I can go is to right before the last reboot or power-off. Moreover, my /var/log/journal directory seems incapable of growing bigger than 2.6Mb or so, even though I have the journal configured to max out at 50Mb.
    Here's my /etc/journald.conf:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See journald.conf(5) for details
    [Journal]
    Storage=auto
    #Compress=yes
    #Seal=yes
    #SplitMode=login
    #SyncIntervalSec=5m
    #RateLimitInterval=10s
    #RateLimitBurst=200
    SystemMaxUse=50M
    #SystemKeepFree=
    #SystemMaxFileSize=
    #RuntimeMaxUse=500M
    #RuntimeKeepFree=
    #RuntimeMaxFileSize=
    #MaxRetentionSec=
    #MaxFileSec=1month
    #ForwardToSyslog=yes
    #ForwardToKMsg=no
    #ForwardToConsole=no
    #TTYPath=/dev/console
    #MaxLevelStore=debug
    #MaxLevelSyslog=debug
    #MaxLevelKMsg=notice
    #MaxLevelConsole=info
    Any ideas?
    Last edited by nbtrap (2013-07-01 10:10:47)

    Also of free space and that will trump SystemMaxUse. I know because it happens on my system. As /var fills, systemd keeps smaller persistent journal records.
    EDIT:
    SystemMaxUse= and RuntimeMaxUse= control how much disk space the
               journal may use up at maximum. Defaults to 10% of the size of the respective file system.  SystemKeepFree= and
               RuntimeKeepFree= control how much disk space the journal shall always leave free for other uses if less than the disk space
               configured in SystemMaxUse= and RuntimeMaxUse= is available. Defaults to 15% of the size of the respective file system.
               SystemMaxFileSize= and RuntimeMaxFileSize= control how large individual journal files may grow at maximum.
    Strictly speaking this seems inaccurate, though. You have more than the value of SystemMaxUse available so SystemKeepFree should not apply. However, it does.
    Last edited by cfr (2013-07-01 02:41:22)

  • [SOLVED] systemd, autofs and lxdm

    OK, after recently migrating rc.conf to the more 'systemd' structure, but still using init I figured I'd give systemd another shot, and herein lies my problem.
    According to the wiki there should already be units available for various DMs, though i only have xdm available. I've copied and modified the copied version for lxdm (well, not strictly correctly, I've modified it to start xfce the same way that my "old" style does, with ck-launch) but I just get dumped to a root desktop (which I can't log out of). What I want is the lxdm login. I'm pretty sure there's a bunch of stuff I've forgotten since I set this up, so how do I get systemd to launch lxdm to a login screen.
    Second. I'm getting autofs errors at boot, and automounting isn't available.
    Google has helped me not one jot (either lousy googling or lousy forum thread titles, not sure which) and I need to fix this too.
    Not looking for a verbatim answer. Rather looking for links where I can get the why's and wherefore's. The Arch systemd wiki doesn't cover this (it assumed units present which are not).
    I've installed the arch units already. Any pointers would be appreciated.
    Last edited by Roken (2012-07-28 22:25:06)

    lxdm package from Community contains usr/lib/systemd/system/lxdm.service
    please check with
    pacman -Ql lxdm
    But if you can't
    systemctl enable lxdm.service
    you can try manually symlink it
    ln -s '/usr/lib/systemd/system/lxdm.service' '/etc/systemd/system/display-manager.service'
    btw. in AUR pkgbuilds there are no lxdm.service at the moment, so you neet to copy it from community source files (best way)
    Last edited by nbvcxz (2012-07-26 11:28:11)

  • [SOLVED] systemd reboot and poweroff as user

    I decided to try systemd and all my services are working but I cannot reboot or poweroff as user.
    $ systemctl poweroff
    Failed to issue method call: Access denied
    Failed to issue method call: Access denied
    I also get that duplicate message for systemctl reboot.
    According to the systemd wiki article, I should be able to reboot and poweroff as user and even if not, I should be given the opportunity to provide the root password, but I was not.  Both commands work as expected if I su to root.  Any suggestions?  Thanks.
    Last edited by kekules_dream (2012-08-13 10:14:50)

    @Smasher816 - the op is right that he/she should be able to reboot, shutdown without superuser access with systemd.  I just began using systemd and mine seems to work fine.  You aren't logged in as root or another user in another terminal or tty are you?  I know that you should STILL be given the option to enter the root password and shutdown, but that is the best I can think of at the moment

  • [Solved] Mismatch on GID and shadow.service fails

    Hi, randomly the shadow.service fails on loading and it gives me this output:
    $ systemctl status shadow.service
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
    Active: failed (Result: exit-code) since sab 2015-03-28 14:54:50 CET; 13min ago
    Process: 1988 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 1988 (code=exited, status=2)
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'git': no group 999
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'systemd-journal-remote': no group 998
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'systemd-journal-upload': no group 997
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'sddm': no group 996
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'rtkit': no group 133
    mar 28 14:54:50 vivopicenin pwck[1988]: pwck: nessuna modifica
    mar 28 14:54:50 vivopicenin systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    mar 28 14:54:50 vivopicenin systemd[1]: Failed to start Verify integrity of password and group files.
    mar 28 14:54:50 vivopicenin systemd[1]: Unit shadow.service entered failed state.
    mar 28 14:54:50 vivopicenin systemd[1]: shadow.service failed.
    The output instead of pwck is:
    $ sudo pwck
    user 'polkitd': no group 102
    user 'avahi': no group 84
    user 'colord': no group 124
    user 'git': no group 999
    user 'systemd-journal-remote': no group 998
    user 'systemd-journal-upload': no group 997
    user 'sddm': no group 996
    user 'rtkit': no group 133
    pwck: nessuna modifica
    So for example for sddm group it requires a 996 GID, but on my /etc/group file i have this content:
    $ cat /etc/group
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root,marco
    ftp:x:11:
    mail:x:12:
    uucp:x:14:
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    proc:x:26:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    input:x:97:
    power:x:98:
    nobody:x:99:
    users:x:100:
    systemd-journal:x:190:
    systemd-journal-gateway:x:191:
    systemd-timesync:x:192:
    systemd-network:x:193:
    systemd-bus-proxy:x:194:
    systemd-resolve:x:195:
    systemd-journal-upload:x:994:
    systemd-journal-remote:x:995:
    ntp:x:87:
    mysql:x:89:
    git:x:993:
    usbmux:x:140:
    vboxusers:x:108:
    sddm:x:992:
    There are some mismatches, for example on sddm group which requires 996 GID but on my system i have GID 992.
    What should i do in oder to fix it?
    Thanks!
    P.s. sudo gpwck gives me no output and i don't have any .pacnew on my system.
    Last edited by toketin (2015-03-29 17:18:03)

    Hi thanks for the reply, i've fixed fot the half of the groups' errors, for the others it gives me that the group X doesn't exist. This the output:
    # groupmod --gid 102 polkitd
    groupmod: group 'polkitd' does not exist
    # groupmod --gid 84 avahi
    groupmod: group 'avahi' does not exist
    # groupmod --gid 124 colord
    groupmod: group 'colord' does not exist
    # groupmod --gid 133 rtkit
    groupmod: group 'rtkit' does not exist
    I had tried to re-install yesterday for example git and sddm packages but it didn't fix the issue.
    Last edited by toketin (2015-03-29 12:38:01)

  • Pixelated Ghosts and Shadows following security update 10.4.6

    After making yesterdays security update and restarting, the desktop has pixel shadows, the icons have shadows and leave pixel ghost trails.
    I have no third party software installed and no peripherals. Very stock powerbook.
    Everything was running perfect until the update?

    Repairing disk permissions rarely if even fixes anything. It is probably the most over used and the least needed of all advice given here. I personally rarely do it and never do it before and after a software update. I consider it a huge waste of time. If I was having issues I may try it.
    Most people that have issues with an update had them before they did it and think the update will solve their problem. That rarely , if ever, works. After every update people start posting about how the update broke their Mac, broke up their marriage and made the dog run away.
    I have no reason not to update. If we go by the logic that "if it ain't broke don't fix it then we would all be at 10.3.9, which works just fine.
    The enhancements made with the updates are to give you additional stability and perhaps solve some knows issues. I have yet to read a compelling argument from anyone that would convince me not to update.
    That being said. As usual 5 Macs updated, 0 issues. I have NEVER had a problem with a software update since 10.0 came out.

  • [SOLVED] systemd, systemd-journal constantly at high CPU %age

    Hi all,
    I've switched a computer to systemd, and everything works nicely. The system is responsive and booting is even faster than before. Yay!
    However, both my CPU cores are constantly between 80% and 90%. When I do top in a terminal, I see systemd constantly in the 90%-100% range and systemd-journal in the 60%-100% range, also continuously. My CPU temperature is a lot higher than normal as well (currently at 61.0C)
    Is this normal?
    Last edited by diederick76 (2012-09-13 06:03:11)

    I'm having a similar problem.  I temporarily fixed it by replacing the cupsd.conf with the cupsd.con.default.  Everything ran great, got the printer configured again, journald stopped thrashing my precious SSD by producing millions of these warnings (I didn't wc them, but I was probably getting thousands every second) and all was well.  Until I "shared" the printer again.  Immediately cupsd got locked into restarting thousands of times every second, once again thrashing my cpu and SSD.
    Edit:
    I guess I should probably share my cupsd.conf.  I didn't manually edit it, I used the web interface:
    cat /etc/cups/cupsd.conf
    LogLevel warn
    SystemGroup sys root
    # Allow remote access
    Port 631
    Listen /var/run/cups/cups.sock
    # Share local printers on the local network.
    Browsing On
    BrowseLocalProtocols dnssd
    DefaultAuthType Basic
    WebInterface Yes
    <Location />
    # Allow shared printing...
    Order allow,deny
    Allow all
    </Location>
    <Location /admin>
    </Location>
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    </Location>
    <Policy default>
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    <Policy authenticated>
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    Edit02:
    I should mention that I tried the fix described here:  https://bbs.archlinux.org/viewtopic.php?id=146154
    Deiderick:  Have you "shared" your printer?  I suspect that this may be what is causing the problem.
    To Mods:  At this point, because the OP's problem has been resolved, and this thread is marked "solved" should I make a new thread?  It is possible that my problem is not identical to the OP's.
    As a side note, I ran "journalctl | wc -l"  it took about a minute of maxing out one core to finish.  The final number:  1232889.   I have a feeling that this reflects only a fraction of the warnings that cups produced, seeing as I only allocated limited hd space for journal messages.
    Edit03:  After re-reading the etiquette thread, I've decided to start a new thread.  This one is marked "solved" and although very similar, it may not be exactly the same problem that I am having.
    Last edited by Convergence (2012-09-23 00:28:14)

  • [SOLVED] /etc/passwd and /etc/shadow -- pwck shows missing groups

    I recently found out about the pwck and grpck commands to check for errors/inconsistencies in the passwd, group, shadow and gshadow files...  grpck returns no errors, but pwck returns this:
    user 'avahi': no group 84
    user 'postgres': no group 88
    user 'ntp': no group 87
    pwck: no changes
    These are the relevant lines from /etc/passwd:
    avahi:x:84:84:Avahi daemon:/:/bin/false
    postgres:x:88:88:PostgreSQL user:/var/lib/postgres:/bin/bash
    ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/bin/false
    There are lines for those users in /etc/shadow... but...  I'm not sure what I need to do to fix the problem.
    I think I understand enough, now, to maintain the files in future, but would anyone know I can fix this?
    Last edited by esuhl (2012-10-08 20:22:05)

    2ManyDogs wrote:I don't know how to fix the errors, but I'm really curious about why you decided to run those commands. Were you having a problem you thought might be ralated to groups and/or passwords? What are groups 84, 97, and 88?
    Ha!  Well... when I started using Arch I really didn't know much about Linux and I an update providing some .pacnew files (/etc/group, gshadow, passwd, shadow) and... well...  I don't know what I did, but I think it was probably not what I should have done(!).  I used grpck in the past and got no errors and it suddenly occurred to me today that there should be an equivalent for checking /etc/passwd... so that's why I just ran the commands now.  Everything seems to be working, however...
    I don't have an entry for groups 84, 87 and 88 in my /etc/group file...  Hmmm...
    I tried running this command to find any files associated with that group, but only get the following:
    [root@i7pc tim]# find / -gid 88
    find: `/run/user/1000/gvfs': Permission denied
    find: `/proc/1806/task/1806/fd/5': No such file or directory
    find: `/proc/1806/task/1806/fdinfo/5': No such file or directory
    find: `/proc/1806/fd/5': No such file or directory
    find: `/proc/1806/fdinfo/5': No such file or directory
    I get similar output for the other groups, so... can I just delete them from /etc/passwd and /etc/shadow?
    I notice I have the avahi package installed, however, and group 84 relates to user 'avahi'... so...  surely I need the avahi user...?
    Last edited by esuhl (2012-10-07 23:09:30)

  • Has anyone encountered drastic shorter battery life both on iphone 5 and ipad since updating to iOS 6.1.2? How can this problem be solved?

    Dear all,
    I am new to this community even though I have been a Apple user for years, so please forgive me if this question is not in the right section.
    Has anyone encountered drastic shorter battery life both on iphone 5 and ipad since updating to iOS 6.1.2? I've always been happy with these two products until the update - now the battery life is considerably shorter which is extremely frustrating.
    How can this problem be solved? Is there any way to go back to the previous version?
    Thanks for your help.

    If you update using iTunes the phone is first wiped clean, then the new OS is installed, and finally the backup is restored. After this finishes if you sync your music should be restored. Music is not in the backup, because it is already on your computer and duplicating it would use up a lot of hard disk space.
    An OTA update just patches what has changed; it does not disturb content.

  • [SOLVED]systemd and make a camera visible GUI-wise in your filemanager

    After reading a lot about systemd in the wiki and in this forum I understand there are different opionons about systemd. Anyway, I have a adapted all the changes to rc.conf leaving out only a few daemons to start there. So why not give systemd a try? If you dont want to read the full posting I finally got it to work, basically by reading carefully and checking the suggested tests in the systemd wiki. (loginctl)
    As suggested by the wiki, I tried the systemd yesterday. Enabled via systemctl some services to "replace" my rc.conf daemons. I got what I thought everything to work, including autologin directly to my Xfce4 desktop. Everything except the digital camera.
    When starting Arch traditionally via initscripts I immediately can see the camera in the filemanager (Nautilus) when the camera is attached via USB.
    Some minutes later, after adding "init=/usr/lib/systemd/systemd" to the APPEND line in Syslinux and rebooting, my machine reboots
    fine.But when connecting the camera again it is not visible graphically.
    The camera is there because when using gphoto2 (the commandline) as root I can transfer pictures etc.
    Even if I am no happy CLI user I can handle it when necessary. Handling pictures a graphical view of them is much easier...
    As the wiki about systemd says one can try it out. I have not removed anything from the system and when starting Arch again, the initscript way, I can see the camera again in my filemanager, gthumb works again and pictures can be transferred to my machine.
    In the wiki again, this time about digital cameras
    Permission issues
    Camera devices should be granted permission using ACLs. For this to work, users need to have consolekit or systemd running and the user session must be registered with them accordingly.
    Check this using /usr/bin/ck-list-sessions to verify a value of "TRUE" should be returned for both the "active" and "is-local" fields:
    $ ck-list-sessions | grep TRUE
    active = TRUE
    is-local = TRUE
    ACL=Atlantic Container Line is what first comes into my mind. I have had some connections to transport business...I admit I had to google it to find the correct interpretation of this mumbo-jumbo.
    The wiki also gives a "hint", if this is not working try to use the obsolete camera group and edit some udev rules.
    Should not be necessary when it has worked before systemd and earlier experiences
    But what is this about "Permission issues"?  Here is my listings relative the wiki hints. All seems OK.. or why the heck are there two sessions??
    [leif@krasaki ~]$ ck-list-sessions | grep TRUE
    is-local = TRUE
    active = TRUE
    is-local = TRUE
    [leif@krasaki ~]$ ck-list-sessions
    Session1:
    unix-user = '1000'
    realname = '(null)'
    seat = 'Seat1'
    session-type = ''
    active = FALSE
    x11-display = ''
    x11-display-device = ''
    display-device = '/dev/tty1'
    remote-host-name = ''
    is-local = TRUE
    on-since = '2012-10-24T07:12:56.499847Z'
    login-session-id = '1'
    idle-since-hint = '2012-10-24T07:13:26.994037Z'
    Session2:
    unix-user = '1000'
    realname = '(null)'
    seat = 'Seat1'
    session-type = ''
    active = TRUE
    x11-display = ':0'
    x11-display-device = '/dev/tty7'
    display-device = '/dev/tty1'
    remote-host-name = ''
    is-local = TRUE
    on-since = '2012-10-24T07:13:02.361157Z'
    login-session-id = '1'
    [leif@krasaki ~]$
    As one can see, the ACTIVE values are here as the wiki says. But no camera. Those values are the same, wheter which way the machine is started. But 2 sessions??
    Further reading in the systemd wiki article and consolekit vs systemd.logind gives a clue.
    From the wiki:
    In order to check the status of your user session, you can use loginctl. To see if your user session is properly set up, check if the following command contains Active=yes. All polkit actions like suspending the system or mounting external drives with Udisks should then work automatically.
    So when started via systemd and running logintctl, it gives this surprising result. Does not matter wheter as normal user, nor as root....
    [leif@krasaki ~]$ loginctl
    SESSION UID USER SEAT
    1 1000 leif seat0
    1 sessions listed.
    [leif@krasaki ~]$ loginctl show-session 1
    Id=1
    Timestamp=Wed, 24 Oct 2012 10:57:03 +0200
    TimestampMonotonic=20040019
    DefaultControlGroup=name=systemd:/user/leif/1
    VTNr=1
    TTY=tty1
    Remote=no
    Service=login
    Leader=315
    Audit=1
    Type=tty
    Class=user
    Active=no
    State=online
    KillProcesses=no
    IdleHint=yes
    IdleSinceHint=1351069009642296
    IdleSinceHintMonotonic=6664433
    Name=leif
    [leif@krasaki ~]$
    Surprising? Should it not have been Active=Yes? So something is wrong in my settings although it had worked "before" starting using systemd..
    OK, so far. Lost? Not yet. Double check again everything and I found the culprit, my  ~/.bash_profile which had worked before seemed a bit different to what is suggested in the wiki. The old one, actually started 2 sessions, as also could be seen here above checking ck-list-sessions. That was the problem
    Using a fresh edited ~/.bash_profile as suggested here, the camera is visible graphically
    Finally, just for fun, start again the old initscipt way. Enabling daemon and so on. Still 2 sessions going on....Here it was the "/.xinitrc, which also had some old fashions and I removed the ck-launch-session from the exec line. So even here, now only 1 session..
    Anyway, now the camera is visible, both starting with initscripts, naturally also some daemons active in rc.conf and by starting with systemd.
    I rest my case and it seems systemd works with everything on my machine which is just a normal desktop used by an old man.
    Thanks for reading...

    Solved now! Boot times are as fast as posssible on my HDD I think. Only thing after uninstalling initscripst and initscripts-systemd was that locale was not set inspite of a correct /etc/locale.conf. I had to make /etc/profile.d/locale.sh with this content;
    if [ -s /etc/locale.conf ]; then
    . /etc/locale.conf
    fi
    export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE
    export LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS
    export LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION

  • How to solve the error message "Could not activate cellular data network: PDP authentication failure"when using 3g or gPRS on safari with an iphone 4 and latest software updates

    Please can someone help me to solve the error message "Could not activate cellular data network: PDP authentication failure"when using 3G or GPRS on safari with an iphone 4GS and latest software updates. I have tried resetting the network and phone settings. I have restored the factory settings on itunes and still the problem persists.

    All iPhones sold in Japan are sold carrier locked and cannot be officially unlocked by the carrier. If you unlocked it, it was by unauthorized means (hacked), and support cannot be given to you in this forum.
    Hacked iPhones are subject to countermeasures by Apple, particularly when updating the firmware. It is likely permanently re-locked or permanently disabled.
    Message was edited by: modular747

  • After i download ios 5.1.1 i cant install it there is msg tell me an error occurred installing ios 5.1.1 what can i do to solve this and install the update ( i have ipad 2 ) ?????

    After i download ios 5.1.1 i cant install it there is msg tell me an error occurred installing ios 5.1.1 what can i do to solve this and install the update ( i have ipad 2 ) ?????

    No codes on the error just msg in the center of the ipad tell me that without any codes :@

  • Aperture to export photos either TIFF or JPEG files, highlight and shadow transition has obvious faults, this problem solved!?

    Aperture to export photos either TIFF or JPEG files, highlight and shadow transition has obvious faults, this problem solved!?

    What problem?
    You will have to be _a lot_ more specific if you'd like responsible feedback.
    I export thousands of TIFF and JPG files a week with no obvious faults.
    (Sent from my magic glass.) 

Maybe you are looking for

  • Brand new and corrupted ipod shuffle 4th gen.

    i have a new ipod shuffle 4th gen which isnt working with itunes. This is the replacement for my original one which we had the same problem with and apple support deemed it faulty. But surely we wouldnt be that unlucky to get two in a row that are fa

  • Java6: How to compile java using JavaCompiler class

    Hi all, Using JavaCompiler, we can run the java program thru programmaticaly using run() method. Could anyone please tell me how to compile a java program using JavaCompailer class? Or calling run() itself will compile java file? Thanks Shagil

  • Wireless Mouse Problem - Losing its "connection"

    Every couple minutes my wireless mouse loses its "connection".  Once the computer acknowledges the loss with the little message at the bottom of the screen, it quickly reestablishes the connection.  Since this started happening last week, the frequen

  • Template Help from Product Team

    Is it possible to have a template with heads: Item, Price, Quantity, Total which can (with PayPal integration) be used for selling? Secondly, could any template be landscape?

  • Can I give my Adobe PS Elements to my dtr as I have upgraded to vers.8?

    Hi I am wondering if I can give my daughter my Photoshop Elements vers. 7 as I now have version 8 and realize that the vers. 7 is tied to my email address and my password when I used it. Does that mean then that she cannot load it to her computerwhic