Custom Query (15937 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 15937)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#11193 fixed Locale settings in /etc/profile.d/i18n.sh and /etc/locale.conf dj Xi Ruoyao
Description

From http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-September/034916.html:

On 09/26/2018 09:19 AM, Xi Ruoyao via blfs-dev wrote:

In LFS systemd book section 7.7 we create /etc/locale.conf as locale configuation file. But, in BLFS systemd book Chapter 3 section "The Bash Startup Files" we create /etc/profile.d/i18n.sh which sets up the locale for bash. Their settings may be inconsistent and confuse the users (I was confused several times).

We should add a note about this issue in LFS or BLFS book. Now I use an i18n.sh reading /etc/locale.conf (copied from Arch :) to make the settings consistent.

I suppose that we could change /etc/profile.d/i18n.sh to:

if [ -f /etc/locale.conf ]; then

source /etc/locale.conf

else

export LANG=<ll>_<CC>.<charmap><@modifiers>

fi

We may need to update ~/.profile and ~/.bashrc also.

I've used 'source' above to make it clear, but for ~/.profile and i18n.sh is should probably be the dot (.) operator.

-- Bruce

The locale variables need to be exported:

# Begin /etc/profile.d/i18n.sh

if [ -s /etc/locale.conf ]; then
  . /etc/locale.conf
else
  LANG=<ll>_<CC>.<charmap><@modifiers>
fi

export LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY
export LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE
export LC_MEASUREMENT LC_IDENTIFICATION LC_ALL

# End /etc/profile.d/i18n.sh
#11249 fixed usbutils: systemd service should depend on network-online.target blfs-book Xi Ruoyao
Description

systemctl status update-usbids.service reported:

● update-usbids.service - Update usb.ids file
   Loaded: loaded (/lib/systemd/system/update-usbids.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-10-14 18:03:20 CST; 2h 33min ago
     Docs: man:lusub(8)
 Main PID: 211 (code=exited, status=4)

10月 14 18:03:19 xry111-work systemd[1]: Starting Update usb.ids file...
10月 14 18:03:19 xry111-work wget[211]: --2018-10-14 18:03:19--  http://www.linux-usb.org/usb.ids
10月 14 18:03:20 xry111-work wget[211]: Resolving www.linux-usb.org... failed: Temporary failure in name resolution.
10月 14 18:03:20 xry111-work wget[211]: wget: unable to resolve host address 'www.linux-usb.org'
10月 14 18:03:20 xry111-work systemd[1]: update-usbids.service: Main process exited, code=exited, status=4/NOPERMISSION
10月 14 18:03:20 xry111-work systemd[1]: update-usbids.service: Failed with result 'exit-code'.
10月 14 18:03:20 xry111-work systemd[1]: Failed to start Update usb.ids file.

This is because wget was executed before the setting up of Internet connection. We should change

After=local-fs.target

to

After=local-fs.target network-online.target

(Just like DJ's commit to make-ca.)

#11408 fixed scons-3.0.3 (and build scons with python 3) Pierre Labastie Xi Ruoyao
Description

New patch version.

And according to the release note we can build scons with python 3, removing the requirement to python 2.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.