[SOLVED] Systemd locale issue

I have a recent fresh install of Arch, it's a "pure" systemd installation.
I'm using XFCE4 and Terminal.
I can't manage get proper unicode support, only in the terminal: I'm always stuck on POSIX.
All of this code is run as root.
$ grep -v '#' /etc/locale.gen
en_US.UTF-8 UTF-8
fr_FR.UTF-8 UTF-8
$ locale-gen
Generating locales...
en_US.UTF-8... done
fr_FR.UTF-8... done
Generation complete.
$ locale -a
C
en_US.utf8
fr_FR.utf8
POSIX
$ cat /etc/locale.conf
LANG="en_US.UTF-8"
LC_COLLATE="C"
$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Pressing my "é" key on the keyboard just produces a "?" in the terminal.
I don't have this issue in any other application.
I have also tried the following:
$ export LANG=en_US.utf8
$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
But I still can't input accented characters.
All of the following lines don't help:
$ export LANG="en_US.utf8"
$ export LANG=en_US.UTF-8
$ export LANG="en_US.UTF-8"
Rebooting multiple times between modifications has not helped.
Help would be greatly appreciated !
Thanks.
Last edited by qdm (2012-09-15 15:32:24)

qdm wrote:
Thanks ! I googled this issue for a while and did not find any relevant information.
The solution that worked was in the comments to that post:
I had to force installing the filesystem package which now provides locale.sh and after that I proceeded with installing systemd-sysvcompat which deleted the same file.
Reinstalling filesystem solves the issue.
Thank you, that problem was driving me nuts, was almoust a showstopper to systemd for me.

