Re: [smartos-discuss] rotate-kvm-log
> > > Yes. But "/usr/vm/sbin/rotate-kvm-logs.sh script" won't add entries in > "/var/logadm/timestamps" like following: > "/zones/c3f09892-f36e-4784-9853-b4ceb3e762da/root/tmp/vm.log -P 'Wed Jan 4 > 05:20:15 2017'" > > The weirdness is how this type of entry has been added per every kvm > instance? > Fred, That's exactly what the entries look like that come from running rotate-kvm-logs.sh. What evidence do you have that it's not that script? When I manually ran rotate-kvm-logs.sh without any cron involved, it just generated an entry: /zones/3d93a436-3a86-4406-ae69-fbaaf67b45b7/root/tmp/vm.log -P 'Tue Apr 11 16:20:40 2017' Thanks, Josh --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] fedora-25 20170328 linux 2017-03-28: glibc-all-langpacks missing
Hi Stefan, Staring with the 20170328 release we switched to a more minimal image where only mandatory packages are install as part of the @core Fedora install: https://docs.joyent.com/images/linux/fedora#fedora-25-20170328 https://github.com/joyent/fedora-kvm-image-builder/blob/master/ks.cfg#L57 This enabled us to significantly reduce the image size. The 20170206 image was ~890 MB while the 20170328 image is ~500MB On Tue, Apr 11, 2017 at 4:57 AM Stefanwrote: > Dear List, > > is this the right place to report issues with images? With > > aeece468-135c-11e7-af74-0ff9ba326407 > fedora-25 20170328 linux 2017-03-28 > > the update command > > # LANG=de_DE.utf-8 yum install test > > produces ugly output: > > Redirecting to '/usr/bin/dnf install test' (see 'man yum2dnf') > > Failed to set locale, defaulting to C > Fedora 25 - x86_64 - Updates3.7 MB/s | 21 MB >05 > Letzte Pr\xfcfung auf abgelaufene Metadaten: vor 0:00:17 am Tue Apr 11 > 38 2017. > --- Logging error --- > Traceback (most recent call last): >File "/usr/lib64/python3.5/logging/__init__.py", line 983, in emit > stream.write(msg) > UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in > position 30: ordinal not in range(128) > Call stack: >File "/usr/bin/dnf", line 58, in > main.user_main(sys.argv[1:], exit_code=True) > (...) > > It seems that glibc-all-langpacks ist missing. > > Kind Regards, > Stefan > -- Christopher Horrell Joyent Inc. http://www.joyent.com/ --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
RE: [smartos-discuss] rotate-kvm-log
>From: Josh Wilsdon [mailto:jwils...@joyent.com] >It doesn't go in logadm.conf. The rotation happens via the >/usr/vm/sbin/rotate-kvm-logs.sh script which is run by root's crontab in the >GZ. Yes. But "/usr/vm/sbin/rotate-kvm-logs.sh script" won't add entries in "/var/logadm/timestamps" like following: "/zones/c3f09892-f36e-4784-9853-b4ceb3e762da/root/tmp/vm.log -P 'Wed Jan 4 05:20:15 2017'" The weirdness is how this type of entry has been added per every kvm instance? Thanks. Fred --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] /proc, psinfo, RSS
> > Since pr_size and pr_rssize are size_t's, I'm guessing that they're zero > > since the number is too big to represent in 32 bits, so the field is being > > made 0 instead Of course! > Specifically, if it's a 32-bit process, we won't represent 64-bit fields > in it's proc structure: > http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/fs/proc/prsubr.c#2483 . And there's the full explanation, clear as you like. Brilliant. Thanks Robert, thanks Cody. Rob --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] fedora-25 20170328 linux 2017-03-28: glibc-all-langpacks missing
Dear List, is this the right place to report issues with images? With aeece468-135c-11e7-af74-0ff9ba326407 fedora-25 20170328 linux 2017-03-28 the update command # LANG=de_DE.utf-8 yum install test produces ugly output: Redirecting to '/usr/bin/dnf install test' (see 'man yum2dnf') Failed to set locale, defaulting to C Fedora 25 - x86_64 - Updates3.7 MB/s | 21 MB 00:05 Letzte Pr\xfcfung auf abgelaufene Metadaten: vor 0:00:17 am Tue Apr 11 08:52:38 2017. --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.5/logging/__init__.py", line 983, in emit stream.write(msg) UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 30: ordinal not in range(128) Call stack: File "/usr/bin/dnf", line 58, in main.user_main(sys.argv[1:], exit_code=True) (...) It seems that glibc-all-langpacks ist missing. Kind Regards, Stefan --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com