Similar Messages

  • [SOLVED]X server locale issues

    Ok so I had this common issue with the glibc update (deleted everything but modules in /lib) and I had to manually unzip an older glibc package in my / folder. After that I rebooted my system, updated fully (latest glibc & symlinked /lib to /usr/lib properly). I then started X normaly but I noted this:
    http://pastebin.com/xfd3tXB7
    So although X boots fine, i have this minor locale issues. I guess it has to do with the fact that I am using greek language. I have installed a greek-Inconsolata font back then and now it is not displaying properly on the urxvt (just some weird chars). I can however switch keyboard layouts just fine and type in both languages (greek/english)
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # See 'man 5 rc.conf' for more details
    # LOCALIZATION
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Athens"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="yes"
    USECOLOR="yes"
    # HARDWARE
    MODULES=(fglrx snd-usb-audio)
    USEDMRAID="no"
    USEBTRFS="no"
    USELVM="no"
    # NETWORKING
    HOSTNAME=GliderVillage
    interface=wlan0
    address=
    netmask=
    broadcast=
    gateway=
    NETWORK_PERSIST="no"
    # DAEMONS
    DAEMONS=(dbus syslog-ng wicd crond xkbevd wireless-regdom mpd)
    Edit: Btw there is no locale.conf file in my system Oo
    Last edited by Crone (2012-08-24 13:58:25)

    Hmm i did not use locale-gen. I used it now .Do I need to reboot after that? Because restarting X doesn't work
    locale -a: (before and after locale-gen without reboot)
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    locale: (same)
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    Last edited by Crone (2012-07-28 17:24:08)

  • Systemd-214-2 and systemd-localed

    After the latest systemd upgrade, systemd-localed cannot be started anymore:
    $ systemctl status systemd-localed
    ● systemd-localed.service - Locale Service
    Loaded: loaded (/usr/lib/systemd/system/systemd-localed.service; static)
    Active: failed (Result: exit-code) since Wed 2014-06-25 19:53:50 CEST; 8min ago
    Docs: man:systemd-localed.service(8)
    man:locale.conf(5)
    man:vconsole.conf(5)
    http://www.freedesktop.org/wiki/Software/systemd/localed
    Process: 701 ExecStart=/usr/lib/systemd/systemd-localed (code=exited, status=1/FAILURE)
    Main PID: 701 (code=exited, status=1/FAILURE)
    Jun 25 19:53:50 moon systemd-localed[701]: Failed to get system bus connection: Permission denied
    Jun 25 19:53:50 moon systemd[1]: Failed to start Locale Service.
    My /etc/group, /etc/passwd and /etc/shadow are up-to-date as well, did you have the same issue?

    Sorry for the lack of answers here. I pretty much did not update my laptop since then until today and, after the ~220 pkg updates and the merging of the pacnew files (especially those from filesystem package update => /etc/group and gshadow) and a reboot, all went back into normal.
    But just to answer your questions:
    @twelveeighty: I had no service failure when this happens (and it happened always, it was not random btw). And yes, I had merged all the pacnew files. I'm pretty meticulous when it comes to this.
    @deepsoul: This was not only the graphical login that was failing. I could not login from ssh or console either (except as root from the console and then su to a user as I have explained in my first post but sorry, I did not give the precision that I used the console).
    Anyway, thanks for your help guys.

  • I dropped my iphone 4 into the water and then i tried the rice method. The rice solved the water issue but now the screen won't work. what should i do?

    I  dropped my iphone 4 into the water and then i tried the rice method. The rice solved the water issue but now the screen won't work. what should i do?

    I guess your definition of "solved" is different from most...
    Make an appointment at the genius bar of your local Apple Store and get an out of warranty replacement.

  • I updated my Iphone 4s to IOS 7, now it reboots after every 2 minutes, I tried to restore, but the reboot gets it disconnected from PC, help me solve this reboot issue..

    I updated my Iphone 4s to IOS 7, now it reboots after every 2 minutes, I tried to restore, but the reboot gets it disconnected from PC, help me solve this reboot issue..

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • What's the perfect CHINESE FONT for iWeb to solved the Justified issue?

    Hi,
    Terible here, i'm using Chinese Font for my website...most of the Text Box were out of Justified unlike the perfect justified on English Font.
    Sorry i hope you understand what i'm trying to descript above.
    I'm wondering now, Is there any specific Chinese Font to solved the Justified issue?
    Now, everything looks fine in iWeb but when view it in Safari or any browser, there'll be out of Justified.
    Need helps and thanks!!!

    Could you provide your url so people can see what you are referring to?
    Have you tried the various Chinese fonts provided with OS X already?
    http://www.yale.edu/chinesemac/pages/fonts.html#Apple

  • Could not establish TLS connection on port 7001 - "unable to get local issuer certificate"

    tvcs: Event="Outbound TLS Negotiation Error" Service="SIP" Src-ip="10.0.7.168" Src-port="29127" Dst-ip="<Public IP>" Dst-port="7001" Detail="unable to get local issuer certificate" Protocol="TLS" Common-name="ewe.<domainname>.com" Level="1" UTCTime="2014-11-12 12:48:20,071" 2014-11-12T15:48:05+03:00
    Getting above error on Expressway-C server while establishing TLS connection with Expressway-E in DMZ. I have enabled static NAT on Expressway-E and give the Public IP on peer address of Expressway-C. At that time, i was getting DNS resolution error  on Expressway-C so we added a host record on local DNS for Public IP. Later, I created CSR from both Expressway C & E server and ask local microsoft team to issue Local CA certificates. After uploading, i was getting above error (Failed to establish TLS). Also i have uploaded company (wilcard) Public certificates (issued from Geotrust) and we are getting the samer error and Expressway server could not establish TLS connection on port 7001. Firewall connections are done and i double checked it. 
    Expressway ver 8.2

    Yes, Exp-C > Peer Address (FQDN of Exp-E)
    Certificate of Exp-E -> When generating CSR from Exp-E, automatically FQDN (Exp-E(hostname).domainname.com) will be shown. Then this CSR will be send to local CA or Public CA to generate a certificate. OR you meant to say in Exp-E CSR we need to add FQDN of Exp-C server also in alternative name and vice versa too.
    Yes, root certificates & intermediate certificates are uploaded to trusted CA.

  • Solving Centro hotsync issues without a hard reset

    I have a Centro (sprint).  I am running Windows Vista.  I cannot connect with hotsync.  Whenever I try, I get the following message -- "The connection between your handheld computer and the desktop could not be established.  Please check your setup and try again."  I went through the article referenced at the beginning of this forum and performed all the suggestions (reloaded Palm desktop 6.2, the outlook 2007 update, soft restart, etc.).  I took it to a repair center and they stated the ONLY way to fix it was to do a hard reset which would lose all info.  Since I can't hotsync, I haven't been able to backup the phone which means I'll lose everything.  I'm hoping there are some other suggestions I could try.  It seems contrary that the only way to solve a hotsync issue and save your data is to do a hard reset and lose all your data.  Thanks.
    Post relates to: Centro (Sprint)

    Is your Vista 64 bit or 32 bit? 
    Try performing a warm reset of your device... Take out the battery press and hold the UP button insert the battery while holding the UP navigator button wait until you see set date and time then release the button. Connect the phone back to the PC and try perform a hotsync.

  • How i can solve the facetime issue? I cant find it in apple store !!!!! Plaese advice me ..., iphone 5, How i can solve the facetime issue? I cant find it in apple store !!!!! Plaese advice me ..., iphone 5

    How i can solve the facetime issue? I cant find it in apple store !!!!! Plaese advice me ..., iphone 5, How i can solve the facetime issue? I cant find it in apple store !!!!! Plaese advice me ..., iphone 5

    Facetime is not in the App store. It is part of the iOS. You access Facetime on the phone via the contact section. Facetime needs to be activated in Settings. The only reason you may not have it is if you purchased the device in an area where Facetime is prohibited by law.

  • My free trial has expired a week into the trial. I have contacted support and they haven't solved the issue. Stated to use forum to solve my license issue for this computer.

    My free trial has expired a week into the trial. I have contacted support and they haven't solved the issue. Stated to use forum to solve my license issue for this computer.

    Did you have an Adobe trial running on this same computer before?  Maybe your previous trial was used for 3 weeks and then you uninstalled it?  If so, you're only eligible for a 1 week trial on this computer.
    Nancy O.

  • [SOLVED] SystemD NTFS partition issue's

    Hey archers,
    hope someone here can help me
    recently began testing systemd & I am facing a problem where I have to ctrl+d or give root password during every boot up due to systemd having problems with my ntfs partition ( i mount at boot as I have symlinks to that partition for documents & programs which run in wine)
    I have not enabled anything to do with mounting or even added the fuse module to load as it has already picked that up!
    here are the entries I think are related to this from journalctl:
    Aug 29 07:57:37 b0x ntfs-3g[568]: Version 2012.1.15 external FUSE 29
    Aug 29 07:57:37 b0x ntfs-3g[568]: Mounted /dev/sdb1 (Read-Write, label "Win7-sys", NTFS 3.1)
    Aug 29 07:57:37 b0x ntfs-3g[568]: Cmdline options: rw,noatime,sync,gid=100,umask=002
    Aug 29 07:57:37 b0x ntfs-3g[568]: Mount options: rw,sync,allow_other,nonempty,noatime,fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions
    Aug 29 07:57:37 b0x ntfs-3g[568]: Global ownership and permissions enforced, configuration type 7
    Aug 29 07:57:37 b0x ntfs-3g[568]: Warning : using problematic uid==0 and gid!=0
    Aug 29 07:57:37 b0x mount[572]: Mount is denied because the NTFS volume is already exclusively opened.
    Aug 29 07:57:37 b0x mount[572]: The volume may be already mounted, or another software may use it which
    Aug 29 07:57:37 b0x mount[572]: could be identified for example by the help of the 'fuser' command.
    Aug 29 07:57:37 b0x systemd[1]: media-Win7.mount mount process exited, code=exited status=16
    Aug 29 07:57:37 b0x systemd[1]: Job local-fs.target/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Triggering OnFailure= dependencies of local-fs.target.
    Aug 29 07:57:37 b0x systemd[1]: Job systemd-user-sessions.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job lightdm.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job graphical.target/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job multi-user.target/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job systemd-logind.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job dbus.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job [email protected]/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job hwclock.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job syslog-ng.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job network.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job cronie.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job snmpd.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job samba.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job webmin.service/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd[1]: Job systemd-tmpfiles-clean.timer/start failed with result 'dependency'.
    Aug 29 07:57:37 b0x systemd-journal[181]: Journal stopped
    Aug 29 07:57:37 b0x systemd-journal[584]: Journal started
    Aug 29 07:57:37 b0x ntfs-3g[568]: Unmounting /dev/sdb1 (Win7-sys)
    Aug 29 07:57:37 b0x systemd-udevd[224]: '/usr/sbin/alsactl restore 0' [500] terminated by signal 15 (Terminated)
    Aug 29 07:57:38 b0x systemd[1]: Startup finished in 3s 111ms 648us (kernel) + 6s 425ms 155us (userspace) = 9s 536ms 803us.
    Aug 29 07:57:38 b0x systemd[582]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
    Aug 29 07:58:25 b0x systemd[1]: Cannot add dependency job for unit avani-dnsconfd.service, ignoring: Unit avani-dnsconfd.service failed to load: No such file or directory. See system lo...e' for details.
    Aug 29 07:58:25 b0x systemd[1]: Socket service syslog.service not loaded, refusing.
    Aug 29 07:58:26 b0x arch-modules-load[609]: mkdir: cannot create directory ‘/run/modules-load.d’: File exists
    Aug 29 07:58:26 b0x systemd-modules-load[706]: Module 'vhba' is already loaded
    Aug 29 07:58:26 b0x systemd-modules-load[706]: Module 'fuse' is already loaded
    Aug 29 07:58:26 b0x systemd-fsck[646]: public: clean, 385878/2039808 files, 5060668/8159011 blocks
    Aug 29 07:58:26 b0x systemd-fsck[653]: VM: clean, 228/5677056 files, 5637221/22680575 blocks
    Aug 29 07:58:26 b0x systemd-fsck[644]: Home: clean, 90204/1327104 files, 984778/5305458 blocks
    Aug 29 07:58:26 b0x ntfs-3g[871]: Version 2012.1.15 external FUSE 29
    Aug 29 07:58:26 b0x ntfs-3g[871]: Mounted /dev/sdb1 (Read-Write, label "Win7-sys", NTFS 3.1)
    Aug 29 07:58:26 b0x ntfs-3g[871]: Cmdline options: rw,gid=100,fmask=113,dmask=002
    Aug 29 07:58:26 b0x ntfs-3g[871]: Mount options: rw,allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions
    Aug 29 07:58:26 b0x ntfs-3g[871]: Global ownership and permissions enforced, configuration type 7
    Aug 29 07:58:26 b0x ntfs-3g[871]: Warning : using problematic uid==0 and gid!=0
    Here is the entry in /etc/fstab for this partition:
    ## Entry for /dev/sdb1 SYSTEM:(Win7)
    UUID=44083B9668A3E0CC /media/Win7 ntfs-3g gid=users,fmask=113,dmask=002 0 0
    I have been all over goggle & am unable to find out anything which can help.
    As stated before I have links to this partition & so really want/need this partition to be mounted at boot.
    Any help on this will be greatly appreciated
    Thanks in advance
    EDIT #1
    rebooted again, still the same happening
    ran:
    $ sudo mount -l
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    dev on /dev type devtmpfs (rw,nosuid,relatime,size=3022708k,nr_inodes=755677,mode=755)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    /dev/sda1 on / type ext4 (rw,relatime,data=ordered) [Arch-sys]
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
    /dev/sdb3 on /media/wine type ext4 (rw,noatime,errors=remount-ro,data=ordered) [wine] <<<THIS SHOULD NOT BE HERE!<<<<<<<<<
    /dev/sdd1 on /media/spare2 type ext4 (rw,noatime,errors=remount-ro,data=ordered) [spare2] <<<THIS SHOULD NOT BE HERE!<<<<<<<<<<
    /dev/sdc1 on /media/spare type ext4 (rw,noatime,errors=remount-ro,data=ordered) [spare] <<<THIS SHOULD NOT BE HERE!<<<<<<<<<<<
    /dev/sde1 on /media/USB-HDD2 type vfat (rw,noatime,sync,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) [USB-HDD2] <<<<<THIS IS NORMAL
    /dev/sdb4 on /media/pac type ext4 (rw,noatime,errors=remount-ro,data=ordered) [pac] <<<THIS SHOULD NOT BE HERE!
    /dev/sdd1 on /media/Spare2 type ext4 (rw,relatime,errors=remount-ro,data=ordered) [spare2] <<<<<THIS IS NORMAL
    /dev/sdc1 on /media/Spare type ext4 (rw,relatime,errors=remount-ro,data=ordered) [spare] <<<<<THIS IS NORMAL
    /dev/sdb2 on /media/VM type ext4 (rw,relatime,errors=remount-ro,data=ordered) [VM] <<<<<THIS IS NORMAL
    /dev/sdb3 on /var/wine type ext4 (rw,relatime,errors=remount-ro,data=ordered) [wine] <<<<<THIS IS NORMAL
    /dev/sdb4 on /var/cache/pacman type ext4 (rw,relatime,errors=remount-ro,data=ordered) [pac] <<<<<THIS IS NORMAL
    /dev/sdb1 on /media/Win7 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096) [Win7-sys] <<<<<THIS IS NORMAL
    /dev/sda3 on /public type ext4 (rw,relatime,errors=remount-ro,data=ordered) [public] <<<<<THIS IS NORMAL
    /dev/sda5 on /home type ext4 (rw,relatime,errors=remount-ro,data=ordered) [Home] <<<<<THIS IS NORMAL
    gvfs-fuse-daemon on /run/user/1000/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
    as you can see my partitions are being mounted TWICE which is not what I want or expected!
    is there more documentation on what systemd does with mounts that could explain why i have multiple mount points for partitions or is this due to systemd discovering my partitions & mounting them at points based on label names & then parsing my FSTAB as well!
    I have read the wikki but there is very small info there & the links have not provided an explanation for this unwanted behaviour
    EDIT #2
    >>>>>>>>>>>SOLVED<<<<<<<<<<<<<<
    not an NTFS or FUSE issue
    I had previously installed mnttools!
    removed & now all is well
    sorry
    Last edited by t0m5k1 (2012-08-29 08:30:11)

    OK,
    After being spurred on to try to do this thing properly, this is what I came up with today.
    My fstab line (for a USB NTFS disk):
    /dev/sdb1 /media/samsung ntfs-3g noauto,users,rw,nodev 0 0
    Then I created the /media/samsung folder and gave the audio group read/write permissions.
    It seems that non-root users can only mount an ntfs partition if they use a version of ntfs-3g with fuse included, so I replaced ntfs-3g with the version from AUR, having removed from the PKGBUILD file the option "-with-fuse=external" (see this thread: http://bbs.archlinux.org/viewtopic.php?id=44844 ).   I also had to set
    the ntfs-3g binary to setuid-root, dealt with here: http://www.tuxera.com/community/ntfs-3g … privileged (note- the instructions say this is discouraged, but it seems using ntfs partitions in linux requires some compromises).
    I can now mount the drive as an ordinary user.
    Then I set mpd back to run as user mpd, checked the audio group had access to all the mpd folders, and all was well.
    One hiccup which you might not have: mpd was unable to access my (external) sound card at first.  To solve this one, I used
    chmod 770 /dev/snd -R && chgrp audio /dev/snd -R
    As far as I can remember, that's everything.
    Last edited by Henry Flower (2010-04-20 12:54:26)

  • [SOLVED] systemd and rc-local.service

    So, today i decided to try a pure systemd system by migrating my old installation.
    The first problem i faced comes from rc-local.service.
    I followed this:
    https://wiki.archlinux.org/index.php/Sy … s#rc.local
    and created an identical rc-local.service:
    /etc/systemd/system/rc-local.service
    [Unit]
    Description=/etc/rc.local Compatibility
    [Service]
    Type=oneshot
    ExecStart=/etc/rc.local
    TimeoutSec=0
    StandardInput=tty
    RemainAfterExit=yes
    [Install]
    WantedBy=multi-user.target
    ...made it executable and enabled the service via
    systemctl enable rc-local.service
    The problem comes when i issue:
    systemctl --system daemon-reload
    systemctl start rc-local.service
    Here the prompt hangs forever.
    ..so i reeboted and automagically "Something" of my rc.local has been executed.
    What has been left out was a subscript launched in background from my rc.local.
    While in the past my working rc.local executed a script:
    checkmounts.sh & #<-this loops forever
    ...and in ps -ef|grep checkmounts i got it listed, now with systemd i haven't it anymore.
    ...note that to debug issues i echoed several "marks" into a text file, and i'm sure that
    rc.local has been executed till the end and systemctl status reports no errors at all.
    So the question are:
    1) why can't i start rc-local from terminal via sysctl and it works (sort of) if i reboot?
    2) why a script executed from rc.local in background doesn't work?
    Last edited by kokoko3k (2012-08-27 15:43:35)

    I already tried that with the same results.
    Now i found that removing StandardInput=tty works and solved both of the issues (at least issuing manual startups).
    So this:
    [Unit]
    Description=/etc/rc.local Compatibility
    [Service]
    Type=oneshot # is forking instead of oneshot needed here?
    ExecStart=/etc/rc.local
    TimeoutSec=0
    #StandardInput=tty
    RemainAfterExit=yes
    [Install]
    WantedBy=multi-user.target
    Works really well for me, exactly like in the past.
    Plus, i can see all running child processess via systemctl status rc-local.service
    If someone thinks this is wrong for seome reason i'll NOT update the wiki page.
    --EDIT
    Works well after a reboot too, and changing Type= to fork make just fork, parallelizing the boot (kdm+kde for me)
    Last edited by kokoko3k (2012-09-13 13:43:38)

  • [SOLVED] systemd 207, lvm2 and luks booting issue

    Hi
    i'm using an encrypted lvm (luks) on my notebook.
    /boot on /dev/sda1
    lvm on    /dev/sda2
                 main-root
                 main-home
                 main-swap
    since the systemd 207 upgrade i am unable to boot my system.
    this error appears at startup:
    A start job is running for dev-mapper-main\x2droot.device
    so i'm guessing that systemd is unable to use the encrypted lvm2, since this error is aknowledged on the
    after checking some threads i tried:
    mkinitcpio -p linux
    but there was no effect.
    HOOKS="base systemd autodetect block keymap encrypt lvm2 filesystems fsck vbox
    some people tried suggesting downgrading to systemd 204 but i dont have any pkg file and building with abs leads to the following error
    while makepkg -s:
    ==> Starting prepare()...
    patching file src/core/swap.c
    Hunk #1 FAILED at 220.
    1 out of 1 hunk FAILED -- saving rejects to file src/core/swap.c.rej
    ==> ERROR: A failure occured in prepare().
    Aborting...
    am i supposed to remove the patches from the build? i'm not really sure and more of a beginner in this area.
    Can anyone help me solve either the build or the boot issue ?
    i should mention that i am only able to access my system by using chroot from an arch boot stick.
    Thank you so much.
    Kind Regards
    Last edited by ziv667 (2013-10-01 11:27:06)

    https://wiki.archlinux.org/index.php/Mk … mmon_hooks
    systemd: This will install a basic systemd setup in your initramfs, and is meant to replace the 'base', 'usr', 'udev' and 'timestamp' hooks. Other hooks (like encryption) would need to be ported, and may not work as intended. As of systemd 207, this hook does not work as intended when combined with lvm2 and may break your boot. You also may wish to still include the 'base' hook (before this hook) to ensure that a rescue shell exists on your initramfs.
    Have you tried keeping udev instead of replacing it with systemd hook?
    Have you tried https://wiki.archlinux.org/index.php/Ar … ck_Machine ? It has systemd 204.
    Last edited by karol (2013-10-01 11:16:57)

  • [SOLVED] chicken-locale environment issues

    So I've recently decided that I want to give Lisp or Scheme a try. I eventually settled on Chicken Scheme because it seemed to fit better into the Linux ecosystem than Common Lisp or something like that. AFAICT, and I'm obviously not an expert, it seems like there is no sane way to distribute Common Lisp appliations in a Linuxy way. Feel free to correct me on that; I'd love to give Common Lisp a try!
    Anyway, most of the chicken packaages on the AUR are unmaintained and broken, so that left me to pick up the ones I wanted to use. I've had some success, but this package in particular is giving me a headache.
    # Maintainer: Aaron P <[email protected]>
    # Contributer: Jim Pryor <[email protected]>
    pkgname=chicken-locale
    _pkgname=locale pkgver=0.6.9
    pkgrel=1
    pkgdesc="Chicken Scheme Egg: Provides locale operations"
    arch=('i686' 'x86_64')
    url="http://chicken.wiki.br/eggref/4/locale"
    license=('BSD')
    depends=('chicken>=4.5.0' 'chicken-regex' 'chicken-setup-helper' 'chicken-miscmacros' 'chicken-record-variants' 'chicken-synch' 'chicken-lookup-table')
    options=(docs !libtool !emptydirs)
    build() {
    cd "$srcdir/"
    chicken-install -r "${_pkgname}":"${pkgver}"
    package() {
    cd "$_pkgname"
    chicken-install -p "$pkgdir/usr"
    This is the template I use for all the other packages I've taken (actually adapted from the AUR user perlawk). Most of the time, it works. In this case, it fails because while chicken-install can find .so files from chicken libraries, it can't find .scm files. This is actually solvable by doing tihs:
    CHICKEN_INCLUDE_PATH=/usr/lib/chicken/7/ chicken-install -p "$pkgdir/usr"
    I don't particularly like hardcoding the path here, but it works. Only in this case, I only get a different error message that isn't so easily solvable. Apparently, some variable used in the setup script isn't recognized. One thing to note is this process works perfectly fine, without the environment change — as long as I run the commands manually.
    I'm pretty sure these are two symptoms of how makepkg's changes to the environment conflict with chicken-install, but I'm not sure of the details or the best way to work around it. Any tips?
    Last edited by AaronBP (2015-01-13 20:48:15)

    Here's a trick which I use to sort out environment issues when building packages:
    Before building the package with `makepkg`, run the following command, which lists and sorts the currently set environment variables into a file:
    $ printenv | LC_ALL=C sort > env-outside.txt
    Next, temporarily add the following line, which does the same as above command (but writes to a different file of course) at the beginning of the `package()` function in your PKGBUILD *:
    printenv | LC_ALL=C sort > "${srcdir}"/../env-inside.txt
    Now try to build your package with `makepkg` as usual.
    Finally, do:
    $ diff -u env-outside.txt env-inside.txt
    and you should get a listing of the difference between the two environments, which hopefully allows you to figure out why things aren't working as expected.
    * Add the line right before any command which is causing trouble. Sometimes the env problem is caused by `export`ing a variable in the `build()` function and forgetting to also `export` it in the `package()` function.
    Last edited by ackalker (2015-01-12 10:20:30)

  • [SOLVED]systemd won't start my /etc/rc.local

    I was trying to emulate rc.local behaviour with this:
    /usr/lib/systemd/system/rc-local.service
    [Unit]
    Description=/etc/rc.local Compatibility
    ConditionPathExists=/etc/rc.local
    [Service]
    Type=forking
    ExecStart=/etc/rc.local start
    TimeoutSec=0
    StandardOutput=tty
    RemainAfterExit=yes
    SysVStartPriority=99
    [Install]
    WantedBy=multi-user.target
    and my
    /etc/rc-local
    looks like this
    modprobe -r samsung_laptop
    But it's not working. When I execute sudo systemctl status rc-local.service I get
    rc-local.service - /etc/rc.local Compatibility
    Loaded: loaded (/usr/lib/systemd/system/rc-local.service; enabled)
    Active: failed (Result: exit-code) since Fri 2013-03-29 17:54:16 CET; 5min ago
    Process: 745 ExecStart=/etc/rc.local start (code=exited, status=203/EXEC)
    Last edited by Neky (2013-03-29 18:31:39)

    Why do you have "start" as an argument to /etc/rc.local?
    Also, for what you are trying to achieve, why not simply blacklist the module in /etc/modrpobe.d?  Then it would not be loaded under any circumstances.  Also if this is out of fear of the UEFI bug, I believe that for this particular module, there has been a patch included in the latest kernels that protects this from happening by not allowing writes to the NVRAM if it is 50% full or more.

Maybe you are looking for

  • Cs6 photomerge preferred order of images

    I have taken an 8 shot Panorama from the same spot on 2 different occasions but the resulting images are totally different.  Is there a way I can decide on which image I want to be at the start as I have tried loading them in a different order but to

  • Searching for a signature app that will interface with my computer applications

    I'd like to install my iPad to my computer and use it as a signature pad, instead of buying an external USB signature capture pad.  Can anyone tell me if this can be done with one of the signature apps?

  • Add new font types to SAP GUI

    Hi, I'm trying to add new font types to SAP GUI to be available to edit smartforms and mail forms, but, after I do the upload in SAP system (by SE73 transaction)of ARIAL font, when I associate it to a smartstyle, what really appears with ARIAL name i

  • Cannot sign into Adobe Revel from PS Elements 12

    This is the 2nd time of asking this question as no one got back to me after giving me a link to 'Troubleshooting Adobe Revel related issues', which I tried and did not solve the problem.  There is nothing wrong with the computer's clock, changed my p

  • Select count(*) Vs select count(1)

    Hi. I need your help. I always talk with the developers and said "use select count(1), never user select count(*)", the reason is reduce the read of data on the datafiles. I did test with this and all is ok. Somebody have this policy? Is this correct